/* Estilos Customizados - ViroTravel */

body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, .font-poppins {
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Reset de Details / Summary */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] summary ~ * {
    animation: slideDown 0.35s ease-out forwards;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Flutuações de CTA */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Efeito Header Rolado */
.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
}

.header-scrolled .nav-link {
    color: #374151 !important; /* text-gray-700 */
}

.header-scrolled .nav-link:hover {
    color: #f97316 !important; /* text-orange-500 */
}

.header-scrolled .logo-img {
    filter: invert(41%) sepia(87%) saturate(3062%) hue-rotate(5deg) brightness(98%) contrast(97%); /* Adapta a logo laranja no fundo branco */
}

.header-scrolled .logo-fallback-text {
    color: #f97316 !important; /* Laranja quando scrollado */
}

.header-scrolled .nav-toggle-btn {
    color: #374151 !important; /* Cor do botão mobile quando rolado */
}

/* Links do menu */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f97316; /* Laranja */
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Ajustes no Mobile Drawer */
#mobile-menu-drawer.open {
    opacity: 1;
    pointer-events: auto;
}

#mobile-menu-drawer.open #mobile-menu-backdrop {
    opacity: 1;
}

#mobile-menu-drawer.open #mobile-menu-content {
    transform: translateX(0);
}

/* Inputs focados */
input:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
}

/* Transições Suaves */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}
