/* ========================================
   GARDA ESSENCE — DESIGN SYSTEM 2026
   Contemporary Luxury, Italian Elegance
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Q5: Core Web Vitals Optimization */
}

/* Q5 (S10): LCP (Largest Contentful Paint) Optimization */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--surface);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0px;
}

/* ========== DESIGN SYSTEM 2026 — Material Design 3 + Luxury Minimalist ========== */
:root {
    /* TYPOGRAPHY FAMILIES */
    --font-serif: 'Playfair Display', 'Georgia', serif;
    --font-sans: 'Montserrat', 'Segoe UI', sans-serif;

    /* PRIMARY COLORS (Material Design 3) */
    --primary: #003DA5;                 /* Blue — CTA, links, accents (7.5:1 contrast) */
    --secondary: #0DA9E0;               /* Teal — Hover states, secondary (4.2:1 contrast) */
    --tertiary: #8B5CF6;                /* Purple — Optional accents */

    /* NEUTRAL COLORS */
    --text-primary: #1C1B1F;            /* Dark gray — Main text (16:1 contrast on white) */
    --text-secondary: #757575;          /* Medium gray — Secondary text */
    --surface: #FFFFFF;                 /* Pure white background */
    --surface-variant: #F5F5F5;         /* Subtle gray — Section dividers */
    --surface-variant-2: #E8E8E8;       /* Light gray — Borders, inputs */

    /* STATUS COLORS */
    --success: #22C55E;                 /* Green */
    --error: #EF4444;                   /* Red */
    --warning: #F59E0B;                 /* Amber */

    /* LEGACY (for backward compatibility) */
    --primary-blue: #003DA5;
    --accent-cyan: #0DA9E0;
    --dark: #1C1B1F;
    --light: #F5F5F5;
    --white: #FFFFFF;
    --gray-light: #E8E8E8;
    --gray-medium: #757575;
    --gray-dark: #1C1B1F;
    --text-on-primary: #FFFFFF;

    /* FONT SIZES (Fluid Scaling with clamp) */
    --font-display: clamp(2.8rem, 5vw, 3.5rem);      /* h1 */
    --font-headline: clamp(1.8rem, 4vw, 2.2rem);     /* h2 */
    --font-title: clamp(1.1rem, 3vw, 1.5rem);        /* h3 */
    --font-body: clamp(0.95rem, 1.5vw, 1rem);        /* p, body */
    --font-label: 0.875rem;                          /* label, small */

    /* SHADOWS (Elevation) — Material Design 3 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.2);

    /* BORDER RADIUS SCALE */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* SPACING SCALE (4px base unit) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 40px;
    --space-3xl: 48px;

    /* MOTION */
    --duration-short: 200ms;
    --duration-standard: 300ms;
    --duration-long: 500ms;
    --easing-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --easing-emphasized: cubic-bezier(0.34, 1.56, 0.64, 1);
    color-scheme: light;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.2s ease;
}


/* Typography - Elegant & Spaced */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

h1 {
    font-size: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.5px;
    word-spacing: 0.3em;
    margin-bottom: var(--space-xl);
    line-height: 1.1;
    white-space: normal;
}

h2 {
    font-size: var(--font-headline);
    margin-bottom: var(--space-lg);
    font-weight: 700;
    letter-spacing: 0.3px;
    word-spacing: 0.3em;
    line-height: 1.2;
    white-space: normal;
}

h3 {
    font-size: var(--font-title);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.3px;
    word-spacing: 0.2em;
    white-space: normal;
}

p {
    font-size: var(--font-body);
    color: var(--text-primary);
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    transition: all var(--duration-standard) var(--easing-standard);
}

a:hover {
    color: var(--secondary);
    text-decoration-color: var(--secondary);
}

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
    font-family: var(--font-serif);
    flex: 0 0 auto;
}

.logo-icon {
    font-size: 1.5rem;
}

/* Logo Responsive Sizes */
.logo-nav {
    height: 70px !important;
}

@media (max-width: 768px) {
    .logo-nav {
        height: 60px !important;
    }

    .nav-logo {
        margin-left: 16px;
        margin-right: 0;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .nav-logo {
        margin-left: 16px;
        margin-right: 0;
    }
}

@media (min-width: 1024px) {
    .logo-nav {
        height: 108px !important;
    }

    .nav-logo {
        padding-top: 10px;
        padding-bottom: 10px;
        margin-left: 100px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 1rem;
    justify-content: center;
}

.nav-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--gray-500);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-decoration: none;
    font-family: var(--font-sans);
}

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

.nav-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    text-decoration: underline;
    color: var(--primary);
}

/* CTA Button Item — Right Side */
.nav-cta-item {
    list-style: none;
}

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

.nav-cta {
    padding: 0;
    font-size: inherit;
    white-space: nowrap;
    display: none;
    margin-top: 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--text-primary);
    cursor: pointer;
}

/* Tablet Nav (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .nav-container {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 8px 20px;
        min-height: 70px;
    }

    .nav-logo {
        flex: 0 0 auto;
        order: 1;
    }

    .nav-toggle {
        display: none !important;
    }

    .nav-menu {
        position: static !important;
        flex-direction: row;
        max-height: none !important;
        overflow: visible !important;
        background: none !important;
        gap: 24px;
        flex: 1;
        justify-content: center;
        order: 2;
    }

    .nav-menu li {
        padding: 0;
        border: none;
        text-align: center;
    }

    .nav-cta {
        display: inline-block;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .logo-nav {
        height: 80px !important;
    }
}

/* Desktop Nav */
@media (min-width: 1024px) {
    .nav-container {
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0 24px;
        min-height: 80px;
    }

    .nav-logo {
        order: 1;
        flex: 0 0 auto;
    }

    .nav-toggle {
        display: none !important;
    }

    .nav-menu {
        position: static !important;
        flex-direction: row;
        max-height: none !important;
        overflow: visible !important;
        background: none !important;
        gap: 32px;
        flex: 1;
        justify-content: center;
        margin-left: 64px;
        order: 2;
    }

    .nav-menu li {
        padding: 0;
        border: none;
    }

    .nav-link {
        font-size: 1.32rem !important;
        font-weight: 700 !important;
    }

    .nav-cta {
        display: inline-block;
    }

    .logo-nav {
        height: 108px !important;
    }
}

/* Hamburger Menu Mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        justify-content: flex-start;
        position: relative;
        min-height: auto;
        padding: 12px 16px;
    }

    .nav-logo {
        order: 1;
        flex: 0 0 auto;
        justify-content: center;
        margin-bottom: 0;
        margin-right: auto;
    }

    .nav-toggle {
        display: flex;
        order: 2;
        position: relative;
        right: auto;
        top: auto;
        margin-left: auto;
    }

    .nav-menu {
        order: 3;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 600px;
    }

    .nav-menu li {
        padding: 16px 20px;
        border-bottom: 1px solid #E8E8E8;
        text-align: center;
        width: 100%;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-cta-item {
        margin-left: 0;
        padding-top: 12px;
        padding-bottom: 12px;
        background: #F5F5F5;
    }

    .nav-link {
        font-size: 1rem;
        color: var(--text-primary);
    }

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

/* ========== NEW HERO SECTION — 3 CARDS WITH WOW EFFECT ========== */

.hero-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    min-height: auto;
}

.hero-header {
    text-align: center;
    margin-bottom: 60px;
}

.hero-header h1 {
    font-family: var(--font-serif);
    font-size: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--font-title);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 3 Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

/* Card Column (Card + Description) */
.card-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Individual Card */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: var(--surface-variant);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.card-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 16px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

/* Card Description - Individual Copy */
.card-description {
    flex: 1;
    padding: 0 12px 16px;
}

.card-description p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
    margin: 0;
}

/* WOW Fade-In Effect with Stagger */
@keyframes wowFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow-fade-in {
    animation: wowFadeIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: calc(var(--stagger, 0) * 0.15s);
}

/* Responsive — Features */
@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }

    .features-header {
        margin-bottom: 50px;
    }

    .features-header h2 {
        font-size: 2rem;
    }

    .features-header p {
        font-size: 1rem;
    }

    .category-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .amenity {
        padding: 16px;
    }

    .amenity-icon {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .amenity-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 40px 0;
    }

    .features-header {
        margin-bottom: 40px;
    }

    .features-header h2 {
        font-size: 1.6rem;
    }

    .features-header p {
        font-size: 0.95rem;
    }

    .category-title {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .amenity {
        padding: 12px;
    }

    .amenity-icon {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }

    .amenity-name {
        font-size: 0.8rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 16px;
    }

    .hero-header h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cards-grid {
        gap: 20px;
        margin-bottom: 50px;
        grid-template-columns: repeat(3, 1fr);
    }

    .card-column {
        gap: 14px;
    }

    .card-image {
        height: 240px;
    }

    .card-title {
        font-size: 1.1rem;
        padding: 14px;
    }

    .card-description {
        padding: 0 10px 12px;
    }

    .card-description p {
        font-size: 0.87rem;
        line-height: 1.65;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 12px;
    }

    .hero-header h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

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

    .card-column {
        gap: 12px;
    }

    .card-title {
        font-size: 1rem;
        padding: 12px;
    }

    .card-image {
        height: 200px;
    }

    .card-description {
        padding: 0 8px 10px;
    }

    .card-description p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 24px;
    background: linear-gradient(135deg, #F7FAFC 0%, #F3F4F6 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(80px);
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #00D9FF, #6B63FF);
    top: -100px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #FF6B6B, #FFB623);
    bottom: 100px;
    left: -50px;
    animation: float 8s ease-in-out infinite 1s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #6B63FF, #00D084);
    top: 50%;
    left: 50%;
    animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 32px;
}

/* Buttons — All 5 States (Normal, Hover, Active, Focus, Disabled) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    min-height: 48px;
    min-width: 48px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--duration-standard) var(--easing-standard);
    gap: var(--space-sm);
    font-family: var(--font-sans);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* PRIMARY BUTTON */
.btn-primary {
    background: #F5F5F5;
    color: #1C1B1F;
    border: 1px solid #E8E8E8;
    font-family: var(--font-serif);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0px);
    box-shadow: var(--shadow-md);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

/* SECONDARY BUTTON */
.btn-secondary {
    background: var(--surface-variant);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:active {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.nav-cta {
    position: relative;
}

@media (max-width: 768px) {
    .nav-cta {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
}

/* Rooms Section */
.rooms {
    padding: 120px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.room-card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.room-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.image-gradient {
    position: absolute;
    inset: 0;
}

.gradient-cyan {
    background: linear-gradient(135deg, #00D9FF, #00A8CC);
}

.gradient-purple {
    background: linear-gradient(135deg, #6B63FF, #4D40B4);
}

.gradient-coral {
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
}

.room-tag {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
}

.room-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-body h3 {
    margin-bottom: 12px;
    color: var(--dark);
}

.room-desc {
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.room-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.feature {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.room-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    margin-top: auto;
}

.room-price span {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 400;
}

/* Personas Section (Q7 - M17) */
.personas-section {
    padding: 100px 0;
    background: #FAFBFC;
}

.personas-section h2 {
    text-align: center;
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 3rem;
}

.persona-card {
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.persona-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.persona-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.persona-card h3 {
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-size: 1.05rem;
}

.persona-card p {
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Features Section — Organized by Category */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #FAFBFC 0%, #FFFFFF 100%);
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-header h2 {
    font-family: var(--font-serif);
    font-size: var(--font-headline);
    margin-bottom: 12px;
}

.features-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Categories */
.features-category {
    margin-bottom: 70px;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--surface-variant);
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
}

/* Individual Amenity */
.amenity {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--surface-variant-2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.amenity:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.amenity-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
}

.amenity-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--light) 0%, white 100%);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 16px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.faq-item {
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.faq-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary);
}

.faq-item h3 {
    color: var(--dark);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--gray-500);
    line-height: 1.8;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.testimonial {
    padding: 32px;
    border-radius: 16px;
    background: var(--light);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.testimonial:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.stars {
    margin-bottom: 16px;
    font-size: 1rem;
}

.author {
    margin-top: 16px;
    font-weight: 600;
    color: var(--dark);
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
}

.cta .btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border-color: white;
}

/* Footer */
.footer {
    padding: 60px 0 20px;
    background: var(--dark);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 16px;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Header */
.page-header {
    margin-top: 40px;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--gray-light);
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--gray-medium);
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: #F0F4F8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.about-image img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Rooms Section */
.rooms-section {
    padding: 120px 0;
    background: var(--white);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 1023px) {
    .rooms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .rooms-grid {
        grid-template-columns: 1fr;
    }
}

/* Room Card */
.room-card {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.room-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.room-tag {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

.room-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-body h3 {
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.room-tagline {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 12px;
}

.room-desc {
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.7;
}

.room-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    margin-top: auto;
}

.room-price span {
    font-size: 0.85rem;
    color: var(--gray-medium);
    font-weight: 400;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--white);
}

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

.contact-info h2,
.contact-form h2 {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--gray-dark);
}

.contact-item a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--accent-cyan);
}

/* Map Section */
.map-section {
    padding: 120px 0;
    background: var(--light);
}

.map-section h2 {
    margin-bottom: 2rem;
}

/* Trust Signals Section (Q6 - M14) */
.trust-section {
    padding: 80px 0;
    background: white;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    font-size: 2.5rem;
    display: block;
}

.trust-stat {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.trust-label {
    font-size: 0.95rem;
    color: var(--gray-medium);
    font-weight: 500;
}

/* CTA */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Q5 (S10): Hero Slider - LCP Optimization */
.hero-slider {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, #F0F4FA 100%);
    /* Prevent CLS by defining aspect-ratio */
    aspect-ratio: 16 / 9;
    /* LCP: Make hero image high priority */
    content-visibility: auto;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Q5 (S10): Slider Images - LCP Optimization */
.slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    /* LCP: Improve rendering performance */
    backface-visibility: hidden;
    will-change: opacity;
}

.slider-image.active {
    opacity: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 40px;
}

.slider-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    word-spacing: 0.3em;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.slider-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.8;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 36px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Reviews Section */
.reviews-section {
    background: #FAFBFC;
    padding: 100px 0;
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 80px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.review-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.review-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.review-stars {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Photo Gallery Section — Infinite Carousel */
.photo-gallery-section {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.photo-gallery-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: var(--font-headline);
}

.gallery-carousel {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    background: #f8f8f8;
}

.gallery-track {
    display: flex;
    gap: 6px;
    animation: scroll-infinite 70s linear infinite;
}

.gallery-item {
    flex: 0 0 calc(25% - 5px);
    aspect-ratio: 4 / 3;
    min-height: 500px;
    overflow: hidden;
    background: var(--surface-variant);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@keyframes scroll-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
    font-size: 2.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s;
}
.gallery-btn:hover, .gallery-btn:focus-visible {
    background: white;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    outline: 2px solid #3091F5;
}
.gallery-btn-prev { left: 16px; }
.gallery-btn-next { right: 16px; }
@media (max-width: 480px) {
    .gallery-btn { width: 44px; height: 44px; font-size: 1.8rem; }
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .gallery-track {
        animation: none;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 calc(50% - 2.5px);
    }

    .gallery-track {
        animation: scroll-infinite 40s linear infinite;
    }
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 169, 224, 0.1);
    color: var(--primary-blue);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-4px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }
    .rooms-grid { grid-template-columns: 1fr; }
    .nav-menu { gap: 16px; }
    .hero-content { padding: 0 20px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .room-grid { grid-template-columns: 1fr; }
    .hero-slider { height: 390px; }
    .slider-content h1 { font-size: 2.2rem; }
    .slider-content p { font-size: 1rem; }
    .reviews-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ SECTION (Q1 - M4) ===== */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.faq-item {
    background: var(--light);
    border-radius: 12px;
    border: 1px solid #E0E8F0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.faq-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background: var(--light);
    transition: background 0.3s ease;
}

.faq-item:hover .faq-header {
    background: #F0F5FA;
}

.faq-header h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--dark);
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 300;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 24px 24px 24px;
    color: var(--gray-dark);
    line-height: 1.8;
}

.faq-content p {
    margin: 0;
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.faq-content ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.faq-content li {
    margin: 0.6rem 0;
    color: var(--gray-dark);
}

/* ===== ANNA STORY SECTION (Q2 - M2) ===== */
.anna-story-section {
    padding: 100px 0;
    background: var(--light);
}

.anna-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.anna-story-text h2 {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.anna-story-text p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.anna-values {
    color: var(--gray-dark);
}

.anna-values h3 {
    color: var(--dark);
}

.anna-story-image {
    display: flex;
    flex-direction: column;
}

.anna-story-image img {
    aspect-ratio: 3/4;
    object-fit: cover;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .anna-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .anna-story-image img {
        aspect-ratio: 1/1;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    .btn { padding: 12px 20px; font-size: 0.95rem; }
    .room-body { padding: 20px; }
    .contact-section, .map-section { padding: 60px 0; }
    .hero-slider { height: 300px; }
    .slider-content h1 { font-size: 1.6rem; }
    .slider-content p { font-size: 0.9rem; }
    .slider-content { padding: 0 16px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .review-card { padding: 20px; }
}

/* 1024px — Small desktops */
@media (min-width: 1024px) {
    .container { max-width: 1000px; }
    .hero-slider { height: 650px; }
    section { padding: var(--space-3xl) 0; }
    .amenities-grid { grid-template-columns: repeat(6, 1fr); }
}
    .room-grid { grid-template-columns: 2fr 1fr; }
}

/* 1600px — Large screens */
@media (min-width: 1600px) {
    .container { max-width: 1200px; }
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.2rem; }
    section { padding: var(--space-3xl) 0; }
}

/* ========================================
   ANIMATION SYSTEM — Frontend-Slides Style
   ======================================== */

/* Easing functions */
:root {
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
    --duration-reveal: 0.8s;
}

/* Fade + Slide Up (versatile entrance animation) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--duration-reveal) var(--ease-out-expo),
                transform var(--duration-reveal) var(--ease-out-expo);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity var(--duration-reveal) var(--ease-out-expo),
                transform var(--duration-reveal) var(--ease-out-expo);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--duration-reveal) var(--ease-out-expo),
                transform var(--duration-reveal) var(--ease-out-expo);
}

/* Trigger animation when visible */
.reveal.visible,
.room-card.visible,
.feature-card.visible,
.review-card.visible,
.persona-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered children animations */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.25s; }
.reveal:nth-child(3) { transition-delay: 0.4s; }
.reveal:nth-child(4) { transition-delay: 0.55s; }
.reveal:nth-child(5) { transition-delay: 0.7s; }
.reveal:nth-child(6) { transition-delay: 0.85s; }

/* Headings and text elements */
h2.reveal,
h3.reveal {
    transition-delay: 0.1s !important;
}

p.reveal {
    transition-delay: 0.2s !important;
}

/* Cards get staggered animation */
.room-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--duration-reveal) var(--ease-out-expo),
                transform var(--duration-reveal) var(--ease-out-expo);
}

.feature-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--duration-reveal) var(--ease-out-expo),
                transform var(--duration-reveal) var(--ease-out-expo);
}

.review-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--duration-reveal) var(--ease-out-expo),
                transform var(--duration-reveal) var(--ease-out-expo);
}

.persona-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--duration-reveal) var(--ease-out-expo),
                transform var(--duration-reveal) var(--ease-out-expo);
}

/* Stagger cards in grid */
.room-card:nth-child(1) { transition-delay: 0.1s; }
.room-card:nth-child(2) { transition-delay: 0.25s; }
.room-card:nth-child(3) { transition-delay: 0.4s; }

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.25s; }
.feature-card:nth-child(3) { transition-delay: 0.4s; }

.review-card:nth-child(1) { transition-delay: 0.1s; }
.review-card:nth-child(2) { transition-delay: 0.25s; }
.review-card:nth-child(3) { transition-delay: 0.4s; }

.persona-card:nth-child(1) { transition-delay: 0.1s; }
.persona-card:nth-child(2) { transition-delay: 0.25s; }
.persona-card:nth-child(3) { transition-delay: 0.4s; }

/* ========== DARK MODE COMPONENT STYLING ========== */

/* Navbar Dark Mode */
html.dark-mode .navbar {
    background: rgba(15, 15, 15, 0.95);
    border-bottom-color: var(--surface-variant-2);
}

html.dark-mode .nav-logo {
    color: var(--text-primary);
}

html.dark-mode .nav-link {
    color: var(--text-secondary);
}

html.dark-mode .nav-link:hover {
    color: var(--primary);
}

/* Button Dark Mode */
html.dark-mode .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--surface);
}

html.dark-mode .btn-primary:hover {
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

html.dark-mode .btn-secondary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

html.dark-mode .btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* Room Cards Dark Mode */
html.dark-mode .room-card {
    background: var(--surface-variant);
    border-color: var(--surface-variant-2);
}

html.dark-mode .room-body h3,
html.dark-mode .room-body {
    color: var(--text-primary);
}

html.dark-mode .room-desc,
html.dark-mode .feature {
    color: var(--text-secondary);
}

html.dark-mode .room-tag {
    background: rgba(15, 15, 15, 0.8);
    color: var(--text-primary);
}

/* Persona Cards Dark Mode */
html.dark-mode .persona-card {
    background: var(--surface-variant);
    border-left-color: var(--primary);
}

html.dark-mode .persona-card h3 {
    color: var(--text-primary);
}

html.dark-mode .persona-card p {
    color: var(--text-secondary);
}

/* Feature Cards Dark Mode */
html.dark-mode .feature-card {
    background: var(--surface-variant);
    color: var(--text-primary);
}

html.dark-mode .feature-card:hover {
    background: var(--surface-variant-2);
}

/* Form Inputs Dark Mode */
html.dark-mode input,
html.dark-mode textarea,
html.dark-mode select {
    background: var(--surface-variant);
    color: var(--text-primary);
    border-color: var(--surface-variant-2);
}

html.dark-mode input:focus,
html.dark-mode textarea:focus,
html.dark-mode select:focus {
    border-color: var(--primary);
    background: var(--surface-variant);
}

html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder {
    color: var(--text-secondary);
}

/* Sections Backgrounds Dark Mode */
html.dark-mode .personas-section {
    background: var(--surface-variant);
}

html.dark-mode .features {
    background: var(--surface);
}

html.dark-mode .hero-background {
    background: var(--surface);
}

/* Footer Dark Mode */
html.dark-mode .footer {
    background: var(--surface-variant);
    border-top-color: var(--surface-variant-2);
}

html.dark-mode .footer a {
    color: var(--primary);
}

html.dark-mode .footer p {
    color: var(--text-secondary);
}

/* Links Dark Mode */
html.dark-mode a {
    color: var(--primary);
}

html.dark-mode a:hover {
    color: var(--secondary);
    text-decoration-color: var(--secondary);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-scale,
    .room-card,
    .feature-card,
    .review-card,
    .persona-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== Language Switcher (IT / EN / DE) ===== */
.lang-switch {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
}
.lang-link {
    display: block;
    line-height: 28px;
    color: #9A948B;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: color 0.3s ease;
}
.lang-link + .lang-link { position: relative; padding-left: 9px; }
.lang-link + .lang-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 11px;
    background: #D8D4CE;
}
.lang-link:hover { color: var(--primary); }
.lang-link[aria-current="true"] { color: #1A2E4A; font-weight: 700; }
.lang-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (max-width: 768px) {
    .lang-switch { justify-content: center; gap: 14px; margin: 6px 0 0; }
    .lang-link { font-size: 1rem; letter-spacing: 0.1em; }
    .lang-link + .lang-link { padding-left: 14px; }
    .lang-link + .lang-link::before { height: 14px; }
}
