@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Karla:wght@300;400;500;600&display=swap');

:root {
    --sage: #9CA986;
    --sage-dark: #7A8B6E;
    --sage-light: #E8EDE3;
    --beige: #F5F1E8;
    --beige-dark: #E8DFD0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Karla', sans-serif;
    background-color: #ffffff;
    color: #374151;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

/* Custom colors */
.bg-sage-50 { background-color: #E8EDE3; }
.bg-sage-100 { background-color: #D4DFCA; }
.bg-sage-500 { background-color: #9CA986; }
.bg-sage-600 { background-color: #7A8B6E; }
.bg-beige-50 { background-color: #F5F1E8; }
.bg-beige-400 { background-color: #D4C4A8; }

.text-sage-500 { color: #9CA986; }
.text-sage-600 { color: #7A8B6E; }

.border-sage-100 { border-color: #D4DFCA; }
.border-sage-200 { border-color: #C4D4B8; }
.border-sage-300 { border-color: #B4C4A0; }
.border-sage-400 { border-color: #9CA986; }

/* Navigation */
.nav-link {
    position: relative;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #7A8B6E;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #7A8B6E;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #E8EDE3 0%, #ffffff 50%, #F5F1E8 100%);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.animate-slideUp {
    animation: slideUp 1.2s ease-out forwards;
    opacity: 0;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 16px 48px;
    background: #7A8B6E;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #9CA986;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(122, 139, 110, 0.2);
}

.btn-secondary {
    padding: 12px 24px;
    background: white;
    color: #7A8B6E;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid #7A8B6E;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #7A8B6E;
    color: white;
}

.btn-small {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #9CA986;
    color: #7A8B6E;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: #7A8B6E;
    color: white;
}

/* Product Cards */
.product-card {
    transition: all 0.4s ease;
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

/* Ingredient Cards */
.ingredient-card {
    transition: all 0.4s ease;
}

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

/* Routine Steps */
.routine-step {
    position: relative;
}

.routine-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: #E8EDE3;
    font-weight: 300;
    z-index: 0;
}

.routine-icon {
    position: relative;
    z-index: 1;
}

.routine-step img {
    transition: transform 0.4s ease;
}

.routine-step:hover img {
    transform: scale(1.05);
}

/* Form Styles */
input, select, textarea {
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: #7A8B6E !important;
    box-shadow: 0 0 0 3px rgba(122, 139, 110, 0.1);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Mobile Menu */
#mobileMenu {
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .btn-primary {
        padding: 14px 32px;
    }
    
    .routine-number {
        font-size: 3rem;
    }
}
