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

body {
    width: 100%;
    margin: 0 auto;
    font-family: 'Merriweather', serif;
    background-color: #1B3A2F;
    color: #F4F1E6;
    font-size: 16px;
}

header {
    margin-bottom: 20px;
    padding: 15px 10px;
    border-bottom: 1px solid #A88B59;
}

h1, h2, h3 {
    font-family: 'Cinzel Decorative', serif;
    color: #C5A77B;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1B3A2F;
    padding: 0 1rem;
    position: relative;
    z-index: 1001;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.logo img {
    width: 75px;
    height: 75px;
}

.burger {
    display: block;
    font-size: 2rem;
    color: #F4F1E6;
    cursor: pointer;
}

.nav-links {
    display: none;
    flex-direction: column;
    background-color: #2A4840;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 0 8px;
    list-style: none;
    margin: 0;
    gap: 2rem;
}

.nav-links.show {
    display: flex;
}

.nav-links li a {
    color: #F4F1E6;
    text-decoration: none;
    font-weight: bold;
}

.dropdown {
    position: relative;
}

.arrow {
    font-size: 0.7em;
    margin-left: 5px;
}

.dropdown-menu {
    position: static;
    background-color: transparent;
    list-style: none;
    padding-left: 1rem;
    margin: 0;
    display: none;
    min-width: 150px;
}

.dropdown.show .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.3rem 0;
    color: #F4F1E6;
}

.dropdown-menu li a:hover {
    background-color: #5A3E36;
}

.dropdown > a::after {
    content: none;
}

.headerBackground {
    position: relative;
    height: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.headerBackground::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/insta.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: -1;
}

.headerBackground h1{
    margin: 0;
}
.tagline {
    font-size: 14px;
    color: #e8e5dd;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

.highlight {
    font-size: 16px;
    text-align: center;
    margin: 20px 0;
    color: #e8e5dd;
}

.featured {
    margin: 25px 0;
}

.product-main {
    display: flex;
    margin: auto;
    background-color: #2A4840;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    overflow: hidden;
    border: 1px solid #A88B59;
    width: 90%;
}

.product-image {
    width: 40%;
    min-height: 180px;
    background-color: #3C6E5D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #e8e5dd;
}

.product-details {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-description {
    margin-bottom: 10px;
    margin-left: 10px;
    line-height: 1.4;
    color: #e8e5dd;
    font-size: 13px;
}

.btn {
    display: inline-block;
    padding: 7px 15px;
    background-color: #0A5F44;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    align-self: flex-end;
    width: 100px;
    text-align: center;
}

.btn:hover {
    background-color: #116d4f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.7rem;
    margin-top: 3.4rem;
    text-align: center;
}

.product-card {
    background-color: #2A4840;
    width: 80%;
    margin: 0 auto;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border: 1px solid #A88B59;
}

.product-card-image {
    width: 80%;
    height: 140px;
    background-color: #3C6E5D;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #e8e5dd;
    border-radius: 6px;
}

.product-card-image img {
    height: 140px;
    width: 100%

}

.product-card-title {
    font-weight: bold;
    margin-bottom: 6px;
    color: #C5A77B;
    font-family: 'Cinzel Decorative', serif;
    font-size: 16px;
}

.product-card-price {
    color: #e8e5dd;
    font-size: 14px;
}

.btn-small {
    width: 60%;
    margin: 10px auto 0;
    padding: 5px 10px;
    font-size: 12px;
    display: block;
}

.beforeFooterText {
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    padding: 15px 0;
    border-top: 1px solid #A88B59;
}

.contactLink  {
    color: #C5A77B;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contactLink:hover {
    color: #C5A77B;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* début footer */
.footer {
    background-color: #2A2A2A;
    color: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.first-bloc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
}

.footer-nav {
    text-align: right;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 15px;
    font-size: 0.7rem;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 175px;
}

.footer-links li {
    white-space: nowrap;
}

.footer-copyright {
    color: #ffffff;
    font-size: 0.7rem;
    align-self: center;
}

/*fin footer */

/* debut dev tablette */
@media (min-width: 768px) and (max-width: 834px) {
    .headerBackground {
        height: 300px;
        width: 100%;
        margin: 0 auto;
        border-radius: 4px;
    }

    .headerBackground::before {
        border-radius: 4px;
        background-position: center 30%;
    }

    .headerBackground h1 {
        font-size: 32px;
    }

    .tagline {
        font-size: 18px;
        max-width: 80%;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .highlight {
        font-size: 20px;
        margin: 30px 0;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        width: 90%;
        margin: 3.4rem auto 0;
    }

    .product-card {
        width: 100%;
    }

    .product-card-title {
        font-size: 18px;
    }

    .product-card-price {
        font-size: 16px;
    }

    .product-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .btn {
        font-size: 16px;
        width: 120px;
        padding: 10px 15px;
    }

    .btn-small {
        width: 65%;
        font-size: 14px;
        padding: 8px 12px;
    }

    .beforeFooterText {
        font-size: 18px;
        padding: 25px 0;
        margin-top: 40px;
    }

    .footer-logo img {
        width: 75px;
        height: 75px;
    }

    .footer-links {
        font-size: 1rem;
        width: 200px;
    }

    .footer-copyright {
        font-size: 1rem;
    }
}

/* fin dev tablette */

/* debut dev pc */
@media (min-width: 835px) {
    .burger {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        background-color: transparent;
        position: static;
        width: auto;
        padding: 0;
        border-radius: 0;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #3C6E5D;
        padding: 0.5rem 0;
        display: none;
        border-radius: 5px;
        z-index: 99;
    }

    .dropdown-menu li a {
        padding: 0.5rem 1rem;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .headerBackground {
        height: 400px;
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        border-radius: 6px;
    }

    .headerBackground::before {
        border-radius: 6px;
        background-position: center 25%;
    }

    .headerBackground h1 {
        font-size: 42px;
    }

    .tagline {
        font-size: 22px;
        max-width: 70%;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .highlight {
        font-size: 24px;
        margin: 40px 0;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 3rem;
        width: 85%;
        margin: 4rem auto 0;
    }

    .product-card {
        width: 100%;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .product-card-title {
        font-size: 22px;
    }

    .product-card-price {
        font-size: 20px;
    }

    .product-description {
        font-size: 18px;
        line-height: 1.7;
    }

    .btn {
        font-size: 18px;
        width: 140px;
        padding: 12px 20px;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .btn:hover {
        transform: translateY(-2px);
    }

    .btn-small {
        width: 60%;
        font-size: 16px;
        padding: 10px 15px;
    }

    .beforeFooterText {
        font-size: 22px;
        padding: 35px 0;
        max-width: 1200px;
        margin: 60px auto 30px auto;
    }

    .footer-logo img {
        width: 60px;
        height: 60px;
    }

    .footer-links {
        font-size: 0.8rem;
        width: 250px;
        gap: 25px;
    }

    .footer-copyright {
        font-size: 0.8rem;
        margin-top: 20px;
    }

}