:root {
    --primary-color: #3E2723; /* Dark coffee */
    --secondary-color: #795548; /* Medium brown */
    --accent-color: #BCAAA4; /* Light taupe */
    --dark-accent: #212121; /* Almost black */
    --background: #FFFFFF; /* White background */
    --light-bg: #F5F5F5; /* Very light gray */
    --text-color: #212121;
    --text-secondary: #757575;
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background);
    line-height: 1.6;
    font-weight: 300;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

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

/* HEADER AND NAVIGATION */
header {
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    padding: 0 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: var(--transition);
}

/* HERO SECTION */
.hero {
    height: 80vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
}

.hero-content {
    max-width: 800px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* PARTNERS SECTION */
.partners-section {
    background-color: var(--light-bg);
    padding: 3rem 0;
}

.partners-section h3 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
}

.inspiration-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.inspiration-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.inspiration-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    word-break: break-all;
}

.inspiration-text a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* MAIN SECTIONS */
.main-section, .cuisine-section {
    padding: 6rem 0;
    background-color: var(--background);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* CARDS */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card-img {
    height: 220px;
    background-color: var(--light-bg);
    background-size: cover;
    background-position: center;
}

#origins-img {
    background-image: url('../images/origins.jpg');
}

#varieties-img {
    background-image: url('../images/varieties.jpg');
}

#brewing-img {
    background-image: url('../images/brewing.jpg');
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

/* CUISINE SECTION */
.cuisine-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background-color: var(--white);
}

.cuisine-text p {
    margin-bottom: 1.5rem;
}

.cuisine-img {
    height: 400px;
    background-color: var(--light-bg);
    background-size: cover;
    background-position: center;
    border-radius: 0;
    box-shadow: none;
}

/* NEWSLETTER */
.newsletter {
    background-color: var(--dark-accent);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
}

.newsletter-form button {
    border: none;
    cursor: pointer;
}

/* FOOTER */
footer {
    background-color: var(--dark-accent);
    color: var(--white);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    margin-bottom: 1rem;
}

.footer-links h3, .footer-social h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

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

.footer-links a {
    text-decoration: none;
    color: var(--white);
    display: inline-block;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

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

/* RESPONSIVE DESIGN */
@media screen and (max-width: 768px) {
    nav {
        padding: 1rem 8%;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 8vh;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        height: 92vh;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
    }
    
    .nav-links li {
        opacity: 0;
        padding: 2rem 0;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .cuisine-content {
        grid-template-columns: 1fr;
    }
    
    .cuisine-img {
        order: -1;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* CONTACT PAGE */
.contact-section {
    padding: 8rem 0 5rem;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

textarea.form-control {
    height: 150px;
    resize: none;
}

/* MENTIONS LEGALES */
.legal-section {
    padding: 8rem 0 5rem;
}

.legal-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.legal-content h3 {
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
}

.legal-content p, .legal-content ul {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
}
