html {
  scroll-behavior: smooth;
}

.gallery-item {
  transition: all 0.3s ease;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.hero-pattern {
  background-image: radial-gradient(#1e224f33 1px, transparent 1px);
  background-size: 20px 20px;
}
.filter-active {
  background-color: #1e224f;
  color: white !important;
}
.carousel-container {
  perspective: 1000px;
}

.carousel-slides {
  will-change: transform;
}

.carousel-slide {
  transition: transform 0.5s ease, opacity 0.5s ease;
}

 .animate-fade-in-down {
        animation: fadeInDown 0.3s ease-out forwards;
    }
    
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    /* Animación para el menú móvil */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    #mobile-menu:not(.hidden) {
        max-height: 500px;
    }
    
    /* Animación para el dropdown móvil */
    #mobile-dropdown {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
    }
    
    #mobile-dropdown:not(.hidden) {
        max-height: 300px;
    }
    
    /* Estilos para el dropdown desktop */
    #desktop-dropdown {
        transition: opacity 0.2s ease, transform 0.2s ease;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }
    
    #desktop-dropdown:not(.hidden) {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    /* Mejorar el hover en los items */
    #desktop-dropdown a:hover {
        background-color: rgba(30, 34, 79, 0.05);
    }

     /* Animación del loader */
    .animate-spin-slow {
        animation: spin 8s linear infinite;
    }
    
    @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    /* Estilos de la flor */
    .flower-loader {
        width: 80px;
        height: 80px;
        position: relative;
    }
    
    .petal {
        position: absolute;
        width: 20px;
        height: 40px;
        background-color: #ab854f; /* Color secundario */
        border-radius: 20px 20px 0 0;
        transform-origin: bottom center;
        opacity: 0.8;
    }
    
    .petal-1 { transform: rotate(0deg) translateY(-15px); }
    .petal-2 { transform: rotate(60deg) translateY(-15px); }
    .petal-3 { transform: rotate(120deg) translateY(-15px); }
    .petal-4 { transform: rotate(180deg) translateY(-15px); }
    .petal-5 { transform: rotate(240deg) translateY(-15px); }
    .petal-6 { transform: rotate(300deg) translateY(-15px); }
    
    .flower-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 30px;
        height: 30px;
        background-color: #1e224f; /* Color primario */
        border-radius: 50%;
    }
    
    /* Animación de los pétalos */
    .petal {
        animation: petal-pulse 2s ease-in-out infinite alternate;
    }
    
    @keyframes petal-pulse {
        from { transform: rotate(var(--rot)) translateY(-15px) scale(1); }
        to { transform: rotate(var(--rot)) translateY(-15px) scale(1.1); }
    }
    
    /* Asignar rotación a cada pétalo */
    .petal-1 { --rot: 0deg; animation-delay: 0s; }
    .petal-2 { --rot: 60deg; animation-delay: 0.2s; }
    .petal-3 { --rot: 120deg; animation-delay: 0.4s; }
    .petal-4 { --rot: 180deg; animation-delay: 0.6s; }
    .petal-5 { --rot: 240deg; animation-delay: 0.8s; }
    .petal-6 { --rot: 300deg; animation-delay: 1s; }

    