/*
Theme Name: mi-theme-draghive ejercicio 11
Author: Iñaki Lozano
Version: 3.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none
}

:root {
  --color-brand: #E60580;
  --color-brand2: #99ff09;
  --color-brand-soft: #ff00a671;
  --footer-color:#1e1e1e;

  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f5;
  --color-text: #000000;
  --color-text-soft: #333333;

  --color-border: var(--color-brand);
  --color-overlay: rgba(0, 0, 0, 0.8);

  --color-btn-bg: #000000;
  --color-button-text: #ffffff;

  --cursor-default: var(--color-brand-soft);
  --cursor-hover: #98ff09b3;

  --color-arrow-bg: rgba(255,255,255,0.8);
}


/*Cursores personalizados*/
/* Crear el cursor circular base */
.custom-cursor {
    width: 20px;
    height: 20px;
    background: var(--cursor-default);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
    transform: translate(-50%, -50%);

}

.custom-cursor.hover::after {
    background-color: var(--cursor-hover);
}

/* Diferentes estados */
.custom-cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
}

.custom-cursor.dragging {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Variante para elementos interactivos */
.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background-color: var(--cursor-hover);
}


/* ===== FUENTES ===== */

.Futura-100-Regular{
    font-family: "futura-100", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.Futura-100-Oblique{
    font-family: "futura-100", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.Futura-100-Demibold-Oblique{
    font-family: "futura-100", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.Futura-100-Bold{
    font-family: "futura-100", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* ===== ESTILOS GLOBALES ===== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "futura-100";
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TIPOGRAFÍA Y TÍTULOS ===== */
 h2, h3, h4 {
    font-family: "futura-100";
    font-weight: 600;
    font-style: italic;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--color-text);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--color-brand);

}

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-btn-bg);
    color: var(--color-btn-text);
}

.btn-primary:hover {
    background-color: var(--color-text-soft);

}

.btn-outline {
    position: relative;
    overflow: hidden;
    z-index: 1;

    display: inline-block;
    padding: 10px 20px;

    border: 2px solid var(--color-brand);
    border-radius: 50px;

    color: var(--color-brand);
    background: transparent;

    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none;

    transition: color 0.3s ease;
}

.btn-outline::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--color-brand);
    border-radius: inherit;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;

    z-index: -1;
}

.btn-outline:hover::after {
    transform: scaleX(1);
}

.btn-outline:hover {
    color: var(--color-button-text);
}


.btn-outline2 {
    position: relative;
    overflow: hidden;
    z-index: 1;

    display: inline-block;
    padding: 10px 20px;

    border: 2px solid var(--color-brand2);
    border-radius: 50px;

    color: var(--color-brand2);
    background: transparent;

    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none;

    transition: color 0.3s ease;
}

.btn-outline2::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--color-brand2);
    border-radius: inherit;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;

    z-index: -1;
}

.btn-outline2:hover::after {
    transform: scaleX(1);
}

.btn-outline2:hover {
    color: var(--color-button-text);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0 ;
    background-color: transparent;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-full {
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--color-text);

}


.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}


.nav-list a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--color-brand);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.nav-list2 {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Estilos del slider */

.slider-minimal {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100vh;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100vh;
}

.slider-track .slide {
    min-width: 100%;
    height: 100%;
}

.slider-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Texto en esquina inferior derecha y superior izquieda */
.corner-text {
    position: absolute;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

.corner-text .subtitle p {
    font-family: "futura-100";
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 25px;
    color: var(--color-brand2);
    letter-spacing: 2px;

}

.corner-text .subtitle b {
    color: var(--color-brand2);
}

.corner-text h1 {
    font-family: "futura-100";
    font-size: 250px;
    color: var(--color-brand2);
    margin: 0;
    left: 0;
    line-height: 0.9;

}

.corner-up-text{
    position: absolute;
    margin-top: 70px;
    margin-right: 20px;
    top: 10px;
    right: 10px;
    z-index: 5;
    pointer-events: none;
    max-width: 200px;
}

.corner-up-text p {
    font-family: "futura-100";
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-brand2);
    line-height: 1.4;
 
    text-align: right;
}



/* Contenedor para el rastro de imágenes */
.image-trail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

/* Imágenes del rastro */
.trail-image {
    position: absolute;
    width: 80px;
    height: 80px;
    object-fit: cover;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s, transform 0.5s;
}

/* Responsive para el texto */
@media (max-width: 1200px) {
    .corner-text h1 {
        font-size: 180px;
    }
    
    .corner-text .subtitle {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .corner-text {
        padding: 20px;
    }
    
    .corner-text h1 {
        font-size: 100px;
    }
    
    .corner-text .subtitle {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .corner-text h1 {
        font-size: 70px;
    }
    
    .corner-text .subtitle {
        font-size: 16px;
    }
}
/* Flechas de navegación */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid var(--color-text);
    background: var(--color-bg);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.slider-arrow svg {
    width: 22px;
    height: 22px;
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

.slider-arrow:hover {
    background: var(--color-brand2);
    transform: translateY(-50%) scale(1.08);
   /* box-shadow: 6px 6px 0 var(--color-brand);*/
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

/* Puntos indicadores */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 90;
}

.slider-dots .dot {
    width: 36px;
    height: 4px;
    background: rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.slider-dots .dot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.slider-dots .dot.active::after {
    transform: scaleX(1);
}

/* Responsive */
@media (max-width: 768px) {
    .slider-track {
        height: 400px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .slider-track {
        height: 300px;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
}


/* ===== SECCIÓN HERO ===== */

.hero-drag {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px 40px;
    margin-top: 20px;
}

/* IZQUIERDA */
.hero-info h2 {
    font-weight: bold;
}

.enfasis {
    color: var(--color-brand);
}

.enfasis2 {
    color: var(--color-brand2);
}

.hero-info .texto {
    margin-top: 10px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    max-width: 400px;
}

.hero-info .texto2 {
    font-size: 0.9rem;
    margin-bottom: 25px;
    margin-left: 70px;
    max-width: 500px;
}



/* DERECHA */
.hero-marquee {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* MARQUESINA */
.marquesina {
    overflow: hidden;
    width:650px;
    padding: 10px 0;
}

.marquesina-track {
    display: flex;
    width: max-content;
    animation: marquee 10s linear infinite;
}

.marquesina-track span {
    color: var(--color-brand2);
    font-weight: bold;
    font-size: 100px;
    margin-right: 40px;
    white-space: nowrap;
}


/* ANIMACIÓN */
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


.eventos {
    padding: 40px;
    border-top: 2px solid var(--color-brand);
}
.eventos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.eventos h2 {
    margin-bottom: 20px;
}

/* CONTENEDOR SCROLL - DRAGGABLE */
.galeria {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    cursor: none;
    
    /* Oculta scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.galeria::-webkit-scrollbar {
    display: none;
}

.galeria:active {
    cursor: grabbing;
}

.custom-cursor.scroll {
    width: 40px;
    height: 40px;
    background-color: var(--cursor-hover);
}

.custom-cursor.dragging {
    animation: pulse 1s infinite;
}

/* TARJETA */
.card {

    min-width: 250px;
    flex-shrink: 0;
    user-select: none; /* Previene selección de texto al arrastrar */
}

/* IMAGEN */
.img {
    position: relative;
    height: 160px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-text);
}

/* TEXTO OCULTO */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    color: var(--color-button-text);
    display: flex;
    align-items: end;
    justify-content:baseline;
    opacity: 0;
    transition: 0.3s;
    padding: 10px;
    
}

/* HOVER */
.img:hover .overlay {
    opacity: 1;
}

.img:hover{
     box-shadow: 10px 10px 0 0 var(--color-brand);
}




/* ===== SECCIÓN FOOTER ===== */
.footer {
padding: 24px 32px;
background-color: var(--footer-color);
height: 250px;
}
.footer p{
    font-size: 0.9rem;
    max-width: 400px;
    color: var(--color-button-text);
}

.footer a {
    text-decoration: none;
    color: var(--color-button-text);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.footer a:hover,
.footer a.active {
    color: var(--color-brand);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}


.footergrup{
display: flex;
justify-content: start;
gap: 40px;
align-items: center;

}


.footer-left {
flex: 1;
padding-right: 50px;
}

.footer-left h1{
    color : var(--color-button-text);
}

.footer-left h2{
    color : var(--color-brand);
    border-bottom: 2px solid var(--color-brand);
    padding: 8px;

}

.slogan {
font-size: 12px;
letter-spacing: 1px;
}


.logoheader {
font-size: 56px;
font-weight: 900;
margin-top: 8px;
}


.footer-center {
flex: 1;
display: flex;
flex-direction: column;
gap: 6px;
}


.footer-right {
    flex: 1;
}



/* ========================= */
/* ANIMACIONES MINIMALISTAS */
/* ========================= */

/* Fade + slide reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ========================= */
/* HOVER SUTIL ELEGANTE */
/* ========================= */

.hover-float {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-float:hover {
    transform: translateY(-6px);
}


/* ========================= */
/* IMÁGENES EVENTOS */
/* ========================= */

.img {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.img:hover {
    transform: scale(1.02);
}

/* ========================= */
/* TEXTO SLIDER APARICIÓN */
/* ========================= */

.corner-text h1 {
    animation: titleRise 1.2s ease forwards;
}

@keyframes titleRise {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================= */
/* MARQUESINA SUAVIZADA */
/* ========================= */

.marquesina-track {
    animation-timing-function: linear;
    will-change: transform;
}



/* ========================= */
/* QUÉ OFRECEMOS PÁGINA */
/* ========================= */

.sectionprincipal {
    display: flex;
    flex-direction: column;;
    padding: 60px 40px;
    margin-top: 20px;
}

.sectionprincipal p{
    margin-top: 10px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    max-width: 1200px;
}

.colorband2{
    color: var(--color-brand2);
}

/* CONTENEDOR EXTERIOR */
.ofrecemos-marquee {
    overflow: hidden;
    width: 100%;
}

.clases-ofrecemos-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: marquee-ofrecemos 25s linear infinite;
}

.ofrecemos-marquee:hover .clases-ofrecemos-track {
    animation-play-state: paused;
}

/* TU GRID, ahora en horizontal */
.clases-ofrecemos {
    display: flex;
    gap: 40px;
    padding: 20px 0;
}

/*.clases-ofrecemos {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 40px;

}
*/

/*.clases-ofrecemos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 30px;
}*/

.clases-ofrecemos h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.clases-ofrecemos article {
    display: flex;
    width: 480px;
    flex-direction: column;
    border: 1.5px solid var(--color-text);
    padding: 32px 28px;
    background-color: var(--color-bg);
    box-shadow: 6px 6px 0 0 var(--color-brand);
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.clases-ofrecemos article:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 0 var(--color-brand);
    background-color: var(--color-brand2);
}

.clases-ofrecemos p{
    margin-left: 15px;
    max-width: 90%;
    line-height: 1.6;
}

.clases-ofrecemos .ver-mas {
    margin-top: auto;
    padding-top: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}


.clases-ofrecemos .ver-mas:hover{
    color: var(--color-brand);
}


@keyframes marquee-ofrecemos {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ========================= */
/*      CONTACTO PÁGINA      */
/* ========================= */

.sectioncontacto {
    display: flex;
    justify-content: space-between;
    padding: 60px 40px;
    margin-top: 20px;
    gap: 100px;

}

.divsideaside p{
    font-size: 0.9rem;
    margin-bottom: 10px;
    margin-top: 5px;

}

.sectioncontacto address{
        width: fit-content;
        font-style: normal;
}

.que-necesitas {
    flex: 1;
    max-width: 1000px;
}

.que-necesitas h2{
    margin-bottom: 10px;
}

.espaciador {
    height: 50px;
}

hr {
    margin-top: 10px;
    border: none;
    border-top: 2px solid var(--color-brand);
    margin-bottom: 10px;
}


/* ========================= */
/*      FORMULARIO CONTACTO  */
/* ========================= */

.contact-form {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-family: "futura-100";
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-text);
    padding: 10px 0;
    font-family: "futura-100";
    font-size: 0.95rem;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--color-text-soft);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--color-brand2);
}

.contact-form textarea {
    resize: none;
    min-height: 120px;
}

/* Botón integrado con tu sistema */
.contact-form button {
    align-self: flex-start;
    margin-top: 20px;
    font-weight: 600;
}



/* ========================= */ 
/*       NUESTRA HISTORIA    */ 
/* ========================= */
slider-section2 {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* capa encima del slider */
.scroll-wrapper {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

/* espacio de scroll */
.scroll-container {
  position: relative;
  height: calc(100vh * 4);
  pointer-events: auto;
}

/* textos */
.scroll-section {
  position: fixed;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-section.active {
  opacity: 1;
  transform: translateY(-50%);
}

.scroll-section .title {
  font-size: 3rem;
}

.scroll-section .subtitle {
  font-size: 1.4rem;
}