/* Configuration du thème somnbre */
/* Si on active le darktheme */
[data-theme="dark"] {
    .story-content h1, .story-content h3 {
        color: #ffffff;
      }
    .cta-button {
        color: rgb(255, 255, 255);
        box-shadow: 0 2px 25px rgba(255, 255, 255, 0.32);
        background: linear-gradient(to right, rgba(51, 51, 252, 0.411), rgba(241, 44, 248, 0.602));
    }
    .social-links-photo a:hover {
        filter: drop-shadow(0 1px 5px rgb(255, 255, 255));
    }
    .social-links-photo a img {
        filter: invert(1);
    }
    .photographe-item:hover {
        box-shadow: 0 20px 30px rgba(255, 255, 255, 0.3); 
    }
    .fav h2 {
        color: #9b3eff;
    }
    }
/* DARKTHEME CONFIGURE*/
 





/* Onglet : photo */
/* Contenu du début */
.photo-content {
    text-align: left;
    margin-left: 4%;
    position: relative;
    z-index: 2;
}
.photo-content h1 {
    position: relative;
    z-index: 2;
    font-size: 2.2em;
}
@media (max-width: 800px) {
    .photo-content h1 {
        font-size: 1.4em;
    }
}
.photo-content h2 {
    position: relative;
    z-index: 2;
    text-align: left;
    left: 0;
    width: 100%;
}
.photo-content h4 {
    position: relative;
    z-index: 2;
    left: 0;
    margin-top : 2%;
    margin-bottom : 3%;
    font-size: 14px;
    width: 100%;
}
/* Lueur stylée */
.cadre-lueur-footer-apropos-logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}
/* Photographes listés & externes,, de confiance*/
#photographes-partenaires {
    margin-top: 50px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.photographes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
    height: 340px;
}
.photographe-item img {
    width: 50%;
    border-radius: 50%;
}
.photographe-item .social-links {
    margin-top: 10px;
}
.photographe-item .social-links a {
    margin: 0 5px;
    text-decoration: none;
}
/* Photographe interne à QR-cadre.com */
.container {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: -70px;
    margin-bottom: 20px;
}
#photographe {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
}
#photographe h2 {
    position: absolute;
    z-index: 3;
    width: 1004px;
}
.photographe-grid {
    display: flex;
    margin-top: 69px;
    margin-left: 369px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
    height: 340px;
}
.photographe-item {
    margin: 15px;
    width: 15%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 9px;
    text-align: center;
    background-color: var(--background-color);
    color: var(--text-color);
}
@media (max-width: 800px) {
    .photographe-item {
        position: relative;
        width: 35%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 9px;
        text-align: center;
        background-color: var(--background-color);
        color: var(--text-color);
    }
    #faq {
        margin-top : 550px;
    }
}
.photo-test h2 {
    width: 10px;
}
.photographe-item-mat {
    margin: 15px;
    width: 220px;
    padding: 10px;
    margin-left: 110px;
    border: 1px solid #ddd;
    border-radius: 9px;
    text-align: center;
    background-color: var(--background-color);
    color: var(--text-color);
}
.photographe-item:hover {
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3); 
}
/* Styles pour le bouton Call to Action */
.cta-container {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 30%;
    margin: 100px auto;
    justify-content: center;
}
/* Style pour logo réseaux sociaux */
.social-links-photo {
    margin: 0 auto;
    position: relative;
}
.social-links-photo a:hover {
    filter: drop-shadow(0 1px 9px rgb(0, 0, 0));
    transition: filter 0.1s ease-in-out;
}
.social-links-photo a {
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}
.social-links-photo img {
    width: 54px;
    height: 24px;
}
#faq {
    z-index: 3;
    position: relative;
    background: linear-gradient(to right, rgba(51, 51, 252, 0.198), rgba(241, 44, 248, 0.294));
}
.photo-gallery {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.photo-gallery img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s;
}
.photo-gallery img:hover {
    transform: scale(1.05);
}
.gallery-section h2 {
    margin-bottom: 5px;
    width: 100%;
    position: relative;
}
.gallery-section {
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 169px;
}
@media (max-width: 1200px) {
    .gallery-section {
        max-width: 800px;
    }
}
@media (max-width: 1000px) {
    .gallery-section {
        max-width: 600px;
        margin-top: 19px;
    }
}
@media (max-width: 800px) {
    .gallery-section {
        max-width: 500px;
    }
}
@media (max-width: 600px) {
    .gallery-section {
        max-width: 350px;
    }
}
.photos-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    gap: 10px;
    height: 239px;
    padding: 10px;
    background-color: #000000;
}
.photos-container img {
    height: auto;
    border-radius: 3px;
    object-fit: cover;
}
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 9px;
}
.nav-button:hover {
    background-color: #000000;
}
.nav-button.left {
    left: -40px;
}
.nav-button.right {
    right: -40px;
}
/*Ajout du grossissement de la photo au clic */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    margin: 0 auto;
    margin-top: 200px;
    width: 100%;
    height: 60%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
}
.modal-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 100%;
}
.close {
    position: absolute;
    top: 5px;
    right: 20px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.2s;
    cursor: pointer;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.modal-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
    border: none;
    padding: 30px;
    cursor: pointer;
    z-index: 1001;
    border-radius: 9px;
}
.modal-nav-button.left {
    left: 80px;
}
.modal-nav-button.right {
    right: 80px;
}
.modal-nav-button:hover,
.modal-nav-button:focus {
    background-color: rgba(255, 255, 255, 0.8);
}
/* FAVORITE TITLE */
.fav h2 {
    font-size: 1.8em;
    color: #8014f4;
}
/* MAT */
.contributor {
    text-align: center;
    flex-basis: 20%;
    top : 0;
    margin-top: 210px;
    right: 0;
    margin-right: 40px;
    z-index: 10;
    position: absolute;
}
.contributor img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}
.contributor h3 {
    color: #000000;
    margin: 0;
}
.contributor h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s; 
}
.contributor h3 a:hover {
    color: #2026db;
}
.contributor p {
    font-size: 0.9em;
    color: #6c5099; 
    width: 100%;
    position: relative;
    margin: 0 auto;
    max-width: 250px;
    text-align: center;
    text-decoration: none;
}
@media (max-width: 1200px) {
    .contributor {
        margin-top: 270px;
    }
}
@media (max-width: 980px) {
    .contributor {
        flex-basis: 100%;
        margin-bottom: 13%;
        text-align: center;
        flex-basis: 20%;
        margin: 1px;
        width: 100%;
        top: -40px;
        z-index: 3;
        position: relative;
    }
    .contributor p {
        font-size: 0.9em;
        color: #6c5099; 
        width: 100%;
        max-width: 30%;
        text-align: center;
        text-decoration: none;
    }
}
/* Présentation de Mat */
.presentation-photo {
    text-align: center;
    top: 0;
    margin-left: 35%;
    width: 30%;
    z-index: 2;
    position: relative;
}
.presentation-photo p {
    color: #6661fc;
    z-index: 3;
    position: relative;
}
@media (max-width: 1200px) {
    .presentation-photo {
        margin-top: 0px;
        width: 50%;
        margin: -40px auto;
        position: relative;
    }
}
@media (max-width: 980px) {
    .presentation-photo {
        margin-top: 0px;
        width: 50%;
        margin: -10px auto;
        position: relative;
    }
}
@media (max-width:730px) {
    .presentation-photo {
        text-align: center;
        top: 0;
        margin-top: -30px !important;
        margin-left: 1px;
        margin: 10px auto;
        width: 80%;
        z-index: 2;
        position: relative;
    }
    .presentation-photo h1 {
        margin-top: 50px;
        font-size: 1.1em;
        margin-bottom: -10px;
    }
}
[data-theme="dark"] {
.contributor h3 {
    color: #ffffff;
    margin: 0;
}
.contributor p {
    color: #bd98f7; 
}
}
/* Intégration de lueur en fond = charte graphique */
.container-videoglow {
    display: block;
    position: relative;
    z-index: 0;
}
.videoglow {
    position: absolute;
    z-index: 0;
    top: -273px;
    filter: drop-shadow(0 0 6px rgba(83, 15, 255, 0.416));
    left: 0;
    width: 100%;
    height: 960px;
    opacity: 69%;
}
[data-theme="dark"] {
    .videoglow {
        opacity: 12%;
        filter: drop-shadow(0 0 6px rgb(255, 255, 255));
    }
}
@media (max-width: 1400px) {
    .videoglow  {
        height: 910px;
    }
}
@media (max-width: 1200px) {
    .videoglow  {
        height: 860px;
    }
}
@media (max-width: 1000px) {
    .videoglow  {
        height: 950px;
        top: -455px;
    }
}
@media (max-width: 900px) {
    .videoglow  {
        top: -435px;
    }
}
@media (max-width: 700px) {
    .videoglow  {
        top: -405px;
        height: 800px;
    }
}