/*----- TYPO ----*/
@import url('https://fonts.cdnfonts.com/css/plantin-mt-pro');






@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");
:root {
  --primary-color: #185ee0;
  --secondary-color: #e6eef9;
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: rgba(230, 238, 249, 0.5);
}

.tab-container-slider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 7%;
  background-color: #050705;
  position: relative;
}

.tabs-slider {
  position: relative;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
}

.tabs-slider input[type="radio"] {
  display: none;
}

.tab-label {
  position: relative;
  z-index: 2;
  padding: 15px 40px;
  font-size: 20px;
  color: #E0C073;
  cursor: pointer;
  transition: color 0.3s ease;
  text-align: center;
  opacity: 0.7;
  flex: 1;
}

.tabs-slider input[type="radio"]:checked + .tab-label {
  color: #050705;
  opacity: 1;
}

.glider {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  background: #E0C073;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  width: 25%;
}

/*MOBILE DISPLAY NONE*/

.mobile-space, .intro-video-mobile{
    display: none;
}





/* Position the glider based on selected tab */
.tabs-slider input[type="radio"]:nth-of-type(1):checked ~ .glider {
  transform: translateX(0);
}

.tabs-slider input[type="radio"]:nth-of-type(2):checked ~ .glider {
  transform: translateX(100%);
}

.tabs-slider input[type="radio"]:nth-of-type(3):checked ~ .glider {
  transform: translateX(200%);
}

.tabs-slider input[type="radio"]:nth-of-type(4):checked ~ .glider {
  transform: translateX(300%);
}

/* Hover effect */
.tab-label:hover {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tab-label {
    font-size: 16px;
    padding: 10px 20px;
  }
  
  .tab-container-slider {
    padding: 20px 20px;
    flex-wrap: wrap;
  }
  
  .tab-label {
    flex: 1 1 calc(50% - 10px);
  }
  
  .glider {
    width: calc(50% - 10px);
  }

  /* Position the glider based on selected tab */
  .tabs-slider input[type="radio"]:nth-of-type(1):checked ~ .glider {
    transform: translateY(0);
  }
  
  .tabs-slider input[type="radio"]:nth-of-type(2):checked ~ .glider {
    transform: translateY(100%);
  }
  
  .tabs-slider input[type="radio"]:nth-of-type(3):checked ~ .glider {
    transform: translateY(200%);
  }
  
  .tabs-slider input[type="radio"]:nth-of-type(4):checked ~ .glider {
    transform: translateY(300%);
  }

  .glider {
    height: 25%;
    width: 100%;
  }

}

@media (max-width: 480px) {
  .tab-label {
    flex: 1 1 100%;
  }
  
  .glider {
    width: 100%;
  }
}

.tabs-slider input[type="radio"]:checked + .tab-label:hover {
  color: #050705;
}

@media (max-width: 700px) {
  .tabs {
    transform: scale(0.6);
  }

}






body {
    font-family: "Platin Mt pro";
    background-color: #050705;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.grid-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.under{
    text-decoration: underline;
}

.main-video-title{
    position: relative;
}

.video-section {
    width: 100%;
    height: 900px;
}

.video-section .background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    background-color: #050705;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header.visible {
    opacity: 1;
}

.cta-button {
    background: transparent;
    border: 1px solid #E0C073;
    color: #E0C073;
    font-size: 20px;
    padding: 15px 40px;
    margin-top: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.contact-mobile {
    background-color: #050705;
    color: #E0C073;
    border: 1px solid #E0C073;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;  /* Remove underline from link */
    padding: 15px 40px;
    font-weight: bold;
}


.gold-btn{
    color: #050705;
    font-size: 20px;
    padding: 15px 40px;
    margin-top: 30px;
    font-weight: 700;
    background-color: #E0C073;
    cursor: pointer;
    text-decoration: none;
}

.cta-button2 {
    background: transparent;
    border: 1px solid #050705;
    color: #E0C073;
    font-size: 20px;
    padding: 15px 40px;
    margin-top: 30px;
    background-color: #050705;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    background: #E0C073;
    color: #050705;
}

.brochure-section {
    text-align: left;
    padding: 0 7%;
    margin-bottom: 100px;
}

.brochure-section .section-title {
    color: #E0C073;
    font-size: 90px;
    margin-bottom: 4%;
    margin-top: 0px;
}

.brochure-text {
    color: #aaa;
    font-size: 18px;
    margin-bottom: 40px;
}

.brochure-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.brochure-btn {
    display: inline-flex !important;
    align-items: center;
    font-size: 16px !important;
    padding: 14px 35px !important;
    margin-top: 0 !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(7, 20px);
    width: fit-content;
    margin: 0;
    border: none;
}

.cell {
    width: 20px;  /* Width */
    height: 11px;  /* Height */
    animation: dropDown 0.5s ease-in forwards;
    opacity: 0;
}

.studio-text {
    position: relative;
    
    text-align: center;
    opacity: 1;
}

.studio-text .text-line {
    display: block;
    font-size: 96px;
    color: #E0C073;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
    animation-delay: 1.5s;
    letter-spacing: 2px;
    font-weight: bold;
}

.studio-text .subtitle {
    display: block;
    font-size: 35px;
    font-weight: normal;
    letter-spacing: 1px;
    
    color: #E0C073;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
    animation-delay: 2s;
}

.gold {
    background-color: #E0C073;
}

.blank {
    background-color: transparent;
}

@keyframes dropDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add the Plantin font-face if not already defined elsewhere */
@font-face {
    
    src: url('fonts/PlantinMTProBold.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.scroll-line {
  width: 2px;
  height: 60px;
  background-color: #E0C073;
  margin: 0; /* Remove margin since wrapper handles it */
  opacity: 0;
  animation: lineAnimation 2s ease-in-out infinite;
  animation-delay: 2s;
  position: relative;
  z-index: 100;
  display: block; /* Ensure it's displayed as a block element */
}

@keyframes lineAnimation {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    opacity: 0;
  }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    gap: 60px; /* Reduced gap between logo and nav items */
    border-bottom: 1px solid #E0C073;
}

.header-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0;
    animation: headerItemDrop 0.5s ease-in forwards;
}

.header-item {
    color: #E0C073;
    
    font-size: 24px;
    opacity: 0;
    white-space: nowrap;
    text-transform: uppercase;
    text-decoration: none;  /* Remove underline from links */
    transition: opacity 0.3s ease;  /* Smooth hover effect */
}

.header-item:hover {
    opacity: 0.7;  /* Slight fade on hover */
}

.header-contact {
    background-color: #E0C073;
    color: #050705;
    border: 1px solid #E0C073;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;  /* Remove underline from link */
    padding: 15px 40px;
    font-weight: bold;
}

.header-contact:hover {
    background-color: #050705;
    color: #E0C073;
}

.header.visible .header-logo,
.header.visible .header-item,
.header.visible .header-contact {
    animation: headerDrop 0.5s ease-in forwards;
}

@keyframes headerDrop {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    70% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-logo { animation-delay: 0s; }
.nav-items .header-item:nth-child(1),
.nav-items .header-item:nth-child(2) {
    margin-right: 40px; /* Smaller gap for first two items */
}
.nav-items .header-item:nth-child(3),
.nav-items .header-item:nth-child(4),
.nav-items .header-item:nth-child(5) {
    margin-right: 60px; /* Larger gap for remaining items */
}
.nav-items .header-item:last-child {
    margin-right: 0;
}

.nav-items {
    display: flex;
    align-items: center;
    margin-right: auto;
    gap: 40px;  /* Consistent spacing between items */
}

/* Remove the individual margin-right rules since we're using gap */
.nav-items .header-item:nth-child(1),
.nav-items .header-item:nth-child(2),
.nav-items .header-item:nth-child(3),
.nav-items .header-item:nth-child(4),
.nav-items .header-item:nth-child(5) {
    margin-right: 0;
}


.title-section {
    position: relative;
    padding: 40px;
    background-color: #050705;
    height: 100%;
    width: 100%;
    margin: 80px 0px;
    padding: 0 7%;
}

.title-section2 {
    padding: 2% 7%;
    margin-bottom: 100px;
    background-color: #E0C073;
}

.title-container {
    margin-left: 10%;
}

.main-title {
    padding: 0px 0px;
    margin: 0px;
    font-size: 90px; /* Reduced from 100px to 300px for better readability */
    color: #E0C073;
    display: inline;
    line-height: 1.1;  /* Add line height for better spacing between lines */
    box-decoration-break: clone;  /* Make background wrap properly on each line */
    -webkit-box-decoration-break: clone;
    transition: opacity 0.3s ease;
}

.main-title2 {
    padding: 0px 0px;
    margin: 0px;
    font-size: 90px; /* Reduced from 100px to 300px for better readability */
    color: #050705;
    display: inline;
    line-height: 1.1;  /* Add line height for better spacing between lines */
    box-decoration-break: clone;  /* Make background wrap properly on each line */
    -webkit-box-decoration-break: clone;
    transition: opacity 0.3s ease;
}

.text-container {
    width: 100%;
    background-color: #050705;
    margin-left: 11%;
    margin-top: 40px;
    display: inline-block;
}

.title-text {
    font-size: 22px;
    line-height: 1.4;
    max-width: 1000px;
    color: #E0C073;
    display: block;
    transition: opacity 0.3s ease;
}

.title-text2 {
    font-size: 22px;
    line-height: 1.4;
    max-width: 900px;
    color: #050705;
    display: block;
    transition: opacity 0.3s ease;
}

/* Add this class for scroll behavior */
.video-section.scrolled .title-overlay {
    transform: translateY(-100vh);
}

/* Main content container */
.main-content {
    position: relative;
    margin-top: 0;
    background-color: #050705;
}

/* Content sections */
.content-section {
    margin-top: 2%;
    position: relative;
    background-color: #050705;
    color: #E0C073;
}

.content-section h2 {
    font-size: 48px;
    margin-bottom: 60px;
    text-align: center;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.service-item {
    text-align: center;
    padding: 40px;
    border: 1px solid #E0C073;
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Projects grid */
.projects-container {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: 0; /* Remove any whitespace between inline elements */
    scroll-behavior: smooth;
    cursor: grab;
}

.projects-container:active {
    cursor: grabbing;
}

/* Mobile styles for projects container */
@media (max-width: 768px) {
    .projects-container {
        cursor: default;
        -webkit-overflow-scrolling: touch;
        overflow-x: scroll;
        overflow-y: hidden;
    }
    
    .projects-container:active {
        cursor: default;
    }
    
    .projects-grid {
        flex-wrap: nowrap;
    }
    

}

.projects-grid {
    display: flex;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    font-size: 0; /* Remove any whitespace between inline elements */
    scroll-behavior: smooth;
}

.projects-grid::-webkit-scrollbar {
    display: none;
}

.project-item {
    max-width: 100%;
    width: 50%;
    height: 510px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;  /* Remove underline from links */
    display: block;  /* Make sure link takes full space */
    cursor: pointer;  /* Show pointer cursor on hover */
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;  /* Smooth transition just for opacity */
}

/*
.project-image.main {
    display: block;
    opacity: 1;
}

.project-image.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.project-item:hover .project-image.main {
    opacity: 0;
}

.project-item:hover .project-image.hover {
    opacity: 1;
}
*/

.project-item h3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-bottom: 10px;
    background: #050705;
    color: #E0C073;
    margin: 0;
    font-size: 2vw;
    text-align: left;
}

.project-item h3 span {
    color: #E0C073;
    font-size: 1vw;
}

/* Optional: Add hover effect for the entire project item */
.project-item:hover {
    transition: transform 0.3s ease;
}

.text-container .cta-button {
    background: transparent;
    border: 1px solid #E0C073;
    color: #E0C073;
    
    font-size: 18px;
    padding: 15px 30px;
    margin-top: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.text-container .cta-button:hover {
    background: #E0C073;
    color: #050705;
}

.scroll-indicator {
    position: relative;
    width: 200px;
    height: 10px;
    background: rgba(224, 192, 115, 0.3);  /* #E0C073 with opacity */
    margin: 20px auto 0;
}

.scroll-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;  /* Will be updated by JS */
    background: #E0C073;
    transition: width 0.1s ease;
}

/* Footer styles */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: #E0C073;
    color: #050705;
    padding: 2rem;
    text-align: center;
}

footer h2{
    font-size: 96px;
    margin: 10px 0px;
}

a.btn-mail{
    text-decoration: none;
    background-color: #050705;
    padding: 10px 20px;
    margin: 60px;
    color: #E0C073;
    border-radius: 7px;
    font-size: 2vw;
}

footer a {
    color: #050705 ;
    text-decoration: underline;
    font-weight: bold;
}

.list-pages{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 40px;
}

.list-pages a{
    text-decoration: none;
    font-weight: 600;
}

.text-footer{
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
    color: #050705;
}


/* Realisations page */

.realisations-intro {
    margin-top: 15%;
    margin-left: 7%;
    margin-bottom: 10%;
    background-color: #050705;
}

.realisations-intro .container {
    max-width: 1200px;
}

.realisations-intro .main-title {
    color: #E0C073;
    padding: 0;
    font-size: 96px;
    margin-bottom: 40px;
    
}

.realisations-intro .text-container {
    max-width: 800px;  /* Control the width of text block */
}

.realisations-intro .title-text {
    color: #E0C073;
    margin-top: 3%;
    font-size: 20px;  /* Reduced from 24px */
    line-height: 1.4;  /* Reduced from 1.6 */
    
}

/* Realisations page grid */
.realisations-grid-section {
    background-color: #050705;
    margin-top: 1%;
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.realisations-card {
    position: relative;
    cursor: pointer;
    display: flex;  /* Add flex display */
    flex-direction: column;  /* Stack content vertically */
}

.realisations-image-container {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    flex-grow: 1;  /* Allow container to fill space */
}

.realisations-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    opacity: .55;
    transition: opacity 0.5s ease;
}

.realisations-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.realisations-card:hover .realisations-image {
    opacity: 1;
}


.realisations-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: baseline;  /* Align text by their baselines */
    gap: 15px;
    width: calc(100% - 60px);
}

.realisations-info h3 {
    color: #E0C073;
    
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    line-height: 1;  /* Adjust line height */
}

.realisations-info p {
    color: #E0C073;
    
    font-weight: light;
    font-size: 20px;
    opacity: 1;
    margin: 0;
    line-height: 1;  /* Adjust line height */
}

/* Remove the separator styles */

.category-selector {
   margin-left: 3%;
}

.category-container {
    display: flex;
    gap: 100px;
}

.category-btn {
    background: none;
    border: none;
    color: #E0C073;
    
    font-size: 24px;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* Single underline effect */
.category-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #E0C073;
    transition: width 0.3s ease;
}

/* Show underline for both hover and active states */
.category-btn:hover::after,
.category-btn.active::after {
    width: 100%;
}

.category-btn.active {
    opacity: 1;
}

/* Hide projects that don't match the selected category */
.realisations-card {
}

.realisations-card.hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.category-content {
    display: none;
}

/*--------CAROUSEL PARTNERS */

.carousel-partners {
    margin-top: 5%;
    overflow: hidden;
    background: #050705;
    /* adjust height to your logo size */
    height: 100px;
    position: relative;
    /* Add hardware acceleration */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.list-partners {
    display: flex;
    width: max-content;
    /* make sure it's tall enough for logos */
    align-items: center;
    animation: scrolling 20s linear infinite;
    /* Optimize for mobile performance */
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    /* Prevent layout thrashing */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.list-partners img {
    height: 50px;
    width: auto;
    margin: 0 20px;
    object-fit: contain;
    /* Optimize image rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Prevent layout shifts */
    flex-shrink: 0;
}

@keyframes scrolling {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .carousel-partners {
        height: 80px;
    }
    
    .list-partners {
        animation-duration: 30s; /* Slower animation on mobile */
    }
    
    .list-partners img {
        height: 40px;
        margin: 0 15px;
    }
}

/* iOS Safari specific optimizations */
@supports (-webkit-touch-callout: none) {
    .list-partners {
        /* Use transform3d for hardware acceleration on iOS */
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        /* Reduce animation complexity */
        animation-duration: 35s;
    }
    
    .carousel-partners {
        /* Force hardware acceleration */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

.illumine-title{
    font-size: 55px;
    color: #E0C073;
}

.title-section span{
    color: white;
}

/* About page */

.about-intro {
    margin-top: 15%;
    margin-bottom: 10%;
    background-color: #050705;
}

.about-content {
    padding: 0 7%;
    margin-bottom: 100px;
}

.about-text {
    max-width: 1000px!important;
    margin-top: 40px;  /* Add top margin to create additional space */
}

.about-text p {
    color: #E0C073;
    
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.team-section,.oeuvres-section {
    padding: 0 7%;
    margin-bottom: 100px;
    background-color: #050705;
}

.team-section .section-title, .oeuvres-section .section-title  {
    color: #E0C073;
    font-size: 90px;
    margin-bottom: 4%;
    margin-top: 0px;
    text-align: left;
}

.team-grid,.oeuvres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0;
    margin-bottom: 50px;
}

.team-member {
    text-align: left;
}

.member-image,.oeuvres-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 0px;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border : 1px solid #E0C073;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Background image layers for smooth transitions */
.member-image-gold,
.member-image-classic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #E0C073;
    transition: opacity 0.3s ease;
}

.member-image-gold {
    opacity: 1;
    z-index: 2;
}

.member-image-classic {
    opacity: 0;
    z-index: 3;
}

/* Hover effect - show classic image */
.team-member:hover .member-image-gold {
    opacity: 0;
}

.team-member:hover .member-image-classic {
    opacity: 1;
}

/* Smooth transition for image color change */
.member-image img {
    transition: transform 0.3s ease;
}

/* JavaScript will handle the image source change on hover */

.member-info {
    padding: 20px 30px;
    background-color: #E0C073;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.member-info h3 {
    color: #050705;
    font-size: 25px;
    margin: 0;
}

.member-role {
    color: #050705;
    font-size: 20px;
    opacity: 0.8;
    margin: 0;
}

.member-link {
    color: #050705;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: opacity 0.3s ease;
}

.member-link:hover {
    opacity: 0.7;
}

.oeuvres-section .under-title{
    color: #E0C073;
    font-size: 40px;
    margin: 0;
}

.oeuvres-info{
    margin-top: 33px;
}

.oeuvres-info p{
    color: #E0C073;
    margin: 0;
}

.oeuvres-info h3{
    color: #E0C073;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-grid,.oeuvres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .team-grid,.oeuvres-grid {
        grid-template-columns: 1fr;
    }
}

.chapters-section {
    padding: 0 7%;
    margin-bottom: 100px;
}

.chapters-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.chapter {
    background-color: #050705;
    padding: 30px;
    border: 1px solid rgba(224, 192, 115, 0.2);
    transition: transform 0.3s ease;
}

.chapter:hover {
    transform: translateY(-5px);
}

.chapter-title {
    color: #E0C073;
    
    font-size: 24px;
    margin-bottom: 15px;
}

.chapter-text {
    color: #E0C073;
    
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .chapters-section .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.intro-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 7%;
}

.intro-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.intro-text .main-title {
    line-height: 1;
    font-size: 100px;
    max-width: 800px;
}

.intro-video {
    flex: 1;
    border: 1px solid #E0C073;
    max-width: 700px;
    height: 800px;
    overflow: hidden;
    position: relative;
}

.intro-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sound-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #E0C073;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.sound-toggle:hover {
    background: rgba(224, 192, 115, 0.2);
}

.sound-toggle svg {
    width: 24px;
    height: 24px;
    fill: #E0C073;
}

.sound-toggle .sound-on {
    display: none;
}

.sound-toggle.active .sound-on {
    display: block;
}

.sound-toggle.active .sound-off {
    display: none;
}

/* Template specific sound toggle positioning */
#header-container {
    position: relative;
}

#header-sound-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .main-title {
        font-size: 80px;
    }
}

@media (max-width: 968px) {
    .intro-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;  /* Center text on mobile */
    }

    .intro-video {
        height: 500px;
    }

    .main-title {
        font-size: 60px;
    }

    .intro-text {
        gap: 60px;  /* Less space on mobile */
    }

    .about-text {
        margin-top: 0px;
    }

    
}

.partnership-section {
    background-color: #050705;
    margin-bottom: 100px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 50px;
}

.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.partner:hover {
    transform: scale(1.05);
}

.partner img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    filter: brightness(0) invert(0.8) sepia(1) saturate(2) hue-rotate(350deg);  /* Makes logos gold colored */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .partnership-section {
        padding: 60px 7%;
    }

    
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
}

/* Contact page */

.contact-intro {
    margin-top: 10%;
    margin-bottom: 0%;
    background-color: #050705;
    
}

.contact-intro .intro-content {
    display: flex;
    gap: 100px;
    margin-bottom: 80px;
    margin-right: auto;
    margin-left: 0;  /* Remove auto margin from left */
} 

.info-contact{
    padding: 0 7%;
    margin-bottom: 100px;
}

.title-contact{
    margin-bottom: 65px;
}

.title-contact h1{
    font-size: 90px;
    color: #E0C073;
}

.text-contact{
    font-size: 25px;
    color: #E0C073;
    
}

.mail-center{
    margin-bottom: 65px;
}

.mail-center p{
    color: #E0C073;
    text-align: center;
    font-size: 40px;
}

.mail-center a{
    color: #E0C073;
    text-align: center;
    font-size: 40px;
    text-decoration: none;
}

.follow-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 40px;
    background-color: #E0C073;
    margin-top: 100px;
}

.follow-content p{
    font-size: 90px;
    color: #050705;
    margin: 0px;
}

.follow-content a{
    font-size: 50px;
    color: #050705;
}

.follow-content img{
    width: 80px;
    height: 80px;
}



.intro-text {
    flex: 1;
    max-width: 700px;
}

.intro-image {
    flex: 1;
    height: 600px;
    max-width: 700px;
}

.content-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-left: 0;  /* Remove auto margin from left */
    margin-right: auto;
}

.main-title {
    font-size: 98px;
    color: #E0C073;
    
    line-height: 1;
    margin: 0;
    padding: 0px;
}

.contact-text {
    margin-top: 40px;
    color: #E0C073;
    
    font-size: 20px;
    line-height: 1.6;
}

.contact-info {
    margin-top: 60px;
    margin-bottom: 60px;
}

.contact-email {
    display: block;
    color: #E0C073;
    font-size: 24px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.contact-email:hover {
    opacity: 0.8;
}

.photo-container {
    height: 665px;
    overflow: hidden;
    border-right: none;
}

.address-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    background-color: #E0C073;
    padding: 50px 100px;
    font-size: 35px;
    text-align: center;
    font-weight: bold;
    line-height: 1.4;
    color: #050705;
}

.address-overlay p {
    margin: 0;
}

.map-container {
    height: 665px;
    overflow: hidden;
}

.studio-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .photo-container,
    .map-container {
        height: 200px;
    }
    
    .photo-container {
        border-right: 2px solid #E0C073;
    }
    
    .main-title {
        font-size: 60px;
    }

    .address-overlay {
        font-size: 14px;
    }
}

.contact-intro .intro-content {
    align-items: stretch;
}

.contact-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Mention legale page */
.mention{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0px 50px;
    color: #E0C073;
    margin: 200px 0px;
    
}

.mention h1{
    font-size: 90px;
}

.text-mention{
    font-size: 20px;
    width: 75%;
}

.text-mention a{
    color: #E0C073;
}



/* Responsive adjustments */
@media (max-width: 968px) {
    .contact-intro .intro-content {
        flex-direction: column;
        gap: 40px;
    }

    .intro-image {
        max-width: 100%;
    }
}

.box-oeuvres {
  display: flex;
  flex-direction: column;
  background: #050705;
  height: 100%;
}

.oeuvres-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 0px;
  position: relative;
}

.oeuvres-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.box-oeuvres:hover .oeuvres-image img {
  transform: scale(1.05);
}

.oeuvres-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.oeuvres-info h3 {
  color: #E0C073;
  font-size: 25px;
  margin: 0 0 10px 0;
}

.oeuvres-desc {
  color: #E0C073;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}

.box-oeuvres .gold-btn {
    margin: 20px;
    width: 130px;
    text-align: center;
    text-decoration: none;
    font-size: 16px !important;
    white-space: nowrap;
    color: #050705 !important;
    padding: 10px;
    display: inline-block;
    box-sizing: border-box;
}

/* Custom cursor for locked items */
.project-item[title*="débloqué"],
.realisations-card[title*="débloqué"] {
  cursor: url('../photos/Studio_GPC/assets/locked-cursor.svg'), not-allowed;
}

/* White text for locked project titles */
.project-item[title*="débloqué"] h3,
.realisations-card[title*="débloqué"] h3 {
    color: rgb(131, 131, 131);
}

/* White text for locked project descriptions */
.project-item[title*="débloqué"] p,
.realisations-card[title*="débloqué"] p {
  color: rgb(131, 131, 131);
}

/* Disable hover opacity effects for locked projects */
.project-item[title*="débloqué"]:hover .project-image.main,
.realisations-card[title*="débloqué"]:hover .realisations-image {
  opacity: 0.55 !important;
}

/* Disable hover transform effects for locked projects */
.project-item[title*="débloqué"]:hover {
  transform: none !important;
}

/* Ensure title stays on top for locked projects */
.project-item[title*="débloqué"] h3,
.realisations-card[title*="débloqué"] h3 {
  position: relative;
  z-index: 10 !important;
}

.project-item[title*="débloqué"] p,
.realisations-card[title*="débloqué"] p {
  position: relative;
  z-index: 10 !important;
}

@media (max-width: 768px) {

    /* Position the glider based on selected tab */
    .tabs-slider input[type="radio"]:nth-of-type(1):checked ~ .glider {
        transform: translateY(0);
    }
    
    .tabs-slider input[type="radio"]:nth-of-type(2):checked ~ .glider {
        transform: translateY(100%);
    }
    
    .tabs-slider input[type="radio"]:nth-of-type(3):checked ~ .glider {
        transform: translateY(200%);
    }
    
    .tabs-slider input[type="radio"]:nth-of-type(4):checked ~ .glider {
        transform: translateY(300%);
    }

    .glider {
        height: 25%;
        width: 100%;
    }

    .project-item h3{
        padding-left: 0px;
        font-size: 25px !important;
    }

    .project-item h3 span{
        font-size: 20px;
    }




    .title-section {
        margin: 20px 0px;
    }

    .title-section2{
        margin-bottom: 0px;
    }



    .hide-mobile{
        display: none;
    }

    .mobile-space{
        display: block;
    }

    /*welcome page*/

    .studio-text .text-line {
        font-size: 36px;
    }

    .studio-text .subtitle {
        font-size: 19px;
    }


    .nav-items{
        display: none;
    }

    .header-content{
        padding: 0 20px;
    }

    .main-title,.main-title2{
        font-size: 30px !important;
    }

    h3{
        font-size: 20px !important;
       
    }

    .poster-section h2, p {
        max-width: 100%;
    }

    .title-text,.title-text2{
        font-size: 17px !important;
    }

    .title-section,.title-section2{
        padding: 7% 7% !important;
    }

    .project-item{
        width: 100%;
    }


    /*REALISATION*/
    .realisations-intro {
        margin-top: 40%;
    }

    .realisations-intro .container{
        margin-right: 35px;
    }

    .realisations-intro .title-text {

    }

    .tab-label{
        font-size: 30px;
        padding: 10px 20px;
    }

    .category-selector {
        margin-left: 0px;
    }

    .tab-container-slider{
        padding: 20px 0px;
    }

    .tabs-slider {
        flex-direction: column;
        align-items: start;
    }

    .glider{
        height: 25%;
        width: 100%;
    }

    .realisations-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .illumine-title {
        font-size: 22px;
        color: #E0C073;
        text-align: center;
    }





    /*mention page*/
    .mention{
        padding: 0 20px;
    }

    .mention h1 {
        font-size: 25px;
    }

    .text-mention {
        font-size: 18px;
        width: 100%;
    }


    /*ABOUT*/

    .intro-video-mobile{
        display: block;
    }

    .display-pc{
        display: none;
    }

    .about-intro {
        margin-top: 30%;
    }

    .intro-text{
        text-align: left;
        gap: 0px;
    }

    .intro-text .main-title{
        padding: 7% 0;
    }

    .about-text {
      
    }

    h2.section-title{
        font-size: 30px !important;
    }

    .oeuvres-section .under-title{
        display: none;
    }

    .oeuvres-info {
        padding: 0px;
    }

    .box-oeuvres .gold-btn {
        margin: 0px;
        margin-top: 20px;
    }


    /*CONTACT*/

    .info-contact{
        padding: 0 20px;
    }

    .contact-intro {
        margin-top: 35%;
    }

    .text-contact {
        font-size: 18px;
    }

    .title-contact h1 {
        font-size: 25px;
    }

    .mail-center p,a {
        font-size: 6vw !important;
    }

    .follow-content{
        gap: 20px;
    }

    .follow-content p {
        font-size: 25px;
    }

    .follow-content a {
        font-size: 20px;
    }

    .follow-content img{
        width: 40px;
        height: 40px;
    }

    .address-overlay {
        padding: 15px;
    }

    .contact-intro .content-grid{
        display: flex;
        flex-direction: column;
    }




    /*TEMPLATE*/
    .infos{
        display: block !important;
    }

    .main-image{
        height: 100vh;
    }

    .titre-template{
        font-size: 30px !important;
    }

    #participation{
        flex-direction: column !important;
        
    }

    .poster-section img {
        width: 100% !important;
    }

    .poster-section h2,p {
        font-size: 15px !important;
    }

    .poster-section br{
        display: none;
    }

    .grid-img2{
        overflow: auto !important;
    }

    .grid-img2 img {
        width: 300px !important;
    }





    /*footer*/


    footer h2{
        font-size: 50px;
    }

    footer .list-pages{
        flex-direction: column;
        gap: 10px;
    }

    a.btn-mail {
        margin: 30px;
        font-size: 16px;
        padding: 8px 16px;
    }

}








/* Cacher en desktop */
.mobile-burger-container {
    display: block;
    position: relative;
    z-index: 1001;
  }

  @media (min-width: 768px) {
    .mobile-burger-container {
      display: none;
    }
  }

  #burger-toggle {
    display: none;
  }

  /* Label bouton burger */
  .burger-label {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    width: 40px;
    height: auto;
    z-index: 1003;
    cursor: pointer;
  }

  .burger-icon {
    background-image: url('/photos/Studio_GPC/assets/burger.svg');
    width: 40px;
    height: 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
  }

  /* Image par défaut */
  .burger-icon {
    background-image: url('/photos/Studio_GPC/assets/burger.svg');
  }

  /* Image quand menu ouvert */
  #burger-toggle:checked + label .burger-icon {
    background-image: url('/photos/Studio_GPC/assets/close.svg');
  }

  /* Fallback for modern browsers if structure changes */
  label.burger-label:has(input:checked) .burger-icon {
    background-image: url('/photos/Studio_GPC/assets/close.svg');
  }

  .menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 30px;
    background: #E0C073;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    text-align: right;
  }

  .menu .items-mobile{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    gap: 5%;
    height: 90%;
  }

  .mention-nav{
    color: #050705;
    text-decoration: none;
    font-weight: lighter;
  }

  .menu a.header-item{
    color: #050705;
    font-weight: bold;
    font-size: 35px !important;
  }

  #burger-toggle:checked ~ .menu {
    transform: translateX(0);
  }

  @media (max-width: 768px) {
    .header-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 16px;
      height: 100%;
      gap: 0;
    }
    .header-logo {
      display: block;
      height: 40px;
      width: auto;
      margin: 0;
      padding: 0;
      object-fit: contain;
    }

    .burger-label {
      position: static;
      display: flex;
      align-items: center;
    }
    .burger-icon {
      width: 40px;
      height: 40px;
      margin-right: 1%;
      display: block;
      object-fit: contain;
      z-index: 2000;
    }
  }

/* Custom pointer cursor for all clickable elements */
a, button, .cta-button, .cta-button2, .header-item, .header-contact, .contact-mobile, 
.project-item:not([title*="débloqué"]), .realisations-card:not([title*="débloqué"]),
.tab-label, .category-btn, .member-link, .gold-btn, .btn-mail, .list-pages a,
.text-footer, .text-mention a, .follow-content a, .contact-email, .menu a {
  cursor: url('../photos/Studio_GPC/assets/pointer.svg'), pointer;
}

/* Ensure locked projects still use the locked cursor */
.project-item[title*="débloqué"],
.realisations-card[title*="débloqué"] {
  cursor: url('../photos/Studio_GPC/assets/locked-cursor.svg'), not-allowed;
}










