/* --- Base Styles --- */
/* Import d'une police Ã©lÃ©gante (remplacez-la par une police de votre choix) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* Déclaration de la police Neuropol Custom */
@font-face {
    /* C'est le nom que vous utiliserez dans les autres règles CSS (ex: .hero-title) */
    font-family: 'Neuropol Custom';

    /* Chemin vers votre fichier de police.
       Le chemin '../fonts/' est correct si votre fichier CSS est dans 'assets/css/' 
       et votre police dans 'assets/fonts/' */
    src: url('https://assets.team-réality.com/assets/fonts/neuropol/Neuropol X Rg.otf') format('opentype');

    font-weight: normal;
    font-style: normal;
    /* Indique au navigateur de charger la police en priorité ou d'utiliser une alternative temporaire */
    font-display: swap;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --text-color: #333333;
    --light-grey: #f0f0f0;
}

*,
::before,
::after {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--secondary-color);
    overflow-x: hidden;
    /* Styles ajoutés pour le footer en bas de page */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


h1,
h2,
h3 {
    font-weight: 400;
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

@media screen and (min-width : 0px) {

    /* --- SHOP STYLES --- */

    /* Hero Section */
    .shop_hero {
        height: 100vh;
        min-height: 50vh;
        background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url('https://assets.team-réality.com/assets/img/shop/Shop.jpg');
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: var(--secondary-color);
        margin-bottom: 20px;
    }

    .hero_content h1 {
        font-family: 'Neuropol Custom', 'neuropol-2', sans-serif;
        font-size: clamp(2rem, 5vw, 4rem);
        text-transform: uppercase;
        letter-spacing: 5px;
        margin-bottom: 15px;
    }

    .hero_content p {
        font-size: 1.2rem;
        opacity: 0.9;
        font-weight: 300;
    }

    /* Titre de section */
    .section_title {
        font-family: 'Neuropol Custom', sans-serif;
        text-align: center;
        font-size: 2rem;
        margin-bottom: 40px;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 15px;
    }

    .section_title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--primary-color);
    }

    /* Grille de produits */
    .products_grid_wrapper {
        max-width: 1300px;
        margin: 0 auto 30px auto;
        padding: 0 20px;
    }

    .products_container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 40px;
    }

    /* Carte Produit */
    .product_card {
        background: var(--secondary-color);
        border: 1px solid var(--light-grey);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .product_card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .product_image {
        position: relative;
        overflow: hidden;
        aspect-ratio: 1 / 1;
        /* Garde les images carrées */
    }

    .product_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .product_card:hover .product_image img {
        transform: scale(1.1);
    }

    /* Badge "NEW" */
    .badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: var(--primary-color);
        color: var(--secondary-color);
        padding: 5px 15px;
        font-size: 0.8rem;
        font-weight: bold;
        text-transform: uppercase;
    }

    /* Infos produit */
    .product_info {
        padding: 25px;
        text-align: center;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .product_info h3 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 5px;
        color: var(--primary-color);
    }

    .category {
        font-size: 0.8rem;
        color: #888;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .price {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

    /* Bouton d'achat style Kapoli */
    .btn_buy {
        display: inline-block;
        background-color: var(--primary-color);
        color: var(--secondary-color);
        border: 1px solid var(--primary-color);
        padding: 1.2rem 2.5rem;
        /* Augmentation du rembourrage */
        margin-top: 2rem;
        font-size: 1.1rem;
        /* Augmentation de la taille de la police */
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 2px;
        transition: all 0.3s ease;
    }

    .btn_buy:hover {
        background-color: var(--secondary-color);
        color: var(--primary-color);
    }

    
    /*CATÉGORIES*/
    .categories_wrapper {
        width: 100%;
        height: auto;
    }

    .categories_container {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .categories_items {
        width: 100%;
        height: auto;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

    .categories_items>img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    /* Overlay avec backdrop-filter blur */
    .categories_overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3);
        /* Léger assombrissement */
        backdrop-filter: blur(8px);
        /* Effet de flou sur l'image en arrière-plan */
        -webkit-backdrop-filter: blur(8px);
        /* Support Safari */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.4s ease;
        padding: 20px 0px;
        text-align: center;
    }

    .categories_overlay h3 {
        font-family: 'Neuropol Custom', sans-serif;
        font-size: 2rem;
        color: var(--secondary-color);
        text-transform: uppercase;
        letter-spacing: 3px;
        margin-bottom: 15px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        /* Ombre pour meilleure lisibilité */
        transform: translateY(20px);
        transition: transform 0.4s ease;
        text-align: center;
    }

    .categories_overlay p {
        font-size: 1rem;
        color: var(--secondary-color);
        line-height: 1.5;
        max-width: 80%;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        /* Ombre pour meilleure lisibilité */
        transform: translateY(20px);
        transition: transform 0.4s ease 0.1s;
        text-align: center;
    }

    /* Effet au survol */
    .categories_items:hover .categories_overlay {
        opacity: 1;
    }

    .categories_items:hover .categories_overlay h3,
    .categories_items:hover .categories_overlay p {
        transform: translateY(0);
    }

    .categories_items:hover>img {
        transform: scale(1.05);
    }

    /*--- WHITE SHARKS ---*/
    .whitesharks_wrapper {
        width: 100%;
        height: auto;
        background-color: var(--primary-color);
    }

    .whitesharks_container {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .whitesharks_container>img {
        width: 100%;
    }

}

@media screen and (min-width : 768px) {
    .hero_content h1 {
        font-size: 2.2rem;
    }

    .products_container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 40px;
    }

        /*CATÉGORIES*/
    .categories_container {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
    }

    .categories_items {
        width: 33.333%;
        height: auto;
    }

    .categories_items>img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .categories_overlay h3 {
        font-size: 2.5rem;
        /* Plus grand sur desktop */
    }

    .categories_overlay p {
        font-size: 1.1rem;
    }

}