/*
Theme Name: Smart Kids Avenue Premium
Theme URI: https://smartkidsavenue.com
Description: Content-first affiliate and digital products theme for Montessori and STEM education.
Author: Antigravity AI
Template: twentytwentyfour
Version: 3.1.0
*/

:root {
    --accent: #E07856;
    --primary: #2F4F4F;
    --secondary: #8B4513;
    --light-bg: #F9F7F4;
    --transition: all 0.3s ease;
}

/* --- Base Styles --- */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lora', serif;
    font-weight: 600;
    color: var(--primary);
}

/* --- Full-Width Hero Section --- */
.hero-section-fullwidth {
    position: relative;
    min-height: 600px !important;
}

.hero-section-fullwidth .wp-block-cover__inner-container {
    padding: 8rem 2rem 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section-fullwidth h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out;
}

.hero-section-fullwidth p {
    font-size: 1.25rem;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

/* --- Button Styles --- */
.btn-primary-hero .wp-block-button__link,
.btn-premium {
    background: var(--accent) !important;
    color: white !important;
    padding: 1rem 2.5rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: var(--transition) !important;
    border: none !important;
}

.btn-primary-hero .wp-block-button__link:hover,
.btn-premium:hover {
    background: #c96847 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(224, 120, 86, 0.3);
}

.btn-secondary-hero .wp-block-button__link {
    background: transparent !important;
    color: white !important;
    padding: 1rem 2.5rem !important;
    border: 2px solid white !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: var(--transition) !important;
}

.btn-secondary-hero .wp-block-button__link:hover {
    background: white !important;
    color: var(--primary) !important;
    transform: translateY(-2px);
}

/* --- Guide Cards --- */
.guide-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.guide-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.guide-card:hover img {
    transform: scale(1.08);
}

/* --- Solution Boxes (The Grid) --- */
.solution-box {
    padding: 2.5rem 2rem !important;
    border-radius: 20px !important;
    transition: var(--transition) !important;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.solution-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.solution-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.65rem;
    color: inherit;
    line-height: 1.25;
    font-weight: 600;
    max-width: 100%;
}

.solution-box p {
    font-size: 1rem;
    opacity: 0.92;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.solution-box a {
    margin-top: auto;
    align-self: flex-start;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hero-section-fullwidth h1 {
        font-size: 2.5rem;
    }

    .hero-section-fullwidth p {
        font-size: 1.1rem;
    }

    .hero-section-fullwidth .wp-block-cover__inner-container {
        padding: 4rem 1.5rem 3rem 1.5rem;
    }

    .btn-primary-hero .wp-block-button__link,
    .btn-secondary-hero .wp-block-button__link,
    .btn-premium {
        padding: 0.875rem 2rem !important;
        font-size: 1rem !important;
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
        margin-bottom: 1rem;
    }

    .wp-block-buttons {
        flex-direction: column;
        width: 100%;
    }

    .solution-box {
        min-height: 250px;
        padding: 2rem 1.5rem !important;
    }

    .solution-box h3 {
        font-size: 1.5rem;
    }
}

/* --- Trust Badges --- */
.trust-badge {
    text-align: center;
    padding: 1rem;
}

.trust-badge-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* --- Newsletter Section --- */
input[type="email"] {
    padding: 1rem 1.5rem;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

input[type="email"]:focus {
    outline: 2px solid var(--accent);
}

/* --- Utility Classes --- */
.has-light-gray-background-color {
    background-color: var(--light-bg) !important;
}

.has-white-background-color {
    background-color: white !important;
}

.has-dark-green-background-color {
    background-color: var(--primary) !important;
}

/* --- Spacing --- */
.wp-block-group {
    margin-bottom: 0;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}