/* Variables */
:root {
    --primary: #8B0000;
    --primary-dark: #5c0000;
    --gold: #D4AF37;
    --gold-light: #f4e4a6;
    --cream: #FFF8E7;
    --dark: #1a1a1a;
    --gray: #666;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--cream);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--primary);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1482517967863-00e15c9b44be?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gold);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 3px;
}

.btn:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Snowflakes Animation */
.snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.snowflakes span {
    position: absolute;
    top: -50px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    animation: fall linear infinite;
}

.snowflakes span:nth-child(1) {
    left: 10%;
    animation-duration: 10s;
    animation-delay: 0s;
    font-size: 1.2rem;
}

.snowflakes span:nth-child(2) {
    left: 20%;
    animation-duration: 12s;
    animation-delay: 1s;
    font-size: 1.8rem;
}

.snowflakes span:nth-child(3) {
    left: 30%;
    animation-duration: 8s;
    animation-delay: 2s;
    font-size: 1rem;
}

.snowflakes span:nth-child(4) {
    left: 50%;
    animation-duration: 15s;
    animation-delay: 0.5s;
    font-size: 2rem;
}

.snowflakes span:nth-child(5) {
    left: 65%;
    animation-duration: 11s;
    animation-delay: 3s;
    font-size: 1.5rem;
}

.snowflakes span:nth-child(6) {
    left: 75%;
    animation-duration: 9s;
    animation-delay: 2s;
    font-size: 1.3rem;
}

.snowflakes span:nth-child(7) {
    left: 85%;
    animation-duration: 14s;
    animation-delay: 4s;
    font-size: 1.7rem;
}

.snowflakes span:nth-child(8) {
    left: 40%;
    animation-duration: 10s;
    animation-delay: 1.5s;
    font-size: 1.1rem;
}

.snowflakes span:nth-child(9) {
    left: 55%;
    animation-duration: 13s;
    animation-delay: 2.5s;
    font-size: 1.4rem;
}

.snowflakes span:nth-child(10) {
    left: 90%;
    animation-duration: 11s;
    animation-delay: 0.5s;
    font-size: 1.6rem;
}

@keyframes fall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* Section Titles */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Collection Section */
.collection {
    padding: 100px 0;
    background: var(--white);
}

.buches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.buche-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.buche-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.buche-card:hover .buche-image img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
}

.badge.new {
    background: var(--gold);
    color: var(--dark);
}

.badge.premium {
    background: linear-gradient(135deg, #D4AF37, #f4d03f);
    color: var(--dark);
}

.buche-info {
    padding: 25px;
}

.buche-info h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.buche-info p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.buche-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.servings {
    font-size: 0.85rem;
    color: var(--gray);
    background: var(--cream);
    padding: 5px 12px;
    border-radius: 20px;
}

/* À Propos Section */
.apropos {
    padding: 100px 0;
    background: var(--cream);
}

.apropos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.apropos-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.apropos-text p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.features {
    list-style: none;
    margin-top: 30px;
}

.features li {
    padding: 10px 0;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
}

.apropos-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--primary);
    color: var(--white);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.7;
}

.testimonial cite {
    color: var(--gold);
    font-style: normal;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.contact-form .btn {
    align-self: flex-start;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.footer-brand p {
    color: #999;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .apropos-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .apropos-image {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links,
    .footer-social {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
}