/* Montessori Toys Landing Page Styles */

html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

:root {
    --primary-color: #4a2e6f;
    --secondary-color: #1800ad;
    --text-color: #1a1a1a;
    --light-text: #ffffff;
    --muted-text: #737373;
    --accent-pink: #ed4779;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-accent: 'Quicksand', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: #ffffff;
    color: var(--text-color);
    line-height: 1.4;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Base Container */
.main-wrapper {
    width: 100%;
    margin: 0 auto;
}

/* Hero Section with Background */
.hero {
    width: 100%;
    min-height: 900px;
    background-image: url('_assets/media/b0c0a2ec6606962c21b977b88c785678.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
}

.hero-content {
    max-width: 1100px;
}

h1 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.05));
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-color);
}

.description {
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: #f4e9ec;
    padding: 16px 45px;
    border-radius: 100px;
    text-decoration: underline;
    text-underline-offset: 6px;
    font-size: 28px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    font-family: var(--font-body);
    margin-bottom: 20px;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background-color: #2a11cf;
}

.cta-button span {
    margin-right: 12px;
}

.cta-button .arrow {
    color: var(--accent-pink);
    font-size: 1.4em;
    text-decoration: none;
    display: inline-block;
}

/* Content Container */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Gradient background for sections below hero */
.sections-bg {
    background: linear-gradient(to bottom, 
        #ffffff 0%, 
        #fff5f7 15%, 
        #ffffff 40%, 
        #f0fdfc 75%, 
        #ffffff 100%
    );
}

/* Age Categories Section */
.age-categories {
    margin-bottom: 100px;
}

.age-categories h2 {
    font-family: var(--font-heading);
    font-size: 46px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
}

.age-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .age-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .age-grid {
        grid-template-columns: 1fr;
    }
}

.age-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.age-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.9);
}

.age-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 10px;
}

.age-card p {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 27px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Why Montessori Section */
.why-montessori {
    margin-bottom: 80px;
    text-align: center;
}

.why-montessori h2 {
    font-family: var(--font-heading);
    font-size: 49px;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 30px;
}

@media (max-width: 768px) {
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
}

.feature-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-text {
    font-size: 24px;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.25;
}

/* Entrance Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Refined Feature Items */
.feature-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    border-radius: 20px;
    transition: var(--transition);
    background: transparent;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(10px);
}

footer {
    text-align: center;
    padding: 60px 0 40px;
    color: var(--muted-text);
    font-size: 16px;
    font-weight: 700;
    opacity: 0.8;
}
