/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Template: blocksy
Author: Creative Themes
Author URI: https://creativethemes.com
Description: Blocksy Child Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blocksy-child
*/

/* Changer la couleur du texte sélectionné */
::selection {
    color: #ffffff !important; /* Couleur du texte sélectionné */
    background: #1d1d1b !important; /* Couleur de fond de la sélection */
}

/* Pour Firefox */
::-moz-selection {
    color: #ffffff !important;
    background: #1d1d1b !important;
}

/* Reset des styles de boutons Elementor */
.elementor-widget-button .elementor-button,
.elementor-button {
    background: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

/* Nos styles personnalisés pour les boutons */
.elementor-button-text {
    font-family: 'Kelpt', sans-serif !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #1f1f1f !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    padding: 10px 20px !important;
    border: 2px solid #1f1f1f !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

/* Style au survol */
.elementor-button:hover .elementor-button-text {
    background-color:#fff !important;
    color: #1f1f1f !important;
}

/* Police par défaut pour tout le site */
body {
    font-family: 'Kelpt', sans-serif;
    font-weight: 500;
}

.ct-menu-link {
    font-family: 'Kelpt', sans-serif !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    line-height: 0.8 !important;
}

/* Styles spécifiques pour les titres */
h1, h2, h3, h4, h5, h6,
.ct-heading {
    font-family: 'Kelpt', sans-serif;
    font-weight: 900;
    color: #1d1d1b !important;
}

/* Styles spécifiques pour le texte */
p, span, div, li, a, .ct-menu-link {
    font-family: 'Kelpt', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.5;
    /* color: #1d1d1b !important; */
}

.ct-menu-link:hover{
    text-decoration: underline;
    color: #1d1d1b;
}

#footer-menu ul li a{
    color: #1d1d1b !important;
}

.ct-widget p {
    font-family: 'Kelpt', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
}

.ct-widget h3 {
    font-family: 'Kelpt', sans-serif !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    color: #1d1d1b !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.ct-widget a {
    color: #1d1d1b !important;
    font-family: 'Kelpt', sans-serif;
    font-weight: 900;
    font-size: 18px;
    line-height: 1.4;
}

.ct-widget a:hover {
    text-decoration: underline;
    color: #1d1d1b;
}

.ct-footer-copyright {
    font-family: 'Kelpt', sans-serif;
    font-weight: 500;
    font-size: 14px !important;
}

.ct-icon, .ct-icon-container svg{
    fill: #1d1d1b !important;
}

/* 28px uniquement pour les icônes d’actions, pas les chevrons du menu
   (sinon le calcul « Plus » de Blocksy et le layout du header sont faussés). */
.ct-header-socials svg.ct-icon,
.ct-header-search svg.ct-icon,
.ct-header-cart svg.ct-icon,
.ct-header-trigger svg.ct-icon,
.ct-offcanvas-trigger svg.ct-icon,
.ct-footer svg.ct-icon {
    width: 28px !important;
    height: 28px !important;
}

.ct-toggle-dropdown-desktop svg.ct-icon,
.more-items-container svg.ct-icon {
    width: 8px !important;
    height: 8px !important;
}

header [data-device="desktop"] .menu-container > .menu {
    flex-wrap: nowrap;
}

header [data-device="desktop"] [data-stretch] > .menu:has(.more-items-container) {
    justify-content: center;
}
.ct-toggle-dropdown-desktop {
    --theme-icon-size: 8px;
    --toggle-button-size: 18px !important;
    --toggle-button-margin-end: 8px;
    --toggle-button-margin-start: var(--dropdown-toggle-margin-start, 0.4em);
}

.mobile-menu[data-submenu-dots=no] [class*=children]>ul {
    padding-inline-start: 0px !important;
}

.button-contact{
    line-height: 0.9 !important;
}


/* Classes utilitaires pour les variantes de police */
.kelpt-underline {
    text-decoration: underline;
    color: #1d1d1b;
}

.kelpt-light {
    font-weight: 300;
}

.kelpt-regular {
    font-weight: 500;
}

.kelpt-black {
    font-weight: 900;
}

/* Styles pour les spectacles */
.spectacle-dates {
    margin: 1em 0;
}

.spectacle-dates ul {
    list-style: none;
    padding: 0;
}

.spectacle-dates li {
    margin-bottom: 1em;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 2em 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ct-back-to-top {
    background-color: #1d1d1b !important;
}

.ct-back-to-top svg {
    fill: #fff !important;
}

.button-contact {
    font-family: 'Kelpt', sans-serif;
    font-size: 1em;
    font-weight: 900;
    color: #1f1f1f;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 20px;
}

/* ==========================================================================
   Hero Slideshow (Page d'accueil)
   ========================================================================== */

.hero-slideshow {
    width: 100%;
    height: 600px; /* Hauteur fixe */
    position: relative;
    overflow: hidden;
}

.hero-slideshow .slideshow-item {
    display: grid !important;
    grid-template-columns: 50% 50%;
    height: 600px;
}

/* Colonne image */
.hero-slide-image {
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-right: 40px; */
    background-color: #fff; /* Fond noir pour mieux voir l'image */
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changé de 'contain' à 'cover' */
    max-width: none; /* Supprime la limitation de largeur */
}

/* Colonne contenu */
.hero-slide-content {
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Couleurs de fond selon le thème */
.hero-slide-content.coral { background-color: #eb504b; }
.hero-slide-content.mint { background-color: #c5f5e7; }
.hero-slide-content.lavender { background-color: #90a8e6; }
.hero-slide-content.sunflower { background-color: #f1c935; }
.hero-slide-content.slate { background-color: #efd9b2; }
.hero-slide-content.rose { background-color: #eec6f8; }

/* Textes */
.hero-slide-title {
    font-size: 2.5em;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #1f1f1f;
}

.hero-slide-date {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #1f1f1f;
}

.hero-slide-time {
    margin-left: 10px;
    color: #1f1f1f;
}

.hero-slide-location {
    font-size: 1.1em;
    color: #fff;
}

/* Footer avec navigation et bouton */
.hero-slide-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    position: relative;
    width: 100%;
}

/* Navigation du hero slideshow */
.hero-slide-navigation {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 10;
}

.hero-slideshow .slick-prev,
.hero-slideshow .slick-next {
    position: static !important;
    width: 44px !important;
    height: 44px !important;
    border: 2px solid #1f1f1f !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
}

.hero-slideshow .slick-prev:before,
.hero-slideshow .slick-next:before {
    font-family: monospace !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: #1f1f1f !important;
    opacity: 1 !important;
    position: relative !important;
}

.hero-slideshow .slick-prev:before {
    content: "<" !important;
}

.hero-slideshow .slick-next:before {
    content: ">" !important;
}

/* Supprimer ou modifier ces styles qui peuvent interférer */
.slick-prev.slick-arrow,
.slick-next.slick-arrow {
    position: static !important;
    display: inline-flex !important;
}

.hero-slide-more {
    font-family: 'Kelpt', sans-serif;
    font-size: 1.1em;
    line-height: 1;
    font-weight: 700;
    color: #1f1f1f;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #1f1f1f;
    transition: all 0.3s ease;
}

.hero-slide-more:hover {
    background-color: #1f1f1f;
    color: #ffffff;
}

/* Masquer les points de navigation */
.hero-slideshow .slick-dots {
    display: none !important;
}

/* Styles pour les catégories */
.hero-slide-category {
    font-family: 'Kelpt', sans-serif;
    font-size: 1.2em;
    color: #1f1f1f;
    text-transform: uppercase;
    margin-bottom: 0px;
}

.hero-slide-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 20px;
}

.hero-slide-subcategory {
    display: inline-block;
    padding: 5px 10px;
    background-color: #1f1f1f;
    color: #ffffff;
    font-family: 'Kelpt', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 3px;
}

/* Styles responsives pour le Hero Slideshow */
@media (max-width: 1024px) {
    .hero-slideshow {
        height: auto;
    }

    .hero-slideshow .slideshow-item {
        display: flex !important;
        flex-direction: column !important;
        height: auto;
    }

    .hero-slide-image {
        margin-right: 0;
        width: 100%;
        height: 400px !important; /* Hauteur fixe pour tablette */
    }

    .hero-slide-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: left; /* Ajouté pour aligner à gauche */
        /* padding: 2rem; */
    }

    .hero-slide-content {
        width: 100%;
        min-height: 400px;
        padding: 20px;
        display: flex !important;
        flex-direction: column;
    }

    .hero-slide-text {
        flex-grow: 1;
    }

    .hero-slide-footer {
        width: 100%;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 0px;
        margin-top: auto;
    }

    .hero-slide-navigation {
        display: flex !important;
        gap: 10px;
    }

    .hero-slideshow .slick-prev,
    .hero-slideshow .slick-next {
        display: inline-flex !important;
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .hero-slide-more {
        display: inline-block !important;
    }
}

@media (max-width: 480px) {
    .hero-slide-image {
        height: 300px !important; /* Hauteur fixe pour mobile */
    }

    .hero-slide-content {
        min-height: 350px;
    }

    .hero-slide-footer {
        padding: 15px;
    }

    .hero-slide-title {
        font-size: 1.5em;
    }

    .hero-slide-more {
        margin: 10px;
    }
}

/* Style du lien actif dans le menu */
#menu-item-3493 > a {
    color: #1f1f1f !important; /* Couleur par défaut */
}

/* Quand on est sur une page spectacle */
.post-type-archive-spectacle #menu-item-3493 > a,
.single-spectacle #menu-item-3493 > a,
.tax-categorie_spectacle #menu-item-3493 > a {
    color: #eb504b !important;
}

/* Pour le hover */
#menu-item-3493 > a:hover {
    color: #eb504b !important;
}
