/* =============================================
   HOME RESTAURANT KALISPERA — Stylesheet
   ============================================= */

/* ===== VARIABLES ===== */
:root {
    --terra: #C4673A;
    --terra-dark: #9E4E27;
    --terra-light: #E8956A;
    --ocra: #C9922A;
    --ocra-light: #E8B84B;
    --sabbia: #F0E3CB;
    --sabbia-light: #FAF6EE;
    --dark: #1C1208;
    --dark-mid: #3D2B1A;
    --olive: #4A5C2B;
    --cream: #FDFAF5;
    --text: #2E1F10;
    --text-mid: #5A4030;
    --text-light: #8A7060;
    --white: #ffffff;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', system-ui, -apple-system, sans-serif;

    --radius-sm: 3px;
    --radius: 6px;
    --radius-lg: 14px;
    --shadow-sm: 0 2px 12px rgba(28, 18, 8, 0.08);
    --shadow: 0 6px 30px rgba(28, 18, 8, 0.13);
    --shadow-lg: 0 12px 56px rgba(28, 18, 8, 0.22);

    --container: min(1200px, 92vw);
    --section-v: 100px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; }
em { font-style: italic; color: var(--terra); }
strong { color: inherit; font-weight: 700; }

/* ===== SHARED COMPONENTS ===== */
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 14px;
}
.label-light { color: var(--sabbia); }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 72px;
}
.section-header-light h2 { color: var(--cream); }
.section-header-light em { color: var(--terra-light); }

.section-intro {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 18px;
    line-height: 1.85;
}
.section-intro strong { color: var(--text-mid); }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 15px 38px;
    background: var(--terra);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: background 0.28s ease, transform 0.22s ease, box-shadow 0.28s ease;
}
.btn-primary:hover {
    background: var(--terra-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(196, 103, 58, 0.35);
}

.btn-ghost {
    display: inline-block;
    padding: 15px 38px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: background 0.28s, border-color 0.28s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: white; }

.btn-outline {
    display: inline-block;
    padding: 15px 38px;
    border: 2px solid var(--terra);
    color: var(--terra);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: background 0.28s, color 0.28s;
}
.btn-outline:hover { background: var(--terra); color: white; }

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #25D366;
    color: white;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: background 0.28s, transform 0.22s;
    margin-top: 12px;
}
.btn-whatsapp:hover { background: #1daa53; transform: translateY(-2px); }
.btn-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 22px 0;
    transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
#navbar.scrolled {
    background: rgba(26, 15, 6, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    padding: 14px 0;
}
.nav-container {
    width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.nav-logo {
    display: block;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius);
    padding: 5px 10px;
    transition: background 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
}
.nav-logo:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-logo-img {
    height: 48px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.25s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terra-light);
    transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: white; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
    background: var(--terra) !important;
    color: white !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    transition: background 0.28s !important;
}
.nav-cta:hover { background: var(--terra-dark) !important; }
.nav-cta::after { display: none !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(20, 10, 2, 0.38) 0%,
        rgba(20, 10, 2, 0.52) 55%,
        rgba(20, 10, 2, 0.72) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 820px;
    padding: 0 24px;
}
.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--terra-light);
    margin-bottom: 22px;
    opacity: 0;
    animation: fadeUp 1s 0.3s ease forwards;
}
.hero-title {
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 1s 0.55s ease forwards;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title em { color: var(--terra-light); }
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 300;
    margin-bottom: 50px;
    line-height: 1.75;
    opacity: 0;
    animation: fadeUp 1s 0.8s ease forwards;
}
.hero-services {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
    margin-top: -28px;
    opacity: 0;
    animation: fadeUp 1s 0.95s ease forwards;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s 1.05s ease forwards;
}
.hero-scroll {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s 1.6s ease forwards;
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ===== ABOUT ===== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 78vh;
}
.about-image {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}
.about-image > img:first-child {
    width: 100%;
    flex: 1;
    min-height: 0;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.about-image:hover > img:first-child { transform: scale(1.04); }
.about-image-extra {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center 55%;
    flex-shrink: 0;
}
.about-image-badge {
    position: absolute;
    bottom: 32px;
    right: 32px;
    background: var(--terra);
    color: white;
    padding: 16px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-radius: var(--radius-sm);
}
.about-image-badge span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.8;
}
.about-image-badge strong {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: white;
}
.about-content {
    background: var(--sabbia-light);
    padding: clamp(60px, 8vw, 110px) clamp(40px, 6vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-content h2 { margin-bottom: 32px; }
.about-content p {
    color: var(--text-mid);
    margin-bottom: 18px;
    font-size: 1.04rem;
    line-height: 1.88;
}
.about-details {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(196, 103, 58, 0.18);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.detail-icon {
    width: 40px;
    height: 40px;
    background: var(--sabbia);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.detail-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--terra);
}
.detail-item div { display: flex; flex-direction: column; gap: 2px; }
.detail-item strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}
.detail-item span {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* ===== QUOTE DIVIDER ===== */
.quote-divider {
    background: var(--dark);
    padding: 72px 24px;
    text-align: center;
}
.quote-inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}
.quote-mark {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 0.5;
    color: var(--terra);
    display: block;
    margin-bottom: 20px;
    opacity: 0.7;
}
.quote-inner p {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* ===== MENU ===== */
.menu-section {
    background: var(--cream);
    padding: var(--section-v) 0;
}
.menu-inner { width: var(--container); margin: 0 auto; }
.menu-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.menu-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.menu-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.menu-card-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}
.menu-card:hover .menu-card-img img { transform: scale(1.06); }
.menu-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--terra);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 2px;
}
.badge-gold { background: var(--ocra); }
.menu-card-body { padding: 36px 36px 40px; }
.menu-card-body h3 { margin-bottom: 14px; }
.menu-card-body > p {
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 26px;
}
.menu-samples {
    border-top: 1px solid var(--sabbia);
    padding-top: 20px;
    margin-bottom: 20px;
}
.menu-samples li {
    font-size: 0.91rem;
    color: var(--text-mid);
    padding: 9px 0 9px 20px;
    border-bottom: 1px solid var(--sabbia);
    position: relative;
}
.menu-samples li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--terra);
    font-weight: 700;
    font-size: 0.8rem;
}
.menu-note {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}
.menu-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 52px;
    border-top: 1px solid var(--sabbia);
}
.menu-cta p {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 22px;
}
.menu-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== GALLERY ===== */
.gallery-section {
    background: var(--dark);
    padding: var(--section-v) 0;
}
.gallery-inner { width: var(--container); margin: 0 auto; }
.gallery-section .section-header { color: var(--cream); }
.gallery-section h2 { color: var(--cream); }

.gallery-masonry {
    columns: 3;
    column-gap: 14px;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 14px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,10,2,0.7) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
    font-family: var(--font-serif);
    font-style: italic;
    color: white;
    font-size: 0.95rem;
    flex: 1;
}
.gallery-overlay::after {
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18) 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/22px no-repeat;
    flex-shrink: 0;
    align-self: flex-end;
}

/* ===== LIGHTBOX SLIDESHOW ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 6, 2, 0.96);
    cursor: zoom-out;
}

/* Stage */
.lightbox-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(92vw, 1100px);
    width: 100%;
}
.lightbox-img-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}
.lightbox-img-wrap img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
    display: block;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.lightbox-img-wrap img.lb-fade-out {
    opacity: 0;
    transform: scale(0.97);
}
.lightbox-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 4px 0;
    gap: 16px;
}
#lightboxCaption {
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    font-style: italic;
    font-family: var(--font-serif);
    flex: 1;
}
.lightbox-counter {
    color: rgba(255,255,255,0.35);
    font-size: 0.75rem;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* Dots */
.lightbox-dots {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 6px;
    margin-top: 18px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 280px;
}
.lightbox-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: background 0.25s, transform 0.25s;
    cursor: pointer;
}
.lightbox-dot.active {
    background: var(--terra-light);
    transform: scale(1.4);
}

/* Close button */
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* Prev / Next arrows */
.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-prev:hover { background: rgba(255,255,255,0.22); transform: translateY(-50%) translateX(-2px); }
.lightbox-next:hover { background: rgba(255,255,255,0.22); transform: translateY(-50%) translateX(2px); }

/* ===== EVENTS ===== */
.events-section {
    position: relative;
    padding: 140px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.events-bg {
    position: absolute;
    inset: 0;
}
.events-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.events-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 10, 2, 0.88) 0%,
        rgba(50, 25, 8, 0.82) 100%
    );
}
.events-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 680px;
    padding: 0 24px;
}
.events-content h2 { color: white; margin-bottom: 28px; }
.events-content em { color: var(--terra-light); }
.events-content > p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.82;
    margin-bottom: 16px;
}
.events-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 40px 0 48px;
}
.event-feat {
    padding: 9px 22px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.88);
    transition: background 0.25s, border-color 0.25s;
}
.event-feat:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.55);
}

/* ===== CONTACT ===== */
.contact-section {
    background: var(--sabbia-light);
    padding: var(--section-v) 0;
}
.contact-inner { width: var(--container); margin: 0 auto; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.contact-icon {
    width: 46px;
    height: 46px;
    background: 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;
    stroke: var(--terra);
}
.contact-card-text { display: flex; flex-direction: column; gap: 4px; }
.contact-card-text h4 {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
}
.contact-card-text a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    transition: color 0.25s;
}
.contact-card-text a:hover { color: var(--terra); }
.contact-card-text p {
    font-size: 0.97rem;
    color: var(--text-mid);
    line-height: 1.7;
}
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.contact-map iframe { display: block; }

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 28px;
}
.footer-inner {
    width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 28px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo-img {
    height: 90px;
    width: auto;
    max-width: 200px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius);
    padding: 8px 14px;
    display: block;
    align-self: flex-start;
    object-fit: contain;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-nav,
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 10px;
}
.footer-nav a,
.footer-contact-list a,
.footer-contact-list span {
    font-size: 0.9rem;
    transition: color 0.25s;
}
.footer-nav a:hover,
.footer-contact-list a:hover { color: white; }
.footer-bottom {
    width: var(--container);
    margin: 0 auto;
    font-size: 0.78rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 4px 22px rgba(37, 211, 102, 0.42);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.whatsapp-fab:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.55);
}
.whatsapp-fab svg { width: 30px; height: 30px; color: white; }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ===== KEYFRAMES ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
    .about { grid-template-columns: 1fr; }
    .about-image { min-height: 320px; max-height: 680px; }
    .about-image > img:first-child { object-position: center 20%; }
    .about-image-extra { height: 160px; }

    .menu-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .gallery-masonry { columns: 2; }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
    :root { --section-v: 72px; }

    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: rgba(20, 10, 3, 0.97);
        flex-direction: column;
        padding: 20px 24px;
        gap: 0;
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.open { display: flex; }
    .nav-links li { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
    .nav-links li:last-child { border-bottom: none; padding-top: 14px; }
    .nav-links a { display: block; padding: 13px 0; }
    .nav-cta { background: var(--terra) !important; padding: 12px 18px !important; text-align: center; border-radius: var(--radius-sm); }

    .hero-actions { flex-direction: column; align-items: center; }
    .btn-primary, .btn-ghost, .btn-outline { width: 100%; max-width: 300px; text-align: center; }

    .about-content { padding: 52px 28px; }

    .gallery-masonry { columns: 1; }

    .events-section { padding: 100px 0; }
    .events-features { gap: 10px; }

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

    .lightbox-prev { left: 6px; width: 40px; height: 40px; }
    .lightbox-next { right: 6px; width: 40px; height: 40px; }
    .lightbox-stage { max-width: 96vw; }

    .whatsapp-fab { bottom: 22px; right: 22px; width: 52px; height: 52px; }
    .whatsapp-fab svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    .section-header { margin-bottom: 48px; }
    .menu-card-body { padding: 28px 24px 32px; }
}

/* =============================================
   CASA VACANZA SECTION
   ============================================= */

.vacation-section {
    background: var(--sabbia-light);
}

/* --- INTRO SPLIT --- */
.vacation-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
}
.vacation-intro-img {
    position: relative;
    overflow: hidden;
}
.vacation-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.7s ease;
}
.vacation-intro-img:hover img { transform: scale(1.04); }
.vacation-score-badge {
    position: absolute;
    top: 28px;
    right: 28px;
    background: var(--dark);
    color: white;
    padding: 14px 18px;
    border-radius: var(--radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1px;
    box-shadow: var(--shadow);
}
.vacation-score-badge strong {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--ocra-light);
    line-height: 1;
    font-weight: 700;
}
.vacation-score-badge span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.vacation-score-badge small {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}
.vacation-intro-content {
    padding: clamp(52px, 7vw, 100px) clamp(36px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--sabbia-light);
}
.vacation-intro-content h2 { margin-bottom: 22px; }
.vacation-intro-content > p {
    color: var(--text-mid);
    font-size: 1.04rem;
    line-height: 1.85;
    margin-bottom: 28px;
}
.vacation-stats {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid rgba(196,103,58,0.15);
    border-bottom: 1px solid rgba(196,103,58,0.15);
    margin-bottom: 24px;
}
.vstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
    text-align: center;
}
.vstat strong {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--terra);
    line-height: 1;
}
.vstat span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
}
.vacation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.vacation-tags span {
    font-size: 0.8rem;
    font-weight: 700;
    background: white;
    color: var(--text-mid);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--sabbia);
    white-space: nowrap;
}
.vacation-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.vacation-ctas .btn-whatsapp { margin-top: 0; }

/* --- PHOTO GALLERY --- */
.vacation-gallery-wrap {
    background: var(--dark);
    padding: 0;
}
.vacation-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 4px;
}
.vgal-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.vgal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.vgal-item:hover img { transform: scale(1.05); }
.vgal-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,10,2,0.55) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.vgal-item:hover::after { opacity: 1; }
.vgal-item::before {
    content: '';
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18) 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/20px no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}
.vgal-item:hover::before { opacity: 1; }
.vgal-tall { grid-row: span 2; }
.vgal-label {
    position: absolute;
    bottom: 12px;
    left: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* --- AMENITIES + RULES --- */
.vacation-details-wrap {
    background: white;
    padding: var(--section-v) 0;
}
.vacation-details-inner {
    width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
}
.vacation-amenities h3,
.vacation-rules h3 {
    font-size: 1.3rem;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--sabbia);
}
.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-mid);
}
.am-icon { font-size: 1.1rem; flex-shrink: 0; }

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--sabbia);
}
.rule-item:last-child { border-bottom: none; padding-bottom: 0; }
.rule-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.rule-item div { display: flex; flex-direction: column; gap: 2px; }
.rule-item strong { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.rule-item span { font-size: 0.88rem; color: var(--text-light); }

/* --- REVIEWS --- */
.vacation-reviews-wrap {
    background: var(--dark);
    padding: var(--section-v) 0;
}
.vacation-reviews-inner {
    width: var(--container);
    margin: 0 auto;
}
.reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
    flex-wrap: wrap;
    gap: 24px;
}
.reviews-header h2 { color: var(--cream); margin-top: 8px; }
.reviews-header .section-label { color: var(--sabbia); }
.booking-score-block {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
}
.bscore-number {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--ocra-light);
    line-height: 1;
}
.bscore-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bscore-info strong { color: white; font-size: 1rem; }
.bscore-info span { color: rgba(255,255,255,0.5); font-size: 0.8rem; }
.bscore-stars { color: var(--ocra-light); font-size: 0.9rem; letter-spacing: 2px; }

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 56px;
}
.review-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: background 0.3s, transform 0.3s;
}
.review-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}
.review-stars {
    color: var(--ocra-light);
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.review-text {
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.review-avatar {
    width: 42px;
    height: 42px;
    background: var(--terra);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.review-author div { display: flex; flex-direction: column; gap: 2px; }
.review-author strong { color: white; font-size: 0.9rem; }
.review-author span { color: rgba(255,255,255,0.4); font-size: 0.8rem; }

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

/* --- RESPONSIVE VACATION --- */
@media (max-width: 1024px) {
    .vacation-intro { grid-template-columns: 1fr; }
    .vacation-intro-img { height: 50vw; max-height: 420px; }
    .vacation-details-inner { grid-template-columns: 1fr; gap: 48px; }
    .vacation-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .vgal-tall { grid-row: span 1; }
}
@media (max-width: 768px) {
    .vacation-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px 200px;
    }
    .vgal-tall { grid-row: span 2; }
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-header { flex-direction: column; align-items: flex-start; }
    .amenities-grid { grid-template-columns: 1fr; }
    .vacation-stats { gap: 10px; }
    .vstat strong { font-size: 1.5rem; }
}
