/* Design System - Colégio Melissa */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Inter:wght@400;500&display=swap');

:root {
    --primary-color: #1d9a3b; /* Brand Green */
    --secondary-color: #db6497; /* Brand Pink */
    --accent-color: #e9e13a; /* Brand Yellow */
    --danger-color: #db6497; /* Using Pink for danger/accents */
    --light-bg: #fdfdf5; /* Off-white with a hint of yellow */
    --dark-text: #2c3e50;
    --white: #ffffff;
}

/* Bootstrap Overrides to maintain brand consistency */
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { background-color: var(--primary-color) !important; border-color: var(--primary-color) !important; }
.btn-primary:hover { background-color: #147a2e !important; }
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.btn-outline-primary { color: var(--primary-color) !important; border-color: var(--primary-color) !important; }
.btn-outline-primary:hover { background-color: var(--primary-color) !important; color: #fff !important; }

/* Botões Arredondados 100% (Padrão Pill) */
.btn {
    border-radius: 50rem !important;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
}

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


/* Navbar Customization */
.navbar {
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-text) !important;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* CTA Button */
.btn-enroll {
    background-color: var(--accent-color);
    color: var(--dark-text);
    font-weight: 700;
    border-radius: 30px;
    padding: 10px 25px;
    border: none;
    transition: transform 0.2s;
}

.btn-enroll:hover {
    transform: scale(1.05);
    background-color: #d8cf2a; /* Slightly darker yellow */
    color: var(--dark-text);
}

/* Hero Carousel */
.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0,0,0,0.3);
    border-radius: 20px;
    padding: 2rem;
    bottom: 20%;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
}

/* Footer */
footer {
    background-color: #F5F7FA;
    padding: 60px 0 20px;
    border-top: 5px solid var(--primary-color);
}

.footer-logo h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

/* Gallery Cards */
.gallery-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-card img {
    height: 250px;
    object-fit: cover;
}

/* Blog Cards */
.blog-card {
    border: none;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.blog-card img {
    border-radius: 15px 15px 0 0;
    height: 200px;
    object-fit: cover;
}

/* Animations */
.fade-up {
    animation: fadeUp 0.8s ease-out;
}

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

/* Ensure headers in colored sections stay white (Precedência Máxima) */
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6,
[class*="bg-"] h1, [class*="bg-"] h2, [class*="bg-"] h3 {
    color: #ffffff !important;
}
