/* Base styles and custom properties */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;
    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
    --cream-200: #faf3e0;
    --cream-300: #f5e9c8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #fefdf8;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(254, 253, 248, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 95, 70, 0.08);
}

.navbar.scrolled {
    background: rgba(254, 253, 248, 0.97);
    box-shadow: 0 4px 30px rgba(6, 95, 70, 0.08);
}

/* Mobile menu */
#mobileMenu {
    max-height: 0;
}

#mobileMenu.open {
    max-height: 400px;
}

.mobile-link {
    display: block;
    padding: 8px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fefdf8 0%, #d1fae5 50%, #a7f3d0 100%);
    position: relative;
}

.hero-content {
    opacity: 1;
    transform: none;
}

.hero-image {
    opacity: 1;
    transform: none;
}

/* Hero decorative shapes */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 95, 70, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
    border-radius: 50%;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(52, 211, 153, 0.15);
    border-radius: 24px;
    top: 25%;
    right: 5%;
    transform: rotate(45deg);
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(6, 95, 70, 0.1) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    bottom: 15%;
    left: 5%;
    opacity: 0.6;
}

/* Clip diagonals */
.clip-diagonal {
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.clip-diagonal-reverse {
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Part cards */
.part-card {
    transform: translateY(0);
}

.part-card:hover {
    transform: translateY(-4px);
}

/* Service cards */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Scroll reveal animations (below fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .part-card:hover,
    .service-card:hover {
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
    
    .animate-pulse {
        animation: none;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image .relative {
        aspect-ratio: 4/3;
    }
    
    .about-images {
        margin-bottom: 2rem;
    }
    
    .about-images .grid {
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .font-display.font-bold.text-4xl {
        font-size: 2rem;
    }
}
