/*
Theme Name: Sabri-cigerli-theme
Author: Rahapel 
Author URI: https://wordpress.org
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sabricigerli
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

:root {
    --main-bg-color: cornflowerblue;
    --main-font-color : black;
    --main-fonthover-color : rgb(223, 223, 223);
    --main-bg-color-grey : rgb(238, 238, 238);
  }


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: black;
    
}

a {
    text-decoration: none;
    color: black;
}

p{
    padding: 0;
    margin: 0;
}

.header {
    position: fixed;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    transition: 0.3s ease;
    translate: 0 -100px;
}

.scrolled {
    background-color: white;
  }
  
.visible {
translate: 0;
}

.sticky{
    translate: 0 !important;
}

/* MOBILE MENU */

.menu-toggle{
    display: none;
    position: absolute;
    top: 25px;
    right: 30px;
}


.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #000000; 
    margin: 6px 0;
    transition:  0.3s ease;

    
    
}

@media screen and (max-width: 768px) {
    
    .menu-toggle {
        display: block !important;
    }

    .active-mobileMenu{
        left: 70% !important;
        top: 9vh !important;
        background-color: white;
        width: 30vw;
    }
    .menu .main-menu {
        position: absolute;
        transition: 0.3s ease;
        left: 70%;
        top: -500px
    }
    
    .nav-menu{
        flex-direction: column;
        padding: 0;
    }

    .article{
        width: auto !important;
    }
    
    
}

.menu-toggle.active-cross span:first-child {
    transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active-cross span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active-cross span:last-child {
    transform: rotate(-45deg) translate(3px, -2px);
}



.container-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 30px;
    padding: 10px 0px;
}

.nav-menu {
    display: flex;
    list-style: none;
    font-weight: 400;
    margin: 0;
}

.menu-item {
    margin: 10px;
}

.menu-item a{
    transition: color 0.3s ease;
}

.menu-item:hover a{
    color: var(--main-fonthover-color);
}

.logo {
    font-weight: 800;
    
}

.site-title {
    color: black;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.5s ease;
}

.notview{
    transform: translate(-150%, 0%);
}

.first-word,
.second-word {
    display: block;
    font-size: 24px;
    height: 20px;
}

.second-word {
    margin-left: 1rem;
}

.home-banner {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.citation{
    position: absolute;
    /*transform: translateX(-50%);*/
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
    text-align: center;
    color: black;
}

.fit-picture {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre entièrement le conteneur */
    display: block;
}


.scroll-button {
    position: absolute;
    bottom: 30px; /* Ajustez la position verticale selon vos besoins */
    right: 30px; /* Ajustez la position horizontale selon vos besoins */
    color: black; /* Couleur du texte du bouton, ajustez selon vos besoins */
    padding: 10px 15px;
    text-decoration: none;
    transition: color 0.3s ease; /* Effet de transition */
    font-weight: 600;
    background-color: white;
}

.scroll-button:hover {
    color: black; /* Couleur de fond du bouton au survol, ajustez selon vos besoins */
    background-color: var(--main-fonthover-color);
}


h2{
    font-size: 3rem;
    font-weight: 900;
}

.image-left, .image-right {
    position: relative;
    height: fit-content;
    
}

.wp-block-heading{
    text-transform: capitalize;
}

.image-right img,
.image-left img {
    object-fit: cover;
    object-position: center center; /* Facultatif : Centre l'image */
    width: 100%; /* Rend l'image occuper 100% de la largeur du conteneur */
    height: 100%; /* Rend l'image carrée */
    aspect-ratio: 1;
    
    
}

@media (max-width: 781px) {
    .flex-inverse {
        flex-direction: column-reverse;
    }
    .image-right img,
    .image-left img{
        max-width: 500px
    }
}


.title-on-image {
    position: absolute;
    font-size: 2rem;
    bottom: 30px; /* Positionne le titre en bas du conteneur */
    left: 10px; /* Positionne le titre à gauche du conteneur */
    color: white; /* Couleur du texte */
    margin: 0; /* Supprime la marge par défaut du titre */
    text-align: left; /* Centre le texte horizontalement */
    text-transform: capitalize;
}




/* OEUUUVRES */


.slicer_card{
    padding:2vw;
    margin: 10px;
}

.slicer_card {
    transition: transform 0.3s ease; /* Ajoute une transition pour un effet de zoom en douceur */
}

.slicer_card:hover {
    transform: scale(1.1); /* Applique un zoom de 110% au survol */
}

.img-oeuvre{
    width: 100%;
    height: 100%;
}

.img-oeuvre img{
    height: auto;
    width: 100%;
    max-width: 300px;
    margin: auto
}


.slick-list, .slick-track{
    height: 100%;
    overflow: visible !important;
}


.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}


.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 100px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    z-index: 100;
}

.slick-prev:before {
    content: '←';
}

.slick-next:before {
    content: '→';
}

.slick-prev:before, .slick-next:before {
    font-family: 'slick';
    font-size: 20px;
    line-height: 2;
    opacity: .75;
    color: rgb(255, 255, 255);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #000000;
    padding: 10px;
    z-index: 10;
}


.sliders{
        position: relative;
        overflow: hidden;

}

.slider{
    padding: 3vh;

}

.slick-track {
    display: flex;
}

.slick-track .slick-slide {
    display: flex;
    height: auto;
}

.slick-slide img {
    height: 100%;
    object-fit: contain;
    object-position: center;
}




.flex{
    display: flex;
}

.center{
    align-items: center;
}






.sculpture-title{
    /*font-size: 4rem;*/
    font-weight: 800;
    /*margin: 10vw*/
}

.margin{
    margin: 4rem 30px;
}



.center-max-width{
    max-width: 1500px; 
	margin: 0 auto !important; 
	float: none !important; 
}


.bg-black{
    background-color: black;
    /* padding: 3rem 30px; */
    color: white;
}

.bg-grey{
    background-color:var(--main-bg-color-grey);
    /* padding: 3rem 30px; */
    color: black;
}


.paddin-t-b{
padding: 20px 0;
margin: auto auto 20px auto;
max-width: 1500px; 

}

.blur-bgimage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    filter: blur(10px); /* Ajustez la valeur de flou selon vos préférences */
    z-index: -1; /* Assurez-vous que l'image de fond floue est derrière le contenu */
}

.wp-block-columns{
    gap: 5vw;
    margin-bottom: 5vw;
}

.livre{
    padding: 50px 0;
    gap: 5vw;
    position: relative
}

.column{
    flex-direction: column;
    height: fit-content;
}

.date-parution { 
    margin-top: auto;
    font-weight: 700;
}

.relative{
    position: relative;
}

.acheter-bouton {
    background-color: #fff; /* Fond blanc */
    border: 1px solid #ccc; /* Bordure grise (facultative) */
    border-radius: 10px; /* Coins arrondis */
    padding: 10px 20px; /* Espacement intérieur du bouton */
    text-decoration: none; /* Supprime le soulignement du lien */
    color: #333; /* Couleur du texte */
    display: inline-block; /* Afficher comme un bloc en ligne */
    transition: 0.3s ease-in-out; /* Transition en douceur de la couleur de fond */
    width: fit-content;
    position: absolute;
    bottom: -20px; 
    left: 50%;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 1);
    transform: translateX(-50%);
    white-space: nowrap;
}

/* Au survol, change la couleur de fond */
.acheter-bouton:hover {
    background-color: var(--main-fonthover-color); /* Fond gris clair au survol (facultatif) */
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.5);


}



footer {
  background-color: #f8f8f8; /* Change to match your desired footer background color */
  padding: 10px 50px
}

.container-footer {
  display: flex;
  justify-content: space-between;
  max-width: 1200px; /* Adjust based on your site's max width */
  height: fit-content;
  align-items: flex-start
  
}

.container-footer .logo {
    width: 40%;
    height: 100%;
}

.sub-logo{
    margin: 20% auto;
    width: fit-content;
}



.contact-info div{
 margin : 20px 0
}

.footer-menu {
  text-align: center; /* Center the menu */
}

.footer-menu .footer-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu .footer-nav-menu li {
  margin-bottom: 10px; /* Space between menu items */
}

.footer-menu .footer-nav-menu li a {
  text-decoration: none;
  color: #333; /* Menu item text color */
}

.contact-info {
  text-align: right; /* Align the contact info to the right */
}

.copyright {
  text-align: center; /* Center the copyright text */
  margin-top: 20px; /* Space from the above elements */
  color: #999; /* Copyright text color */
  font-size: 10px;
}




/* Styles pour la page d'archives du blog */

/* Style de l'en-tête de la page */
.title-blogs {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.page-title {
    font-size: 24px;
    margin: 0;
}

.articles-blog{
    margin: 10px 30px;
    gap: 3vw;
}

.article{
    width: 33vw;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Ajoute une ombre douce */
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.article:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3); /* Ombre différente au survol */
}

.article a:hover {
    color: var(--main-fonthover-color); /* Couleur au survol */
}

.site-main{
    margin-bottom: 100px;
}

/* Style de la vignette (image à la une) */
.post-thumbnail img {
    max-width: 100%;
    height: auto;
}

/* Style du titre de l'article */
.entry-title {
    font-size: 20px;
    text-decoration: none;
}


/* Style de l'extrait de l'article */
.entry-summary {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}


.post-thumbnail {
    display: flex;
    justify-content: center;
    align-items: center;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.publication-date, .entry-categories{
    font-size: 0.9em;
}

.entry-categories a:hover{
    color: var(--main-fonthover-color)
}


.img-livre{
    text-align: center;
    width: fit-content;
    margin: auto;
}



















@media (max-width: 768px) {
  .container-footer {
    flex-direction: column;
    align-items: center;
  }

  .footer-menu,
  .contact-info {
    text-align: center;
  }

  .contact-info {
    margin-top: 20px;
  }
}




@media screen and (max-width: 750px) {
    .margin{
        margin : 70px 1%
    }
    img{
        width: 100% !important;
        max-width: 100% !important;

    }
    .flex {
        flex-direction: column;
    }
    .img-livre{
        text-align: center;
        width: fit-content;
        margin: auto;
    }
    .img-oeuvre img {
        height: auto;
        max-width: 250px !important;
    }
    .wp-block-image img{
        left: 50%;
        position: relative;
        transform: translateX(-50%);
    }
    .title-on-image{
        left: 50%;
        transform: translateX(-50%);
    }
    .slicer_card:hover {
        transform: scale(1); /* Applique un zoom de 110% au survol */
    }
}






/* CONTACT FORM */

.contact_form{
    gap: 50px;
    align-items: center;
}

.text_form{
    flex: 1;
}

.form{
    flex: 1;
}

/* Styles généraux du formulaire */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Styles des groupes de champs */
.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 95%;
    padding: 10px;
    border: 1px solid var(--main-bg-color-grey);
    border-radius: 5px;
}

/* Styles du bouton d'envoi */
.wpcf7-submit {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #000000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7-submit:hover {
    background-color: #0056b3;
}



