/* ============================================
   GREEN ZONE LAB - Clean Corporate Theme
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Light, professional palette */
    --color-bg: #fafaf8;
    --color-bg-elevated: #ffffff;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #f5f5f3;
    --color-bg-subtle: #f0f0ed;

    --color-text-primary: #1a1f1c;
    --color-text-secondary: #4a524d;
    --color-text-muted: #7a837d;

    --color-accent: #3d6b4f;
    --color-accent-light: #4a7d5e;
    --color-accent-dark: #2d5140;
    --color-accent-bg: rgba(61, 107, 79, 0.08);

    --color-border: rgba(26, 31, 28, 0.1);
    --color-border-hover: rgba(26, 31, 28, 0.2);

    /* Typography */
    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.8s;

    /* Layout */
    --container-max: 1200px;
    --container-padding: clamp(1.5rem, 5vw, 3rem);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   AMBIENT BACKGROUND (Subtle)
   ============================================ */

.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(61, 107, 79, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(61, 107, 79, 0.1) 0%, transparent 70%);
    bottom: 20%;
    left: -150px;
}

.blob-3 {
    display: none;
}

.noise-overlay {
    display: none;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    background: transparent;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.nav.scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--color-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-img {
    width: 200px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) var(--ease-out-quart);
}

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

.nav-link-cta {
    padding: 0.625rem 1.25rem;
    background: var(--color-accent);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 500;
}

.nav-link-cta:hover {
    background: var(--color-accent-light);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-primary);
    transition: transform var(--duration-fast) var(--ease-out-quart);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: var(--space-lg);
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding: calc(80px + var(--space-xl)) var(--container-padding) var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: var(--color-accent-bg);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
}

.hero-title-accent {
    font-weight: 600;
    color: var(--color-accent);
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.hero-tagline-large {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 480px;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(61, 107, 79, 0.1), transparent);
}

.floating-card {
    position: absolute;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.floating-card-1 {
    bottom: var(--space-lg);
    left: -20px;
}

.floating-card-2 {
    top: var(--space-lg);
    right: -20px;
}

.floating-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-accent);
}

.floating-icon {
    font-size: 1.25rem;
}

.floating-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.btn-primary {
    background: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61, 107, 79, 0.3);
}

.btn-primary svg {
    transition: transform var(--duration-fast) var(--ease-out-quart);
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    background: var(--color-bg-subtle);
    border-color: var(--color-border-hover);
}

.btn-full {
    width: 100%;
}

/* ============================================
   SECTION LABELS & TITLES
   ============================================ */

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.section-title-large {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1;
    color: var(--color-accent);
}

.section-description {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header .section-description {
    margin: 0 auto;
}

/* ============================================
   SERVICES INTRO SECTION
   ============================================ */

.services-intro {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-elevated);
}

.services-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: end;
}

.services-intro-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.services-intro-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    font-size: 0.75rem;
    color: white;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.service-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-bg);
    border-radius: var(--radius-md);
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.service-description {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
    transition: gap var(--duration-fast) var(--ease-out-quart);
}

.service-link:hover {
    gap: var(--space-sm);
}

/* Service Card with Image */
.service-card-featured {
    overflow: hidden;
}

.service-image {
    margin: calc(-1 * var(--space-lg));
    margin-bottom: var(--space-md);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    background: var(--color-bg-subtle);
}

.service-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform var(--duration-normal) var(--ease-out-quart);
}

.service-card-featured:hover .service-image img {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .service-image {
        margin: calc(-1 * var(--space-md));
        margin-bottom: var(--space-sm);
    }

    .service-image img {
        height: 140px;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-elevated);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-description {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-bg);
    border-radius: var(--radius-md);
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.contact-item-value {
    font-size: 1rem;
    color: var(--color-text-primary);
}

.contact-email {
    transition: color var(--duration-fast);
}

.contact-email:hover {
    color: var(--color-accent);
}

/* Contact Image */
.contact-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-collage {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

/* Contact Form (deprecated) */
.contact-form-wrapper {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color var(--duration-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */

.clients {
    padding: var(--space-2xl) 0;
    background: var(--color-bg);
}

.clients-content {
    text-align: center;
}

.clients-label {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.client-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast);
    min-width: 180px;
    min-height: 110px;
}

.client-logo:hover {
    border-color: var(--color-accent);
}

.client-logo img {
    height: 50px;
    width: auto;
    opacity: 0.8;
    transition: opacity var(--duration-fast);
}

.client-logo:hover img {
    opacity: 1;
}

.client-name {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Text-only client logo */
.client-logo-text {
    /* inherits size from .client-logo */
}

.client-name-main {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: 0.02em;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: var(--space-xl) 0 var(--space-md);
    background: var(--color-bg-subtle);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: color var(--duration-fast);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ============================================
   ANIMATIONS - Reveal Effects
   ============================================ */

.reveal-up {
    opacity: 0;
    transform: translateY(20px);
    animation: revealUp 0.6s var(--ease-out-expo) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.98);
    animation: revealScale 0.8s var(--ease-out-expo) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes revealScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        min-height: auto;
        padding-top: 120px;
    }

    .hero-visual {
        height: 360px;
        order: -1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    :root {
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }

    .hero-visual {
        height: 280px;
    }

    .floating-card {
        display: none;
    }

    .service-card {
        padding: var(--space-md);
    }

    .contact-form-wrapper {
        padding: var(--space-md);
    }
}