/* Cabana Zoua - Parallax landing page */
:root {
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-20: rgba(255, 255, 255, 0.2);
    --nav-bg: rgba(13, 32, 24, 0.34);
    --nav-bg-scrolled: rgba(13, 32, 24, 0.94);
    --green: #10241b;
    --green-dark: #091a13;
    --gold: #c8a45d;
    --transition-smooth: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; scrollbar-width: none; }
body { font-family: var(--font-body); font-weight: 300; color: var(--white); line-height: 1.7; overflow-x: hidden; background: var(--green-dark); -ms-overflow-style: none; }
body::-webkit-scrollbar { width: 0; height: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

#templatemo-nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: var(--nav-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background var(--transition-smooth); }
#templatemo-nav.scrolled { background: var(--nav-bg-scrolled); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo { font-family: var(--font-heading); font-size: 20px; font-weight: 600; letter-spacing: 3px; color: var(--white); display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; }
.nav-logo-img { width: 46px; height: 46px; object-fit: contain; }
.nav-links { list-style: none; display: flex; gap: 35px; }
.nav-links a { font-family: var(--font-heading); font-size: 13px; font-weight: 400; letter-spacing: 2.5px; color: var(--white-70); transition: color var(--transition-smooth), opacity var(--transition-smooth); text-transform: uppercase; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-toggle { display: none; position: relative; z-index: 3; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all var(--transition-smooth); }

.parallax-section { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.parallax-bg { position: absolute; top: -50%; left: 0; width: 100%; height: 200%; background-position: center center; background-repeat: no-repeat; background-size: cover; will-change: transform; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); z-index: 0; }
.parallax-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(9, 26, 19, 0.70), rgba(0, 0, 0, 0.38)); z-index: 1; }
.parallax-overlay.overlay-dark { background: linear-gradient(135deg, rgba(8, 24, 18, 0.82), rgba(0, 0, 0, 0.55)); }
.parallax-overlay.overlay-medium { background: linear-gradient(135deg, rgba(8, 24, 18, 0.76), rgba(0, 0, 0, 0.50)); }
.section-content { position: relative; z-index: 2; max-width: 960px; width: 100%; padding: 110px 30px; text-align: center; }
.hero-content { max-width: 1100px; }

.section-title { font-family: var(--font-heading); font-weight: 300; font-size: clamp(36px, 6vw, 64px); letter-spacing: 8px; color: var(--white); margin-bottom: 20px; line-height: 1.2; text-transform: uppercase; }
.hero-title { font-weight: 400; letter-spacing: 12px; }
.section-subtitle { font-family: var(--font-body); font-size: clamp(13px, 1.6vw, 16px); letter-spacing: 4px; color: var(--white-70); margin-bottom: 40px; }
.caps { text-transform: uppercase; }
.content-block { max-width: 680px; margin: 0 auto; }
.content-block p { font-size: 17px; color: var(--white-90); margin-bottom: 20px; line-height: 1.85; }

.btn-scroll, .btn-submit { display: inline-block; font-family: var(--font-heading); font-size: 13px; font-weight: 400; letter-spacing: 4px; color: var(--white); border: 1px solid var(--white-40); padding: 14px 45px; transition: all var(--transition-smooth); background: transparent; text-transform: uppercase; cursor: pointer; }
.btn-scroll:hover, .btn-submit:hover { background: var(--white); color: var(--green); border-color: var(--white); }
.auto-scroll-btn { position: fixed; right: 24px; bottom: 24px; z-index: 1001; font-family: var(--font-heading); font-size: 12px; font-weight: 500; letter-spacing: 3px; color: var(--white); background: rgba(9, 26, 19, 0.72); border: 1px solid var(--white-40); padding: 12px 18px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background var(--transition-smooth), color var(--transition-smooth), border-color var(--transition-smooth); }
.auto-scroll-btn:hover, .auto-scroll-btn.is-running { background: var(--white); color: var(--green); border-color: var(--white); }
.auto-scroll-btn.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
html.auto-scroll-active { scroll-snap-type: none; scroll-behavior: auto; }

.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 900px; margin: 0 auto; text-align: left; }
.about-col { background: rgba(9, 26, 19, 0.58); padding: 40px; border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(5px); }
.about-thumb { overflow: hidden; width: 120px; height: 120px; border-radius: 8px; }
.about-thumb img, .about-thumb-wide img { width: 100%; height: 100%; object-fit: cover; }
.thumb-top-left { float: left; margin: 0 20px 15px 0; }
.about-thumb-wide { overflow: hidden; width: 100%; max-width: 400px; aspect-ratio: 2 / 1; border-radius: 8px; margin-bottom: 20px; }
.about-col p { font-size: 16px; color: var(--white-90); margin-bottom: 20px; line-height: 1.85; }
.about-col p:last-child { margin-bottom: 0; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 50px; }
.service-item { text-align: center; padding: 32px 24px; background: rgba(9, 26, 19, 0.38); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(4px); }
.service-icon { margin-bottom: 20px; opacity: 0.9; }
.service-item h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 500; letter-spacing: 3px; margin-bottom: 12px; color: var(--white); }
.service-item p { font-size: 12px; letter-spacing: 2px; color: var(--white-70); line-height: 1.9; }

.gallery-section { min-height: 100vh; }
.gallery-content { max-width: 1180px; padding-top: 125px; padding-bottom: 125px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; margin-top: 48px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(9, 26, 19, 0.35); box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 26, 19, 0), rgba(9, 26, 19, 0.22)); pointer-events: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease, opacity 0.7s ease; }
.gallery-item:hover img { transform: scale(1.045); opacity: 0.94; }
.gallery-featured { grid-column: span 2; grid-row: span 2; }
.gallery-tall { grid-row: span 2; }

.stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: min(680px, 100%); margin: 45px auto 0; padding-top: 40px; border-top: 1px solid var(--white-20); }
.stat-item { text-align: center; }
.stat-number { display: block; font-family: var(--font-heading); font-size: 42px; font-weight: 300; letter-spacing: 2px; color: var(--white); margin-bottom: 8px; }
.stat-label { font-size: 11px; letter-spacing: 3px; color: var(--white-70); }

.contact-form-wrap { max-width: 640px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; gap: 18px; }
.contact-form input, .contact-form textarea { width: 100%; font-family: var(--font-body); font-size: 15px; font-weight: 300; letter-spacing: 0.5px; color: var(--white); background: rgba(255, 255, 255, 0.08); border: 1px solid var(--white-20); padding: 16px 20px; outline: none; transition: border-color var(--transition-smooth); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--white-40); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.btn-submit { align-self: flex-start; }
.contact-info { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--white-20); color: var(--white-70); text-align: left; letter-spacing: 0.4px; }
.contact-info p { margin-bottom: 8px; }
.contact-info strong { color: var(--white); font-weight: 600; }

#templatemo-footer { background: var(--green-dark); text-align: center; padding: 30px 20px; font-size: 14px; color: var(--white-40); letter-spacing: 1px; scroll-snap-align: end; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links { position: fixed; z-index: 2; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(9, 26, 19, 0.97); flex-direction: column; align-items: center; justify-content: flex-start; gap: 30px; padding: 100px 30px 60px; overflow-y: auto; opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.4s ease; }
    .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; }
    .nav-links a { font-size: 16px; letter-spacing: 4px; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .parallax-bg { top: 0; height: 100%; }
    .section-title { letter-spacing: 4px; }
    .hero-title { letter-spacing: 6px; }
    .section-subtitle { letter-spacing: 2px; }
    .services-grid { grid-template-columns: 1fr; gap: 24px; }
    .gallery-content { padding-top: 105px; padding-bottom: 105px; }
    .gallery-grid { gap: 12px; }
    .about-cols { grid-template-columns: 1fr; gap: 30px; text-align: left; }
    html { scroll-snap-type: none; }
    .stats-row { grid-template-columns: 1fr; gap: 30px; }
    .form-row { flex-direction: column; }
    .btn-submit { align-self: stretch; }
    .nav-logo span { font-size: 17px; letter-spacing: 2px; }
    .auto-scroll-btn { right: 16px; bottom: 16px; padding: 10px 14px; font-size: 11px; letter-spacing: 2px; }
}
@media (max-width: 480px) { .nav-container { padding: 0 20px; } .section-content { padding: 90px 20px; } .section-title { letter-spacing: 3px; } .content-block p { font-size: 15px; } .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; } .gallery-featured, .gallery-tall { grid-column: auto; grid-row: auto; } .stat-number { font-size: 34px; } .nav-logo-img { width: 40px; height: 40px; } }
