/* Custom Styles for أطفالنا */
@import url('https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@100..800&display=swap');

* {
    font-family: 'Playpen Sans', sans-serif;
}

body {
    background: #ffffff;
}

/* Clean Modern Colors - Atfaluna Color Palette */
:root {
    --brand-blue: #0097d7;
    --brand-blue-light: #0097d7;
    --brand-blue-dark: #0077a8;
    --brand-pink: #faa1e8;
    --brand-pink-light: #fcc5f0;
    --brand-pink-dark: #f87dd4;
    --brand-yellow: #fcde37;
    --brand-yellow-light: #fde875;
    --brand-yellow-dark: #f9d006;
    --text-dark: #111827;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
}

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

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Product card hover effect */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Simple rounded buttons */
button, .btn {
    border-radius: 20px;
}

/* Bigger text for children */
h1, h2, h3 {
    letter-spacing: -0.5px;
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(135deg, #0097d7 0%, #faa1e8 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Category card animation */
.category-card {
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.category-card:hover::before {
    left: 100%;
}

/* Loading spinner */
.spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile menu animation */
.mobile-menu-enter {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-enter-active {
    max-height: 500px;
    opacity: 1;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--brand-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue-dark);
}

/* Logo Styles - Professional Brand Logo */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    cursor: pointer;
    background: #000000;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-english {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.5px;
    font-family: 'Playpen Sans', sans-serif;
    text-transform: uppercase;
    line-height: 1.2;
}

.logo-english .letter-a {
    font-size: 1.85rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-style: italic;
}

.logo-english .letter-a::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -6px;
    width: 8px;
    height: 8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right: none;
    border-bottom: none;
    transform: rotate(-45deg);
}

.logo-arabic {
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffd700;
    margin-top: 4px;
    letter-spacing: 1px;
    font-family: 'Playpen Sans', sans-serif;
}

/* Professional button styles */
.btn-primary {
    background: var(--brand-blue);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--brand-yellow);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--brand-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Professional card styles */
.professional-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.professional-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

