/* === BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

: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: #fffcf5;
    --cream-100: #fdf6e3;
    --cream-200: #faedcc;
    --cream-300: #f5e6b7;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream-50);
    color: var(--emerald-950);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* === BUTTONS === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--emerald-600);
    color: #fffcf5;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--emerald-700);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    border: 2px solid var(--emerald-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--emerald-100);
    border-color: var(--emerald-500);
    transform: translateY(-2px);
}

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

#navbar.scrolled {
    background: rgba(255, 252, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(2, 44, 34, 0.08);
}

.nav-link {
    position: relative;
}

/* === MOBILE MENU === */
#mobile-menu {
    background: var(--cream-50);
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

.mobile-nav-link {
    font-family: 'Playfair Display', serif;
}

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

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

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

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

/* === GEO BLOBS === */
.geo-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--emerald-200);
    top: 10%;
    left: -100px;
    animation: float-blob 20s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--cream-300);
    top: 40%;
    right: -50px;
    animation: float-blob 15s ease-in-out infinite reverse;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: var(--emerald-100);
    bottom: 20%;
    left: 20%;
    animation: float-blob 18s ease-in-out infinite;
}

.blob-4 {
    width: 150px;
    height: 150px;
    background: var(--emerald-300);
    top: 60%;
    right: 30%;
    animation: float-blob 12s ease-in-out infinite reverse;
}

@keyframes float-blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* === HERO FLOATING CARDS === */
.hero-float-card {
    animation: float 6s ease-in-out infinite;
}

.card-main {
    animation-delay: 0s;
}

.card-1 {
    animation-delay: -2s;
}

.card-2 {
    animation-delay: -4s;
}

.card-3 {
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}

/* === SCROLL INDICATOR === */
.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--emerald-400), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.6); }
}

/* === ABOUT SECTION === */
.about-img-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(2, 44, 34, 0.15);
}

.about-geo {
    animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === COLLECTION CARDS === */
.collection-card {
    transition: transform 0.4s ease;
}

.collection-card:hover {
    transform: translateY(-8px);
}

/* === EXPERIENCE CARDS === */
.experience-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* === SCROLL REVEAL (progressive enhancement) === */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-float-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        animation: none !important;
    }
    
    .hero-float-card + .hero-float-card {
        margin-top: 1rem;
    }
    
    .hero-float-card .card-1,
    .hero-float-card .card-2,
    .hero-float-card .card-3 {
        margin-bottom: 0.75rem;
    }
    
    #hero {
        padding-top: 6rem;
    }
    
    .blob-1, .blob-2, .blob-3, .blob-4 {
        display: none;
    }
}

/* === SELECTION === */
::selection {
    background: var(--emerald-200);
    color: var(--emerald-950);
}

/* === FOCUS === */
:focus-visible {
    outline: 3px solid var(--emerald-400);
    outline-offset: 2px;
    border-radius: 4px;
}
