/* Custom styles for Lilypad Family Childcare */

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

/* Custom selection color */
::selection {
    background-color: #c9a84c;
    color: #0f2140;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #0f2140;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #152d54;
}

/* Navigation scroll effect */
.navbar-scrolled {
    box-shadow: 0 2px 20px rgba(15, 33, 64, 0.1);
}

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

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

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

/* Button hover effects */
button,
a {
    transition: all 0.2s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Gradient backgrounds */
.gradient-navy {
    background: linear-gradient(135deg, #0f2140 0%, #152d54 100%);
}

/* Gold accent line */
.gold-line {
    height: 3px;
    width: 60px;
    background-color: #c9a84c;
}

/* Subtle hover lift for cards */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 33, 64, 0.15);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    img {
        transition: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Loading animation for form button */
button[type="submit"]:active {
    transform: scale(0.98);
}

/* Subtle pattern overlay for sections */
.section-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 33, 64, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Gold glow effect */
.gold-glow {
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.3);
}

/* Text gradient */
.text-gradient-gold {
    background: linear-gradient(135deg, #c9a84c 0%, #e0ca72 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
