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

:root {
  /* Theme: Dark Jewel Tones (Emerald/Sapphire) */
  --bg-color: #0f1a0f; /* Deep Emerald Dark */
  --bg-alt: #1a0f1a;   /* Deep Sapphire Dark */
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #10b981;   /* Emerald accent */
  --accent-secondary: #3b82f6; /* Sapphire accent */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.3);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-heading: 'Anton', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --container-max: 1200px;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 18px; /* Content Density: Low (editorial) */
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg-color);
  background-attachment: fixed;
}

/* Background Texture: Subtle animated CSS gradient */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0f1a0f, #1a0f1a, #0a110a, #110a11);
    background-size: 400% 400%;
    animation: gradientMove 12s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
}

img {
    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;
}

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

section {
    padding: 60px 0; /* Spacing Strategy: Dense (50-60px) */
    position: relative;
}

/* Section Internal Layout: Offset grid (cascading staircase) */
.offset-grid .container > div:nth-child(even) {
    transform: translateY(60px);
}
@media (max-width: 768px) {
    .offset-grid .container > div:nth-child(even) {
        transform: none;
    }
}

/* Layout Archetype: Glass Panels over Photography */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 48px; /* Content Density: Low (editorial) 32-48px */
    box-shadow: var(--shadow-glass);
    overflow: hidden;
}

/* Navigation Style: Hidden Until Scroll */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 26, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.visible {
    transform: translateY(0);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a.active {
    color: var(--accent);
}

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.open { display: flex; }
}

/* Hero Style: Carousel simulation */
.hero {
    height: 100vh;
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #000;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-img.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    text-align: center;
    z-index: 10;
}

/* Grids with auto-fit centering */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Interactive Element: Animated Infographic */
.infographic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    position: relative;
}

.stat-bar-container {
    height: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 10px;
}

.stat-bar {
    height: 100%;
    background: var(--accent);
    width: 0;
    transition: width 1.5s ease-out;
}

/* Testimonial Style: Minimal text-only */
.testimonials-list {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.testimonial-item:last-child {
    border-bottom: none;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--accent);
}

/* Footer Style: Minimal Line Footer */
.footer {
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

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

.footer-social a {
    font-size: 1.5rem;
    opacity: 0.7;
}

.footer-social a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

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

/* Tables & Lists */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    font-family: var(--font-heading);
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        display: block;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
