/* ===================================================
   SERENI TEA VILLA � Stylesheet
   Elegant & Minimal � Tea Garden Palette
   =================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors � Tea Garden Palette */
    --color-primary: #2D6A4F;
    --color-primary-light: #52B788;
    --color-primary-dark: #1B4332;
    --color-accent: #40916C;
    --color-accent-light: #74C69D;
    --color-sage: #95D5B2;
    --color-sage-light: #B7E4C7;
    --color-mint: #D8F3DC;

    --color-bg: #FAFAF5;
    --color-surface: #F0F5F0;
    --color-white: #FFFFFF;
    --color-dark: #1B4332;
    --color-dark-bg: #163B2C;
    --color-text: #2C3E2D;
    --color-text-light: #5A6B5C;
    --color-text-muted: #8A998C;
    --color-border: #D4E4D7;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Sizing */
    --container-max: 1200px;
    --section-padding: 100px;
    --nav-height: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 12px rgba(27, 67, 50, 0.1);
    --shadow-lg: 0 8px 30px rgba(27, 67, 50, 0.12);
    --shadow-xl: 0 16px 50px rgba(27, 67, 50, 0.15);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-light);
}

ul {
    list-style: none;
}

/* ---------- Utility ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-light {
    background: var(--color-bg);
}

.section-sage {
    background: var(--color-surface);
}

.section-dark {
    background: var(--color-dark-bg);
    color: var(--color-white);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary-light);
    margin-bottom: 12px;
}

.section-label-light {
    color: var(--color-sage);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title-light {
    color: var(--color-white);
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-divider-light {
    background: linear-gradient(90deg, var(--color-sage), var(--color-primary-light));
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ---------- NAVBAR ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--nav-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: baseline;
    gap: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 1001;
}

.logo-img {
    height:72px;
    width: auto;
    display: block;
    margin: 10px 0;
    /* Invert the dark text/icon to white when header is transparent */
    filter: brightness(0) invert(1);
    transition: filter var(--transition-base);
}

.site-header.scrolled .logo-img {
    filter: none;
}

.logo-img-footer {
    height: 56px;
    filter: brightness(0) invert(1);
}

.logo-sereni {
    color: var(--color-white);
    transition: color var(--transition-base);
}

.logo-tea {
    color: var(--color-primary-light);
    font-style: italic;
    position: relative;
    margin-right: 0.3em;
    margin-left: 0px;
}



.logo-villa {
    color: var(--color-white);
    font-weight: 400;
    transition: color var(--transition-base);
}

.site-header.scrolled .logo-sereni,
.site-header.scrolled .logo-villa {
    color: var(--color-dark);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .nav-link {
    color: var(--color-text-light);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: var(--color-primary);
    background: var(--color-surface);
}

.nav-cta {
    background: var(--color-primary);
    color: var(--color-white) !important;
    padding: 10px 20px;
    margin-left: 8px;
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-1px);
}

.site-header.scrolled .nav-cta {
    color: var(--color-white) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    position: relative;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.site-header.scrolled .hamburger,
.site-header.scrolled .hamburger::before,
.site-header.scrolled .hamburger::after {
    background: var(--color-dark);
}

/* Hamburger open state */
.nav-toggle.open .hamburger {
    background: transparent;
}
.nav-toggle.open .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle.open .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/DJI_0002-Edit.jpg') center 35%/cover no-repeat;
    background: url('../images/optimized/DJI_0002-Edit.webp') center 35%/cover no-repeat;
    color: var(--color-white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.55) 35%,
        rgba(0, 0, 0, 0.55) 65%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    padding: 0 24px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7), 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    color: var(--color-sage-light);
    font-style: normal;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    opacity: 0.95;
}

.hero-desc {
    font-size: 1.05rem;
    font-weight: 300;
    opacity: 0.85;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

/* ---- CSS Fog Animation (inspired by danielstuart14/CSS_FOG_ANIMATION) ---- */
.fog-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    filter: blur(1px) saturate(1.1) sepia(0.12);
}

#foglayer_01, #foglayer_02, #foglayer_03 {
    height: 100%;
    position: absolute;
    width: 200%;
}

#foglayer_01 .image01, #foglayer_01 .image02,
#foglayer_02 .image01, #foglayer_02 .image02,
#foglayer_03 .image01, #foglayer_03 .image02 {
    float: left;
    height: 100%;
    width: 50%;
}

#foglayer_01 .image01, #foglayer_01 .image02 {
    background: url('../images/fog1.png') center center / cover no-repeat transparent;
}

#foglayer_02 .image01, #foglayer_02 .image02,
#foglayer_03 .image01, #foglayer_03 .image02 {
    background: url('../images/fog2.png') center center / cover no-repeat transparent;
}

#foglayer_01 {
    animation: 22s linear 0s infinite foglayer_01_opacity,
               35s linear 0s infinite foglayer_moveme;
}

#foglayer_02 {
    animation: 35s linear 0s infinite foglayer_02_opacity,
               30s linear 0s infinite foglayer_moveme;
}

#foglayer_03 {
    animation: 35s linear 3s infinite foglayer_02_opacity,
               30s linear 10s infinite foglayer_moveme;
}

@keyframes foglayer_01_opacity {
    0%   { opacity: 0.5; }
    22%  { opacity: 0.6; }
    40%  { opacity: 0.35; }
    58%  { opacity: 0.8; }
    80%  { opacity: 0.19; }
    100% { opacity: 0.4; }
}

@keyframes foglayer_02_opacity {
    0%   { opacity: 0.8; }
    25%  { opacity: 0.5; }
    50%  { opacity: 0.7; }
    80%  { opacity: 0.8; }
    100% { opacity: 0.9; }
}

@keyframes foglayer_moveme {
    0%   { left: 0; }
    100% { left: -100%; }
}

/* Wavy bottom mist shape */
.bnr-btm-shape1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    pointer-events: none;
    display: block;
}

/* Hero scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-arrow {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
    50%      { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* ---- Falling Rain Canvas ---- */
#rain-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    display: block;
    animation: rain-shower 24s ease-in-out infinite;
}

@keyframes rain-shower {
    0%   { opacity: 0;    }
    5%   { opacity: 0.85; }
    18%  { opacity: 0.8;  }
    25%  { opacity: 0;    }
    100% { opacity: 0;    }
}

/* ---- Rain Glass Droplets ---- */
.rain-glass {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
    animation: rain-shower 14s ease-in-out infinite;
}

.rdrop {
    position: absolute;
    border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.38) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(120, 170, 210, 0.12) 100%
    );
    backdrop-filter: blur(1px) brightness(1.18);
    -webkit-backdrop-filter: blur(1px) brightness(1.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.5),
        inset 1px 0 1px rgba(255, 255, 255, 0.18),
        0 2px 5px rgba(0, 0, 0, 0.18);
    will-change: transform, opacity;
}

.rdrop.sliding {
    animation: rdrop-fall linear infinite;
}

@keyframes rdrop-fall {
    0%   { transform: translateY(0);     opacity: 0;    }
    12%  { opacity: 0.8;                               }
    70%  { opacity: 0.7;                               }
    100% { transform: translateY(55vh);  opacity: 0;    }
}

/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .lead {
    font-size: 1.15rem;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--color-text-light);
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    inset: 0;
    border: 3px solid var(--color-primary-light);
    border-radius: var(--radius-lg);
    transform: translate(12px, 12px);
    pointer-events: none;
    z-index: -1;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 24px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

/* ---------- ROOMS ---------- */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.room-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.room-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.room-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-image-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.room-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-premium {
    background: var(--color-primary);
    color: var(--color-white);
}

.room-info {
    padding: 28px;
}

.room-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.room-tagline {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-primary-light);
    margin-bottom: 16px;
}

.room-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.room-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.room-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.room-features .icon {
    width: 16px;
    height: 16px;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

/* ---------- VILLA ---------- */
.villa-overview {
    margin-bottom: 48px;
}

.villa-overview-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.villa-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.villa-highlight-icon {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.villa-highlight-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
}

.villa-highlight-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.space-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.space-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.space-icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.space-icon svg {
    width: 100%;
    height: 100%;
}

.space-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.space-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.villa-cta {
    text-align: center;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .villa-overview-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .spaces-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .villa-overview-highlights {
        grid-template-columns: 1fr;
    }

    .spaces-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- EXPERIENCES ---------- */
.experiences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.exp-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid var(--color-border);
}

.exp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.exp-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--color-primary);
}

.exp-icon svg {
    width: 100%;
    height: 100%;
}

.exp-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.exp-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-base);
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") center / 40px no-repeat;
    opacity: 0;
    transition: background-color var(--transition-base), opacity var(--transition-base);
    border-radius: var(--radius-md);
    pointer-events: none;
}

.gallery-item:hover::after {
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 48px rgba(0,0,0,0.6);
    display: block;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 2;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 3rem;
    line-height: 1;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}

@media (max-width: 600px) {
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
}

.gallery-note {
    text-align: center;
    margin-top: 30px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ---------- LOCATION ---------- */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.map-placeholder {
    width: 100%;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-surface);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
}

.location-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.location-address {
    margin-bottom: 32px;
}

.location-address p {
    color: var(--color-text-light);
    line-height: 1.8;
}

.directions {
    margin-bottom: 24px;
}

.direction-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.direction-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.direction-item h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.direction-item p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.location-note {
    background: var(--color-surface);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary-light);
}

.location-note p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.contact-detail h3 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.contact-detail a {
    color: var(--color-primary);
}

.contact-detail a:hover {
    color: var(--color-primary-light);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.required {
    color: #c0392b;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 12px;
}

/* ---------- BOOKING ---------- */
.booking-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.booking-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.7;
}

.booking-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.booking-placeholder {
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 24px;
}

.booking-placeholder p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- PERFECT FOR (GROUP TYPES) ---------- */
.group-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.group-type-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.group-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.group-type-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    color: var(--color-primary);
}

.group-type-icon svg {
    width: 100%;
    height: 100%;
}

.group-type-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.group-type-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    overflow: hidden;
    transition: box-shadow var(--transition-fast);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
}

.faq-question {
    list-style: none;
    padding: 20px 52px 20px 24px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    position: relative;
    user-select: none;
    line-height: 1.4;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 300;
    transition: transform var(--transition-fast);
    line-height: 1;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 24px 20px;
    border-top: 1px solid var(--color-border);
}

.faq-answer p {
    padding-top: 16px;
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .group-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .group-types-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo .logo-sereni,
.footer-logo .logo-villa {
    color: var(--color-white);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--color-primary-light);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.social-link:hover svg {
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-grid {
        gap: 40px;
    }

    .rooms-grid {
        grid-template-columns: 1fr 1fr;
    }

    .experiences-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --nav-height: 64px;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 40px;
        gap: 0;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        color: var(--color-text);
        font-size: 0.95rem;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--color-primary);
        background: none;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        width: 100%;
        justify-content: center;
        display: flex;
        border-bottom: none;
    }

    /* Mobile nav overlay */
    .nav-links.open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: -1;
    }

    /* Ensure hamburger is visible with open state */
    .nav-toggle.open .hamburger,
    .nav-toggle.open .hamburger::before,
    .nav-toggle.open .hamburger::after {
        background: var(--color-dark);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .experiences-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
    }

    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .map-placeholder {
        height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .booking-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .about-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }

    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
    }

    .room-features {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 1.25rem;
    }
}
