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

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

:root {
  /* Scandi Minimalist Theme - Light Mode Mandatory */
  --bg: #fdfbf7; /* Warm off-white/cream */
  --bg-alt: #f5ede0; /* Light wood tone / warm beige */
  --text: #1a1a2e; /* Charcoal text */
  --text-muted: #4a4a68;
  --accent: #2d5a27; /* Deep forest green for Ecology theme */
  --accent-soft: rgba(45, 90, 39, 0.1);
  --white: #ffffff;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.05);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.5);

  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Work Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 18px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
}

/* Background Texture Animation */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.01),
        rgba(0, 0, 0, 0.01) 10px,
        transparent 10px,
        transparent 20px
    );
    z-index: -1;
    animation: move-bg 60s linear infinite;
    pointer-events: none;
}

@keyframes move-bg {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

section {
    padding: 80px 0;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Section Divider */
}

/* === Dual Header Layout === */
.top-info-bar {
    height: 40px;
    background: var(--bg-alt);
    font-size: 14px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.top-info-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-items {
    display: flex;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav {
    height: 80px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--accent);
}

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

.nav-link {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

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

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* === Buttons === */
.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 90, 39, 0.2);
}

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

/* === Hero Section === */
.eco-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
    background: var(--bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 32px;
    color: var(--text-muted);
}

/* Photo Collage Hero */
.collage-container {
    position: relative;
    height: 500px;
}

.collage-img {
    position: absolute;
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 8px solid var(--white);
    transition: transform 0.5s ease;
}

.collage-img:nth-child(1) { top: 0; left: 0; transform: rotate(-5deg); z-index: 1; }
.collage-img:nth-child(2) { top: 50px; left: 150px; transform: rotate(3deg); z-index: 2; }
.collage-img:nth-child(3) { top: 180px; left: 50px; transform: rotate(-2deg); z-index: 3; }

.collage-img:hover {
    z-index: 10;
    transform: scale(1.05) rotate(0deg);
}

/* Image Gradients */
.img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.img-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(45, 90, 39, 0.4), transparent);
}

/* === Grid System === */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

/* === Cards === */
.eco-card {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.eco-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

/* === ROI Calculator === */
.calculator-box {
    background: var(--bg-alt);
    padding: 60px;
    border-radius: var(--radius-lg);
    max-width: 800px;
    margin: 0 auto;
}

.calc-input-group {
    margin-bottom: 24px;
}

.calc-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.calc-input-group input {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 18px;
}

.calc-result {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.result-value {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--accent);
    display: block;
}

/* === Testimonials Before/After === */
.testimonial-ba {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.ba-metrics {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.metric-item {
    padding: 20px;
    border-radius: var(--radius-md);
}

.metric-before { background: #fee2e2; }
.metric-after { background: #dcfce7; }

/* === Footer Wave === */
.wave-footer {
    position: relative;
    background: var(--bg-alt);
    padding-top: 100px;
    margin-top: 100px;
}

.footer-wave-svg {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 20px;
}

.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;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* === Sticky Bottom Banner === */
.sticky-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--accent);
    color: var(--white);
    padding: 15px 0;
    z-index: 2000;
    transition: bottom 0.5s ease;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.sticky-banner.show {
    bottom: 0;
}

.sticky-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === Trust Badges === */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(1);
    transition: all 0.3s ease;
    padding: 40px 0;
}

.trust-badges:hover {
    opacity: 1;
    filter: grayscale(0);
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
}

.badge-item i {
    font-size: 32px;
}

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

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

/* CTA Banner Mid-Page */
.cta-banner {
    background: var(--accent-soft);
    border-left: 4px solid var(--accent);
    padding: 40px;
    border-radius: var(--radius-md);
    margin: 60px 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 48px; }
}

@media (max-width: 768px) {
    .top-info-bar { display: none; }
    .grid-3, .grid-2, .hero-grid, .testimonial-ba, .footer-grid {
        grid-template-columns: 1fr;
    }
    .collage-container { height: 400px; }
    .collage-img { width: 200px; height: 250px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; }
    .hero-content { text-align: center; }
    .collage-container { margin-top: 40px; }
}
