:root {
    --primary: #FFD700;
    --primary-dark: #E6C200;
    --black: #0A0A0A;
    --dark-gray: #333333;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --text-main: #0A0A0A;
    --text-muted: #666666;
}

body {
    font-family: 'Kanit', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-primary { color: var(--primary); }
.bg-primary { background-color: var(--primary); }
.bg-black { background-color: var(--black); }

/* Top Bar */
.top-bar {
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.3s;
    font-size: 1.1rem;
    margin-left: 0.5rem;
}
.social-links a:hover { color: var(--primary-dark); }

.auth-links a {
    color: var(--black);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
}
.auth-links a:hover { color: var(--primary-dark); }

/* Main Header */
.main-header {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--black);
}

.brand-logo img {
    height: 60px;
    width: auto;
}

.brand-text h1 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    line-height: 1;
}

.brand-text span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Icon Menu */
.nav-icons {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--black);
    gap: 0.5rem;
    transition: transform 0.2s;
}

.nav-icon-item:hover {
    transform: translateY(-3px);
}

.nav-icon-item i {
    font-size: 1.8rem;
    color: var(--black); /* Or Primary if preferred */
}
.nav-icon-item:hover i {
    color: var(--primary-dark);
}

.nav-icon-item span {
    font-size: 0.9rem;
    font-weight: 300;
}

.cta-button {
    background-color: #D32F2F; /* Red color from reference, or use var(--primary) for Yellow */
    /* Let's stick to the requested "Yellow Black White" theme but maybe use Black for contrast on Yellow, or Red to pop like the ref? 
       User said: "Like the image but our data, Yellow White Black colors". 
       So I will use Primary (Yellow) or Black. Let's use Red for "Book Now" as a high contrast action if allowed, 
       but strictly I should use the theme. Let's use Black button with Yellow text or Yellow button.
    */
    background-color: var(--black);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 300;
    font-family: 'Kanit', sans-serif;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    background-color: var(--primary);
    color: var(--black);
    transform: scale(1.05);
}

/* Search Band */
.search-band {
    background-color: #E31E24; /* Reference Red */
    background-color: var(--primary); /* Our Theme Yellow */
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.search-band-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-title {
    color: var(--black);
    font-size: 1.5rem;
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
}

.search-box {
    display: flex;
    flex: 1;
    max-width: 600px;
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    padding: 0.5rem;
}

.search-box input {
    border: none;
    flex: 1;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-family: 'Kanit', sans-serif;
    outline: none;
}

.search-box button {
    background: none;
    border: none;
    color: var(--dark-gray);
    font-size: 1.2rem;
    padding: 0 1rem;
    cursor: pointer;
}

/* Headings */
.section-title h2 {
    font-size: 2rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
}

/* Category Grid */
.category-section {
    padding: 3rem 0;
    background-color: var(--white);
}

.category-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 2rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    scroll-snap-type: x mandatory;
}

.category-grid::-webkit-scrollbar {
    display: none;
}

.category-card {
    position: relative;
    height: 300px; /* Taller for slide impact */
    min-width: 280px; /* Fixed width for slide items */
    flex: 0 0 auto;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    scroll-snap-align: start;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    color: var(--white);
}

.category-title {
    font-size: 1.8rem;
    font-weight: 500;
    font-family: 'Kanit', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background-color: var(--white);
    text-align: center;
}

.stats-header {
    margin-bottom: 3rem;
}

.stats-header h2 {
    font-size: 2rem;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stats-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
}

.stat-circle {
    width: 150px;
    height: 150px;
    background-color: var(--primary); /* Yellow background */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--black); /* Black Icon */
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s;
    border: 4px solid var(--white); /* White border for cut-out effect */
}

.stat-circle:hover {
    transform: scale(1.05);
}

.stat-circle i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-circle .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
    line-height: 1;
}

.stat-desc h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-family: 'Kanit', sans-serif;
}

.stat-desc p {
    color: var(--black);
    font-size: 1.3rem;
    font-weight: bold;
}
.stat-desc span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

/* Media Section - Enhanced */
.media-section {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
    overflow: hidden;
}

/* Abstract Background Shapes */
.media-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.media-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.media-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 215, 0, 0.15);
    color: #998100;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Kanit', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.media-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--black);
    font-family: 'Kanit', sans-serif;
}

.media-content h2 .text-highlight {
    position: relative;
    display: inline-block;
    color: var(--black);
    z-index: 1;
}

.media-content h2 .text-highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 18px;
    background: var(--primary);
    z-index: -1;
    opacity: 0.5;
    transform: skewX(-10deg);
}

.media-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 300;
}

.media-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.media-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.media-gallery img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 8px solid var(--white);
    background: var(--black);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Redesign */
.footer-wave-container {
    line-height: 0;
    width: 100%;
    overflow: hidden;
    background-color: var(--white); /* Match section above */
}

.footer-wave {
    display: block;
    width: 100%;
    height: 80px; /* Reduced height to flatten the wave */
    background-color: transparent;
}

.footer-wave path {
    fill: var(--primary); /* Yellow Wave */
}

.main-footer {
    background-color: var(--primary); /* Yellow Background */
    color: var(--black);
    padding: 0 0 4rem 0;
    margin-top: -1px; /* fix sub-pixel gap */
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
    padding-top: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.brand-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.brand-col .footer-logo img {
    height: 60px;
}

.brand-col .footer-logo h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: 1px;
}

.brand-col p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--black);
    font-weight: 500;
}

.footer-col h4 {
    color: var(--black);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background-color: var(--black);
    border-radius: 2px;
}

.links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-col ul li {
    margin-bottom: 0.8rem;
}

.links-col ul li a {
    color: var(--black);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.links-col ul li a:hover {
    transform: translateX(5px);
    text-decoration: underline;
}

.contact-col .phone-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
    margin: 0 0 1.5rem 0;
}

.footer-col .social-links {
    display: flex;
    gap: 1rem;
}

.footer-col .social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--black);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-col .social-links a:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--black);
    opacity: 0.8;
    margin: 0;
    font-weight: 300;
}

/* [NEW] Booking Steps Section */
.booking-steps-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.step-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--black);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    color: var(--black);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-family: 'Kanit', sans-serif;
}

.step-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* [NEW] Facilities Section */
.facilities-section {
    padding: 6rem 0;
    background-color: var(--light-gray);
    color: var(--text-main);
    overflow: hidden;
}

.facilities-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.facilities-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-family: 'Kanit', sans-serif;
    line-height: 1.2;
}

.facilities-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.facility-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.facility-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.facility-item i {
    font-size: 2rem;
    color: var(--primary);
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.facility-item h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Kanit', sans-serif;
}

.facility-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.facilities-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 5px solid var(--white);
}

.main-visual {
    width: 80%;
    height: 80%;
    top: 0;
    right: 0;
    z-index: 1;
}

.sub-visual {
    width: 60%;
    height: 60%;
    bottom: 0;
    left: 0;
    z-index: 2;
    border-color: var(--primary);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive for New Sections */
@media (max-width: 992px) {
    .facilities-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Reset overlay style to simple grid for tablet/mobile */
    .facilities-visual {
        height: auto;
        order: -1; /* Keep images on top */
        display: grid;
        grid-template-columns: 1fr 1fr; /* Show images side by side */
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .visual-card {
        position: relative; /* Disable absolute positioning */
        width: 100%;
        height: 300px; /* Fixed height for images */
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        z-index: 1 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .main-visual, .sub-visual {
        width: 100%;
        height: 100%;
    }
    
    .facilities-text {
        text-align: center;
    }

    .facilities-text p {
        margin-bottom: 2rem;
    }

    .facilities-title {
        font-size: 2.5rem;
    }

    .facility-items {
        text-align: left;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .facilities-section {
        padding: 4rem 0;
    }
    
    .facilities-title {
        font-size: 2rem;
    }
    
    /* Images stack slightly smaller on phone or keep side-by-side but smaller? 
       Side-by-side is better to save vertical space.
    */
    .visual-card {
        height: 200px; /* Make them shorter on mobile */
        border-radius: 12px;
    }
    
    .facilities-visual {
        gap: 10px;
    }
    
    .facility-items {
        grid-template-columns: 1fr; /* Stack items on small mobile */
        gap: 1.5rem;
    }
    
    .facility-item {
        background: var(--white);
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .facility-items {
        grid-template-columns: 1fr;
    }
    
    .facilities-title {
        font-size: 2.2rem;
    }
    
    .visual-card {
        position: relative;
        width: 100%;
        height: 300px;
        margin-bottom: 1rem;
        top: auto; right: auto; bottom: auto; left: auto;
    }

    .main-visual, .sub-visual {
        width: 100%; /* Stack visuals on mobile */
    }
}

/* Stats Grid Responsive - 2 Columns on Mobile */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .stat-item {
        max-width: 100%;
        width: 100%;
    }

    .stat-circle {
        width: 110px;
        height: 110px;
        margin-bottom: 1rem;
    }

    .stat-circle i {
        font-size: 2.2rem;
    }

    .stat-circle .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-desc h4 {
        font-size: 1.1rem;
    }
    
    .stat-desc p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Force 2 columns */
        gap: 1rem;
    }
    
    .stat-circle {
        width: 90px;
        height: 90px;
    }
    
    .stat-circle i {
        font-size: 1.8rem;
    }
    
    .stat-circle .stat-number {
        font-size: 1.1rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    /* Hide nav menu icons to declutter, keeping only Logo and CTA */
    .nav-icons {
        display: none;
    }
    
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    /* Adjust Logo text size for tablet/mobile */
    .brand-text h1 {
        font-size: 1.2rem;
    }
    .brand-text span {
        font-size: 0.8rem;
    }
    
    .brand-logo img {
        height: 50px;
    }
    
    /* Ensure CTA button remains visible and nice */
    .cta-button {
        width: auto;
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }
}

@media (max-width: 992px) {
    /* Media Section */
    .media-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .media-video-side {
        order: 2; /* Put video below text on tablet */
    }
    
    .media-content {
        order: 1;
        text-align: center;
    }

    .media-content h2 {
        font-size: 2.8rem;
    }

    .media-gallery {
        margin: 0 auto 2rem auto; /* Center gallery */
    }

    .media-content .cta-button {
        width: auto;
        display: inline-flex;
    }

    .video-wrapper {
        border-width: 4px;
    }

    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-inner { 
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Ensure header row layout maintained even on mobile for "Logo + Button" look */
    .header-inner { 
        flex-direction: row; 
        gap: 0.5rem; 
        padding-bottom: 0;
        flex-wrap: nowrap; /* Keep on one line */
        justify-content: space-between;
    }

    /* Hide subtitle on mobile to save space */
    .brand-text span {
        display: none;
    }
    
    .brand-text h1 {
        font-size: 1.1rem; /* Adjust font size if needed */
    }
    
    .cta-button {
        padding: 0.6rem 0.8rem; /* slightly tighter padding */
        font-size: 0.9rem;
    }

    /* Reduce search title size on mobile to prevent squeezing search box */
    .search-title {
        font-size: 0.9rem; 
        white-space: nowrap; /* Keep text on one line if possible, or let it wrap naturally */
        white-space: normal;
    }

    /* Compact search box on mobile */
    .search-box {
        padding: 0.2rem;
        max-width: 100%; /* Ensure it doesn't overflow if container shrinks */
    }
    
    .search-box input {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .search-box button {
        font-size: 1rem;
        padding: 0 0.6rem;
    }

    /* [NEW] Hide facilities image on mobile as requested */
    .facilities-visual {
        display: none !important;  
    }
}

/* Compact Footer for Mobile */
@media (max-width: 768px) {
    .footer-wave {
        height: 40px; /* Reduce wave height */
    }
    
    .main-footer {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .footer-grid {
        display: grid; /* Change from flex to grid */
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        gap: 2rem 1rem;
        justify-items: start;
        padding-top: 0;
    }

    /* Brand column spans full width */
    .brand-col {
        grid-column: 1 / -1;
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }

    .brand-col .footer-logo {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .brand-col p {
        font-size: 0.9rem;
        margin: 0 auto;
        max-width: 90%;
    }

    /* Links and Contact side-by-side */
    .links-col {
        justify-self: center; /* Center in its column or keep left? */
        /* Let's keep existing alignment but maybe padding left */
        padding-left: 1rem;
    }

    .contact-col {
        justify-self: center;
        padding-right: 1rem;
    }

    /* Adjust headings and content size */
    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-col .phone-number {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .footer-col {
        min-width: 0; /* Remove min-width constraint */
    }

    .footer-col .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        gap: 1.5rem 0.5rem;
    }
    
    .links-col, .contact-col {
        padding: 0;
        justify-self: start; /* Align to start of their cell */
    }
    
    /* Slightly ident them to look balanced */
    .links-col { padding-left: 10px; }
    .contact-col { padding-left: 10px; }
}

/* Zone Selection Page Styles */
.zone-selection-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
    min-height: 60vh;
}

.zone-selection-header {
    text-align: center;
    margin-bottom: 3rem;
}

.zone-selection-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Kanit', sans-serif;
}

.zone-selection-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.zone-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.zone-list-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.zone-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.zone-card-img {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.zone-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.zone-list-card:hover .zone-card-img img {
    transform: scale(1.1);
}

.zone-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.zone-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Kanit', sans-serif;
}

.zone-card-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex: 1;
}

.zone-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.zone-status-badge.regular {
    background-color: var(--primary);
    color: var(--black);
}

.zone-btn {
    background-color: var(--black);
    color: var(--primary);
    text-align: center;
    padding: 0.8rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.zone-list-card:hover .zone-btn {
    background-color: var(--primary);
    color: var(--black);
}

.icon-box {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--black);
}

/* Disabled State */
.zone-list-card.disabled {
    filter: grayscale(1);
    opacity: 0.9;
    pointer-events: none;
}

.disabled-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
}

.disabled-msg {
    background: var(--black);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Booking Check Page Styles */
.booking-search-section {
    padding: 5rem 0 3rem;
    background-color: var(--light-gray);
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.booking-search-card {
    background: var(--white);
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.booking-search-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Kanit', sans-serif;
}

.booking-search-header p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.booking-form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.booking-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.booking-form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Kanit', sans-serif;
    transition: all 0.3s;
}

.booking-form-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.search-btn {
    width: 100%;
    background-color: var(--black);
    color: var(--primary);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background-color: var(--dark-gray);
    transform: translateY(-2px);
}

/* Booking Results */
.booking-results-section {
    padding: 3rem 0 5rem;
    background-color: var(--light-gray);
}

.booking-card-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.booking-card-header {
    background: var(--light-gray);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.booking-id {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
}

.booking-status {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.booking-status.paid, .booking-status.approved { background-color: #28a745; }
.booking-status.cancelled { background-color: #dc3545; }
.booking-status.pending { background-color: #ffc107; color: var(--black); }

.booking-card-body {
    padding: 1.5rem;
}

.booking-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.info-item span {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--black);
}

.booking-qr-section {
    margin-top: 1.5rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.qr-toggle-btn {
    width: 100%;
    background-color: var(--primary);
    color: var(--black);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.qr-toggle-btn:hover {
    background-color: var(--primary-dark);
}

.qr-content {
    background-color: #f9f9f9;
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none; /* Controlled by JS */
}

.qr-content img {
    max-width: 250px;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.lock-status-list {
    text-align: left;
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.lock-status-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.lock-status-item:last-child {
    border-bottom: none;
}

.status-checkup { color: #28a745; }
.status-waiting { color: var(--text-muted); }

/* Date Picker Override */
.date-picker-container {
    border: 1px solid #ffd700 !important;
}

#booking_date {
    border: 1px solid #1a1a1a !important;
    font-weight: 300;
}

/* Header Actions & Mobile Button */
.header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.secondary-mobile-btn {
    display: none; /* Hide on desktop as it's in nav-icons */
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.secondary-mobile-btn:hover {
    background-color: var(--black);
    color: var(--primary);
    transform: scale(1.05);
}

/* Responsive adjustments for header buttons */
@media (max-width: 1024px) {
    .secondary-mobile-btn {
        display: flex; /* Show when nav-icons are hidden */
        padding: 0.8rem 1rem;
    }
    
    .header-actions .cta-button {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .btn-text {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .header-actions {
        gap: 0.4rem;
    }
    
    .header-actions .cta-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
   
    /* Use icons only on very small screens if needed, or keep text small */
    .secondary-mobile-btn .btn-text {
        display: none; /* Show only icon on very small screen to save space */
    }
    
    .secondary-mobile-btn {
        padding: 0.5rem;
    }
}
