@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@400;500;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #F8F5F2; 
}

.font-serif {
    font-family: 'Playfair 'Display', serif;
}

/* --- Estilos del Vídeo de Fondo --- */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #363636; /* Fondo de respaldo */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* --- Estilos de Transición para Botones y Tarjetas --- */
.cta-button {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.2);
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.3);
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


/* --- Estilos de Transición --- */
.cta-button, .feature-card {
    transition: all 0.3s ease;
}
.cta-button {
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.2);
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.3);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* --- Estilos para el Modal de Vídeo y Carrusel --- */
.aspect-w-9 {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* Proporción 9:16 (16 / 9 * 100) */
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-in-out;
}
.carousel-slide video {
  width: 100%;
  height: 100%;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background-color 0.2s ease;
}
.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.carousel-arrow.prev {
    left: -50px; 
}
.carousel-arrow.next {
    right: -50px; 
}

/* --- Estilos para los Puntos de Paginación --- */
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.carousel-dot.active {
    background-color: white;
}


/* --- Media Query para Dispositivos Móviles --- */
@media (max-width: 768px) {
    .carousel-arrow.prev {
        left: 10px; /* Posiciona la flecha DENTRO del modal en móviles */
    }
    .carousel-arrow.next {
        right: 10px; /* Posiciona la flecha DENTRO del modal en móviles */
    }
}