/* ============================================
   Tammy's Daycare — Custom Styles
   ============================================ */

/* Base reset & smooth scrolling */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* ============================================
   Geometric Background Shapes
   ============================================ */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

/* Hero shapes */
.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    border-radius: 50%;
}

.shape-circle-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    border-radius: 50%;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(212, 160, 23, 0.12);
    top: 20%;
    left: 8%;
    transform: rotate(-15deg);
}

.shape-triangle-2 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 138px solid rgba(255, 255, 255, 0.06);
    top: 30%;
    right: 5%;
    transform: rotate(20deg);
}

.shape-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(212, 160, 23, 0.1);
    top: 40%;
    right: 15%;
    border-radius: 16px;
    transform: rotate(45deg);
}

.shape-dots {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 3%;
    background-image: radial-gradient(circle, rgba(212, 160, 23, 0.3) 2px, transparent 2px);
    background-size: 16px 16px;
}

/* ============================================
   Floating Animations
   ============================================ */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

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

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

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

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* For reduced motion preference, keep everything visible */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   Navbar Scroll State
   ============================================ */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(30, 58, 95, 0.08);
}

.nav-scrolled .menu-line {
    background: #1e3a5f !important;
}

.nav-scrolled a:not(.bg-gold-400):not(.bg-white\/10) {
    color: #1e3a5f !important;
}

.nav-scrolled .font-heading {
    color: #1e3a5f !important;
}

/* ============================================
   Mobile Menu Animations
   ============================================ */
#mobile-menu.open {
    animation: slideDown 0.3s ease;
}

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

/* ============================================
   Menu Button Animation
   ============================================ */
#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Custom Select Arrow
   ============================================ */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ba3b9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ============================================
   Form Focus States
   ============================================ */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* ============================================
   Selection Color
   ============================================ */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #1e3a5f;
}

/* ============================================
   Utility: Hide scrollbar but keep functionality
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #9bb3d9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7193ca;
}
