html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-image: url('/public/Fondo-dos.png');
    background-size: auto;
    background-position: center center;
    background-repeat: repeat;
    padding-top: 80px;
    overflow-x: hidden;
}

body, footer, form-control, form-group {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
}

section {
  scroll-margin-top: 80px; 
}

.carousel-indicators [data-bs-target] {
    background-color: #FFA400; /* negro por defecto */
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.5; /* más sutil */
    transition: opacity 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1; /* más visible cuando está activo */
}

.inicio {
    max-width: 1500px;
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    width: 95%;
}

.carousel-item img {
    height: 600px;
    object-fit: contain;
    width: 100%;
    transition: transform 0.5s ease;
}

.carousel-item:hover img {
    transform: scale(1.02);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #FFA400;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(70, 66, 66, 0.8);
    border-radius: 50%;
    padding: 10px;
    filter: none;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #FFA400;
}

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.video-container video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
}

.btn-custom {
    background: linear-gradient(135deg, #FFA400, #FF6F00);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 80%;
    max-width: 400px;
}

.btn-custom:hover {
    background: linear-gradient(135deg, #FF6F00, #FFA400);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.texto-estado {
    font-size: 1.3em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.texto-abierto {
    background-color: #e6ffe6;
    color: #2e7d32;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

.texto-cerrado {
    background-color: #ffe6e6;
    color: #c62828;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

.texto-estado {
    animation: fadeIn 1s ease-in-out;
}

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

.texto-estado {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');
@font-face {
    font-family: 'Digital';
    src: url('./assets/DigitalNumbers-Regular.ttf') format('truetype');
}

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

.body-clock {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000;
    font-family: 'Orbitron', monospace;
    overflow: hidden;
}

.body-clock::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
    radial-gradient(circle at 25% 25%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(160, 82, 45, 0.1) 0%, transparent 50%),
    linear-gradient(45deg, transparent 49%, rgba(218, 165, 32, 0.02) 50%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, rgba(218, 165, 32, 0.02) 50%, transparent 51%);
    background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
    z-index: -1;
}

.reloj-digital {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tiempo {
    font-size: 8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 0;
    line-height: 1;
    font-family: 'Digital', sans-serif;
    position: relative;
}
      
.reloj-rojo .tiempo {
    color: #ff0040;
    text-shadow: 
    0 0 0px #ff0040,
    0 0 0px #ff0040,
    0 0 0px #ff0040,
    0 0 0px #ff0040;
}

.reloj-rojo .fecha {
    color: #ff0040;
    text-shadow: 
    0 0 5px #ff0040,
    0 0 10px #ff0040;
}

.fecha {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 30px;
    letter-spacing: 0.2em;
    opacity: 0.8;
    font-family: 'Orbitron', monospace;
}

.separador {
    display: inline-block;
    animation: parpadeo 1s infinite;
}

@keyframes parpadeo {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.controles {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 1000;
}

.btn-estilo {
    padding: 12px 24px;
    border: 2px solid;
    border-radius: 8px;
    background: transparent;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-rojo {
    border-color: #ff0040;
    color: #ff0040;
}

.btn-rojo:hover {
    background: #ff0040;
    color: #000;
    box-shadow: 0 0 20px #ff0040;
}

.tiempo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: escaneo 3s infinite;
}

@keyframes escaneo {
    0% { left: -100%; }
    100% { left: 100%; }
}

.reloj-digital::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}
      
.decoracion-inca {
    position: fixed;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #DAA520, transparent);
    opacity: 0.3;
}

.decoracion-inca:nth-child(1) {
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
}

.decoracion-inca:nth-child(2) {
    top: 20%;
    right: 10%;
    transform: rotate(-45deg);
}

.decoracion-inca:nth-child(3) {
    bottom: 20%;
    left: 10%;
    transform: rotate(-45deg);
}

.decoracion-inca:nth-child(4) {
    bottom: 20%;
    right: 10%;
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .tiempo {
        font-size: 4rem;
        letter-spacing: 0.05em;
    }

    .fecha {
        font-size: 1rem;
        margin-top: 20px;
    }

    .controles {
        top: 20px;
        gap: 15px;
    }

    .btn-estilo {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .tiempo {
        font-size: 3rem;
    }

    .fecha {
        font-size: 0.9rem;
    }

    .decoracion-inca {
        display: none;
    }
}

.numero {
    display: inline-block;
    position: relative;
}

a:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
}