/* ===== VARIABLES & RESET ===== */
:root {
    --color-primary: #2c4a3e;
    --color-primary-light: #3d6b5a;
    --color-accent: #c9a96e;
    --color-accent-light: #dfc599;
    --color-dark: #1a1a1a;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #faf9f6;
    --color-bg-alt: #f0ede6;
    --color-white: #fff;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    padding: 20px 0;
}

#header.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 12px 0;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
    transition: color var(--transition);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    transition: color var(--transition);
}

#header.scrolled .logo-name {
    color: var(--color-primary);
}

#header.scrolled .logo-sub {
    color: var(--color-accent);
}

#main-nav {
    display: flex;
    gap: 32px;
}

#main-nav a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.85);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-accent);
    transition: width var(--transition);
}

#main-nav a:hover::after,
#main-nav a.active::after {
    width: 100%;
}

#main-nav a:hover {
    color: var(--color-white);
}

#header.scrolled #main-nav a {
    color: var(--color-text-light);
}

#header.scrolled #main-nav a:hover {
    color: var(--color-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 3px;
    backdrop-filter: blur(4px);
    transition: background var(--transition);
}

#header.scrolled .lang-switcher {
    background: var(--color-bg-alt);
}

.lang-btn {
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    border-radius: 16px;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}

.lang-btn.active {
    background: var(--color-accent);
    color: var(--color-dark);
}

.lang-btn:hover:not(.active) {
    color: var(--color-white);
}

#header.scrolled .lang-btn {
    color: var(--color-text-light);
}

#header.scrolled .lang-btn.active {
    background: var(--color-accent);
    color: var(--color-dark);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition);
    border-radius: 2px;
}

#header.scrolled .mobile-toggle span {
    background: var(--color-text);
}

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

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

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

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.5) 100%
    );
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--color-white);
    padding: 0 24px;
    animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeUp 1.5s ease-out 0.5s both;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-hero {
    background: var(--color-accent);
    color: var(--color-dark);
}

.btn-hero:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,169,110,0.3);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 16px 48px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44,74,62,0.3);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

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

.section-header-left {
    text-align: left;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.2;
}

.section-desc {
    margin-top: 16px;
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

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

.about-highlights {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.highlight span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
}

/* ===== ROOMS ===== */
.rooms {
    background: var(--color-bg-alt);
}

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

.room-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

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

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

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

.room-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-accent);
    color: var(--color-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.room-info {
    padding: 32px;
}

.room-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.room-info p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.room-features li {
    background: var(--color-bg);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item-large {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay svg {
    width: 36px;
    height: 36px;
    color: var(--color-white);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: opacity var(--transition);
}

.lightbox-close:hover { opacity: 0.7; }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 16px 20px;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background var(--transition);
    z-index: 10;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* ===== AMENITIES ===== */
.amenities {
    background: var(--color-bg-alt);
}

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

.amenity-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.amenity-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenity-icon svg {
    width: 26px;
    height: 26px;
    color: var(--color-white);
}

.amenity-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.amenity-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===== EXPERIENCES ===== */
.experiences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.experience-card {
    padding: 40px 32px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.experience-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow);
}

.experience-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-icon svg {
    width: 36px;
    height: 36px;
    color: var(--color-accent);
}

.experience-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.experience-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== RESERVATION ===== */
.reservation {
    background: var(--color-dark);
    color: var(--color-white);
}

.reservation .section-tag {
    color: var(--color-accent);
}

.reservation .section-header h2 {
    color: var(--color-white);
}

.reservation .section-desc {
    color: rgba(255,255,255,0.6);
}

.reservation-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 32px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 14px 16px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.12);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-group select option {
    background: var(--color-dark);
    color: var(--color-white);
}

.form-submit {
    text-align: center;
}

.form-status {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    min-height: 24px;
}

.form-status.success {
    color: #4ade80;
}

.form-status.error {
    color: #f87171;
}

.form-status.loading {
    color: var(--color-accent);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item a {
    color: var(--color-primary);
}

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

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-name {
    font-size: 1.4rem;
}

.footer-brand p {
    margin-top: 6px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--color-accent);
    color: var(--color-dark);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 350px;
    }

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

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

    .mobile-toggle {
        display: flex;
    }

    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-dark);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        transition: right var(--transition);
        box-shadow: -4px 0 24px rgba(0,0,0,0.3);
    }

    #main-nav.open {
        right: 0;
    }

    #main-nav a {
        color: rgba(255,255,255,0.8);
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 0.95rem;
    }

    #main-nav a:hover {
        color: var(--color-accent);
    }

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

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .amenities-grid,
    .experiences-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .about-highlights {
        flex-direction: column;
        gap: 16px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 12px 14px;
        font-size: 1.2rem;
    }
}

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

    .gallery-item-large {
        grid-column: span 1;
    }

    .lang-switcher {
        gap: 2px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.68rem;
    }
}

/* ===================================================================
   PREMIUM UPGRADE — logo mark, hero emblem, parallax banner, polish
   =================================================================== */

/* --- Header logo with olive mark --- */
.logo {
    flex-direction: row;
    align-items: center;
    gap: 11px;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-mark {
    width: 38px;
    height: 38px;
    display: block;
    transition: transform var(--transition);
}
.logo-mark-light { filter: drop-shadow(0 1px 4px rgba(0,0,0,0.35)); }
.logo-mark-dark { display: none; }
#header.scrolled .logo-mark-light { display: none; }
#header.scrolled .logo-mark-dark { display: block; }
.logo:hover .logo-mark { transform: scale(1.06); }

/* --- Hero: cinematic overlay + brand logo + overline + divider --- */
.hero-overlay {
    background:
        radial-gradient(ellipse at 50% 42%, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%),
        linear-gradient(to bottom, rgba(18,28,23,0.45) 0%, rgba(18,28,23,0.18) 45%, rgba(18,28,23,0.62) 100%);
}
.hero-logo {
    margin: 4px auto 0;
    line-height: 0;
    animation: fadeUp 1.2s ease-out;
}
.hero-logo img {
    width: clamp(170px, 20vw, 250px);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 6px 30px rgba(0,0,0,0.5));
}
.hero-overline {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 10px;
}
.hero-divider {
    display: block;
    width: 90px;
    height: 1px;
    margin: 22px auto;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    position: relative;
}
.hero-divider::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 6px; height: 6px;
    background: var(--color-accent);
    transform: translate(-50%, -50%) rotate(45deg);
}
.hero-title { margin-bottom: 0; }

/* --- Decorative flanking lines on centered section tags --- */
.section-header:not(.section-header-left) .section-tag::before,
.section-header:not(.section-header-left) .section-tag::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--color-accent);
    vertical-align: middle;
    margin: 0 14px 3px;
    opacity: 0.55;
}

/* --- Parallax banner --- */
.parallax-banner {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}
.parallax-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(18,28,23,0.62), rgba(18,28,23,0.72));
}
.parallax-banner-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding: 90px 24px;
    color: var(--color-white);
}
.banner-emblem {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    display: block;
    filter: drop-shadow(0 3px 12px rgba(0,0,0,0.5));
}
.banner-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.4vw, 2.4rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.45;
    margin-bottom: 34px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

/* --- Footer brand logo --- */
.footer-logo {
    width: 118px;
    height: auto;
    margin-bottom: 16px;
    display: block;
}

/* --- Subtle card lift polish --- */
.room-card, .amenity-card, .experience-card {
    transition: transform var(--transition), box-shadow var(--transition);
}
.experience-card:hover { transform: translateY(-6px); }

/* --- Mobile: fixed parallax is janky on iOS, fall back to scroll --- */
@media (max-width: 768px) {
    .parallax-banner {
        background-attachment: scroll;
        min-height: 52vh;
    }
    /* The wide aerial hero crops badly on tall phone screens — swap in a
       portrait crop focused on the villa so it stays the focal point. */
    .hero-bg {
        background-image: url('../img/hero-mobile.webp') !important;
    }
    .hero-emblem { width: 50px; height: 66px; }
    .hero-overline { letter-spacing: 3.5px; }
}

/* --- Respect reduced-motion preferences --- */
@media (prefers-reduced-motion: reduce) {
    .hero-bg { animation: none !important; transform: none !important; }
    .hero-emblem, .hero-content, .hero-scroll { animation: none !important; }
    .scroll-indicator::before { animation: none; }
}
