/* --- 1. Variables & Reset --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-lighter: #121212;
    --bg-light: #f4f4f4;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --gold: #cf8a76;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    /* Controlled from the admin Design tab (js/theme.js) */
    --heading-color: #ffffff;
    --on-accent: #0a0a0a;
    --hero-text: #ffffff;
    --whatsapp: #25D366;
    --text-rgb: 255, 255, 255;
    --bg-rgb: 10, 10, 10;
    --accent-rgb: 207, 138, 118;
    --overlay-rgb: 10, 10, 10;
    --overlay-opacity: 1;
    --font-size: 100%;
    --radius-btn: 0px;
    --radius-img: 0px;
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size);
}

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

/* --- 2. Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
    background: rgba(var(--bg-rgb), 0.95);
    padding: 15px 5%;
    backdrop-filter: blur(10px);
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: 600;
}

.logo span { color: var(--gold); }

.nav-links { display: flex; gap: 40px; }

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold); }

.admin-link {
    border: 1px solid rgba(var(--text-rgb), 0.3);
    padding: 8px 16px;
    transition: all 0.3s;
}

.admin-link:hover { border-color: var(--gold); }

.menu-btn { display: none; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: var(--text-main); padding: 8px; }

/* --- 3. Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    width: 100%;
    background: var(--bg-dark);
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(var(--bg-rgb), 0.9) 0%, rgba(var(--bg-rgb), 0.3) 100%);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 700px; }

.hero-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 25px;
}

.hero-text { font-size: 1rem; color: var(--text-muted); margin-bottom: 40px; max-width: 450px; }

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--text-main);
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

.btn-outline:hover { background: var(--text-main); color: var(--bg-dark); }

/* --- 4. Portfolio Grid (Editorial Layout) --- */
.portfolio-section { padding: 120px 5%; background: var(--bg-dark); }

.section-header { margin-bottom: 60px; max-width: 600px; }

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.section-desc { color: var(--text-muted); font-size: 1rem; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 500px;
}

/* This creates the staggered magazine look */
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }

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

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

.item-overlay {
    position: absolute;
    bottom: 20px; left: 20px;
    background: rgba(0,0,0,0.6);
    padding: 8px 16px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.item-overlay span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
}

/* --- 5. About Section --- */
.about-section {
    padding: 120px 10%;
    display: flex;
    align-items: center;
    gap: 80px;
    background: var(--bg-lighter);
}

.about-image { flex: 1; }
.about-image img { width: 100%; height: auto; object-fit: cover; filter: grayscale(20%); }

.about-content { flex: 1; }
.about-content p { color: var(--text-muted); margin-bottom: 20px; font-size: 1rem; }

.travel-note {
    color: var(--text-main) !important;
    font-size: 0.9rem !important;
    margin-bottom: 30px !important;
}
.travel-note i { color: var(--gold); margin-right: 10px; }

.btn-text {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
    transition: opacity 0.3s;
}
.btn-text:hover { opacity: 0.7; }

/* --- 6. Services Section --- */
.services-section { padding: 120px 5%; background: var(--bg-dark); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    border: 1px solid rgba(var(--text-rgb), 0.1);
    padding: 40px;
    transition: all 0.4s ease;
    background: transparent;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 400;
}

.service-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 25px; }

.service-card ul { list-style: none; margin-bottom: 30px; }
.service-card ul li { font-size: 0.85rem; margin-bottom: 10px; color: var(--text-main); }
.service-card ul li::before { content: "—"; color: var(--gold); margin-right: 10px; }

.btn-outline-sm {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid rgba(var(--text-rgb), 0.3);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.btn-outline-sm:hover { border-color: var(--gold); color: var(--gold); }

/* --- 7. Footer --- */
footer {
    text-align: center;
    padding: 40px;
    background: var(--bg-lighter);
    border-top: 1px solid rgba(var(--text-rgb), 0.05);
}
footer p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 5px; }

/* --- 8. Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    background: var(--whatsapp); color: #fff;
    width: 60px; height: 60px;
    border-radius: 50px;
    display: flex; justify-content: center; align-items: center;
    font-size: 30px; z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: translateY(-5px); }

/* --- 9. Animations (Fade-in on scroll) --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* --- 10. Mobile Responsiveness --- */
@media (max-width: 900px) {
    .about-section { flex-direction: column; padding: 80px 5%; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { display: flex; flex-direction: column; }
    .portfolio-item { height: 400px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-btn { display: block; }
    .hero-title { font-size: 3.5rem; }
    .hero { padding: 0 5%; }
}

/* --- 12. Portfolio Filters --- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 8px 16px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--text-main);
}

.filter-btn.active {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

/* Class to hide filtered items */
.portfolio-item.hidden {
    display: none;
}

/* --- 13. Accessibility & Mobile Menu --- */
/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold);
    color: var(--on-accent);
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* Focus outline for keyboard navigation */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: -100%; /* Hidden by default */
        width: 100%;
        background: rgba(var(--bg-rgb), 0.98);
        backdrop-filter: blur(10px);
        padding: 40px 0;
        text-align: center;
        gap: 25px;
        transition: left 0.4s ease;
        border-bottom: 1px solid rgba(var(--text-rgb), 0.1);
    }

    .nav-links.active {
        left: 0; /* Slide in */
    }

    .nav-links a {
        font-size: 1rem;
        padding: 10px;
    }
}

/* --- 16. About Image Cinematic Filter --- */
.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* This makes the real photo match the luxury theme */
    filter: grayscale(100%) contrast(1.2) brightness(0.8);
    transition: all 0.6s ease;
    border-radius: 4px;
}

.about-image:hover img {
    /* Brings back some color when hovered */
    filter: grayscale(20%) contrast(1.1) brightness(0.9);
    transform: scale(1.02);
}


/* ============ PREMIUM ADDITIONS ============ */
body.no-scroll { overflow: hidden; }

/* Preloader */
.preloader {
    position: fixed; inset: 0; z-index: 10000; background: var(--bg-dark);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    transition: opacity .8s ease, visibility .8s ease;
    animation: preloaderOut .8s ease 4s forwards; /* safety net if JS fails */
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-mark { font-family: var(--font-heading); font-size: 2rem; letter-spacing: 8px; color: var(--text-main); animation: pulseIn 1.2s ease both; }
.preloader-mark span { color: var(--gold); }
.preloader-line { width: 120px; height: 1px; background: rgba(var(--text-rgb), .15); position: relative; overflow: hidden; }
.preloader-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: lineRun 1.4s ease-in-out infinite; }
@keyframes lineRun { to { transform: translateX(100%); } }
@keyframes pulseIn { from { opacity: 0; letter-spacing: 16px; } to { opacity: 1; letter-spacing: 8px; } }
@keyframes preloaderOut { to { opacity: 0; visibility: hidden; } }

/* Logo image (drop assets/images/logo.png to activate) */
.logo a { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { display: none;  height: 44px; width: 44px; object-fit: cover; border-radius: 50%;  }
.logo.has-logo .logo-text { display: none; }
.navbar.scrolled .logo-img { height: 36px; width: 36px; transition: all .4s ease; }

.nav-cta { border: 1px solid var(--gold); padding: 10px 20px; color: var(--gold) !important; }
.nav-cta:hover { background: var(--gold); color: var(--on-accent) !important; }

/* Hero extras */
.hero-overlay { background: linear-gradient(to right, rgba(var(--overlay-rgb), 0.85) 0%, rgba(var(--overlay-rgb), 0.25) 100%); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-solid {
    display: inline-block; padding: 15px 36px; background: var(--gold); color: var(--on-accent); border: 1px solid var(--gold);
    text-decoration: none; text-transform: uppercase; font-size: .75rem; letter-spacing: 2px; font-weight: 500;
    cursor: pointer; font-family: var(--font-body); transition: all .4s ease;
}
.btn-solid:hover { background: transparent; color: var(--gold); }
.btn-block { width: 100%; text-align: center; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); animation: bob 2s ease-in-out infinite; text-decoration: none; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* Stats strip */
.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg-lighter); border-bottom: 1px solid rgba(var(--text-rgb), .06); }
.stat { text-align: center; padding: 38px 10px; border-right: 1px solid rgba(var(--text-rgb), .06); }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-family: var(--font-heading); font-size: 2.2rem; font-weight: 400; color: var(--text-main); }
.stat span { color: var(--text-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; }

/* Portfolio polish */
.portfolio-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.grid-note { grid-column: 1 / -1; color: var(--text-muted); text-align: center; padding: 60px 20px; }
.grid-loading { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; padding: 80px 0; }
.grid-loading span { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: dot 1s ease-in-out infinite; }
.grid-loading span:nth-child(2) { animation-delay: .15s; } .grid-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }
.item-overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); inset: auto 0 0 0; bottom: 0; left: 0; padding: 40px 20px 18px; backdrop-filter: none; }
.portfolio-item .item-overlay { opacity: 0; }
.portfolio-item:hover .item-overlay, .portfolio-item:focus-visible .item-overlay { opacity: 1; }

/* Services badge */
.service-card { position: relative; }
.service-card.highlight { border-color: var(--gold); background: linear-gradient(180deg, rgba(var(--accent-rgb), .07), transparent); }
.badge { position: absolute; top: -12px; left: 40px; background: var(--gold); color: var(--on-accent); font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; padding: 4px 12px; font-weight: 500; }

/* Booking */
.booking-section { padding: 120px 5%; background: var(--bg-lighter); }
.booking-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.booking-points { list-style: none; margin-top: 30px; }
.booking-points li { color: var(--text-main); font-size: .9rem; margin-bottom: 14px; }
.booking-points i { color: var(--gold); margin-right: 12px; }
.booking-form { background: var(--bg-dark); border: 1px solid rgba(var(--text-rgb), .08); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
    width: 100%; background: transparent; color: var(--text-main); border: none; border-bottom: 1px solid rgba(var(--text-rgb), .2);
    padding: 10px 0; font-family: var(--font-body); font-size: 1rem; border-radius: 0; color-scheme: dark; transition: border-color .3s;
}
.field select option { background: var(--bg-lighter); color: var(--text-main); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.form-error { color: #ff8a80; font-size: .85rem; margin-bottom: 16px; }
.form-success { color: var(--text-muted); font-size: .85rem; margin-top: 16px; text-align: center; }
.form-success a { color: var(--gold); }

/* Footer */
.footer-logo { font-family: var(--font-heading); font-size: 1.6rem; letter-spacing: 4px; margin-bottom: 18px; }
.footer-logo span { color: var(--gold); }
.footer-social { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 22px; }
.footer-social a { color: var(--text-main); text-decoration: none; font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; transition: color .3s; }
.footer-social a:hover { color: var(--gold); }
.footer-social i { margin-right: 6px; color: var(--gold); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9000; background: rgba(5,5,5,.96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { margin: 0; max-width: 92vw; text-align: center; }
.lb-figure img { max-width: 92vw; max-height: 82vh; object-fit: contain; display: block; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-figure figcaption { margin-top: 16px; font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.lb-btn { position: absolute; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1rem; transition: background .3s; }
.lb-btn:hover { background: var(--gold); color: var(--on-accent); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); } .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Responsive additions */
@media (max-width: 900px) {
    .booking-wrap { grid-template-columns: 1fr; gap: 40px; }
    .booking-section { padding: 80px 5%; }
    .portfolio-section, .services-section { padding: 80px 5%; }
    .booking-form { padding: 28px 22px; }
    .stat strong { font-size: 1.5rem; } .stat span { font-size: .6rem; letter-spacing: 1px; }
}
@media (max-width: 768px) {
    .hero-overlay { background: linear-gradient(to top, rgba(var(--overlay-rgb), .88) 0%, rgba(var(--overlay-rgb), .35) 70%); }
    .hero { align-items: flex-end; padding-bottom: 110px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .nav-cta { border: 1px solid var(--gold); display: inline-block; margin: 0 auto; }
    .lb-prev, .lb-next { display: none; } /* swipe on touch screens */
    .whatsapp-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .slide.active { transform: none; }
}

.field[hidden], .travel-hint[hidden] { display: none; }
.travel-hint { color: var(--text-muted); font-size: .8rem; margin: -6px 0 20px; padding: 12px 14px; border-left: 2px solid var(--gold); background: rgba(var(--accent-rgb), .06); }
.travel-hint i { color: var(--gold); margin-right: 8px; }

.logo.has-logo .logo-img { display: block; }
.price { font-family: var(--font-heading); font-size: 1.6rem; color: var(--gold); margin: -8px 0 20px; }
.reviews-section { padding: 120px 5%; background: var(--bg-dark); }
.reviews-section[hidden] { display: none; }
.review-card { margin: 0; border: 1px solid rgba(var(--text-rgb), .1); padding: 34px; background: var(--bg-lighter); }
.stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 16px; }
.review-card blockquote { font-family: var(--font-heading); font-style: italic; font-size: 1.1rem; line-height: 1.7; margin-bottom: 20px; }
.review-card figcaption strong { display: block; font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; }
.review-card figcaption span { color: var(--text-muted); font-size: .8rem; }
@media (max-width: 900px) { .reviews-section { padding: 80px 5%; } }

/* Reviews slideshow */
.reviews-carousel { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 60px; }
.reviews-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 4px 0; outline-offset: 6px; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; }
.rv-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(var(--text-rgb), .06); border: 1px solid rgba(var(--text-rgb), .15); color: var(--text-main); cursor: pointer; transition: all .3s; z-index: 2; }
.rv-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--on-accent); }
.rv-prev { left: 0; } .rv-next { right: 0; }
.rv-dots { display: flex; justify-content: center; margin-top: 22px; }
.rv-dots[hidden] { display: none; }
.rv-dots button { width: 22px; height: 22px; padding: 7px; border: none; background: rgba(var(--text-rgb), .28); background-clip: content-box; border-radius: 12px; cursor: pointer; transition: all .3s; }
.rv-dots button.on { width: 40px; background: var(--gold); background-clip: content-box; }
@media (max-width: 1000px) { .review-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 700px) {
    .reviews-carousel { padding: 0; }
    .rv-btn { display: none; } /* swipe on phones */
    .review-card { flex-basis: 86%; padding: 28px 24px; }
    .reviews-track { padding-left: 2px; }
}


/* ============ THEME HOOKS (driven by admin Design tab) ============ */
h1, h2, h3, .section-title, .stat strong, .footer-logo { color: var(--heading-color); }
.hero-title, .hero-subtitle + .hero-title { color: var(--hero-text); }
.hero-text { color: var(--hero-text); opacity: .85; }
.hero .btn-outline { color: var(--hero-text); border-color: var(--hero-text); }
.hero .btn-outline:hover { background: var(--hero-text); color: #0a0a0a; }
.hero-overlay { opacity: var(--overlay-opacity); }
.navbar:not(.scrolled) .logo a, .navbar:not(.scrolled) .nav-links a:not(.nav-cta), .navbar:not(.scrolled) .menu-btn { color: var(--hero-text); }
.navbar .nav-links.active a:not(.nav-cta) { color: var(--text-main); }
.navbar.scrolled { background: rgba(var(--bg-rgb), .95); }
.btn-solid, .btn-outline, .btn-outline-sm, .nav-cta, .filter-btn, .btn-text { border-radius: var(--radius-btn); }
.portfolio-item, .about-image img, .service-card, .review-card, .booking-form { border-radius: var(--radius-img); overflow: hidden; }
.badge { border-radius: var(--radius-btn); }
@media (max-width: 768px) { .navbar { background: rgba(var(--bg-rgb), .0); } .navbar.scrolled { background: rgba(var(--bg-rgb), .95); } }

/* ============ PORTFOLIO PAGE & HOME TEASER ============ */
.section-cta { text-align: center; margin-top: 56px; }
.page-hero { padding: 170px 5% 30px; text-align: center; max-width: 900px; margin: 0 auto; }
.page-hero .section-desc { margin: 14px auto 0; }
.page-title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.1; }
.portfolio-page { padding-top: 50px; }
.cta-band { text-align: center; padding: 100px 5%; background: var(--bg-lighter); }
.cta-band .section-desc { margin: 12px auto 32px; }
.footer-nav { margin-bottom: 14px; }
.footer-nav a { color: var(--text-muted); }
@media (max-width: 768px) {
    .page-hero { padding-top: 130px; }
    .portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .portfolio-item, .portfolio-item.span-7, .portfolio-item.span-5 { grid-column: auto; height: 230px; }
    .portfolio-item:nth-child(5n+1) { grid-column: 1 / -1; height: 280px; }
}
.portfolio-item.hidden { display: none; }


/* ===== Image-free homepage, masonry portfolio, section controls ===== */
.hero { height: auto; min-height: 92vh; padding-top: 150px; padding-bottom: 110px; background: var(--bg-dark); }
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(60% 70% at 88% 12%, rgba(var(--accent-rgb), .20), transparent 62%),
                radial-gradient(45% 55% at 6% 96%, rgba(var(--accent-rgb), .09), transparent 62%); }
.hero-title, .hero-subtitle + .hero-title { color: var(--heading-color); }
.hero-text { color: var(--text-muted); opacity: 1; }
.hero .btn-outline { color: var(--heading-color); border-color: var(--heading-color); }
.hero .btn-outline:hover { background: var(--heading-color); color: var(--bg-dark); }
.navbar:not(.scrolled) .logo a, .navbar:not(.scrolled) .nav-links a:not(.nav-cta), .navbar:not(.scrolled) .menu-btn { color: var(--text-main); }
.scroll-cue { color: var(--text-muted); }
@media (max-width: 768px) { .hero { align-items: center; padding-top: 130px; padding-bottom: 90px; min-height: 86vh; } }

#siteSections { display: flex; flex-direction: column; }
[data-section][data-off] { display: none !important; }

.work-section { padding: 100px 5%; }
.work-panel { max-width: 860px; margin: 0 auto; text-align: center; }
.work-panel .section-desc { max-width: 560px; margin: 0 auto 34px; }
.work-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 42px; }
.chip { padding: 11px 22px; border: 1px solid rgba(var(--text-rgb), .18); color: var(--text-main); text-decoration: none; font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; border-radius: var(--radius-btn); transition: all .3s; }
.chip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.about-section.no-image { justify-content: center; }
.about-section.no-image .about-content { max-width: 760px; text-align: center; }
.about-section.no-image .travel-note { justify-content: center; }

/* Portfolio page: staggered masonry, never a straight line of photos */
.portfolio-page .portfolio-grid { display: block; column-count: 3; column-gap: 18px; }
.portfolio-page .portfolio-item { height: auto; display: block; break-inside: avoid; margin: 0 0 18px; background: var(--bg-lighter); }
.portfolio-page .portfolio-item img { height: auto; display: block; width: 100%; }
.portfolio-page .portfolio-item.hidden { display: none; }
.portfolio-page .grid-note, .portfolio-page .grid-loading { column-span: all; }
@media (max-width: 1000px) { .portfolio-page .portfolio-grid { column-count: 2; } }
@media (max-width: 520px) { .portfolio-page .portfolio-grid { column-gap: 10px; } .portfolio-page .portfolio-item { margin-bottom: 10px; } }


/* ===== Hero background slideshow (decorative images only; never portfolio photos) ===== */
.hero-slideshow { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; transform: scale(1); transition: opacity 1.6s ease, transform 8s linear; }
.slide.active { opacity: 1; transform: scale(1.07); }
.slide-1 { background-image: url('../assets/images/slide-1-pc.webp'); }
.slide-2 { background-image: url('../assets/images/slide-2-pc.webp'); }
.slide-3 { background-image: url('../assets/images/slide-3-pc.webp'); }
@media (max-width: 768px) {
    .slide-1 { background-image: url('../assets/images/slide-1-mobile.webp'); }
    .slide-2 { background-image: url('../assets/images/slide-2-mobile.webp'); }
    .slide-3 { background-image: url('../assets/images/slide-3-mobile.webp'); }
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; }
/* Text sits on a photo again, so it uses the hero text colour */
.hero .hero-title { color: var(--hero-text); }
.hero .hero-text { color: var(--hero-text); opacity: .88; }
.hero .btn-outline { color: var(--hero-text); border-color: var(--hero-text); }
.hero .btn-outline:hover { background: var(--hero-text); color: var(--bg-dark); }
@media (prefers-reduced-motion: reduce) { .slide.active { transform: none; } }

/* Photo viewer always sits on near-black, so its text must stay light whatever theme is chosen */
.lb-figure figcaption { color: #b9b9b9; }
