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

:root {
    --brown-primary: #695646;
    --brown-dark: #4A3F35;
    --brown-light: #8B7A68;
    --cream: #F8F6F3;
    --cream-dark: #EDE9E3;
    --white: #FFFFFF;
    --black: #1A1410;
    --green: #3A5A2F;
    --accent: #C9A96E;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--black);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--brown-dark);
}

h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--brown-primary);
    margin-bottom: 1rem;
}

h4 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brown-dark);
}

p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--brown-dark);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(105, 86, 70, 0.1);
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--brown-dark);
}

.logo-badge {
    width: 45px;
    height: 45px;
    filter: invert(27%) sepia(16%) saturate(680%) hue-rotate(359deg) brightness(94%) contrast(88%);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    color: var(--brown-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brown-primary);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--brown-dark);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--brown-dark);
    transition: 0.3s;
}

/* Language Toggle */
.language-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--cream);
    padding: 0.25rem;
    border-radius: 4px;
}

.lang-btn {
    padding: 0.5rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brown-primary);
    background: transparent;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.05em;
}

.lang-btn:hover {
    background: rgba(105, 86, 70, 0.1);
}

.lang-btn.active {
    background: var(--brown-primary);
    color: var(--white);
}

/* Hero Section - IMPROVED */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('assets/farm 2_1761591713200.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74, 63, 53, 0.85) 0%, rgba(105, 86, 70, 0.75) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 8rem 2rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);
}

.hero-badge {
    width: 140px;
    margin: 0 auto 3rem;
    opacity: 0.95;
}

.hero-badge img {
    width: 100%;
    filter: brightness(0) invert(1);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid;
    transition: all 0.3s;
    cursor: pointer;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--white);
    color: var(--brown-dark);
    border-color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-instagram {
    background: var(--brown-dark);
    color: var(--white);
    border-color: var(--brown-dark);
}

.btn-instagram:hover {
    background: var(--brown-primary);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Story Section - DRAMATICALLY IMPROVED */
.story-section {
    padding: 8rem 0;
    background: var(--cream);
}

.story-hero-image {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
}

.story-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.story-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 6rem;
}

.story-lead {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
    font-weight: 300;
    color: var(--brown-primary);
    margin-top: 1rem;
}

.story-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--brown-primary);
    border-radius: 50%;
    border: 4px solid var(--cream);
    position: relative;
    top: 8px;
    flex-shrink: 0;
}

.timeline-marker::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, var(--brown-light), transparent);
}

.timeline-item:last-child .timeline-marker::before {
    display: none;
}

.timeline-content {
    padding: 0.5rem 0;
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Coffees Section - IMPROVED */
.coffees-section {
    padding: 8rem 0;
    background: var(--white);
}

.coffees-header {
    text-align: center;
    margin-bottom: 6rem;
}

.specialty-badge {
    width: 200px;
    height: 200px;
    margin: 0 auto 3rem;
    border: 3px solid var(--brown-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.badge-score {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 600;
    color: var(--brown-primary);
    line-height: 1;
}

.badge-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brown-light);
    margin-top: 0.5rem;
}

.section-description {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--brown-dark);
}

.coffee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.coffee-feature {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--cream);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    color: var(--brown-primary);
}

.coffee-feature h3 {
    font-size: 1.875rem;
    margin-bottom: 1.25rem;
}

.coffee-feature p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.varieties-section {
    background: var(--brown-primary);
    padding: 4rem 3rem;
    text-align: center;
    margin-top: 4rem;
}

.varieties-section h3 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.varieties-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.variety-tag {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-weight: 500;
    font-size: 1.125rem;
    transition: 0.3s;
}

.variety-tag:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Sustainability Section - IMPROVED */
.sustainability-section {
    padding: 8rem 0;
    background: var(--cream-dark);
}

.sustainability-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.section-lead {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--brown-primary);
    margin-bottom: 3rem;
}

.sustainability-features {
    margin-top: 3rem;
}

.sustainability-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
}

.sustainability-item:hover {
    background: var(--white);
    transform: translateX(10px);
}

.sus-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    color: var(--green);
}

.sustainability-item h4 {
    font-size: 1.625rem;
    color: var(--green);
    margin-bottom: 0.75rem;
}

.sustainability-image {
    height: 700px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.sustainability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Section - IMPROVED */
.gallery-section {
    padding: 8rem 0;
    background: var(--white);
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: clamp(3rem, 5vw, 4.5rem);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--cream);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

/* Store Section - IMPROVED */
.store-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-primary) 100%);
    color: var(--white);
    text-align: center;
}

.store-content {
    max-width: 800px;
    margin: 0 auto;
}

.store-content h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.coming-soon-badge {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--cream);
    margin: 2rem 0;
}

.store-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Contact Section - IMPROVED */
.contact-section {
    padding: 8rem 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-description {
    font-size: 1.25rem;
    color: var(--brown-primary);
    margin-bottom: 3rem;
}

.contact-details {
    margin-top: 3rem;
}

.detail-item {
    margin-bottom: 2.5rem;
}

.detail-item h4 {
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-links a {
    color: var(--brown-primary);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.contact-links a:hover {
    color: var(--brown-dark);
    transform: translateX(5px);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--brown-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.125rem;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    border: 2px solid var(--cream-dark);
    background: var(--cream);
    color: var(--black);
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brown-primary);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

/* Footer - IMPROVED */
.footer {
    background: var(--brown-dark);
    color: var(--cream);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 90px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-brand h3 {
    font-size: 1.625rem;
    color: var(--cream);
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: var(--cream);
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--cream);
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--brown-primary);
    transform: translateY(-3px);
}

.social-icons svg {
    width: 22px;
    height: 22px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--cream);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .sustainability-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sustainability-image {
        height: 500px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .timeline-item {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: 0.3s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        align-items: flex-start;
    }
    
    .nav-right.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .language-toggle {
        width: 100%;
        justify-content: center;
        padding: 0.5rem;
    }
    
    .lang-btn {
        flex: 1;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .coffee-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
    
    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
    }
    
    .timeline-marker::before {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .container,
    .container-wide {
        padding: 0 1.25rem;
    }
    
    .hero-container {
        padding: 6rem 1.25rem;
    }
    
    .story-section,
    .coffees-section,
    .sustainability-section,
    .gallery-section,
    .store-section,
    .contact-section {
        padding: 5rem 0;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}