/* ============================================
   VILLA PRECIOSA RESORT — Mobile Enhancements
   Editorial Luxury × High-End Visual Design
   Awwwards-tier mobile experience
   ============================================ */

/* ─── Mobile-First Design Tokens ─── */
:root {
    /* Easing Curves (Emil Kowalski / Linear-tier) */
    --ease-mobile-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-mobile-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-mobile-drawer: cubic-bezier(0.32, 0.72, 0, 1);
    --ease-mobile-heavy: cubic-bezier(0.16, 1, 0.3, 1);

    /* Mobile Spacing (Macro-Whitespace) */
    --space-mobile-xs: 8px;
    --space-mobile-sm: 12px;
    --space-mobile-md: 16px;
    --space-mobile-lg: 24px;
    --space-mobile-xl: 32px;
    --space-mobile-2xl: 48px;
    --space-mobile-section: 96px;

    /* Touch Targets */
    --touch-target-min: 48px;
    --touch-target-comfortable: 52px;

    /* Mobile Typography Scale */
    --text-mobile-xs: 0.65rem;
    --text-mobile-sm: 0.75rem;
    --text-mobile-base: 0.875rem;
    --text-mobile-lg: 1rem;
    --text-mobile-xl: 1.15rem;
    --text-mobile-2xl: 1.5rem;
    --text-mobile-3xl: 2rem;

    /* Double-Bezel Radii */
    --bezel-outer: 20px;
    --bezel-inner: 16px;
    --bezel-gap: 3px;
}

/* ═══════════════════════════════════════════
   SECTION 1: IMAGE VISIBILITY
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .room-card-img img,
    .activity-showcase-img img,
    .about-img-main img,
    .about-img-accent img,
    .yacht-fleet-main,
    .yacht-fleet-secondary,
    .yacht-fleet-third {
        object-fit: contain !important;
        height: auto !important;
        max-height: none !important;
    }

    .gallery-item img {
        object-fit: cover !important;
        height: 100% !important;
    }

    .room-card-img,
    .activity-showcase-img,
    .about-img-main,
    .about-img-accent,
    .yacht-fleet-composition {
        overflow: visible !important;
        height: auto !important;
    }

    .gallery-item {
        overflow: hidden !important;
    }

    .gallery-grid {
        grid-auto-rows: 140px !important;
        gap: 6px !important;
    }
}

/* ═══════════════════════════════════════════
   SECTION 2: HAPTIC FEEDBACK (Touch Devices)
   ═══════════════════════════════════════════ */

@media (hover: none) and (pointer: coarse) {
    .btn,
    .btn-primary,
    .btn-outline,
    .btn-gold,
    .header-cta,
    .btn-reserve-mobile,
    .room-option,
    .gallery-item,
    .activity-chip,
    .social-link,
    .testimonial-prev,
    .testimonial-next,
    .bento-card,
    .explore-tab-exp {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .btn:active,
    .btn-primary:active,
    .btn-outline:active,
    .btn-gold:active {
        transform: scale(0.96);
        transition: transform 0.1s var(--ease-mobile-out);
    }

    .room-card:active,
    .activity-showcase-card:active,
    .bento-card:active {
        transform: scale(0.985);
        transition: transform 0.12s var(--ease-mobile-out);
    }

    .header-nav-link:active,
    .mobile-nav a:active {
        opacity: 0.7;
        transition: opacity 0.1s;
    }

    .gallery-item:active {
        transform: scale(0.97);
        transition: transform 0.1s var(--ease-mobile-out);
    }
}

/* ═══════════════════════════════════════════
   SECTION 3: EYEBROW TAGS (Micro-Badges)
   Precede every major heading with a pill badge
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .section-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: var(--font-body);
        font-size: 0.6rem;
        font-weight: 600;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--color-gold);
        background: rgba(201, 168, 76, 0.08);
        border: 1px solid rgba(201, 168, 76, 0.15);
        padding: 6px 14px;
        border-radius: 9999px;
        margin-bottom: 20px;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.6s var(--ease-mobile-heavy),
                    transform 0.6s var(--ease-mobile-heavy);
    }

    .section-eyebrow.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .section-eyebrow::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--color-gold);
        animation: eyebrowPulse 2s ease-in-out infinite;
    }

    .section-eyebrow.light {
        color: var(--color-gold-light);
        background: rgba(226, 200, 119, 0.1);
        border-color: rgba(226, 200, 119, 0.2);
    }

    .section-eyebrow.light::before {
        background: var(--color-gold-light);
    }

    @keyframes eyebrowPulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.5; transform: scale(0.8); }
    }
}

/* ═══════════════════════════════════════════
   SECTION 4: DOUBLE-BEZEL MOBILE CARDS
   Nested architecture: outer shell → inner core
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Room Cards — Double-Bezel */
    .room-card {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: var(--bezel-gap);
        border-radius: var(--bezel-outer);
        position: relative;
    }

    .room-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(0, 0, 0, 0.06);
        pointer-events: none;
        box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
    }

    .room-card > * {
        background: var(--color-white);
        border-radius: var(--bezel-inner);
        position: relative;
        z-index: 1;
    }

    .room-card-info,
    .room-card-info > * {
        background: transparent !important;
    }

    .room-card-info {
        background: linear-gradient(135deg, var(--color-ocean-dark), var(--color-ocean-deep)) !important;
    }

    /* Activity Cards — Double-Bezel */
    .activity-showcase-card {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: var(--bezel-gap);
        border-radius: var(--bezel-outer);
    }

    .activity-showcase-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: rgba(255, 255, 255, 0.4);
        border: 1px solid rgba(0, 0, 0, 0.04);
        pointer-events: none;
        box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
    }

    /* Amenity Items — Double-Bezel Glass */
    .amenity-item {
        background: transparent;
        border: none;
        backdrop-filter: none;
        padding: var(--bezel-gap);
        border-radius: 16px;
    }

    .amenity-item::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        pointer-events: none;
    }

    .amenity-item > * {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 13px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
    }

    /* Bento Cards — Double-Bezel */
    .bento-card {
        background: transparent;
        padding: var(--bezel-gap);
        border-radius: var(--bezel-outer);
    }

    .bento-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: rgba(255, 255, 255, 0.5);
        border: 1px solid rgba(0, 0, 0, 0.05);
        pointer-events: none;
    }

    .bento-card > * {
        position: relative;
        z-index: 1;
        border-radius: var(--bezel-inner);
    }
}

/* ═══════════════════════════════════════════
   SECTION 5: MOBILE TYPOGRAPHY SCALE
   Massive serif headings, wide tracking
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Hero Typography */
    .hero-title {
        font-family: var(--font-display);
        font-size: clamp(2.2rem, 9vw, 3.5rem);
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        line-height: 1.65;
        max-width: 90%;
        margin: 0 auto 32px;
        color: rgba(255, 255, 255, 0.8);
    }

    .hero-tag {
        font-size: 0.6rem;
        letter-spacing: 3px;
    }

    /* Section Typography */
    .section-title {
        font-family: var(--font-display);
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.12;
        letter-spacing: -0.025em;
    }

    .section-desc {
        font-size: 0.95rem;
        line-height: 1.75;
        max-width: 65ch;
        color: var(--color-text-light);
    }

    .section-tag {
        font-size: 0.6rem;
        letter-spacing: 2.5px;
    }

    /* Card Typography */
    .room-card-content h3 {
        font-family: var(--font-display);
        font-size: 1.25rem;
        margin-bottom: 8px;
        letter-spacing: -0.01em;
    }

    .room-card-content > p {
        font-size: 0.85rem;
        line-height: 1.65;
        color: var(--color-text-light);
    }

    .amenity-item h4 {
        font-family: var(--font-display);
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .amenity-item p {
        font-size: 0.8rem;
        line-height: 1.55;
        color: rgba(255, 255, 255, 0.7);
    }

    /* Activity Typography */
    .activity-showcase-content h3 {
        font-family: var(--font-display);
        font-size: 1.35rem;
        margin-bottom: 6px;
    }

    .activity-showcase-content > p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    /* Explore Typography */
    .explore-title {
        font-family: var(--font-display);
        font-size: clamp(2rem, 7vw, 3rem);
        letter-spacing: -0.03em;
    }

    /* Testimonial Typography */
    .testimonial-text {
        font-size: 1.05rem;
        line-height: 1.75;
        font-style: italic;
    }
}

/* ═══════════════════════════════════════════
   SECTION 6: TOUCH TARGETS
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .header-nav-link,
    .mobile-nav a,
    .btn,
    .btn-primary,
    .btn-outline,
    .btn-gold,
    .header-cta,
    .btn-reserve-mobile,
    .gallery-filter,
    .activity-chip,
    .social-link,
    .testimonial-prev,
    .testimonial-next,
    .dot,
    .step {
        min-height: var(--touch-target-min);
        min-width: var(--touch-target-min);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav a {
        padding: 16px 24px;
        font-size: 1.7rem;
    }

    .gallery-filter {
        padding: 12px 18px;
        font-size: 0.72rem;
        border-radius: 9999px;
    }

    .activity-chip {
        padding: 10px 16px;
        font-size: 0.75rem;
        border-radius: 9999px;
        white-space: nowrap;
    }

    .testimonial-prev,
    .testimonial-next {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 0.75rem;
    }

    .testimonial-dots {
        gap: 6px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .dot.active {
        width: 20px;
        border-radius: 4px;
    }
}

/* ═══════════════════════════════════════════
   SECTION 7: SPRING ANIMATIONS
   Emil Kowalski haptic feedback
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Button Spring */
    .btn:active,
    .btn-primary:active,
    .btn-outline:active,
    .btn-gold:active {
        animation: buttonSpring 0.4s var(--ease-mobile-spring);
    }

    @keyframes buttonSpring {
        0% { transform: scale(1); }
        30% { transform: scale(0.93); }
        60% { transform: scale(1.02); }
        100% { transform: scale(1); }
    }

    /* Card Spring */
    .room-card:active,
    .activity-showcase-card:active,
    .bento-card:active {
        animation: cardSpring 0.5s var(--ease-mobile-spring);
    }

    @keyframes cardSpring {
        0% { transform: scale(1); }
        40% { transform: scale(0.975); }
        70% { transform: scale(1.008); }
        100% { transform: scale(1); }
    }

    /* Icon Bounce */
    .amenity-icon:active,
    .pillar-icon:active,
    .activity-stat-icon:active {
        animation: iconBounceMobile 0.4s var(--ease-mobile-spring);
    }

    @keyframes iconBounceMobile {
        0% { transform: scale(1); }
        40% { transform: scale(1.12); }
        70% { transform: scale(0.95); }
        100% { transform: scale(1); }
    }

    /* Activity Chip Press */
    .activity-chip:active {
        transform: scale(0.94);
        transition: transform 0.1s var(--ease-mobile-out);
    }

    /* Gallery Filter Press */
    .gallery-filter:active {
        transform: scale(0.95);
        transition: transform 0.1s var(--ease-mobile-out);
    }
}

/* ═══════════════════════════════════════════
   SECTION 8: HAMBURGER MORPH ANIMATION
   Fluid rotation to X
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .header-hamburger {
        width: 48px;
        height: 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        padding: 0;
        transition: transform 0.4s var(--ease-mobile-spring),
                    background 0.3s var(--ease-mobile-out);
    }

    .header-hamburger span {
        width: 20px;
        height: 1.5px;
        background: #fff;
        border-radius: 2px;
        transition: transform 0.4s var(--ease-mobile-drawer),
                    opacity 0.3s var(--ease-mobile-out),
                    width 0.3s var(--ease-mobile-out);
        transform-origin: center;
    }

    /* Morph to X */
    .header.hamburger-open .header-hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(2.5px, 2.5px);
        width: 22px;
    }

    .header.hamburger-open .header-hamburger span:nth-child(2) {
        transform: rotate(-45deg) translate(2.5px, -2.5px);
        width: 22px;
    }

    .header.scrolled .header-hamburger {
        background: rgba(0, 0, 0, 0.04);
        border-color: rgba(0, 0, 0, 0.06);
    }

    .header.scrolled .header-hamburger span {
        background: var(--color-dark);
    }
}

/* ═══════════════════════════════════════════
   SECTION 9: FLUID ISLAND NAV
   Floating pill detached from top
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }

    .header-inner {
        padding: 0 20px;
        height: 56px;
    }

    .header.scrolled {
        padding: 8px 0;
    }

    .header.scrolled .header-inner {
        height: 48px;
    }

    /* Hero Logo mobile */
    .hero-logo {
        top: 54px;
        left: 16px;
        width: auto;
        height: 40px;
        padding: 0;
        transform: translateY(-50%);
    }

    .hero-logo-img {
        height: 180%;
        width: auto;
        max-width: 160px;
    }

    .header.scrolled ~ .hero-logo,
    .hero-logo.scrolled {
        opacity: 0;
        transform: translateY(-10px);
    }

    .header-nav {
        display: none;
    }

    .header-hamburger {
        display: flex;
    }

    .header-cta {
        font-size: 0.55rem;
        padding: 12px 14px;
        letter-spacing: 0.8px;
    }
}

/* ═══════════════════════════════════════════
   SECTION 10: SPACING SYSTEM
   Macro-whitespace, generous breathing
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .section {
        padding: var(--space-mobile-section) 0;
    }

    /* Design Taste: Varied mobile section rhythm */
    .section-about { padding: 88px 0; }
    .section-rooms { padding: 80px 0; }
    .section-amenities { padding: 72px 0; }
    .section-activities { padding: 88px 0; }
    .section-explore { padding: 72px 0; }
    .section-yacht { padding: 88px 0; }
    .section-gallery { padding: 80px 0; }
    .section-menu { padding: 88px 0; }
    .section-testimonials { padding: 72px 0; }
    .section-booking { padding: 72px 0; }
    .section-contact { padding: 80px 0; }

    .section-booking {
        padding: 72px 0;
    }

    .container {
        padding: 0 20px;
    }

    /* Grid Collapses */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .activities-showcase {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .activities-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .yacht-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Card Spacing */
    .room-card-content {
        padding: 24px 20px;
    }

    .activity-showcase-content {
        padding: 24px 20px;
    }

    .amenity-item {
        padding: 28px 24px;
    }

    /* Hero Spacing */
    .hero-content {
        padding: 0 20px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* Booking Spacing */
    .booking-container {
        padding: 28px 20px;
        border-radius: var(--bezel-outer);
    }

    .booking-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .booking-form-grid .form-group.full-width {
        grid-column: span 1;
    }

    .booking-steps {
        flex-wrap: wrap;
        gap: 8px;
    }

    .step {
        padding: 8px 14px;
    }

    .step-label {
        font-size: 0.6rem;
    }
}

/* ═══════════════════════════════════════════
   SECTION 11: SCROLL REVEAL OPTIMIZATION
   Reduced distance, faster on mobile
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .reveal-up {
        transform: translateY(20px);
    }

    .reveal-left {
        transform: translateX(-20px);
    }

    .reveal-right {
        transform: translateX(20px);
    }

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        transition-duration: 0.7s;
    }

    [data-delay="50"] { transition-delay: 0.04s; }
    [data-delay="100"] { transition-delay: 0.08s; }
    [data-delay="150"] { transition-delay: 0.12s; }
    [data-delay="200"] { transition-delay: 0.16s; }
    [data-delay="250"] { transition-delay: 0.2s; }
    [data-delay="300"] { transition-delay: 0.24s; }
    [data-delay="350"] { transition-delay: 0.28s; }
    [data-delay="400"] { transition-delay: 0.32s; }
}

/* ═══════════════════════════════════════════
   SECTION 12: GLASS EFFECTS
   Premium glass on mobile
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .mobile-menu {
        background: linear-gradient(
            135deg,
            rgba(10, 51, 71, 0.98) 0%,
            rgba(15, 20, 25, 0.99) 100%
        );
        backdrop-filter: blur(24px) saturate(1.2);
        -webkit-backdrop-filter: blur(24px) saturate(1.2);
    }

    .mobile-menu::before {
        background-image: radial-gradient(
            circle at 30% 50%,
            rgba(201, 168, 76, 0.1) 0%,
            transparent 50%
        );
    }

    .header.scrolled .header-nav {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px) saturate(1.3);
        -webkit-backdrop-filter: blur(20px) saturate(1.3);
    }
}

/* ═══════════════════════════════════════════
   SECTION 13: COLOR & CONTRAST
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .hero-title {
        text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
    }

    .hero-subtitle {
        text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
    }

    .section-title {
        color: var(--color-dark);
    }

    .section-desc {
        color: var(--color-text-light);
    }

    .btn-primary {
        background: var(--color-ocean);
        color: var(--color-white);
        box-shadow: 0 4px 20px rgba(26, 107, 138, 0.3);
    }

    .btn-gold {
        background: var(--color-gold);
        color: var(--color-dark);
        box-shadow: 0 4px 24px rgba(201, 168, 76, 0.3);
    }

    .btn-outline {
        border-color: rgba(255, 255, 255, 0.5);
        color: var(--color-white);
        background: rgba(255, 255, 255, 0.08);
    }

    .contact-form input,
    .contact-form textarea,
    .booking-form-grid input,
    .booking-form-grid select,
    .booking-form-grid textarea {
        border-color: rgba(0, 0, 0, 0.1);
        background: var(--color-white);
    }

    .contact-form input:focus,
    .contact-form textarea:focus,
    .booking-form-grid input:focus,
    .booking-form-grid select:focus,
    .booking-form-grid textarea:focus {
        border-color: var(--color-ocean);
        box-shadow: 0 0 0 4px rgba(26, 107, 138, 0.08);
    }
}

/* ═══════════════════════════════════════════
   SECTION 14: PERFORMANCE OPTIMIZATION
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .hero-slide {
        animation: none;
        transition: opacity 1.2s var(--ease-mobile-out);
    }

    .hero-slide.active {
        animation: none;
        transform: scale(1);
    }

    .room-card:hover,
    .activity-showcase-card:hover,
    .amenity-item:hover,
    .bento-card:hover {
        transform: none;
    }

    .room-card,
    .activity-showcase-card,
    .amenity-item,
    .bento-card {
        transition: transform 0.35s var(--ease-mobile-out),
                    box-shadow 0.35s var(--ease-mobile-out);
    }

    .amenities-parallax,
    .yacht-bg {
        background-attachment: scroll;
    }

    .room-card-img img,
    .activity-showcase-img img,
    .gallery-item img {
        will-change: auto;
    }

    body::after {
        display: none;
    }

    .hero-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ═══════════════════════════════════════════
   SECTION 15: MICRO-INTERACTIONS
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .social-link:active::before {
        transform: scale(2);
        opacity: 0.3;
    }

    .footer-list a:active::after {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════
   SECTION 16: LAYOUT PATTERNS
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Bento Grid Collapse */
    .explore-bento {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bento-card {
        grid-column: span 1;
    }

    .bento-featured {
        grid-column: span 1;
    }

    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        grid-auto-rows: 140px;
    }

    .gallery-item.gi-wide {
        grid-column: span 2;
    }

    .gallery-item.gi-tall {
        grid-row: span 1;
    }

    .gallery-item.gi-hero {
        grid-column: span 2;
        grid-row: span 1;
    }

    /* Yacht Fleet */
    .yacht-fleet-composition {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        height: 220px;
    }

    .yacht-fleet-main {
        grid-column: span 2;
    }

    .yacht-fleet-secondary,
    .yacht-fleet-third {
        grid-column: span 1;
    }

    /* About Images */
    .about-img-main img {
        height: auto;
        max-height: 300px;
    }

    .about-img-accent {
        width: 120px;
        height: 120px;
        bottom: -20px;
        right: -10px;
    }

    .about-badge {
        width: 90px;
        height: 90px;
        top: -15px;
        left: -10px;
    }

    .badge-number {
        font-size: 2rem;
    }

    .badge-text {
        font-size: 0.55rem;
    }
}

/* ═══════════════════════════════════════════
   SECTION 17: GESTURE SUPPORT
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .hero-stats {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hero-stats::-webkit-scrollbar {
        display: none;
    }

    .gallery-filters {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .gallery-filters::-webkit-scrollbar {
        display: none;
    }

    .category-items {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

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

/* ═══════════════════════════════════════════
   SECTION 18: PREMIUM BUTTONS
   Pill-shaped with trailing icon
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .btn {
        border-radius: 9999px;
        font-weight: 600;
        letter-spacing: 0.5px;
        padding: 14px 32px;
    }

    .btn-primary {
        position: relative;
        overflow: hidden;
    }

    .btn-primary::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.15) 0%,
            transparent 50%
        );
        pointer-events: none;
    }

    .btn-gold {
        position: relative;
        overflow: hidden;
    }

    .btn-gold::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.2) 0%,
            transparent 50%
        );
        pointer-events: none;
    }

    /* Mobile Reserve Button Premium */
    .btn-reserve-mobile {
        padding: 18px 52px;
        font-size: 0.85rem;
        letter-spacing: 2.5px;
        border-radius: 9999px;
        background: transparent;
        border: 1.5px solid var(--color-gold);
        transition: transform 0.35s var(--ease-mobile-spring),
                    background 0.35s var(--ease-mobile-out),
                    box-shadow 0.35s var(--ease-mobile-out),
                    color 0.35s var(--ease-mobile-out);
    }

    .btn-reserve-mobile:active {
        transform: scale(0.96);
        background: var(--color-gold);
        color: var(--color-dark);
        box-shadow: 0 8px 40px rgba(201, 168, 76, 0.4);
    }
}

/* ═══════════════════════════════════════════
   SECTION 19: MOBILE CLOSE BUTTON
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .mobile-close {
        width: 56px;
        height: 56px;
        font-size: 2.5rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: transform 0.4s var(--ease-mobile-spring),
                    background 0.3s var(--ease-mobile-out);
    }

    .mobile-close:active {
        transform: scale(0.9) rotate(90deg);
        background: rgba(255, 255, 255, 0.15);
    }
}

/* ═══════════════════════════════════════════
   SECTION 20: FORM ENHANCEMENTS
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .booking-form-grid input,
    .booking-form-grid select,
    .booking-form-grid textarea,
    .contact-form input,
    .contact-form textarea {
        padding: 16px 20px;
        font-size: 1rem;
        border-radius: 14px;
        border: 1.5px solid rgba(0, 0, 0, 0.08);
        transition: border-color 0.3s var(--ease-mobile-out),
                    box-shadow 0.3s var(--ease-mobile-out);
    }

    .booking-form-grid select {
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6577' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        padding-right: 40px;
    }

    .room-option-content {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .room-option-img {
        width: 100%;
        height: 120px;
    }

    .booking-summary-mini {
        padding: 14px 18px;
        border-radius: 14px;
    }

    .summary-row {
        font-size: 0.82rem;
    }

    .booking-nav {
        flex-direction: column;
        gap: 14px;
    }

    .booking-nav .btn {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════
   SECTION 21: ACCESSIBILITY
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    @media (prefers-reduced-motion: reduce) {
        .mobile-menu.active .mobile-nav a {
            animation: none;
            opacity: 1;
            transform: none;
            transition: opacity 0.2s ease;
        }

        .btn:active,
        .btn-primary:active,
        .btn-outline:active,
        .btn-gold:active {
            animation: none;
            transform: scale(0.96);
        }

        .room-card:active,
        .activity-showcase-card:active,
        .bento-card:active {
            animation: none;
            transform: scale(0.985);
        }

        .amenity-icon:active,
        .pillar-icon:active,
        .activity-stat-icon:active {
            animation: none;
        }
    }

    .btn:focus-visible,
    .btn-primary:focus-visible,
    .btn-outline:focus-visible,
    .btn-gold:focus-visible,
    .header-nav-link:focus-visible,
    .mobile-nav a:focus-visible,
    .gallery-filter:focus-visible,
    .activity-chip:focus-visible {
        outline: 2px solid var(--color-gold);
        outline-offset: 3px;
    }

    @media (prefers-contrast: high) {
        .btn-primary,
        .btn-gold {
            border: 2px solid currentColor;
        }

        .btn-outline {
            border-width: 2px;
        }

        .room-card::before,
        .activity-showcase-card::before {
            border-width: 2px;
        }
    }
}

/* ═══════════════════════════════════════════
   SECTION 22: PREMIUM DETAILS
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .room-card,
    .activity-showcase-card,
    .amenity-item {
        position: relative;
    }

    .room-card {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }

    .room-card:active {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    .activity-showcase-card {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .activity-showcase-card:active {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .room-card::before,
    .activity-showcase-card::before {
        border-color: rgba(0, 0, 0, 0.06);
    }

    /* Hero Overlay */
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 51, 71, 0.45) 0%,
            rgba(26, 26, 46, 0.7) 100%
        );
    
    }

    /* Amenities Overlay */
    .section-amenities .amenities-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 51, 71, 0.92) 0%,
            rgba(26, 26, 46, 0.96) 100%
        );
    }
}

/* ═══════════════════════════════════════════
   SECTION 23: FINAL POLISH
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .scroll-progress {
        height: 2px;
    }

    .hero-scroll {
        bottom: 28px;
    }

    .scroll-mouse {
        width: 20px;
        height: 32px;
    }

    .scroll-wheel {
        width: 2px;
        height: 6px;
        margin-top: 5px;
    }

    .hero-scroll span {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }

    /* Footer Newsletter */
    .footer-newsletter {
        padding: 28px 0;
        margin-bottom: 44px;
    }

    .newsletter-label {
        font-size: 0.6rem;
    }

    .footer-newsletter h3 {
        font-size: 1.15rem;
    }

    .newsletter-field input {
        min-width: 0;
        width: 100%;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 36px 24px;
        border-radius: var(--bezel-outer);
    }

    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .review-number {
        font-size: 0.7rem;
        padding: 5px 14px;
        border-radius: 9999px;
    }

    .testimonial-content {
        max-height: 110px;
    }

    .testimonial-toggle {
        font-size: 0.82rem;
    }

.testimonial-nav {
    margin-top: 20px;
    gap: 10px;
}

    /* Contact Items */
    .contact-item {
        padding: 14px 0;
    }

    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 0.88rem;
    }

    .contact-item strong {
        font-size: 0.82rem;
    }

    .contact-item p {
        font-size: 0.88rem;
    }
}

/* ═══════════════════════════════════════════
   SECTION 24: INTERRUPTIBLE ANIMATIONS
   Transitions instead of keyframes
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .mobile-menu {
        transition: opacity 0.4s var(--ease-mobile-out),
                    visibility 0.4s;
    }

    .mobile-menu.active {
        transition: opacity 0.5s var(--ease-mobile-out),
                    visibility 0.5s;
    }

    .mobile-nav a {
        transition: opacity 0.35s var(--ease-mobile-out),
                    transform 0.45s var(--ease-mobile-spring),
                    color 0.25s var(--ease-mobile-out);
    }

    .btn-reserve-mobile {
        transition: opacity 0.4s var(--ease-mobile-out),
                    transform 0.4s var(--ease-mobile-spring),
                    background 0.35s var(--ease-mobile-out),
                    color 0.35s var(--ease-mobile-out),
                    box-shadow 0.35s var(--ease-mobile-out);
    }

    .gallery-filter {
        transition: all 0.3s var(--ease-mobile-out);
    }

    .testimonial-card {
        transition: opacity 0.5s var(--ease-mobile-out),
                    transform 0.5s var(--ease-mobile-out),
                    visibility 0.5s;
    }
}

/* ═══════════════════════════════════════════
   SECTION 25: PREMIUM ENTRANCE ANIMATIONS
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    @keyframes mobilePremiumEnter {
        0% {
            opacity: 0;
            transform: translateY(32px) scale(0.96);
            filter: blur(3px);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
            filter: blur(0);
        }
    }

    .section.in-view {
        animation: mobilePremiumEnter 0.8s var(--ease-mobile-heavy) forwards;
    }

    @keyframes mobileCardEnter {
        0% {
            opacity: 0;
            transform: translateY(24px) scale(0.97);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .room-card.revealed,
    .activity-showcase-card.revealed,
    .amenity-item.revealed,
    .bento-card.revealed {
        animation: mobileCardEnter 0.65s var(--ease-mobile-heavy) forwards;
    }
}

/* Dark mode support removed — site stays light on all devices */

/* ═══════════════════════════════════════════
   SECTION 27: PERFORMANCE FINAL PASS
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .room-card.revealed,
    .activity-showcase-card.revealed,
    .amenity-item.revealed,
    .bento-card.revealed {
        will-change: transform, opacity;
    }

    .room-card.revealed,
    .activity-showcase-card.revealed,
    .amenity-item.revealed,
    .bento-card.revealed {
        animation-fill-mode: forwards;
    }

    .hero-overlay,
    .amenities-overlay,
    .yacht-overlay {
        will-change: opacity;
    }

    .room-card-img img,
    .activity-showcase-img img,
    .gallery-item img {
        transform: translateZ(0);
    }
}
