/* Google Fonts loaded via HTML header for performance preloading */

/* --- CUSTOM VARIABLES --- */
:root {
    --bg-primary: #0a0c10;
    --bg-secondary: #12161f;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;

    --neon-red: #ff2a2a;
    --neon-red-glow: rgba(255, 42, 42, 0.4);
    --neon-green: #39ff14;
    --neon-green-glow: rgba(57, 255, 20, 0.4);

    --glass-bg: rgba(18, 22, 31, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(57, 255, 20, 0.3);

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.brand-logo {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-green);
}

/* --- NAVIGATION HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-logo .logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 5px rgba(255, 42, 42, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green-glow);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--neon-green);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 0 5px var(--neon-green-glow);
}

.nav-btn:hover {
    background: var(--neon-green);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--neon-green);
}

/* --- HERO SECTION --- */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: max(80px, 16vh);
    /* Push title down from top edge */
    padding-bottom: max(2rem, 14vh);
    /* Push buttons up from bottom edge */
    background: transparent;
}

#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    display: block;
}

/* Title + subtitle block — sits at top of hero */
.hero-top {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    width: 100%;
    padding: 2rem 2rem 0 2rem;
    /* Top padding separates from header */
    pointer-events: none;
}

/* Interactive elements must enable pointer events */
.hero-cta-btn,
.hero-link {
    pointer-events: auto;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-primary);
    animation: text-flicker 3s infinite alternate;
}

.hero-title span {
    color: var(--neon-red);
    text-shadow: 0 0 20px var(--neon-red-glow), 0 0 40px rgba(255, 42, 42, 0.2);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.6rem);
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0;
    /* No bottom margin — space is provided by space-between */
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* CTA button group — sits at bottom of hero */
.hero-cta {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    pointer-events: none;
    /* Container transparent; children re-enable */
    padding: 0 2rem 1rem 2rem;
    /* Bottom padding anchors buttons from edge */
    width: 100%;
    max-width: 800px;
    margin-top: 2.5rem;
    /* Create vertical space for the kart between text and buttons */
}

.btn-primary {
    background: var(--neon-red);
    border: none;
    color: var(--text-primary);
    padding: 0.9rem 1.6rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px var(--neon-red-glow);
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 25px var(--text-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* --- SECTION STYLES --- */
section {
    padding: 7rem 2rem;
    position: relative;
    z-index: 2;
    /* Sections sit above canvas but not too high */
    background-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- TRACK SECTION --- */
#track {
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.85) 0%, rgba(10, 12, 16, 0.0) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

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

@media (max-width: 968px) {
    .track-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.track-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.track-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--neon-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-data .stat-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-data .stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Interactive Map Container */
.track-map-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 350px;
}

.track-map-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.track-svg {
    width: 90%;
    height: 90%;
}

.track-path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 16;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.track-glowing-path {
    fill: none;
    stroke: var(--neon-red);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-track 8s linear infinite;
    filter: drop-shadow(0 0 8px var(--neon-red));
}

.map-point {
    fill: var(--neon-green);
    stroke: var(--bg-primary);
    stroke-width: 3;
    filter: drop-shadow(0 0 5px var(--neon-green));
}

/* --- CAFE SECTION --- */
#cafe {
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.10) 0%, rgba(10, 12, 16, 0.95) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* --- GALLERY SECTION --- */
#gallery {
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.90) 0%, rgba(10, 12, 16, 0.95) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.menu-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.menu-img-container {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.menu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.menu-card:hover .menu-img {
    transform: scale(1.08);
}

.menu-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--neon-red);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 0 10px var(--neon-red-glow);
}

.menu-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.menu-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.menu-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green-glow);
}

.menu-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.menu-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-green);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- BOOKING SECTION --- */
#booking {
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.90) 0%, rgba(10, 12, 16, 0.97) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    position: relative;
}

.booking-wrapper {
    max-width: 750px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.booking-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-red), var(--neon-green));
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .booking-wrapper {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-control {
    background: rgba(10, 12, 16, 0.8);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green-glow);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2339ff14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
}

.submit-btn {
    background: linear-gradient(90deg, var(--neon-red) 0%, #d61c1c 100%);
    border: none;
    color: var(--text-primary);
    padding: 1.1rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px var(--neon-red-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    box-shadow: 0 5px 25px var(--neon-red);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- FEEDBACK TOAST/MESSAGES --- */
.toast-msg {
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    margin-bottom: 1.5rem;
    border-left: 4px solid transparent;
}

.toast-msg.success {
    display: block;
    background: rgba(57, 255, 20, 0.1);
    color: #8fff77;
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.15);
}

.toast-msg.error {
    display: block;
    background: rgba(255, 42, 42, 0.1);
    color: #ff8b8b;
    border-color: var(--neon-red);
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.15);
}

/* --- FOOTER --- */
footer {
    background: #06070a;
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--text-primary);
}

.footer-info .footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 5px rgba(255, 42, 42, 0.3));
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green-glow);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--neon-green);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- ANIMATIONS --- */
@keyframes text-flicker {

    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 0 0 15px rgba(255, 255, 255, 0.1);
    }

    20%,
    24%,
    55% {
        text-shadow: none;
    }
}

@keyframes draw-track {
    to {
        stroke-dashoffset: 0;
    }
}

/* --- 3D MODEL CONTAINERS --- */
.hero-model-container {
    width: 100%;
    max-width: 550px;
    height: 320px;
    margin: -1rem auto 1.5rem auto;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.hero-model-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    filter: drop-shadow(0 0 15px var(--neon-red-glow));
}

.track-model-container {
    width: 100%;
    height: 350px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.track-model-container:hover {
    border-color: var(--glass-border-hover);
}

.track-model-container iframe,
#specs-canvas {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- RESPONSIVE MOBILE-FIRST DESIGN --- */

/* Gutter padding inside containers for responsive alignment */
.container {
    padding: 0 1.5rem;
}

/* Nav Menu Mobile Toggle Icon */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
}

.nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Media Query overrides */
@media (max-width: 768px) {

    /* Section padding */
    section {
        padding: 4rem 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    /* Side-drawer mobile nav menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 12, 16, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition-smooth);
        z-index: 1050;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-btn {
        display: none;
    }

    /* Hamburger → X */
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       HERO — Title at TOP, CTA buttons at BOTTOM, kart in middle
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    #hero {
        justify-content: center;
        gap: 2rem;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    /* Title block: compact padding for mobile */
    .hero-top {
        padding: 1.2rem 1.5rem 0 1.5rem;
        text-align: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(2rem, 11vw, 2.8rem);
        margin-bottom: 0.4rem;
        line-height: 1.05;
    }

    .hero-subtitle {
        font-size: 0.72rem;
        letter-spacing: 1px;
        margin-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* CTA: side by side, centered, compact */
    .hero-cta {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: nowrap;
        padding: 0 1.5rem 0.5rem 1.5rem;
        max-width: 100%;
        margin-top: 2.2rem;
        /* Spacing between text and CTA buttons on mobile */
    }

    .hero-cta-btn {
        font-size: 0.65rem;
        padding: 0.75rem 1rem;
        flex: 1;
        max-width: 155px;
        text-align: center;
        white-space: nowrap;
    }

    /* Track section */
    .track-map-container {
        height: 240px;
        padding: 1rem;
    }

    /* Booking form */
    .booking-wrapper {
        padding: 2rem 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}

@media (max-width: 480px) {

    /* Set stats grid to single column to avoid content compression */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Extra-small phones (≤400px) — iPhone SE, Galaxy A, etc. */
@media (max-width: 400px) {
    #hero {
        padding-top: max(62px, 12vh);
        padding-bottom: max(1.2rem, 9vh);
        margin-top: -100px;
    }

    .hero-top {
        padding: 0.8rem 1rem 0 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.4rem);
        margin-bottom: 0.3rem;
    }

    .hero-subtitle {
        font-size: 0.64rem;
        letter-spacing: 0.5px;
        margin-bottom: 0;
    }

    .hero-cta {
        gap: 0.5rem;
        padding: 0 1rem 0.5rem 1rem;
    }

    .hero-cta-btn {
        font-size: 0.6rem;
        padding: 0.65rem 0.7rem;
        max-width: 140px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FLOATING ACTION BUTTONS (WhatsApp & Google Maps)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
    pointer-events: auto;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    border: none;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.whatsapp-btn {
    background-color: #25D366;
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.4));
}

.whatsapp-btn:hover {
    filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.7));
}

.direction-btn {
    background-color: var(--neon-red);
    filter: drop-shadow(0 0 8px var(--neon-red-glow));
}

.direction-btn:hover {
    filter: drop-shadow(0 0 15px var(--neon-red-glow));
}

.floating-btn svg {
    width: 26px;
    height: 26px;
}

.floating-btn i {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.8rem;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
    }

    .floating-btn svg,
    .floating-btn i {
        width: 22px;
        height: 22px;
    }
}