@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
    --brown: #78350f;
    --cream: #fefce8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #fafaf9;
    color: #292524;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
.nav-link {
    position: relative;
    color: #57534e;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #78350f;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #78350f;
    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, #f5f5f4 0%, #fefaf3 50%, #fef3c7 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: #78350f;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #92400e;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(120, 53, 15, 0.2);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 48px;
    background: transparent;
    color: #78350f;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid #78350f;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    background: #78350f;
    color: white;
}

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

.btn-white:hover {
    background: #fef3c7;
}

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

.btn-small:hover {
    background: #78350f;
    color: white;
}

.btn-quick {
    padding: 12px 24px;
    background: #78350f;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-quick:hover {
    background: #92400e;
}

/* Bean Cards */
.bean-card {
    transition: all 0.4s ease;
}

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

.bean-overlay {
    position: absolute;
    inset: 0;
    background: rgba(254, 243, 199, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 8px;
}

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

/* Subscription Cards */
.sub-card {
    transition: all 0.4s ease;
}

.sub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Process Steps */
.process-step {
    transition: all 0.4s ease;
}

.process-step:hover {
    transform: translateY(-4px);
}

.process-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fef3c7;
    font-weight: 700;
}

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

input:focus, select:focus, textarea:focus {
    border-color: #78350f !important;
    box-shadow: 0 0 0 3px rgba(120, 53, 15, 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, .btn-secondary {
        padding: 14px 32px;
    }
}
