
:root {
    --or: #D4AF37;
    --vert: #0B3D20;
    --rouge: #8B0000;
    --creme: #FDF8F0;
    --noir: #1A1A1A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', serif;
}

body {
    background: linear-gradient(135deg, rgba(91, 126, 136, 0.9), rgba(132, 120, 89, 0.9), rgba(93, 64, 116, 0.9)),
                url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4') center/cover no-repeat;
    color: var(--noir);
    min-height: 100vh;
}

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


.navbar {
    background: linear-gradient(90deg, var(--vert), var(--rouge), var(--or));
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: bold;
    transition: 0.3s;
    border-bottom: 2px solid var(--or);
    padding-bottom: 3px;
}

.navbar a:hover {
    color: var(--or);
}

.titre {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #0B3D20, #8B0000, #D4AF37);
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.titre img {
    width: 300px;
    max-width: 100%;
    height: auto;
    filter: brightness(1.1);
    border-radius: 10px;
}

.titre h3 {
    color: white;
    font-size: clamp(14px, 2vw, 18px);
    text-shadow: 1px 1px 4px black;
}

.titre h3 i {
    color: var(--or);
}

.header {
    text-align: center;
    padding: 30px 20px;
    flex: 1;
    min-width: 200px;
}

.header h1 {
    font-size: clamp(24px, 5vw, 50px);
    color: var(--or);
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px black;
}

.header p {
    font-size: clamp(14px, 2.5vw, 20px);
    color: white;
    text-shadow: 1px 1px 4px black;
}
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 50px 5%;
}

.carte {
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid var(--or);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.carte:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(139, 0, 0, 0.3);
}

.carte h3 {
    color: var(--rouge);
    font-size: clamp(20px, 2.5vw, 24px);
    margin-bottom: 5px;
}

.carte img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--creme);
}

.region {
    color: var(--vert);
    font-style: italic;
    font-weight: bold;
    font-size: clamp(13px, 1.5vw, 15px);
}

.carte p {
    font-size: clamp(13px, 1.5vw, 15px);
    line-height: 1.6;
}

.prix {
    color: var(--or);
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: bold;
    align-self: flex-end;
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--or), #FFD700);
    color: var(--vert);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
}

.fleches {
    display: none; 
}


footer {
    background: linear-gradient(90deg, #1a1a2e, #16213e, #0f3460);
    color: #e0e0e0;
    font-size: clamp(12px, 1.2vw, 14px);
    text-align: center;
    padding: 30px 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-top: 3px solid var(--or);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

footer p {
    margin: 0;
    line-height: 1.6;
}

footer p:first-child {
    font-size: clamp(13px, 1.3vw, 15px);
    font-weight: bold;
    color: var(--or);
}

footer .social-icons {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
    margin: 5px 0;
}

footer .social-icons span {
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
}

footer .social-icons span:hover {
    transform: scale(1.2);
    color: var(--or);
}

footer .payment-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: clamp(11px, 1vw, 13px);
}

footer .copyright {
    font-size: clamp(10px, 0.9vw, 12px);
    color: #888;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    width: 100%;
}

@media screen and (max-width: 900px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 30px 3%;
        gap: 20px;
    }

    .header {
        padding: 40px 15px;
    }

    .carte img {
        height: 200px;
    }
}


@media screen and (max-width: 580px) {
    .container {
        grid-template-columns: 1fr;
        padding: 20px 15px;
        gap: 20px;
    }

    .navbar {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .navbar a {
        margin: 3px 0;
        font-size: 15px;
    }

    .titre img {
        width: 200px;
    }

    .header {
        padding: 30px 15px;
    }

    .carte {
        padding: 18px;
    }

    .carte img {
        height: 180px;
    }
}

@media screen and (max-width: 400px) {
    .container {
        padding: 15px 10px;
    }

    .carte img {
        height: 150px;
    }

    .carte {
        padding: 12px;
    }
}
