/* Custom styles for Little Chicks Childcare */

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

/* Hero background gradient */
.hero {
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f8fafc 100%);
}

/* Geometric Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: #14b8a6;
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    background: #0d9488;
    border-radius: 50%;
    bottom: 10%;
    left: -80px;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: #2dd4bf;
    top: 30%;
    left: 5%;
    transform: rotate(45deg);
    border-radius: 20px;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #5eead4;
    top: 20%;
    right: 10%;
    opacity: 0.2;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #14b8a6 2px, transparent 2px);
    background-size: 20px 20px;
    bottom: 20%;
    right: 5%;
    opacity: 0.3;
}

.geo-circle-3 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -50px;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    bottom: 10%;
    left: 10%;
    transform: rotate(30deg);
    border-radius: 12px;
}

.geo-dots-2 {
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
    background-size: 15px 15px;
    top: 10%;
    left: 20%;
}

.geo-circle-4 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -80px;
    right: 10%;
}

/* Service card hover effects */
.service-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Testimonial card hover */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Navbar scroll effect */
.nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .service-card,
    .testimonial-card,
    .reveal {
        transition: none;
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Mobile menu transition */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 4px;
}
