/* ==================================================
   RESET & VARIABLES
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

:root {
    --yellow: #f5b400;
    --white: #ffffff;
    --dark-overlay: rgba(0, 25, 18, 0.7);
}


/* ==================================================
   BASE
================================================== */

body {
    font-family: "elza-condensed", sans-serif;
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    background: #000;
}


/* ==================================================
   HERO SECTION
================================================== */

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Background Video */
.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: var(--dark-overlay);
    z-index: 1;
}


/* ==================================================
   NAVIGATION
================================================== */

.nav {
    position: fixed;
    z-index: 50;
    width: 100%;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guayoyo-logo {
    height: 80px;
    display: block;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    padding: 10px 16px;
    background: rgba(255,255,255,0.12);
    transition: all 0.25s ease;
    clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
}


/* ==================================================
   HERO CONTENT
================================================== */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    padding: 80px 40px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.hero-content h1 {
    font-weight: 900;
    font-style: italic;
    font-size: clamp(48px, 22vw, 160px);
    line-height: 1.02;
}

.highlight {
    color: var(--yellow);
}

.hero-content .word-slider {
    display: inline-block;
    white-space: nowrap;
    font-weight: 700;
    font-size: clamp(48px, 22vw, 160px);
}

.hero-content p {
    max-width: 1000px;
    font-size: 25px;
    line-height: 1.6;
    margin: 25px auto 0;
    text-align: left;
    font-style: normal;
}

.accent {
    color: var(--yellow);
    font-weight: 600;
}


/* ==================================================
   CTA BUTTON
================================================== */

.cta-button {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 42px;
    background: var(--white);
    color: #000;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}


/* ==================================================
   WORD ANIMATIONS
================================================== */

.word-slider.animate-in {
    animation: slideIn 0.8s ease-out forwards;
}

.word-slider.animate-out {
    animation: slideOut 0.6s ease-in forwards;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(60px); }
}


/* ==================================================
   LOGO CAROUSEL
================================================== */

.logo-carousel {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 18px 0;
    overflow: hidden;
    background: oklch(100% 0.00011 271.152 / 0.828);
    backdrop-filter: blur(6px);
    z-index: 1;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll-logos 30s linear infinite;
}

.logo-track img {
    height: 36px;
    margin: 0 50px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logo-track img:hover {
    opacity: 1;
}

@keyframes scroll-logos {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* ==================================================
   MODAL
================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal {
    position: relative;
    width: 90%;
    background: #f5b400;
    animation: modalIn 0.4s ease;
    display: flex;
    justify-content: center;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}


.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;

    z-index: 50;          /* WICHTIG */
    pointer-events: auto;

    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

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



/* ==================================================
   MODAL VIDEO
================================================== */

.modal-video {
    pointer-events: none;   /* 🔑 Video blockiert keine Klicks */
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    
}

.modal-video video {
    width: 150%;
    object-fit: contain;
}


/* ==================================================
   MODAL CONTENT
================================================== */

.modal-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    width: 60%;
}

.modal-content h2 {
    font-weight: 900;
    font-size: 70px;
    margin-bottom: 10px;
    line-height: 80%;
    color: #fff;
}

.modal-subtitle {
    font-size: 25px;
    opacity: 0.8;
    margin-bottom: 30px;
}


/* ==================================================
   PROJECT OPTIONS
================================================== */

.project-options {
    display: flex;
    gap: 14px;
    margin-bottom: 30px;
}

.option {
    flex: 1;                /* 🔑 alle gleich breit */
    min-height: 120px;

    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 16px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    cursor: pointer;
    color: #000000;
    transition: all 0.25s ease;
}


.option strong {
    font-size: 14px;
    font-weight: 600;
}

.option small {
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.4;
}

.option .icon {
    font-size: 18px;
    opacity: 0.8;
    margin-top: 8px;
}


.option.active {
    border-color: var(--yellow);
    background: rgb(0, 0, 0);
    color: #fff;
}

.option.active .icon {
    opacity: 1;
}




/* ==================================================
   FORM
================================================== */

.modal-form input,
.modal-form textarea {
    width: 100%;
    background: #141414;
    border: none;
    padding: 14px;
    margin-bottom: 14px;
    color: #fff;
}

.modal-form {
   display: flex;
   flex-direction: column;
}

.form-row {
    display: flex;
    gap: 14px;
}


.file-upload {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 56px;
    width: 100%;

    background: #111;
    color: white;

    border: 1px solid #333;
    cursor: pointer;
    font-size: 14px;
}

.file-upload input {
    display: none;
}


.form-submit {
    width: 60%;
    margin: auto;
    padding: 16px;
    background: #ffffff;
    color: #000;
    font-weight: 700;
    border: none;
    cursor: pointer;
    margin-top: 18px;
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
}



/* ================================
   SERVICES SECTION
================================ */

/* STAGE */
.stage {
    position: relative;
  
    max-width: 100%;
    margin: auto;

    background: linear-gradient(
        to right,
        #000 0%,
        #000 50%,
        #fff 50%,
        #fff 100%
    );
    overflow: hidden;
  top: 0;
  left: 0;
  width: 100vw;   /* ancho de la pantalla */
  height: 100vh;  /* alto de la pantalla */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ================= CAROUSELS ================= */

.carousel {
    position: absolute;
    width: 100%;
    height: 60px;
    overflow: hidden;
    z-index: 3;
}
.carousel,
.video-wrapper {
    position: relative;
    z-index: 2;
}

.carousel-top { 
    top: 0; 
    mix-blend-mode: difference;
}
.carousel-bottom { 
    bottom: 0; 
    mix-blend-mode: difference;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: marquee-left 25s linear infinite;
}

.carousel-bottom .carousel-track {
    animation: marquee-right 25s linear infinite;
}

.carousel span {
    font-weight: 900;
    font-size: 22px;
    white-space: nowrap;
    padding-right: 40px;
    color: #fff;
    mix-blend-mode: difference;
}

.stage::before {
     content: "";
     position: absolute;
    top: 0;
    left: 0;
    width: 100vw;   /* ancho de la pantalla */
    height: 100vh;  /* alto de la pantalla */

    background: linear-gradient(
        to right,
        #000 0%,
        #000 50%,
        #fff 50%,
        #fff 100%
    );

    transform: skewX(-10deg);


}

.leistung {
    font-weight: 600;
    font-style: italic;
    font-size: clamp(48px, 22vw, 160px);
    line-height: 1.02;
    margin-top: -37px;
} 
.meine {
      font-weight: 900;
    font-style: italic;
    font-size: clamp(48px, 22vw, 160px);
    line-height: 1.02;
} 

.stage .video-text p{
    max-width: 1000px;
    font-size: 25px;
    line-height: 1.6;
    font-weight: 400;
    margin: 5px auto 0;
    text-align: left;
    font-style: normal;
    color: rgb(255, 255, 255);
}



/* ================= VIDEO ================= */

.video-wrapper {
    position: absolute;
    left: 30%;
    top: 50%;
    transform: translateY(-50%);
    width: 90%;
    max-width: 1300px;
    aspect-ratio: 16 / 9;
    z-index: 2;
    transition: all 0.6s ease;
}

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

/* DARK OVERLAY */
.video-dark-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, black, transparent);
    z-index: 1;

}

/* TEXT */
.video-text {
    position: relative;
    left: 16%;
    color: white;

    transition: opacity 0.4s ease;
    z-index: 5;

    font-weight: 900;
    font-style: italic;
    font-size: clamp(48px, 22vw, 80px);
    line-height: 1.02;
    pointer-events: none;
    width: 45%;
}


/* PLAY BUTTON */
.play-btn {
    position: absolute;
    left: 60%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: #f5b400;
    border: none;
    font-size: 32px;
    cursor: pointer;
    z-index: 3;
    transform: skewX(-10deg);
}

/* CLOSE BUTTON */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f5b400;
    color: rgb(0, 0, 0);
    border: none;
    font-size: 22px;
    padding: 20px 25px 20px 25px;
    cursor: pointer;
    z-index: 4;
    display: none;
    transform: skewX(-10deg);
}

/* ================= PLAYING STATE ================= */

.stage.playing .video-wrapper .video-dark-overlay{
  background: #ffffff00;
}

.stage.playing .video-wrapper  {
    left: -25%;
    top: 50%;
    transform: translate(50%, -50%);
}

.stage.playing .carousel,
.stage.playing .video-text,
.stage.playing .play-btn {
    opacity: 0;
    pointer-events: none;
}

.stage.playing .close-btn {
    display: block;
}

/* ================= ANIMATIONS ================= */

@keyframes marquee-left {
    from { transform: translateX(-50%); }
    to { transform: translateX(0%); }
}

@keyframes marquee-right {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
}





/* ================= VIDEO GALLERY ================= */


.gallery-bg {
    margin-top: 60vh;
  width: 100%; /* ancho del cuadro */
  height: 100%;/* alto del cuadro */ 
  background-color: #000000; /* azul */
transform: skewX(-10deg);
position: absolute;
}

.bg-Modal1{
  width: 100%; /* ancho del cuadro */
  height: 100%;/* alto del cuadro */ 
  background-color: #ffbf00; /* azul */
transform: skewX(-10deg);
position: absolute;
}

.titel-videogalerie {
    z-index: 5;
    width: 80%;
}

.titel-videogalerie h1{
    font-size: clamp(48px, 22vw, 120px);
    color: #000;
    font-weight: 900;
    line-height: 90px;
}

h2{ 
    font-size: clamp(48px, 22vw, 80px);
    color: #f5b400;
    font-weight: 700;
    line-height: 90px;
    margin-top: 4vh;
    
}

.titel-videogalerie p {
    color: rgb(255, 255, 255);
    font-size: 20px;
    margin-bottom: 4%;
    font-style: normal;
    width: 50vw;
}




.video-gallery {
    padding: 50px 6vw;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
}

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

/* Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.15)
    );

    transition: background 0.3s ease;

}

.gallery-overlay h3 {
    color: #fff;
    font-size: 40px;
    font-weight: 800;
}

.gallery-overlay p {
    color: #fff;
    font-size: 25px;
    opacity: 0;
    max-height: 0;
    transition: all 0.3s ease;
}

/* Hover */
.gallery-item:hover .gallery-overlay {
    background: rgba(177, 145, 63, 0.75);
}

.gallery-item:hover p {
    opacity: 1;
    max-height: 200px;
    margin-top: 8px;
}


/* ================= VIDEO MODAL ================= */

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;

    background: #000;
    padding: 40px;
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.video-modal-media video {
    width: 100%;
    margin-bottom: 24px;
}

.video-modal-text h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 8px;
}

.video-modal-text p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.85;
}




/* ==================================================
   RESPONSIVE
================================================== */



/* ================= Iphon SE ================= */

/* ============ Home ============ */

@media (max-width: 375px) {
    
    
   .guayoyo-logo {
        height: 40px;
    }

    .nav-link {
        padding: 8px 14px;
        font-size: 10px;
    }
    
     .cta-button {
        margin-top: 50px;
    }

    .logo-carousel {
        padding: 8px 0;
    }

    .logo-track img {
        height: 25px;
    }


    .hero-content {
        padding: 40px 30px;
        top: 52%;
    }
    

    .hero-content h1 {
        font-size: 50px;
    }

       .hero-content .word-slider {
        font-size: 50px;
    }

    .hero-content p {
    max-width: 1000px;
    font-size: 15px;
    line-height: 1.6;
    margin: 25px auto 0;
    text-align: left;
    font-style: normal;
}

/* ==== Modal ===== */

.modal {
        width: 100%;
        height: 100%;
        clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    }

.modal-content {
        width: 100%;
        padding: 10px 40px ;
    }
.modal-content h2 {
        font-size: 30px;
        margin-bottom: 3px;
    }
.modal-content p {
        font-size: 17px;
        margin-bottom: 22px;
        line-height: 15px;
    }



    .option {
        min-height: 12px;
        gap: 6px;
        padding: 8px;

    }

     .option strong {
       font-size: 10px;
        
    }

     .option small {
       font-size: 8px;
        
    }

    .option .icon {
       font-size: 8px;
        
    }

     .project-options {
       gap: 3px;
       margin-bottom: 20px;
        
    }

      .file-upload {
       height: 35px;
        
    }

      .form-submit {
       
       clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%); 
    }

     .modal-close {
       
       top: 18px;
       right: 18px;
       font-size: 20px;
    }



    /* ============ Meine Lesitungen ============ */

    .stage{
       
      display: flex;
      justify-content: space-between;
    }

     .stage::before{
    
      width: 100%;
      height: 100%;
        background: linear-gradient(
        to right,
        #000 0%,
        #000000 100%,
        #000000 100%,
        #fff 100% );
    }

      .video-text{
       
      padding: 3px 3px;
      width: 80%;
      left: 30px;
    }

     .stage .video-text p{
       
      font-size: 15px;
    
        
    }

     .stage .video-text h1{
       
      font-size: 60px;
      line-height: 85px;
        

    }

    .video-wrapper{
       
      top: 0;
      transform: translateY(20%);
      max-width: 1300px;
      left: 10%;
    }

    .play-btn{
      left: 60%;  
      top: 30%;
      height: 90px;
      width: 90px;

    }

     .stage.playing .video-wrapper{
      
    left: -40%; 

      
    }

    .video-wrapper .close-btn{
       
      top:8px;
      right: 8px;
      font-size: 15px;
      padding: 8px 12px 8px 12px;
    }



/* ============ REALFILM =========== */

.video-gallery{
   padding: 30px 6vw;
}

 .titel-videogalerie {
       
      width: 95%;
    }

.titel-videogalerie h1{
       
      font-size: 40px;
      line-height: 32px;
    }

    .titel-videogalerie h2{
       
      font-size: 35px;
      line-height: 32px;
    }

    .titel-videogalerie p{
       
      font-size: 15px;
      line-height: 25px;
        width: 90%;

    }

      .gallery-bg{
       
      margin-top: 40vh;
      transform: skewX(-10deg);
      margin-right: 65%;

    }

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

    .gallery-grid h3{
        font-size: 25px;
    }

     .gallery-grid p{
        font-size: 12px;
    }
    
}






/* ================= Iphon 16pro Max ================= */

/* ============ Home ============ */

@media (max-width: 440px) {
    
    
   .guayoyo-logo {
        height: 40px;
    }

    .nav-link {
        padding: 8px 14px;
        font-size: 10px;
    }
    
     .cta-button {
        margin-top: 50px;
    }

    .logo-carousel {
        padding: 8px 0;
    }

    .logo-track img {
        height: 25px;
    }


    .hero-content {
        padding: 40px 30px;
        top: 52%;
    }
    

    .hero-content h1 {
        font-size: 50px;
    }

       .hero-content .word-slider {
        font-size: 50px;
    }

    .hero-content p {
    max-width: 1000px;
    font-size: 15px;
    line-height: 1.6;
    margin: 25px auto 0;
    text-align: left;
    font-style: normal;
}

/* ==== Modal ===== */

.modal {
        width: 100%;
        height: 100%;
        clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    }

.modal-content {
        width: 100%;
        padding: 10px 40px ;
    }
.modal-content h2 {
        font-size: 30px;
        margin-bottom: 3px;
    }
.modal-content p {
        font-size: 17px;
        margin-bottom: 22px;
        line-height: 15px;
    }



    .option {
        min-height: 12px;
        gap: 6px;
        padding: 8px;

    }

     .option strong {
       font-size: 10px;
        
    }

     .option small {
       font-size: 8px;
        
    }

    .option .icon {
       font-size: 8px;
        
    }

     .project-options {
       gap: 3px;
       margin-bottom: 20px;
        
    }

      .file-upload {
       height: 35px;
        
    }

      .form-submit {
       
       clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%); 
    }

     .modal-close {
       
       top: 18px;
       right: 18px;
       font-size: 20px;
    }



    /* ============ Meine Lesitungen ============ */

    .stage{
       
      display: flex;
      justify-content: space-between;
    }

     .stage::before{
    
      width: 100%;
      height: 100%;
        background: linear-gradient(
        to right,
        #000 0%,
        #000000 100%,
        #000000 100%,
        #fff 100% );
    }

      .video-text{
       
      padding: 3px 3px;
      width: 80%;
      left: 30px;
    }

     .stage .video-text p{
       
      font-size: 15px;
    
        
    }

     .stage .video-text h1{
       
      font-size: 60px;
      line-height: 85px;
        

    }

    .video-wrapper{
       
      top: 0;
      transform: translateY(20%);
      max-width: 1300px;
      left: 10%;
    }

    .play-btn{
      left: 60%;  
      top: 30%;
      height: 90px;
      width: 90px;

    }

     .stage.playing .video-wrapper{
      
    left: -40%; 

      
    }

    .video-wrapper .close-btn{
       
      top:8px;
      right: 8px;
      font-size: 15px;
      padding: 8px 12px 8px 12px;
    }



/* ============ REALFILM =========== */

.video-gallery{
   padding: 30px 6vw;
}

 .titel-videogalerie {
       
      width: 95%;
    }

.titel-videogalerie h1{
       
      font-size: 40px;
      line-height: 32px;
    }

    .titel-videogalerie h2{
       
      font-size: 35px;
      line-height: 32px;
    }

    .titel-videogalerie p{
       
      font-size: 15px;
      line-height: 25px;
        width: 90%;

    }

      .gallery-bg{
       
      margin-top: 23vh;
      transform: skewX(-10deg);
      margin-right: 65%;

    }

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

    .gallery-grid h3{
        font-size: 25px;
    }

     .gallery-grid p{
        font-size: 12px;
    }
    
}
