html{
    --font-celtic:'Celtic', Arial, sans-serif;
    --font-arial:'Arial Rounded', Arial, sans-serif;
    --btn-color: #996533;
    --bg-color-brown: #996533;
    --white: #ffffff;
    --black: #000000;
    --dark-primary: #7a502a;
    --light-primary: #c49b76;
}

@font-face {
    font-family: 'Celtic';
    src: url('../fonts/CELTG___.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Arial Rounded';
    src: url('../fonts/arlrdbd.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


header {
    color: var(--dark-primary);
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

h1 {
    font-family: var(--font-celtic);
    font-size: 2.5rem;
    margin: 0;
}

.wrap-container{
    display: flex;
    align-items: center;
    
}

.container {
    width: 70%;
    padding: 0 20px;
    margin-top: 4rem;
}

.container-img{
    width: 30%;
}

.rubriques-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.rubrique-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    height: 35vh;
}

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

.rubrique-img {
    width: 300px;
    min-width: 400px;
    background-size: cover;
    background-position: center;
}
/*300/200*/
.alimentation {
    background-image: url('/assets/images/chiot-bois.webp');
}

.sante {
    background-image: url('/assets/images/chien_sante.png');
}

.reproduction {
    background-image: url('/assets/images/illustration-faire-fête.png');
}

.sociabilisation {
    background-image: url('/assets/images/J\'ai\ une\ tonnede\ potes.jpg');
}

.rubrique-content {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rubrique-content h2 {
    color: var(--dark-primary);
    font-family: var(--font-celtic);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.rubrique-content p {
    margin-bottom: 20px;
}


/* Media Query pour Tablette */
@media (max-width: 992px) {
    .wrap-container {
        flex-direction: column;
    }
    
    .container {
        width: 100%;
        padding: 0 15px;
        margin-top: 2rem;
        order: 2;
    }
    
    .container-img {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        order: 1;
    }
    
    .rubrique-img {
        width: 250px;
        min-width: 250px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .rubrique-content h2 {
        font-size: 1.6rem;
    }
}

/* Media Query pour Mobile */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 10px;
        margin-top: 1.5rem;
    }
    
    .rubriques-list {
        gap: 20px;
    }
    
    .rubrique-card {
        flex-direction: column;
    }
    
    .rubrique-img {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }
    
    .rubrique-content {
        padding: 15px 20px;
    }
    
    .rubrique-content h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .rubrique-content p {
        margin-bottom: 15px;
        font-size: 0.95rem;
    }

    .btn-container_autres {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-container_autres .btn {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 80%;
        text-align: center;
    }
}



/* Media Query pour petits mobiles */
@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }
    
    .rubrique-img {
        height: 180px;
    }
    
    .rubrique-content {
        padding: 12px 15px;
    }
    
    .rubrique-content h2 {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 0 8px;
    }

    .autres {
        padding: 1.5rem 1rem;
        border-radius: 10px;
    }

    .btn-container_autres {
        margin-top: 1.5rem;
        width: 100%;
    }

    .btn-container_autres .btn {
        width: 100%;
        padding: 8px 15px;
        margin-bottom: 0.8rem;
        font-size: 14px;
    }
}