/* Custom Styles for Colégio Atenas */

:root {
    --primary-color: #0d47a1; /* Deep Blue */
    --secondary-color: #ffca28; /* Amber/Gold */
    --accent-color: #42a5f5; /* Light Blue */
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .navbar-brand, .btn {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar */
.transition-all {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

/* Invert logo color when navbar is transparent (dark mode) */
.navbar-dark .navbar-brand img {
    filter: brightness(0) invert(1);
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .nav-link:hover, .navbar-dark .nav-link.active {
    color: #fff;
}

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

/* Mobile Menu Background for Transparent Navbar */
@media (max-width: 991.98px) {
    .navbar-dark .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('../img/fundo-parallax.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.7) 0%, rgba(66, 165, 245, 0.7) 100%);
    z-index: 1;
}

/* Utilities */
.tracking-wider {
    letter-spacing: 2px;
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Cards */
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card {
    transition: all 0.3s ease;
    background: white;
    border-color: #eee !important;
}

.feature-card:hover {
    border-color: var(--primary-color) !important;
    background: #f8f9fa;
    transform: translateY(-5px);
}

/* Form Styles */
.form-control, .form-select {
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 71, 161, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0a3880;
    border-color: #0a3880;
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #333;
}

.btn-warning:hover {
    background-color: #ffca28;
    filter: brightness(0.95);
}

.hover-warning {
    transition: color 0.3s ease;
}

.hover-warning:hover {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.hover-accent {
    transition: color 0.3s ease;
}

.hover-accent:hover {
    color: var(--accent-color) !important;
}