/* 3.1. Importar Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

/* 3.2. Definir el smooth scroll global */
html {
    scroll-behavior: smooth;
    /* Ajuste para que el header fijo no tape los títulos */
    /* scroll-padding-top: 70px; */ /* Deshabilitado - se maneja desde JavaScript */
}

/* 3.3. Definir la fuente base (Tailwind la tomará si está en 'tailwind.config') */
body {
    font-family: 'Inter', sans-serif;
}

/* 3.4. Clase personalizada para títulos (que no viene en Tailwind) */
/* La usamos en el H1 del Hero */
.tracking-tighter-xl {
    letter-spacing: -0.05em;
}

/* Aparición uniforme (fade-up) */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Instagram Feed - Embeds oficiales */
#instagram-feed {
    width: 100%;
}
#instagram-feed .instagram-media {
    margin-bottom: 0 !important;
}
/* Asegurar que los embeds sean responsivos */
@media (max-width: 768px) {
    #instagram-feed .instagram-media {
        min-width: 100% !important;
        width: 100% !important;
    }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}
.whatsapp-float svg {
    width: 32px;
    height: 32px;
}
@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 15px;
        right: 15px;
        font-size: 28px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Carrusel del Hero */
.carousel-slide {
    z-index: 1;
    pointer-events: none; /* Deshabilitar clics en slides ocultos */
}
.carousel-slide:first-child {
    opacity: 1;
    z-index: 2;
    pointer-events: auto; /* Habilitar clics solo en el slide visible */
}
.carousel-slide[style*="opacity: 1"] {
    pointer-events: auto; /* Habilitar clics cuando el slide está visible */
}
.carousel-slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.carousel-dot.active {
    background-color: white !important;
}
.carousel-prev,
.carousel-next {
    cursor: pointer;
}
.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.5) !important;
}
@media (max-width: 768px) {
    .carousel-prev,
    .carousel-next {
        padding: 0.5rem;
    }
    .carousel-prev svg,
    .carousel-next svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}
