/* Coffee Story Page Styles */

:root {
    --gold: #F4D35E;
    --navy: #0E1428;
    --tan: #A47864;
    --sage: #57886C;
    --cream: #F7F7FF;
    --coffee-brown: #6B4423;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: var(--spacing-xs);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-nav-list {
    display: flex;
    gap: var(--spacing-xs);
    list-style: none;
}

.floating-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--navy);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.floating-nav-link:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.nav-logo-image {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--coffee-brown) 0%, var(--tan) 100%);
    overflow: hidden;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--cream);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--gold);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.hero-decoration {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 50vw;
    height: 80vh;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.hero-birds {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Story Section */
.story-section {
    padding: var(--spacing-2xl) 0;
    background: var(--cream);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--coffee-brown);
    margin-bottom: var(--spacing-lg);
}

.section-title.centered {
    text-align: center;
}

.story-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--navy);
    margin-bottom: var(--spacing-md);
}

.story-text strong {
    color: var(--coffee-brown);
    font-weight: 600;
}

.story-image-container {
    position: relative;
}

.story-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.story-image-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.story-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Terroir Section */
.terroir-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, var(--cream) 0%, rgba(244, 211, 94, 0.1) 100%);
}

.terroir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.terroir-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terroir-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.terroir-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.terroir-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--coffee-brown);
    margin-bottom: var(--spacing-sm);
}

.terroir-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--navy);
}

/* Roast Section */
.roast-section {
    padding: var(--spacing-2xl) 0;
    background: var(--cream);
}

.roast-intro {
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--navy);
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.roast-chart-container {
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.roast-chart {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.roast-levels {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.roast-level {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.roast-level:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.roast-level.highlight {
    background: linear-gradient(135deg, rgba(244, 211, 94, 0.2) 0%, rgba(244, 211, 94, 0.05) 100%);
    border: 2px solid var(--gold);
}

.roast-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--coffee-brown);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.roast-level.highlight .roast-number {
    background: var(--gold);
    color: var(--navy);
}

.roast-info {
    flex: 1;
}

.roast-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--coffee-brown);
    margin-bottom: var(--spacing-xs);
}

.roast-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--navy);
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--cream);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
}

.footer-brand-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
}

.footer-logo-container {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 60px;
    height: 60px;
    overflow: hidden;
}

.footer-brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: center;
    text-align: center;
}

.footer-brand-name {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--cream);
    line-height: 1;
}

.footer-brand-tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.75rem, 1.25vw, 0.875rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--cream);
    line-height: 1;
}

.footer-content {
    text-align: center;
    padding-top: var(--spacing-md);
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-nav-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .nav-logo-image {
        width: 30px;
        height: 30px;
    }

    .hero {
        min-height: 60vh;
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .hero-decoration {
        width: 100vw;
        height: 60vh;
        right: -20%;
        opacity: 0.1;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .story-image-frame {
        transform: rotate(0deg);
    }

    .terroir-grid {
        grid-template-columns: 1fr;
    }

    .roast-level {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
        text-align: center;
    }

    .roast-level:hover {
        transform: translateX(0) translateY(-4px);
    }

    .footer-brand-section {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo-container {
        width: 48px;
        height: 48px;
        padding: 6px;
    }

    .footer-brand-logo {
        width: 36px;
        height: 36px;
    }

    .footer-brand-name {
        font-size: 1.125rem;
    }

    .footer-brand-tagline {
        font-size: 0.6875rem;
        letter-spacing: 0.2em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .floating-nav {
        top: var(--spacing-sm);
    }

    .floating-nav-list {
        gap: 4px;
    }

    .floating-nav-link {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .nav-logo-image {
        width: 26px;
        height: 26px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

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

.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}
.cta-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--coffee-brown) 100%);
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--cream);
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: var(--spacing-xl);
}

.cta-button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(244, 211, 94, 0.3);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(244, 211, 94, 0.5);
    background: #f9e89e;
}

