
body {
    padding-top: 55px; /* para evitar que el navbar tape el contenido */
    background-color: #020303;
}

@font-face {
    font-family: 'Pumpkin';
    src: url('../fonts/MonsterPumpkin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Spooky';
    src: url('../fonts/MonsterSpooky.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bat';
    src: url('../fonts/SpookyBat.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Stone';
    src: url('../fonts/SpookyStoneRegular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* --------- LOADER -------- */

.progress {
    width: 100.8px;
    height: 16.8px;
    -webkit-mask: linear-gradient(90deg, #ffb847 70%, #0000 0) left/20% 100%;
    background: linear-gradient(#ffb847 0 0) left/0% 100% no-repeat #dbdcef;
    animation: progress-422c3u 2s infinite steps(6);
}

@keyframes progress-422c3u {
    100% {
        background-size: 120% 100%;
    }
}


/* ----------- NAVEGACION -------- */

.text-orange {
    font-family: 'Stone', sans-serif;
    color: #F45C04 !important; /* Naranja fuerte */
}

.custom-navbar {
    background-color: #000 !important; /* Negro */
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    z-index: 1030;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23F45C04' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link.text-orange:hover {
    color: #fff !important; /* Cambia a blanco */
}

.nav-link.text-orange {
    transition: color 0.3s ease;
}


/*  ---------- INICIO --------- */

.inicio {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.logo-overlay {
    z-index: 10;
    pointer-events: none;
}

.logo-img {
    width: clamp(150px, 40vw, 400px); /* Se adapta entre 150px y 400px según pantalla */
    max-width: 100%;
    opacity: 0.95;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
    transition: width 0.3s ease;
}

.carousel-item img {
    object-fit: cover;
    height: 100vh;
}

@media (max-width: 768px) {
    .logo-img {
        width: 760px; /* o incluso más si se necesita */
    }
}


/* --------- FESTIVAL -------- */

.logo-darktober {
    width: 25%; /* Ancho por defecto en escritorio */
}

@media (max-width: 768px) {
    .logo-darktober {
        width: 50%; /* Cambia a w-50 en móviles */
    }
}


.logo-darktober-aniversario {
    width: 80%; /* Ancho por defecto en escritorio */
}

@media (max-width: 768px) {
    .logo-darktober-aniversario {
        width: 30%; /* Cambia a w-50 en móviles */
    }
}

#festival {
    background-color: #020303;
    color: #fff;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

#festival p {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.2rem;
}

/*  ---------- CONTADOR --------- */

.titulo1{
    font-family: 'Pumpkin', sans-serif;
    font-size: 3rem;
    color: white;
}

#countdown .time-box {
    font-family: 'Pumpkin', sans-serif;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px 10px;
    min-width: 80px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#countdown .time-box span {
    font-family: 'Stone', monospace;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    display: block;
}

#countdown .time-box small {
    font-family: sans-serif; /* Fuerza fuente del sistema */
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 5px;
    display: block;
    letter-spacing: 1px;
}

#Contador {
    background-image: url('../images/fondo_contador_1.png'); /* Cambia esta ruta si es necesario */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#Contador::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* oscurece para mayor contraste */
    z-index: 2;
}

#countdown {
    position: relative;
    z-index: 3;
}

.overlay-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transform: translateY(-40px); /* Desplaza hacia arriba */
}

@media (max-width: 768px) {
    .overlay-content {
        transform: translateY(-20px);
    }
}


/*-- Parallax Separator A --*/
.parallax-sectionA {
    background-image: url('../images/parallax1.jpg'); /* tu imagen */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 40vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.parallax-sectionA::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* oscurece la imagen */
    z-index: 1;
}



/*-- Parallax Separator B --*/

.parallax-section {
    background-image: url('../images/parallax2.jpg'); /* tu imagen */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 40vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.parallax-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* oscurece la imagen */
    z-index: 1;
}

.parallax-text {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-family: 'Pumpkin', sans-serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}


/*-- ACTIVIDADES --*/

.list-group-item {
    background-color: transparent !important;
    color: white !important;
}

#Actividades {
    background-image: url('../images/ACTIVIDADES.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#Actividades::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#Actividades .container {
    position: relative;
    z-index: 2;
}

.card {
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
}

.card-title {
    font-family: 'Stone', sans-serif;
    color: #FFA500;
}

#Actividades a {
    text-decoration: none;
    color: #FFA500;
    transition: color 0.2s ease;
}

#Actividades a:hover {
    color: #FFFFFF;
}



/*-- GALERÍA --*/
.galeria {
    background-image: url('../images/victorian.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* 🎯 Esto activa el parallax */
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.galeria img {
    width: 100%; /* Valor por defecto para móviles */
}

@media (min-width: 768px) {
    .galeria img {
        width: 75%;
    }
}

/* Capa oscura encima de la imagen */
#Galeria::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2;
}

/* Para que el contenido esté encima del overlay */
#Galeria > * {
    position: relative;
    z-index: 3;
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.modal-backdrop {
    z-index: 1050 !important; /* por encima de tu navbar (9999) */
}

.modal {
    z-index: 1060 !important; /* el contenido del modal debe estar sobre el backdrop */
}

.modal-title {
    font-size: 1.5rem;
}

a[data-lightbox] img {
    transition: transform 0.3s;
}

a[data-lightbox] img:hover {
    transform: scale(1.03);
}




/*-- Contacto --*/

.campo-naranja {
    border: 2px solid #F45C04;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.campo-naranja::placeholder {
    color: #F45C04;
}

#contacto label {
    color: #F45C04;
}

#contacto .btn-warning {
    border: none;
    background-color: darkorange;
}

#contacto .btn-warning:hover {
    background-color: white;
}

/* -- Equipo -- */

.equipo-bloque {
    background-color: #1B0C26;
    margin: 0;
    padding: 0;
}


#Equipo_darktoberfest {
    position: relative; /* necesario para el ::before */
    background-image: url('../images/equipo_DarktoberFest25.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 8rem 2rem 0 2rem;
    margin-bottom: 0;
    z-index: 1;
    overflow: hidden; /* por si el ::before se desborda */
}


#Equipo_darktoberfest::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4); /* cambia opacidad según necesidad */
    z-index: 2;
    pointer-events: none;
}


#Equipo_darktoberfest .contenido {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.seccion-oscura {
    padding: 3rem 1rem;
    color: white;
}


/*-- Footer --*/

.footer {
    color: #fff;
}

#link_logo_dark img {
    transition: transform 0.3s ease;
}

#link_logo_dark:hover img {
    transform: scale(1.05);
}

#link_logo_pixel img {
    transition: transform 0.3s ease;
}

#link_logo_pixel:hover img {
    transform: scale(1.05);
}