/* Base */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f3e9;
    color: #3a2e1f;
}

a {
    color: #8b5e34;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background: #8b5e34;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.header-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f7f3e9;
    color: #8b5e34;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
/* Conteneur du logo */
.logo-container {
    width:  350px;          /* Ajuste la taille du logo */
    height: 100px;
    margin-right: 12px;   /* Espace entre le logo et le texte */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image du logo */
.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* Empêche la déformation */
    display: block;
}

header h1 {
    margin: 0;
    font-size: 20px;
}

header p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

nav a {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

nav a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
}

/* Sections */
.section-title {
    font-size: 26px;
    margin-bottom: 20px;
    border-left: 6px solid #8b5e34;
    padding-left: 10px;
}

.home-section {
    margin-bottom: 30px;
}

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

/* Hero */
.hero {
    background: url('assets/hero.jpg') center/cover no-repeat, #d9c2a3;
    padding: 60px 0;
    color: white;
}

.hero-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 16px;
    max-width: 600px;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #8b5e34;
    color: white;
}

.btn-secondary {
    background: #f7f3e9;
    color: #8b5e34;
    border: 1px solid #8b5e34;
}

.btn-primary:hover,
.btn-secondary:hover {
    opacity: 0.9;
}

/* Links */
.link-more {
    font-weight: bold;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: 200px;        /* Ajuste selon la hauteur désirée */
    object-fit: cover;    /* Coupe proprement sans déformer */
    border-radius: 6px;
}

.card-content {
    padding: 15px;
}

.card-content h4 {
    margin-top: 0;
    margin-bottom: 8px;
}

.card-note {
    font-size: 13px;
    color: #6b5a3d;
}

/* About */
.about-section {
    margin-bottom: 25px;
}

.about-section.highlight {
    background: #f0e3cf;
    padding: 15px;
    border-radius: 6px;
}

/* Products */
.product-section {
    margin-bottom: 35px;
}

.info-section {
    background: #f0e3cf;
    padding: 15px;
    border-radius: 6px;
}

/* Contact */
.contact-section {
    max-width: 700px;
}

.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li {
    margin-bottom: 8px;
}

.contact-form {
    margin-top: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #c2b39b;
    font-family: inherit;
}

.form-note {
    font-size: 12px;
    color: #6b5a3d;
    margin-top: 8px;
}

/* Footer */
footer {
    background: #8b5e34;
    color: white;
    padding: 15px 0;
    margin-top: 40px;
}

.footer-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 13px;
    text-align: center;
}

/* Responsive */
@media (max-width: 700px) {
    nav {
        margin-top: 10px;
    }

    nav a {
        display: inline-block;
        margin: 5px 8px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h2 {
        font-size: 26px;
    }
}
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: 800px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; /* 3 slides = 300% */
}

.carousel-slide {
    min-width: 100%; /* OBLIGATOIRE */
    height: 400px;   /* Ajuste selon ta hauteur */
    position: relative;
}

.carousel-slide img {
    width: 40%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 15px;
    border-radius: 6px;
    max-width: 40%;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-nav button {
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
}