@font-face {
    font-family: 'Comicy';
    src: url('assets/fonts/Comicy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
    overflow-x: hidden;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -100;
    transition: opacity 0.5s ease;
    will-change: opacity;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .video-container {
        display: none; 
    }
}

/* Botón de sonido */
#toggle-sound {
    position: fixed;
    top: 90%;
    right: 5%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    z-index: 1000;
    transition: all 0.3s ease;
}

#toggle-sound:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

#toggle-sound:active {
    transform: scale(0.95);
}

/* Header flotante */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
    box-sizing: border-box; 
}

header h1, header h1 a {
    font-family: 'Comicy', sans-serif;
    margin: 0;
    font-size: 1.5em;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

header h1 a:hover {
    color: #ffcc00;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0%;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: all 0.3s ease;
    padding: 5px 15px;
    border-radius: 15px;
}

header nav ul li a:hover {
    color: #ffcc00;
    background: rgba(255, 204, 0, 0.2);
}


.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Sección Home */
.home-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.home-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 15px;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-image img {
    width: 20vw;
    height: auto;
    max-width: 300px;
    min-width: 150px;
    /* border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    esto es la cosa que tenía el icono, ya no lo kieren asique lo comento por si vuelve*/
}

.home-description {
    max-width: 600px;
    text-align: left;
}

.home-description h2 {
    margin: 0 0 15px 0;
    font-size: 2.2em;
    color: #ffcc00;
}

.home-description p {
    margin: 0;
    font-size: 1.2em;
    line-height: 1.6;
}

/* Estilos generales*/
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 20px;
    scroll-margin-top: 100%;
    position: relative;
    z-index: 1; /* altura */
}

.projects-section {
    background: linear-gradient(rgba(225, 28, 247, 0.288), rgba(42, 42, 42, 0.85)), url('assets/images/back1.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}
.play-now-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff3366, #ff6b6b);
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 51, 102, 0.6);
    background: linear-gradient(135deg, #ff6b6b, #ff3366);
}

.play-now-btn:active {
    transform: translateY(1px);
}
.logo-mobile { display: none; }

@media (max-width: 768px) {
    .logo-full { display: none; }
    .logo-mobile { 
        display: inline-block;
        font-size: 1.3rem;
    }
}
.project-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    background: rgba(0,0,0,0.7);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.youtube-video iframe {
    width: 560px;
    height: 315px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.project-description {
    max-width: 500px;
    text-align: left;
    color: white;
    font-size: 1.2em;
}

.project-description h2 {
    color: #ffcc00;
    font-size: 2em;
    margin-bottom: 10px;
}

.about-section {
    background: linear-gradient(rgba(225, 28, 247, 0.288), rgba(28, 28, 28, 0.9)), url('assets/images/back2.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    padding-top: 80px;
}

.about-section h2,

.contact-section h2 {
    color: #ffcc00;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.team-columns-container {
    cursor: default;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
}

.team-column {
    flex: 0 0 180px;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.4s ease;
    background: #000;
}

.member-video {
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.member-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.member-static {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    z-index: 2;
    color: white;
    text-decoration: none;
    pointer-events: auto;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 70%);
}

.member-static img {
    position: absolute;
    top: 44%;
    left: 40%;
    width: auto;
    height: 103%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    z-index: -1;
    opacity: 0.9;
}


.member-static p {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.5);
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block;
    width: 70%;
}

.artstation-link {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 10px;
    background: rgba(0, 179, 159, 0.9);
    border-radius: 4px;
    font-size: 0.8em;
    transition: all 0.3s ease;
}

/* .team-column:hover { 
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.team-column:hover .member-video video {
    opacity: 1;
}

.team-column:hover .member-static {
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 70%);
}

.team-column:hover .member-static img {
    opacity: 0.3;
}*/


.team-columns-container::-webkit-scrollbar {
    height: 8px;
}

.team-columns-container::-webkit-scrollbar-thumb {
    background: #ffcc00;
    border-radius: 4px;
}


.contact-section {
    background: linear-gradient(rgba(225, 28, 247, 0.288), rgba(42, 42, 42, 0.85)), url('assets/images/back3.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.contact-form-container {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    width: 95%;
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 15px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #222;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.contact-info {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.email-link {
    color: #ffcc00;
    font-size: 1.2em;
    margin: 15px 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.email-link:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: inherit;
    transform: scale(1.1);
}


#form-success {
    display: none;
    color: #4CAF50;
    margin-top: 20px;
    font-weight: bold;
}

.social-links a img {
    width: 30px; /* Ancho */
    height: 30px; /* Alto */
    vertical-align: middle;
}

@media (max-width: 768px) {
    .form-group textarea {
        padding: 10px 12px; 
    }

    .contact-form-container {
        width: 95%;
        flex-direction: column;
        padding: 20px 15px;
        margin: 20px auto;
    }
    
    .contact-info {
        margin-top: 30px;
        align-items: center;
        text-align: center;
    }
    
    .submit-btn {
        align-self: center;
    }
}


@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        margin-right: 2px; 
        transform: scale(0.9); 
    }
    
    header {
        padding: 10px 15px; 
        left: 0; 
    }

    header h1, header h1 a {
        font-size: 1.2em; 
        white-space: nowrap; 
    }
   

    header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
    }

    header nav.active {
        display: flex;
    }

    header nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .home-content {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
        margin-left: 0;
        text-align: center;
    }

    .home-description {
        text-align: center;
    }

    .home-image img {
        width: 50vw;
    }

    .team-column {
        flex: 0 0 180px;
        height: 300px;
    }

    .project-container {
        flex-direction: column;
        text-align: center;
    }

    .youtube-video iframe {
        width: 100%;
        height: auto;
        min-height: 200px;
    }

    .project-description {
        max-width: 100%;
    }

    .section {
        padding-top: 80px;
        height: auto;
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .team-column {
        flex: 0 0 150px;
        height: 250px;
    }
    
    .home-description h2 {
        font-size: 1.8em;
    }
    
    .home-description p {
        font-size: 1em;
    }
    
    #toggle-sound {
        top: 85%;
        right: 5%;
    }
    header h1, header h1 a {
        font-size: 1em; 
    }
    .menu-toggle {
        margin-left: 10%;
        transform: scale(0.8); 
    }
}

@media (max-width: 768px) {
    .projects-section,
    .about-section,
    .contact-section {
        background-attachment: scroll;
        background-position: center top;
        background-size: cover;
    }
}


/* OUR PROJECTS */

.our-projects-section {
    background: linear-gradient(rgba(28, 152, 225, 0.288), rgba(42, 42, 42, 0.85)), url('assets/images/back4.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    overflow: hidden;
}

/* centrar el carrusel */
.our-projects-section h2 {
    font-size: 2.5em;
    color: #ffcc00;
    position: absolute;
    top: 5%;         /* desde arriba */
    left: 50%;        /* centrado horizontal */
    transform: translateX(-50%); 
    width: 100%;
    max-width: 1200px; 
    padding: 0 20px;   
    box-sizing: border-box;
    z-index: 5;       
    
    /* para escritorio */
    text-align: left;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-container {
    width: 1900px;
    height: 700px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.catalog {
    display: flex;
    align-items: center;
    gap: 40px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: transform 0.5s ease;
    width: max-content;
}

.card {
    width: 1000px;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.8);
    opacity: 0.5;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.project.is-active .card {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project.is-active .card:hover img {
    transform: scale(1.05);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    max-width: 1250px;
    left: 50%;
    display: flex;
    justify-content: space-between;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.7);
    color: #ffcc00;
    border: 1px solid #ffcc00;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #ffcc00;
    color: #000;
    transform: scale(1.1);
}

@media (max-width: 960px) {
    .our-projects-section h2 {
        text-align: center;
        top: 10%; 
    }

    .carousel-container { 
        width: 90vw; 
        height: 55vw; 
    }
    .card { 
        width: 70vw; 
    }
    .carousel-nav { 
        max-width: 100%; 
    }
    .catalog {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .carousel-container { 
        width: 95vw; 
        height: 60vw; 
    }
    .card { 
        width: 80vw; 
    }
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .our-projects-section {
         background-attachment: scroll;
    }
}

.our-projects-section {
         background-attachment: scroll;
    }
}

/* art studio */

.art-studio-section {
    background: linear-gradient(rgba(28, 225, 129, 0.288), rgba(28, 28, 28, 0.9)), url('assets/images/back5.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.art-studio-section h2 {
    font-size: 2.5em;
    color: #ffcc00;
    position: absolute;
    top: 5%; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 5;
    text-align: center;
}

.art-studio-grid {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    height: 60vh;
    max-height: 600px;
    padding: 10px 0;
    box-sizing: border-box;
    justify-content: center;
    align-items: stretch;
}

.grid-col-left {
    display: flex;
    flex-shrink: 0;
}

.grid-col-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0; 
}


.grid-col-right .video-wrapper {
    flex: 1; 
    min-height: 0; 
}

.video-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.grid-col-left .video-wrapper {
    height: 100%;
    background: transparent;
    box-shadow: none;
}

.art-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.grid-col-left .art-video {
    position: static;
    width: auto;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}


@media (max-width: 960px) {
    .art-studio-section h2 {
        text-align: center;
        top: 0.1%;
    }
}

@media (max-width: 768px) {
    .art-studio-grid {
        flex-direction: column;
        height: auto;
        width: 90%;
    }
    .grid-col-right {
        flex-direction: row; 
    }
    .grid-col-left .art-video {
        width: 100%;
        height: auto;
    }
    .art-studio-section {
         background-attachment: scroll;
    }
    .art-studio-section .play-now-btn {
        margin-top: 40px;
    }
}