/* ===== BASE & RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
}

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

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #059669;
    color: #fefdf8;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #059669;
}

.btn-primary:hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fefdf8;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(254, 253, 248, 0.4);
}

.btn-secondary:hover {
    border-color: rgba(254, 253, 248, 0.8);
    background: rgba(254, 253, 248, 0.1);
    transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

#navbar.scrolled .nav-link {
    color: #064e3b;
}

#navbar.scrolled .btn-primary {
    background: #059669;
    border-color: #059669;
}

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid #6ee7b7;
    border-radius: 50%;
    top: -100px;
    right: -80px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: #34d399;
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 120px;
    height: 120px;
    border: 2px solid #a7f3d0;
    border-radius: 50%;
    top: 30%;
    left: 10%;
    animation: float-slow 12s ease-in-out infinite;
}

.geo-rect-1 {
    width: 150px;
    height: 150px;
    background: #10b981;
    border-radius: 2rem;
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-rect-2 {
    width: 80px;
    height: 80px;
    border: 2px solid #6ee7b7;
    border-radius: 1rem;
    bottom: 25%;
    right: 25%;
    transform: rotate(30deg);
    animation: float-slow 14s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #34d399;
    top: 60%;
    left: 20%;
    opacity: 0.08;
    animation: float-slow 16s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

.geo-rect-1 { --rotation: 45deg; }
.geo-rect-2 { --rotation: 30deg; }
.geo-triangle { --rotation: 0deg; }

/* ===== HERO PHOTOS ===== */
.hero-photo {
    position: absolute;
    opacity: 0.2;
    pointer-events: none;
}

.hero-photo-1 {
    width: 350px;
    height: 450px;
    top: 10%;
    right: -50px;
    background: url('https://images.pexels.com/photos/20454106/pexels-photo-20454106.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=400&h=500') center/cover;
    border-radius: 2rem;
    animation: float-slow 22s ease-in-out infinite;
}

.hero-photo-2 {
    width: 250px;
    height: 300px;
    bottom: 10%;
    left: -30px;
    background: url('https://images.pexels.com/photos/4947415/pexels-photo-4947415.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=300&h=360') center/cover;
    border-radius: 1.5rem;
    animation: float-slow 18s ease-in-out infinite reverse;
}

/* ===== SCROLL REVEAL ===== */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }

    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: none;
    }
}

/* ===== MOBILE MENU ===== */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.burger-line {
    transition: all 0.3s ease;
}

#mobile-menu-btn.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .burger-line:nth-child(3) {
    width: 1.5rem;
    transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-nav-link {
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #059669;
}

/* ===== DECORATIVE DOTS ===== */
.dot-pattern {
    background-image: radial-gradient(circle, rgba(5, 150, 105, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
}
