@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');


:root {
    --primary-color: #2c5530;
    --secondary-color: #8b4513;
    --text-color: #333;
    --background-color: #fff;
    --accent-color: #f8f9fa;
    --spacing-unit: 2rem;
}

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

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

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

.header {
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--spacing-unit);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .logo-img {
        height: 32px;
    }
    .logo-text {
        font-size: 1rem;
    }
    .logo-header {
        gap: 0.4rem;
    }
}


.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(44, 85, 48, 0.10);
    background: #fff;
    transition: transform 0.2s;
}

.site-logo:hover {
    transform: scale(1.07) rotate(-3deg);
    box-shadow: 0 4px 16px rgba(44, 85, 48, 0.18);
}

.logo-container .logo {
    font-size: 1.7rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .logo-container .logo {
        font-size: 1.1rem;
    }
    .site-logo {
        width: 46px;
        height: 46px;
    }
    .logo-container {
        gap: 0.5rem;
    }
}


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

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

.mobile-menu-btn {
    display: none;
}

.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 60px;
}

.hero-content {
    max-width: 800px;
    padding: 0 var(--spacing-unit);
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-content .subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

/* Product Hero Section */
.product-hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    padding-top: 60px;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.product-hero .hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 800px;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.product-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.product-hero p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.product-details {
    padding: var(--spacing-unit) 0;
    background-color: var(--accent-color);
}

.product-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-unit);
}

.product-info-grid.small-wood {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid var(--accent-color);
}

.product-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.gallery-thumbs img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.product-description {
    background-color: white;
    padding: var(--spacing-unit);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.product-description h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.product-description ul {
    list-style: none;
    margin-bottom: 2rem;
}

.product-description li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-description li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.pricing-table {
    background-color: var(--accent-color);
    border-radius: 8px;
    overflow: hidden;
    margin: 2rem 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #ddd;
}

.price-row:last-child {
    border-bottom: none;
}

.delivery-info,
.seasonal-info {
    background-color: var(--accent-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.delivery-info h3,
.seasonal-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.products-showcase {
    padding: var(--spacing-unit) 0;
    background-color: var(--accent-color);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-unit);
    color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-unit);
    margin-top: var(--spacing-unit);
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.bois-image {
    background-image: url('images/bois.webp');
}

.oeufs-image {
    background-image: url('images/oeufs.webp');
}

.product-info {
    padding: var(--spacing-unit);
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-features {
    list-style: none;
    margin: 1rem 0;
}

.product-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.btn-product {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.btn-product:hover {
    background-color: #1a331d;
}

.values-section {
    padding: calc(var(--spacing-unit) * 2) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-unit);
}

.value-card {
    text-align: center;
    padding: var(--spacing-unit);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-section {
    background-color: var(--accent-color);
    padding: calc(var(--spacing-unit) * 2) 0;
}

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

.contact-info {
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row.address-row {
    grid-template-columns: 3fr 1fr;
}

.form-row.postal-row {
    grid-template-columns: 1fr 2fr;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group .input-hint {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.3rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 85, 48, 0.2);
}

.form-section-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #1a331d;
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-unit);
    text-align: center;
}

.alert {
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 5px;
    text-align: center;
}

.alert p {
    margin: 0;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    color: #2e7d32;
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 1px solid #F44336;
    color: #c62828;
}

.promo-box {
    background-color: rgba(44, 85, 48, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.promo-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.promo-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.promo-content p {
    margin: 0;
    line-height: 1.5;
}

/* Styles pour la section d'information sur les stères */
.info-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

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

.info-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
    color: #2C5E1A;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

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

.info-card ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.info-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.info-image {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.info-image:hover img {
    transform: scale(1.05);
}

.info-link {
    color: #2C5E1A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #1a3a0f;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-color);
        padding: 0;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease-in-out;
        height: 0;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        height: auto;
        padding: 1rem;
    }

    .nav-links a {
        padding: 1rem;
        width: 100%;
        text-align: center;
        transform: translateY(-20px);
        opacity: 0;
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active a {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links a:nth-child(4) { transition-delay: 0.4s; }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .mobile-menu-btn.active {
        transform: rotate(90deg);
    }

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

    .product-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-info-grid.small-wood {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid var(--accent-color);
    }

    .product-image-gallery {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }

    .gallery-thumbs {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .gallery-thumbs img {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }

    .product-description {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

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

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-row,
    .form-row.address-row,
    .form-row.postal-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .promo-box {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .promo-icon {
        margin-bottom: 0.5rem;
    }

    .info-container {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}
