/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1E3A8A;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --secondary-color: #0EA5E9;
    --accent-color: #F59E0B;
    --success-color: #10B981;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --background-light: #F8FAFC;
    --white: #FFFFFF;
    --shadow-light: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-medium: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-large: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --transition-base: all 0.3s ease;
    --border-radius: 0.75rem;
    --font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Utilities */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header Styles */
.header-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
}

.navbar-custom {
    padding: 1rem 0;
    transition: var(--transition-base);
}

.navbar-custom.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    font-size: 2rem;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.brand-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link-custom {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    position: relative;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--white) !important;
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.custom-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.custom-toggler:focus {
    box-shadow: none;
}

.container-fluid h1 {
    color: #1E3A8A;
    font-size: 2rem;
    font-weight: bold;
}

.navbar-nav {
    font-size: 1.2rem;

}

.barra_principal a:hover {
    background-color: #1E3A8A;
    /* Cor de fundo ao passar o mouse */
    color: white;
}

.carrossel {
    max-height: 80vh;
    overflow: hidden;
}

.carrossel img {
    max-height: 80vh;
    object-fit: cover;
    border-radius: 50 px;

}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-text {
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.texto-sobreposto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 10;
    padding: 20px;
    border-radius: 10px;
}

.texto-sobreposto h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.texto-sobreposto a {
    color: white;
    text-decoration: none;
}

.atividades {
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}



.atividades img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    background-color: #0EA5E9;
    border-radius: 10px;

}

/* Activities Section */
.activities-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.activity-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.card-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.activity-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(14, 165, 233, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.activity-card:hover .card-overlay {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    color: var(--white);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-features {
    list-style: none;
    padding: 0;
}

.card-features li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

footer .rodape {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

footer h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

footer h5 {
    font-size: 1rem;
    font-weight: bold;
}

footer .tadsbr {
    width: 100%;
}

.sombra {
    box-shadow: 2px -8px 12px -5px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer-custom {
    /* background: linear-gradient(135deg, var(--text-dark) 0%, #60728f 100%); */
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    display: flex;
    align-items: center;
}

.footer-title i {
    color: var(--background-light);
}

.footer-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-content p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-content i {
    color: var(--background-light);
    width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.footer-bottom {
    padding-top: 1rem;
}


/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    box-shadow: var(--shadow-medium);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-large);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .activities-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .footer-custom {
        padding: 2rem 0 1rem;
    }

    .navbar-custom {
        padding: 0.75rem 0;
    }

    .brand-title {
        font-size: 1.5rem;
    }

    .brand-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 0 1rem;
    }

    .btn-primary-custom,
    .btn-outline-light {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .activity-card {
        margin-bottom: 2rem;
    }

    .card-image-container {
        height: 200px;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Custom Animations */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer Animation Classes */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .header-custom,
    .scroll-to-top,
    .carousel-indicators,
    .cta-section {
        display: none;
    }

    .hero-section {
        height: auto;
        page-break-inside: avoid;
    }

    .activity-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --text-light: #000000;
        --background-light: #ffffff;
    }

    .card-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}