/* 
 * Janis & Jay Kiddies - Main Stylesheet
 * Combined styles from all pages
 */

/* ==============================================
   NAVIGATION STYLES
   ============================================== */
.nav-link {
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #3b82f6;
    transition: width 0.3s ease;
}

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

.dropdown-content {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #eee;
    min-width: 180px;
}

.social-icon {
    padding: 8px 0;
    font-weight: 400;
    transition: all 0.3s ease;
}

.social-icon.facebook:hover { color: #1877f2; transform: translateX(5px); }
.social-icon.instagram:hover { color: #E4405F; transform: translateX(5px); }
.social-icon.whatsapp:hover { color: #25D366; transform: translateX(5px); }
.social-icon.location:hover { color: #f44336; transform: translateX(5px); }

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 5px;
    min-width: 18px;
    text-align: center;
}

/* ==============================================
   SLIDESHOW STYLES
   ============================================== */
.slideshow-container {
    position: relative;
}

.slideshow-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    border-radius: 0.5rem;
}

.slideshow-caption {
    background: rgba(0,0,0,0.6);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.slide {
    transition: opacity 1s ease-in-out;
    border-radius: 0.5rem;
}

/* ==============================================
   RESCHEDULE SECTION STYLES
   ============================================== */
.reschedule-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 500px;
}

.running-alert {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
}

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

@keyframes fadeIn {
    to { opacity: 1; }
}

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

.animate-fade-in {
    animation: fadeIn 1.5s ease forwards;
    opacity: 0;
}

/* ==============================================
   MOBILE RESPONSIVE STYLES
   ============================================== */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1.text-4xl {
        font-size: 1.875rem;
    }
    
    h2.text-2xl {
        font-size: 1.25rem;
    }
    
    .grid.md\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
    
    .grid.md\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
    
    .bg-white.p-6 {
        padding: 1rem !important;
    }
    
    .max-w-4xl {
        max-width: 100% !important;
    }
}

/* ==============================================
   FORM STYLES
   ============================================== */
input:focus, select:focus, textarea:focus {
    outline: none;
    ring: 4px solid #3b82f6;
}

/* Remove spinner buttons from number inputs */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 0.5;
}

/* Error state for form inputs */
input.border-red-500 {
    border-color: #ef4444;
}

/* ==============================================
   TEAM CARD HOVER EFFECTS
   ============================================== */
.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}