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

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Theme: Dark Jewel Tones (Emerald/Sapphire) */
  --bg-deep: #0a0f0a; /* Deep Emerald Black */
  --bg-alt: #0f1a0f;  /* Emerald Dark */
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #10b981;  /* Bright Emerald */
  --accent-secondary: #3b82f6; /* Sapphire Blue */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.4);
  --glass-bg: rgba(16, 185, 129, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-heading: 'Cinzel', serif;
  --font-body: 'Lora', serif;
}

body, html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    background: var(--bg-deep);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.8;
    font-size: 18px; /* Content Density: Low */
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .nav-link, .brand-name {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* === BACKGROUND ANIMATION (Mesh Gradient) === */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-deep);
    overflow: hidden;
}

.mesh-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: meshMove 20s infinite alternate ease-in-out;
}

.mesh-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--accent), transparent); top: -10%; left: -10%; }
.mesh-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--accent-secondary), transparent); bottom: -10%; right: -10%; animation-delay: -5s; }
.mesh-3 { width: 400px; height: 400px; background: radial-gradient(circle, #4f46e5, transparent); top: 40%; left: 30%; animation-delay: -10s; }

@keyframes meshMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* === STRUCTURAL BASELINES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

section {
    padding: 70px 0;
    position: relative;
}

/* Alternate backgrounds */
section:nth-child(even) { background-color: var(--bg-alt); }
section:nth-child(odd) { background-color: var(--bg-deep); }

/* === NAVIGATION (Centered Logo + Overlay) === */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.4s ease, padding 0.4s ease;
}

.header-nav.scrolled {
    background: rgba(10, 15, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    flex: 1;
}

.nav-links.left { justify-content: flex-end; }
.nav-links.right { justify-content: flex-start; }

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.brand-logo {
    flex: 0 0 auto;
    margin: 0 40px;
    text-align: center;
}

.brand-name {
    font-size: 1.8rem;
    color: var(--text);
    font-weight: 700;
}

.brand-name span { color: var(--accent); }

/* Mobile Nav */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: var(--bg-deep);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 999;
    }
    .nav-links.active { right: 0; }
    .nav-links.left, .nav-links.right { display: none; }
    .nav-links.mobile-visible { display: flex; }
    .mobile-toggle { display: block; }
    .brand-logo { margin: 0; }
}

/* === HERO SLIDER (Grid Mosaic) === */
.hero-slider {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active { opacity: 1; z-index: 1; }

.grid-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.mosaic-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    padding: 48px;
    background: rgba(10, 15, 10, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-align: center;
    z-index: 10;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* === ASYMMETRIC TWO-COLUMN SECTIONS === */
.section-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.col-35 { flex: 0 0 calc(35% - 30px); }
.col-65 { flex: 0 0 calc(65% - 30px); }
.col-70 { flex: 0 0 calc(70% - 30px); }
.col-30 { flex: 0 0 calc(30% - 30px); }
.col-40 { flex: 0 0 calc(40% - 30px); }
.col-60 { flex: 0 0 calc(60% - 30px); }

@media (max-width: 1024px) {
    .col-35, .col-65, .col-70, .col-30, .col-40, .col-60 {
        flex: 0 0 100%;
    }
    .section-split { gap: 40px; }
}

/* === INTERACTIVE MAP / REGION SELECTOR === */
.region-selector {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 40px;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.region-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.region-btn:hover, .region-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.region-info {
    min-height: 200px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    display: none;
}

.region-info.active { display: block; animation: fadeIn 0.5s ease; }

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

/* === BUTTONS (Icon + Text) === */
.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -10px var(--accent);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

/* === CARDS (Glass Panel + Subtle Lift) === */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 48px; /* Content Density: Low */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg) translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glass);
}

/* === VIDEO SECTION === */
.video-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-glass);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .play-btn { transform: scale(1.1); }
.video-placeholder:hover .video-overlay { background: rgba(0, 0, 0, 0.2); }

/* === SOCIAL FEED === */
.social-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.social-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1/1;
    position: relative;
}

.social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 185, 129, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 1.5rem;
}

.social-card:hover .social-overlay { opacity: 1; }

/* === TESTIMONIALS (Video Style) === */
.testimonial-card {
    flex: 0 1 500px;
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.testimonial-video-thumb {
    position: relative;
    aspect-ratio: 16/9;
}

.testimonial-content {
    padding: 32px;
}

.testimonial-transcript {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* === BREADCRUMBS === */
.breadcrumbs {
    padding: 20px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* === TIMELINE FOOTER === */
.timeline-footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-deep);
}

.footer-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 60px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.footer-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--glass-border);
    z-index: 1;
}

.timeline-event {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    min-width: 200px;
    text-align: center;
}

.event-dot {
    width: 32px;
    height: 32px;
    background: var(--bg-deep);
    border: 2px solid var(--accent);
    border-radius: 50%;
    margin: 0 auto 15px;
}

.event-year {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent);
}

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

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .brand-name { margin-bottom: 20px; }
.footer-col h4 { margin-bottom: 20px; color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Newsletters */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: var(--radius-sm);
    color: #fff;
    flex: 1;
}

/* Gallery Strip */
.gallery-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-strip img {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.stagger-reveal > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.stagger-reveal.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Generate delays for 20 children */
.stagger-reveal.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-reveal.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-reveal.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-reveal.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-reveal.revealed > *:nth-child(5) { transition-delay: 0.5s; }
