/* Custom styles for Seguros con Glenda */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Hero stat cards animation */
.stat-card {
    animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: -1.5s; }
.stat-card:nth-child(3) { animation-delay: -3s; }
.stat-card:nth-child(4) { animation-delay: -4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(254, 253, 251, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar-scrolled .font-serif {
    color: #1c1917 !important;
}

/* Selection color */
::selection {
    background: #e9a484;
    color: #782e1d;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5e8;
}
::-webkit-scrollbar-thumb {
    background: #e9a484;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4845a;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Print styles */
@media print {
    nav, #contact, footer { display: none; }
    body { color: #000; background: #fff; }
}
