/* ── RESET & BASE ─────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green: #2d6a4f;
    --green-l: #40916c;
    --gold: #b5883a;
    --gold-l: #d4a85a;
    --dark: #1a1a2e;
    --gray: #555;
    --light: #f7f5f0;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    --trans: 0.28s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── NAVBAR ─────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition: box-shadow var(--trans);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 32px;
    overflow: visible;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    flex: 1;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--dark);
    position: relative;
    transition: color var(--trans);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width var(--trans);
}

.nav-links a:hover {
    color: var(--green);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Lang dropdown */
.lang-dropdown {
    position: relative;
    flex-shrink: 0;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--dark);
    transition: all var(--trans);
    white-space: nowrap;
}

.lang-trigger:hover {
    border-color: var(--green);
    color: var(--green);
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-arrow {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform var(--trans);
}

.lang-dropdown.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-options {
    display: none;
    position: fixed;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
    list-style: none;
    min-width: 165px;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 9999;
    animation: dropFade 0.18s ease;
}

@keyframes dropFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-dropdown.open .lang-options {
    display: block;
}

.lang-opt {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background var(--trans);
}

.lang-opt:hover {
    background: var(--light);
}

.lang-opt.active {
    color: var(--green);
    font-weight: 600;
    background: #f0f7f4;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    margin-left: auto;
}

/* Mobile nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    list-style: none;
    background: var(--white);
    padding: 16px 24px 20px;
    border-top: 1px solid #eee;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav li a {
    display: block;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    border-bottom: 1px solid #f0f0f0;
}



/* ── HERO ────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../photos/SaloneArco.jpg') center center / cover no-repeat;
    background-color: #2d5016;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 100px 24px 60px;
    max-width: 800px;
}

.hero-sub {
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 16px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 36px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-badges span {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 16px 44px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--trans);
    box-shadow: 0 4px 20px rgba(181, 136, 58, 0.4);
}

.btn-primary:hover {
    background: var(--gold-l);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(181, 136, 58, 0.5);
}

/* ── SECTIONS (common) ───────────────────────────────── */
.section {
    padding: 90px 0;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--dark);
    text-align: center;
    margin-bottom: 12px;
}

.section-sub {
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 56px;
}

/* ── ABOUT ───────────────────────────────────────────── */
.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
    margin-bottom: 56px;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: transform var(--trans);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-6px);
}

.about-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 14px;
}

.about-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--green);
}

.about-card p {
    color: var(--gray);
    font-size: 0.96rem;
    line-height: 1.7;
}

/* Room stats */
.room-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 36px;
    box-shadow: var(--shadow);
    min-width: 130px;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
}

.stat span:last-child {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 6px;
    text-align: center;
}

/* ── AMENITIES ───────────────────────────────────────── */
.amenities {
    background: var(--white);
}

.amen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.amen-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--light);
    border-radius: var(--radius);
    padding: 18px 22px;
    font-size: 0.97rem;
    font-weight: 500;
    transition: background var(--trans), transform var(--trans);
}

.amen-item:hover {
    background: #d8f3dc;
    transform: translateX(4px);
}

.amen-item span:first-child {
    font-size: 1.6rem;
    flex-shrink: 0;
}

/* ── GALLERY ─────────────────────────────────────────── */
.gallery-section {
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.gallery-grid .gal-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    cursor: pointer;
    background: #ddd;
}

.gallery-grid .gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-grid .gal-item:hover img {
    transform: scale(1.06);
}

.gallery-grid .gal-item::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}

.gallery-grid .gal-item:hover::after {
    background: rgba(0, 0, 0, 0.25);
}

.gallery-hint {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
    font-size: 0.88rem;
    font-style: italic;
}

/* placeholder when no photos */
.gallery-placeholder {
    grid-column: 1/-1;
    text-align: center;
    padding: 64px 24px;
    color: var(--gray);
    font-size: 1rem;
}

.gallery-placeholder span {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

/* ── LIGHTBOX ────────────────────────────────────────── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.open {
    display: flex;
}

.lb-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lb-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity var(--trans);
}

.lb-close:hover {
    opacity: 1;
}

.lb-prev,
.lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: var(--white);
    font-size: 3rem;
    padding: 8px 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: background var(--trans);
    line-height: 1;
}

.lb-prev {
    left: 20px;
}

.lb-next {
    right: 20px;
}

.lb-prev:hover,
.lb-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lb-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 16px;
}

/* ── LOCATION ────────────────────────────────────────── */
.location {
    background: var(--white);
}

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.map-actions {
    text-align: center;
    margin-bottom: 36px;
}

.btn-maps {
    display: inline-block;
    background: var(--white);
    color: var(--green);
    border: 2px solid var(--green);
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--trans);
}

.btn-maps:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.3);
}

.map-wrap iframe {
    width: 100%;
    height: 380px;
    border: none;
    display: block;
}

.distances {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.dist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.dist-item span:first-child {
    font-size: 1.5rem;
}

.dist-ext-link {
    margin-left: 6px;
    color: var(--green-l);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: color var(--trans);
}

.dist-ext-link:hover {
    color: var(--green);
}

/* ── BOOKING ─────────────────────────────────────────── */
.book {
    background: var(--green);
}

.book h2 {
    color: var(--white);
}

.book .section-sub {
    color: rgba(255, 255, 255, 0.75);
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.book-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 24px 28px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: transform var(--trans), box-shadow var(--trans);
    color: var(--dark);
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.book-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.book-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.book-card p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 18px;
}

.book-cta {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--green-l);
    transition: color var(--trans);
}

.book-card:hover .book-cta {
    color: var(--gold);
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 40px 24px;
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-addr {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-copy {
    font-size: 0.8rem;
    opacity: 0.55;
    margin-top: 8px;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .lang-name {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-badges span {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .btn-primary {
        padding: 14px 32px;
    }

    .section {
        padding: 60px 0;
    }

    .lb-prev {
        left: 6px;
        font-size: 2rem;
        padding: 6px 12px;
    }

    .lb-next {
        right: 6px;
        font-size: 2rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        min-width: 100px;
        padding: 18px 20px;
    }

    .stat-num {
        font-size: 2rem;
    }
}