/* CSS หลักสำหรับระบบทะเบียนรถ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
    padding-top: 80px; /* เพิ่มระยะห่างสำหรับ fixed navbar */
}

/* ========================================
   Navigation Menu Styles
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    box-shadow: 0 4px 20px rgba(190, 146, 56, 0.3);
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}

.nav-logo a {
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
}

.nav-logo .logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-logo a:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #FFFFFF;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Dropdown Menu */
.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    min-width: 250px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    border: 2px solid #BE9238;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-link {
    display: block;
    color: #2c3e50;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.dropdown-link:hover {
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    color: #FFFFFF;
    padding-left: 30px;
}

/* Mobile Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #FFFFFF;
    border-radius: 3px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transition: left 0.3s;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 5px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.15);
        border: none;
        margin: 0;
        padding: 0;
        display: none;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-link {
        color: #FFFFFF;
        padding: 12px 20px 12px 35px;
        font-size: 0.9rem;
    }

    .dropdown-link:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    .dropdown-arrow {
        margin-left: auto;
    }
}

/* ========================================
   Original Styles (Header, Search, etc.)
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Slide Section */
.hero-slide {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
}

.slide-wrapper {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive for Hero Slide */
@media (max-width: 768px) {
    .slide-wrapper {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .slide-wrapper {
        height: 250px;
    }
}

/* Header - Now Hidden (replaced by hero slide) */
.header {
    display: none;
}

/* Old Header Styles - Keeping for compatibility */
/*.header {
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(190, 146, 56, 0.3);
    border: 2px solid #BE9238;
}

.header h1 {
    text-align: center;
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header .subtitle {
    text-align: center;
    color: #FFFEF7;
    font-size: 1.1rem;
    margin-top: 10px;
}*/

/* Search Section */
.search-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(190, 146, 56, 0.2);
    border: 1px solid #BE9238;
}

.search-header {
    text-align: center;
    margin-bottom: 25px;
}

.search-header h2 {
    color: #BE9238;
    font-size: 1.8rem;
    margin: 0;
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}

.search-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

/* Separated Search */
.search-separated {
    padding: 25px;
    border-radius: 12px;
}

.search-row {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-input-small {
    width: 50px;
    padding: 12px 8px;
    border: 2px solid #BE9238;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

.search-input-medium {
    width: 120px;
    padding: 12px 15px;
    border: 2px solid #BE9238;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

.search-input-small:focus,
.search-input-medium:focus {
    border-color: #D4A853;
    box-shadow: 0 0 0 3px rgba(190, 146, 56, 0.2);
    transform: scale(1.05);
}

/* Search Button */
.search-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(190, 146, 56, 0.3);
    font-family: 'Kanit', sans-serif;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(190, 146, 56, 0.4);
    background: linear-gradient(135deg, #D4A853 0%, #BE9238 100%);
}

.search-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(190, 146, 56, 0.3);
}

.search-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Example Plates */
.search-examples {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.example-plate {
    padding: 30px 15px;
    border-radius: 8px;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 220px;
    height: 100px;
}

.example-white {
    background: url('../uploads/1.jpg') center/cover;
    color: #2c3e50;
    border-color: #2c3e50;
    position: relative;
}

.example-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    z-index: 0;
}

.example-white::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.example-blue {
    background: url('../uploads/2.jpg') center/cover;
    color: #000000;
    border-color: #357ABD;
    position: relative;
}

.example-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    z-index: 0;
}

.example-blue::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.example-gold {
    background: url('../uploads/3.jpg') center/cover;
    color: #2c3e50;
    border-color: #FFA500;
    position: relative;
}

.example-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    z-index: 0;
}

.example-gold::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.example-plate:hover {
    transform: translateY(-2px);    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* License Plate Grid */
.plates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.plate-card {
    background: white;
    border-radius: 4px;
    padding: 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(190, 146, 56, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.plate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(190, 146, 56, 0.3), transparent);
    transition: left 0.5s ease;
}

.plate-card:hover::before {
    left: 100%;
}

.plate-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(190, 146, 56, 0.3);
    border-color: #D4A853;
}

.plate-image {
    width: 100%;
    height: 90px;
    position: relative;
    overflow: hidden;
}

.plate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.plate-card:hover .plate-image img {
    transform: scale(1.05);
}

.plate-price {
    padding: 0px;
    background: #ddd;
    color: #BE9238;
    font-size: 18px;
    font-weight: 300;
    text-align: center;
}

.plate-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #BE9238;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(190, 146, 56, 0.3);
    display: none;
}

.plate-category {
    display: none;
}

.plate-description {
    display: none;
}

.plate-info {
    display: none;
}

.no-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.8rem;
    border: 2px dashed #dee2e6;
}

/* Category Section Styles */
.category-section {
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(190, 146, 56, 0.2);
}

.category-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #BE9238;
}

.category-title {
    font-size: 1.8rem;
    color: #BE9238;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
}

.category-title i {
    font-size: 1.6rem;
}

.category-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.category-count {
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 400;
    font-size: 0.95rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 400;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(190, 146, 56, 0.3);
        font-size: 0.95rem;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(190, 146, 56, 0.4);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.no-results p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-btn {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #BE9238;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #BE9238;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Admin Button */
.admin-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.admin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 50px;
    color: white;
    font-size: 1.2rem;
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 670px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    color: #aaa;
    float: right;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    margin: -30px -10px 0px 0px;
}

.close:hover {
    color: #e74c3c;
}

/* Modal Plate Details */
.modal-plate-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.modal-plate-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-plate-info h2 {
    color: #BE9238;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.modal-plate-info p {
    margin: 12px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.modal-price {
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px 0 !important;
}

.modal-price .price-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-category,
.modal-description {
    color: #555;
}

/* New Modal Table Style */
.modal-plate-container {
    width: 100%;
}

.modal-plate-image-full {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.modal-plate-image-full img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    border: 3px solid #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.modal-plate-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.modal-plate-table tr {
    border-bottom: 1px solid #ddd;
}

.modal-plate-table td {
    padding: 15px 20px;
    font-size: 1rem;
}

.table-label {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    width: 40%;
    border-right: 1px solid #ddd;
}

.table-value {
    color: #555;
    font-weight: 400;
}

.price-row .table-label {
    background: #f0f0f0;
    font-weight: 700;
    font-size: 1.1rem;
}

.price-row .price-value {
    color: #BE9238;
    font-size: 1.5rem;
    font-weight: 500;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #BE9238;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #BE9238;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    text-align: center;
    padding: 40px;
    color: #e74c3c;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .plates-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-input {
        min-width: 100%;
    }
    
    .category-section {
        padding: 20px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .category-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .admin-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .search-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .search-row {
        gap: 5px;
    }
    
    .search-input-small {
        width: 45px;
        padding: 10px 6px;
        font-size: 16px;
    }
    
    .search-input-medium {
        width: 100px;
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .search-examples {
        gap: 8px;
    }
    
    .example-plate {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .plates-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .plate-number {
        font-size: 1.4rem;
    }
    
    .plate-image {
        height: 80px;
    }
    
    .search-separated {
        padding: 15px;
    }
    
    .search-input-small {
        width: 40px;
        padding: 8px 4px;
        font-size: 14px;
    }
    
    .search-input-medium {
        width: 80px;
        padding: 8px 8px;
        font-size: 14px;
    }
    
    .example-plate {
        min-width: 100px;
        font-size: 0.7rem;
    }
}

/* ========================================
   Content Page Styles
   ======================================== */

.content-page {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(190, 146, 56, 0.2);
    border: 2px solid rgba(190, 146, 56, 0.3);
}

.page-title {
    text-align: center;
    color: #BE9238;
    font-size: 2.5rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #BE9238;
    font-weight: 400;
}

/* Knowledge Page */
.knowledge-section {
    display: grid;
    gap: 30px;
}

.knowledge-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #BE9238;
}

.knowledge-card h2 {
    color: #BE9238;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.knowledge-card ul, .knowledge-card ol {
    margin-left: 25px;
    line-height: 1.8;
}

.knowledge-card li {
    margin-bottom: 10px;
}

.plate-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.type-item {
    background: linear-gradient(135deg, #F8F5C3 0%, #FFFEF7 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #BE9238;
}

.type-item h3 {
    color: #BE9238;
    margin-bottom: 10px;
}

.lucky-numbers {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.number-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.number-item .number {
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: bold;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 4px 15px rgba(190, 146, 56, 0.3);
}

/* About Page */
.about-section {
    display: grid;
    gap: 30px;
}

.about-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-card h2 {
    color: #BE9238;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    background: linear-gradient(135deg, #F8F5C3 0%, #FFFEF7 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #BE9238;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #BE9238;
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(190, 146, 56, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
}

.why-choose {
    margin-top: 20px;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #F8F5C3 0%, #FFFEF7 100%);
    border-radius: 8px;
    border-left: 4px solid #BE9238;
}

.check-icon {
    background: #BE9238;
    color: #FFFFFF;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.cta-card {
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    color: #FFFFFF;
    text-align: center;
}

.cta-card h2 {
    color: #FFFFFF;
}

.cta-button {
    display: inline-block;
    background: #FFFFFF;
    color: #BE9238;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info-section,
.contact-form-section {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 400;
}

.contact-info-section h2,
.contact-form-section h2 {
    color: #BE9238;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 400;
}

.contact-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-address {
    background: linear-gradient(135deg, #F8F5C3 0%, #FFFEF7 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #BE9238;
    margin-bottom: 30px;
}

.contact-address h3 {
    color: #BE9238;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-address h3 i {
    margin-right: 10px;
}

.contact-address p {
    color: #2c3e50;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

.contact-image {
    width: 100%;
    max-width: 270px;
    height: auto;
    border-radius: 10px;
}

.contact-info-card {
    display: grid;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #F8F5C3 0%, #FFFEF7 100%);
    border-radius: 10px;
    border-left: 4px solid #BE9238;
}

.info-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: #BE9238;
    margin-bottom: 10px;
}

.info-content a {
    color: #2c3e50;
    text-decoration: none;
}

.info-content a:hover {
    color: #BE9238;
}

.social-media {
    margin-top: 30px;
    text-align: center;
}

.social-media h3 {
    color: #BE9238;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    transition: all 0.3s;
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.line {
    background: #00B900;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.social-btn.twitter {
    background: #1DA1F2;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Form */
.contact-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
}

.required {
    color: #dc3545;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #BE9238;
}

textarea.form-control {
    resize: vertical;
    font-family: inherit;
}

.submit-btn {
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    color: #FFFFFF;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(190, 146, 56, 0.4);
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    color: #7f8c8d;
}

/* Site Footer */
.site-footer {
    background: #f8f9fa;
    margin-top: 80px;
    padding: 40px 20px 20px;
    border-top: 3px solid #BE9238;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-banner {
    width: 100%;
    margin-bottom: 30px;
}

.footer-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-contact-text {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.footer-contact-text h3 {
    font-size: 2rem;
    color: #000000;
    font-weight: 400;
    margin: 0;
}

.footer-top-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.footer-bottom-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: -90px auto 0px;
}

.icon-item {
    text-align: center;
}

.icon-item img {
    width: 100%;
    height: auto;
    max-width: 230px;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.icon-item img:hover {
    transform: scale(1.05);
}

.phone-item {
    text-align: center;
}

.phone-item img {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
    margin: 0 auto;
}

/* Responsive Design for Content Pages */
@media (max-width: 768px) {
    .content-page {
        padding: 20px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .plate-types,
    .features-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .lucky-numbers {
        flex-direction: column;
        align-items: center;
    }
    
    /* Footer Responsive */
    .footer-top-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .footer-bottom-row {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
    }
    
    .footer-contact-text h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   Document Page Styles
   ======================================== */

.document-page {
    max-width: 1200px;
    margin: 0 auto;
}

.document-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.document-preview {
    text-align: center;
}

.document-preview img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.document-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.document-info h2 {
    color: #BE9238;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.document-info p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.document-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.download-btn.primary {
    background: linear-gradient(135deg, #BE9238 0%, #D4A853 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(190, 146, 56, 0.3);
}

.download-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(190, 146, 56, 0.4);
}

.download-btn.secondary {
    background: white;
    color: #BE9238;
    border: 2px solid #BE9238;
}

.download-btn.secondary:hover {
    background: #BE9238;
    color: white;
}

.document-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    border-radius: 5px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.document-note i {
    color: #ffc107;
    font-size: 1.5rem;
    margin-top: 3px;
}

.document-note p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
}

/* Related Documents */
.related-documents {
    margin: 60px 0;
}

.related-documents h3 {
    color: #BE9238;
    font-size: 1.6rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 400;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(190, 146, 56, 0.3);
}

.related-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.related-card h4 {
    color: #333;
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
    font-weight: 500;
}

/* Responsive for Document Page */
@media (max-width: 768px) {
    .document-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .document-actions {
        flex-direction: column;
    }
    
    .download-btn {
        justify-content: center;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}
