/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Philosopher', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #e8e8e8;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 80px; /* Espaço para a navbar fixa */
}

/* Navbar fixa no topo */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
    z-index: 1000;
    padding: 0;
    box-shadow: 0 2px 20px rgba(138, 43, 226, 0.2);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 80px;
}

.navbar-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #8A2BE2;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand:hover {
    color: #40E0D0;
}

.navbar-brand::before {
    content: '☽';
    font-size: 1.2rem;
    color: #228B22;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-link:hover {
    color: #8A2BE2;
    background: rgba(138, 43, 226, 0.1);
}

/* Dropdown para submenu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.3);
    z-index: 1001;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.dropdown-link {
    display: block;
    color: #d3d3d3;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    color: #8A2BE2;
    background: rgba(138, 43, 226, 0.1);
    border-left-color: #8A2BE2;
}

.dropdown-arrow {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Menu mobile */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #e8e8e8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação da lua */
.animated-moon {
    animation: moonGlow 2.5s ease-in-out infinite alternate;
}

@keyframes moonGlow {
    0% {
        filter: drop-shadow(0 0 0px #fffbe6) brightness(1);
        transform: scale(1) rotate(-5deg);
    }
    50% {
        filter: drop-shadow(0 0 8px #fffbe6) brightness(1.15);
        transform: scale(1.07) rotate(5deg);
    }
    100% {
        filter: drop-shadow(0 0 0px #fffbe6) brightness(1);
        transform: scale(1) rotate(-5deg);
    }
}

/* Responsividade navbar */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(138, 43, 226, 0.3);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-item {
        width: 100%;
    }

    .navbar-link {
        display: block;
        text-align: center;
        padding: 1rem;
        border-radius: 0;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: rgba(138, 43, 226, 0.1);
        margin: 0;
        border-radius: 0;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    body {
        padding-top: 80px;
    }
}

/* Efeito de partículas místicas */
.mystic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(34, 139, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(75, 0, 130, 0.05) 0%, transparent 50%);
    animation: mysticFloat 20s ease-in-out infinite;
}

@keyframes mysticFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Header principal */
header {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 3px solid #8A2BE2;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
    overflow: hidden;
    background: linear-gradient(45deg, #228B22, #8A2BE2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(45deg, #228B22, #8A2BE2, #40E0D0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    color: #b8860b;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Navegação principal */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.nav-card {
    background: rgba(138, 43, 226, 0.1);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-card:hover::before {
    left: 100%;
}

.nav-card:hover {
    transform: translateY(-10px);
    border-color: #8A2BE2;
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.3);
}

.nav-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #228B22;
}

.nav-card p {
    color: #d3d3d3;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.nav-card a {
    color: #8A2BE2;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-card a:hover {
    color: #40E0D0;
}

/* Seção sobre */
.about-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.about-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #228B22;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin: 2rem 0;
    text-align: left;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid #8A2BE2;
    box-shadow: 
        0 0 30px rgba(138, 43, 226, 0.4),
        inset 0 0 20px rgba(34, 139, 34, 0.1);
    transition: all 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 50px rgba(138, 43, 226, 0.6),
        0 0 80px rgba(34, 139, 34, 0.3);
}

.about-border {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 270px;
    height: 270px;
    border: 2px solid transparent;
    border-radius: 25px;
    background: conic-gradient(from 0deg, #8A2BE2, #228B22, #8A2BE2);
    z-index: -1;
    animation: rotateBorder 15s linear infinite reverse;
}

.about-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #8A2BE2;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p {
    line-height: 1.8;
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Seção Nossa História */
.history-section {
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(34, 139, 34, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(34, 139, 34, 0.2);
}

.history-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #8A2BE2;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin: 2rem 0;
    text-align: left;
}

.history-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.history-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #228B22;
    box-shadow: 
        0 0 30px rgba(34, 139, 34, 0.4),
        inset 0 0 20px rgba(138, 43, 226, 0.1);
    transition: all 0.3s ease;
}

.history-image img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 50px rgba(34, 139, 34, 0.6),
        0 0 80px rgba(138, 43, 226, 0.3);
}

.image-border {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 270px;
    height: 270px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #228B22, #8A2BE2, #228B22);
    z-index: -1;
    animation: rotateBorder 10s linear infinite;
}

@keyframes rotateBorder {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

.history-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #228B22;
    margin-bottom: 1.5rem;
    text-align: center;
}

.history-text p {
    line-height: 1.8;
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Elementos decorativos */
.mystical-symbol {
    font-size: 2rem;
    color: #8A2BE2;
    margin: 1rem 0;
    opacity: 0.6;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px #8A2BE2; }
    to { text-shadow: 0 0 20px #8A2BE2, 0 0 30px #8A2BE2; }
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 46, 0.9) 100%);
    border-top: 2px solid rgba(138, 43, 226, 0.3);
    margin-top: 4rem;
    padding: 3rem 2rem 2rem;
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: center;
}

.footer-section h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #8A2BE2;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.footer-section p {
    color: #d3d3d3;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.footer-section a {
    color: #228B22;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #40E0D0;
    text-shadow: 0 0 5px rgba(64, 224, 208, 0.5);
}

.contact-highlight {
    color: #b8860b !important;
    font-weight: bold;
}

.footer-divider {
    margin: 2rem 0 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.5), transparent);
}

.footer-bottom {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-symbol {
    font-size: 1.5rem;
    color: #8A2BE2;
    margin: 1rem 0;
    opacity: 0.7;
}

/* Efeito de entrada */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Carrossel de Outras Atividades */
.outras-atividades-section {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.outras-atividades-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #8A2BE2;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.outras-atividades-subtitle {
    text-align: center;
    color: #b8860b;
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-style: italic;
}

.carrossel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    padding: 30px 60px;
}

.carrossel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    width: max-content;
}

.atividade-card {
    min-width: 280px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(75, 0, 130, 0.1) 100%);
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.4);
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.atividade-card:hover {
    transform: translateY(-5px);
    border-color: #8A2BE2;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.atividade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8A2BE2, #b8860b, #8A2BE2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.atividade-card:hover::before {
    opacity: 1;
}

.atividade-card-header {
    position: relative;
    margin-bottom: 15px;
}

.atividade-card-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.atividade-card-type {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(138, 43, 226, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.atividade-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #8A2BE2;
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 600;
}

.atividade-card-facilitator {
    color: #b8860b;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.atividade-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #ddd;
}

.atividade-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.atividade-card-vagas {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #4CAF50;
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(138, 43, 226, 0.8);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrossel-btn:hover {
    background: rgba(138, 43, 226, 1);
    transform: translateY(-50%) scale(1.1);
}

.carrossel-btn.prev {
    left: 10px;
}

.carrossel-btn.next {
    right: 10px;
}

.carrossel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(138, 43, 226, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #8A2BE2;
}

/* Ícones das redes sociais */
.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    color: #e8e8e8;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(138, 43, 226, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.social-icon:hover {
    color: #8A2BE2;
    background: rgba(138, 43, 226, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Responsividade do carrossel */
@media (max-width: 768px) {
    .carrossel-container {
        padding: 20px 40px;
    }
    
    .atividade-card {
        min-width: 250px;
    }
    
    .outras-atividades-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .carrossel-container {
        padding: 15px 30px;
    }
    
    .atividade-card {
        min-width: 220px;
    }
    
    .carrossel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* Responsividade geral */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    footer {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-card {
        padding: 1.5rem;
    }
    
    .about-section {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-image img {
        width: 200px;
        height: 200px;
    }

    .about-border {
        width: 220px;
        height: 220px;
    }

    .about-text {
        text-align: center;
    }

    .about-text p {
        text-align: center;
    }

    .history-section {
        margin: 2rem 1rem 0;
        padding: 2rem 1.5rem;
    }

    .history-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .history-image img {
        width: 200px;
        height: 200px;
    }

    .image-border {
        width: 220px;
        height: 220px;
    }

    .history-text {
        text-align: center;
    }

    .history-text p {
        text-align: center;
    }

    .social-icons {
        gap: 0.5rem;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        padding: 0.3rem;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .carrossel-container {
        padding: 15px 30px;
    }
    
    .atividade-card {
        min-width: 220px;
    }
    
    .carrossel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}
