/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/




@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Inline:opsz,wght@10..72,100..900&family=Big+Shoulders:opsz,wght@10..72,100..900&family=Cherry+Bomb+One&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Monoton&family=Vina+Sans&display=swap');
/* Variables CSS pour les polices */



:root {
    /* Police Inter */
    --font-inter: "Inter", sans-serif;
    --font-inter-weight: 800;
    --font-inter-style: italic;
    --font-inter-optical-sizing: auto;

    /* Police Cherry Bomb One */
    --font-cherry-bomb: "Cherry Bomb One", system-ui;
    --font-cherry-bomb-weight: 400;
    --font-cherry-bomb-style: normal;

    /* Police Big Shoulders Inline */
    --font-big-shoulders-inline: "Big Shoulders Inline", sans-serif;
    --font-big-shoulders-inline-weight: 400; /* ajustable 100-900 */
    --font-big-shoulders-inline-style: normal;
    --font-big-shoulders-inline-optical-sizing: auto;

    /* Police Vina Sans */
    --font-vina-sans: "Vina Sans", sans-serif;
    --font-vina-sans-weight: 600;
    --font-vina-sans-style: normal;

    /* Police Monoton */
    --font-monoton: "Monoton", sans-serif;
    --font-monoton-weight: 400;
    --font-monoton-style: normal;

    /* Primary Color */
    --primary-color: #e93f90;
    --secondary-color: #9bc431;
    --text-color: #222;
    --bg-color: #fff;
}

.vina-sans-regular {
    font-family: var(--font-vina-sans);
    font-weight: var(--font-vina-sans-weight);
    font-style: var(--font-vina-sans-style);
}

.monoton-regular {
    font-family: var(--font-monoton);
    font-weight: var(--font-monoton-weight);
    font-style: var(--font-monoton-style);
}


.inter-regular {
    font-family: var(--font-inter);
    font-weight: var(--font-inter-weight);
    font-style: var(--font-inter-style);
    font-optical-sizing: var(--font-inter-optical-sizing);
}


.cherry-bomb-one-regular {
    font-family: var(--font-cherry-bomb);
    font-weight: var(--font-cherry-bomb-weight);
    font-style: var(--font-cherry-bomb-style);
}

.big-shoulders-inline-regular {
    font-family: var(--font-big-shoulders-inline);
    font-weight: var(--font-big-shoulders-inline-weight);
    font-style: var(--font-big-shoulders-inline-style);
    font-optical-sizing: var(--font-big-shoulders-inline-optical-sizing);
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Les sections fullPage.js doivent utiliser height: 100% (pas 100vh) 
   car elles sont dans un container de 100vh.
   fullPage.js ajoute automatiquement la classe .fp-section */
   #fullpage .section,
   #fullpage section.section,
   #fullpage .fp-section {
       height: 100vh;
   }
   
   /* z-index uniquement sur le menu principal : un `nav { }` global
      passait aussi sur le fil d’Ariane, qui recouvrait les dropdowns. */
   #nav-main {
       z-index: 1000;
       position: relative;
   }
   
   /** Boutons personnalisés avec flèche */
   
   /* Bouton de base rose plein, texte blanc, flèche à droite */
   .btn-primary {
       background-color: #ff69b4;
       color: white;
       padding: 10px 20px;
       border-radius: 5px;
       text-decoration: none;
       display: inline-block;
   }
   
   .btn-primary:hover {
       background-color: #ff1493;
   }
   
   /* Bouton rose plein, texte blanc, flèche à droite */
   .btn-primary-arrow {
       background-color: #ff69b4;
       color: white;
       padding: 10px 20px;
       border-radius: 5px;
       text-decoration: none;
       display: inline-block;
   }
   
   .btn-primary-arrow:hover {
       background-color: #ff1493;
       text-decoration: none;
   }
   
   .btn-primary-arrow:before {
       content: '→';
       margin-left: 10px;
   } 
   
   .btn-secondary {
       background-color: rgba(255, 255, 255, 0.1);
       color: white;
       padding: 10px 20px;
       border-radius: 0;
       text-decoration: none;
       display: inline-block;
       border-color: white;
   }
   
   .btn-secondary:hover {
       background-color:  rgba(255, 255, 255, 0.7);
       text-decoration: none;
   }   

/* Chevron à droite pour les boutons dans les sections/slides fullPage */
#fullpage .fp-section .btn:not(.no-chevron),
#fullpage .fp-slide .btn:not(.no-chevron),
#fullpage .fp-section .wp-block-button__link:not(.no-chevron),
#fullpage .fp-slide .wp-block-button__link:not(.no-chevron) {
    position: relative;
    padding-right: 2.5rem !important;
}

#fullpage .fp-section .btn:not(.no-chevron)::after,
#fullpage .fp-slide .btn:not(.no-chevron)::after,
#fullpage .fp-section .wp-block-button__link:not(.no-chevron)::after,
#fullpage .fp-slide .wp-block-button__link:not(.no-chevron)::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 0.5rem;
    vertical-align: middle;
    background: url('imgs/chevron_right.svg') center center no-repeat;
    background-size: contain;
}

   /* Block Bienvenue */
   

section.bienvenue h1, section.slide h1 {
    color: white;
    font-family: var(--font-vina-sans);
    font-weight: var(--font-vina-sans-weight);
    font-style: var(--font-vina-sans-style);
    font-size: 4rem !important;
    transform: rotate(-2deg);
    display: inline-block;
    background-color: #009833;
}

section.bienvenue h2, section .slide h2 {
    background-color: var(--primary-color);
    color: white !important;
    padding: 5px 10px;
    font-family: var(--font-inter);
    font-weight: var(--font-inter-weight);
    font-style: var(--font-inter-style);
    font-optical-sizing: var(--font-inter-optical-sizing);
    font-size: 4rem !important;
    display: inline-block;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
}


section.bienvenue h2, section .slide h2 a {
    display: block;
}


section.bienvenue h3, section .slide h3 {
    font-family: var(--font-big-shoulders-inline);
    font-weight: var(--font-big-shoulders-inline-weight);
    font-style: var(--font-big-shoulders-inline-style);
    font-optical-sizing: var(--font-big-shoulders-inline-optical-sizing);
    color: #9ac42f;
    display: inline-block;
    background-color: #457082;
    padding: 5px 10px;
}   
section.bienvenue h4, section .slide h4 {
    font-family: var(--font-big-shoulders-inline);
    font-weight: var(--font-big-shoulders-inline-weight);
    font-style: var(--font-big-shoulders-inline-style);
    font-optical-sizing: var(--font-big-shoulders-inline-optical-sizing);
    color: white;
    font-size: 2rem !important;
    background-color: #0b6ffd;
}

.wp-block-group.slide.has-danger-background-color.has-background
{
    background-color: var(--wp--preset--color--info)!important;
    background-image: linear-gradient(
        rgb(var(--wp--preset--color--info) / 40%), 
        rgb(var(--wp--preset--color--info) / 10%)
    ),
    url('https://www.opticchic.fr/wp-content/uploads/491843627_1149093680562795_5952476544639460054_n-1.jpg');
    /* Cette syntaxe est correcte en CSS moderne (rgb() avec la nouvelle notation/alpha avec slash) 
     * et autorise la pile de background-image telle qu'utilisée ici.
     * Attention cependant :
     *  - Assurez-vous que --wp--preset--color--info est bien défini comme une couleur RVB (ex: "60,145,160")
     *  - Les navigateurs très anciens pourraient ne pas supporter la syntaxe slash pour l'alpha dans rgb().
     *  - L'ordre des backgrounds commence avec le plus haut (le linear-gradient) puis l'image.
     */
}