/* Base Styles & Variables */
:root {
    /* Colors */
    --bg-color: #FFF9F0;  /* Light cream background */
    --text-color: #333333;
    --accent-blue: #4DA8DA;  /* Sky blue */
    --accent-yellow: #FFD166;  /* Sunny yellow */
    --accent-green: #6BD4CD;  /* Mint green */
    --accent-red: #FF6B6B;  /* Coral red */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    transition: var(--transition);
}

h1, h2, h3, .quote-text {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--accent-blue); }
h3 { font-size: 1.5rem; }

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header & Navigation */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo h1 {
    margin: 0;
    font-size: 2rem;
    color: var(--accent-blue);
}

.logo h1 span {
    color: var(--accent-yellow);
}

.mascot {
    font-size: 1.8rem;
    animation: bounce 2s infinite;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.mascot-speech {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

.quote-box {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border: 2px solid #f0f0f0;
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 5rem;
    color: rgba(77, 168, 218, 0.1);
    font-family: serif;
    line-height: 1;
}

.quote-text {
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    position: relative;
    z-index: 1;
    color: #444;
}

.quote-author {
    font-style: italic;
    color: #666;
    margin: 0;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-family: 'Baloo 2', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.primary-btn {
    background-color: var(--accent-blue);
    color: white;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(77, 168, 218, 0.3);
}

.primary-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    font-size: 1.2em;
}

/* Categories Section */
.categories {
    padding: 3rem 0 5rem;
}

.categories h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border: 2px solid #f0f0f0;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(5deg);
}

.category-card h3 {
    margin: 0.5rem 0;
    color: var(--accent-blue);
}

.category-card p {
    margin: 0.5rem 0 0;
    color: #666;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(-5deg); }
    50% { transform: translateX(-50%) translateY(-10px) rotate(-2deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .quote-text { font-size: 1.3rem; }
    
    .quote-box {
        padding: 2rem 1.5rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* Confetti container (hidden by default) */
#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}
