/*
Theme Name: ACRICUTUDI
Theme URI: https://acricutudi.org.br
Author: Marcos
Author URI: https://github.com/seu-usuario
Description: Tema personalizado para ACRICUTUDI - Associação Criativa, Cultural e Turística de Dona Inês. Promovendo agricultura familiar, artesanato e cultura local.
Version: 2.1
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: acricutudi
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready, one-column, two-columns, flexible-header, custom-colors
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00205B; /* Azul escuro institucional */
    --secondary-color: #E67300; /* Laranja ajustado para melhor contraste */
    --accent-color: #FFD600; /* Amarelo destaque */
    --highlight-color: #29B6F6; /* Azul claro */
    --text-color: #FFFFFF; /* Texto principal branco */
    --text-dark: #2C3E50; /* Texto escuro melhorado */
    --border-color: #2C3E50; /* Bordas escuras suavizadas */
    --gradient-start: #E67300; /* Laranja */
    --gradient-end: #00205B; /* Azul escuro */
    --bg-light: #F5F5F0; /* Fundo bege claro ajustado */
    --bg-card: #FFFFFF; /* Fundo de cards */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    scroll-behavior: smooth;
}

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

.site-header {
    background: var(--bg-card);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 3px solid var(--highlight-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #E67300;
    color: #FFFFFF;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.skip-link:focus,
.skip-link:hover {
    top: 0;
    outline: 3px solid #29B6F6;
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header/Navigation */
header {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--secondary-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* CTA Button in Header */
.btn-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
    border: 2px solid var(--secondary-color);
    background: var(--secondary-color);
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    border-radius: 25px;
    white-space: nowrap;
}

.btn-cta:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 30l30-30v60z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 40px;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-size: 0.95rem;
    border: 2px solid #000000;
    background: #FFFFFF;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 300px;
    height: 350px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 30px;
    border: 3px solid #000000;
    padding: 40px;
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-image::before {
    content: '';
    display: none;
}

.hero-image::after {
    content: '';
    display: none;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: var(--bg-light);
    position: relative;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 60px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
}

.about-text {
    flex: 1;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.about p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: left;
    margin-bottom: 15px;
}

.about-image {
    width: 300px;
    height: 350px;
    background: var(--secondary-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    flex-shrink: 0;
    padding: 40px;
}

.section-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.about-image::before {
    content: '';
    display: none;
}

.about-image::after {
    content: '';
    display: none;
}

/* Projects Section */
.projects {
    padding: 80px 20px;
    background: var(--bg-light);
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    text-align: center;
    font-weight: 700;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.project-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #FFA500 100%);
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
}

/* Different backgrounds for each project type */
.project-img-agriculture {
    background: linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
}

.project-img-agriculture::before {
    content: '🌱';
    position: absolute;
    font-size: 4rem;
    opacity: 0.3;
}

.project-img-craft {
    background: linear-gradient(135deg, #E67E22 0%, #F39C12 100%);
}

.project-img-craft::before {
    content: '🎨';
    position: absolute;
    font-size: 4rem;
    opacity: 0.3;
}

.project-img-culture {
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
}

.project-img-culture::before {
    content: '🎭';
    position: absolute;
    font-size: 4rem;
    opacity: 0.3;
}

.project-img-tourism {
    background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
}

.project-img-tourism::before {
    content: '🗺️';
    position: absolute;
    font-size: 4rem;
    opacity: 0.3;
}

.project-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.project-badge.badge-success {
    background: #27AE60;
}

.project-badge.badge-planning {
    background: #3498DB;
}

.project-stats {
    margin: 10px 0 15px;
    font-size: 0.85rem;
    color: var(--text-dark);
    opacity: 0.8;
    font-weight: 600;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.project-card p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.btn-secondary {
    padding: 12px 30px;
    font-size: 0.9rem;
    border: 2px solid #000000;
    background: var(--secondary-color);
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    border-radius: 25px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: #000000;
    transform: translateY(-2px);
}

/* Events Section */
.events {
    padding: 80px 20px;
    background: var(--bg-light);
}

.events-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 60px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
}

.events-image {
    width: 300px;
    height: 350px;
    background: var(--secondary-color);
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    padding: 40px;
}

.events-image::before {
    content: '';
    display: none;
}

.events-image::after {
    content: '';
    display: none;
}

.events-list {
    flex: 1;
}

.events h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.events h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.event-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 2px solid rgba(230, 115, 0, 0.2);
    transition: var(--transition);
    align-items: flex-start;
}

.event-item:last-child {
    border-bottom: none;
}

.event-item:hover {
    padding-left: 10px;
}

.event-date {
    background: var(--secondary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    min-width: 70px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.date-day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.event-details {
    flex: 1;
}

.event-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 700;
}

.event-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 5px;
}

.event-description {
    font-size: 0.95rem !important;
    opacity: 0.9 !important;
    font-style: italic;
}

/* News Section */
.news-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.news-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    margin-bottom: 15px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(230, 115, 0, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.news-card h3 a:hover {
    color: var(--secondary-color);
}

.news-excerpt {
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 20px;
    flex: 1;
    line-height: 1.6;
}

.news-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link:hover {
    color: var(--primary-color);
    gap: 8px;
}

.news-footer {
    text-align: center;
    margin-top: 40px;
}

.no-news {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.7;
    grid-column: 1 / -1;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 2px dashed var(--border-color);
}

/* Association Section */
.association {
    padding: 80px 20px;
    background: var(--bg-light);
}

.association-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 60px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
}

.association-text {
    flex: 1;
}

.association h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.association h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.association p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: left;
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.1rem;
    border: 2px solid #000000;
    background: var(--secondary-color);
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    border-radius: 30px;
}

.btn-large:hover {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: #000000;
    transform: translateY(-2px);
}

.association-image {
    width: 300px;
    height: 350px;
    background: var(--secondary-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    flex-shrink: 0;
    padding: 40px;
}

.association-image::before {
    content: '';
    display: none;
}

.association-image::after {
    content: '';
    display: none;
}

/* Mission Section */
.mission {
    padding: 80px 20px;
    background: var(--bg-light);
}

.mission-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 60px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
}

.mission-text {
    flex: 1;
}

.mission h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.mission h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.mission p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: left;
}

.mission-image {
    width: 300px;
    height: 350px;
    background: var(--secondary-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    flex-shrink: 0;
    padding: 40px;
}

/* Objectives Section */
.objectives {
    padding: 100px 20px;
    background: var(--bg-light);
}

.objectives h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    text-align: center;
    font-weight: 700;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.objective-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.objective-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.objective-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    margin-top: 5px;
    display: block;
    position: relative;
    z-index: 2;
}

.objective-number {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.objective-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.4;
}

.objective-card p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
    text-align: left;
}

/* Gallery Section */
.gallery {
    padding: 80px 20px;
    background: var(--bg-light);
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    text-align: center;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #FFA500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-placeholder::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #FFFFFF;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border: 2px solid #000000;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--text-color);
    border-top: 4px solid var(--secondary-color);
}

.footer-contact a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-tagline {
    font-style: italic;
    color: var(--secondary-color);
    margin-top: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.footer-contact li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 5px 0;
    opacity: 0.9;
}

.footer-credits {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 73px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 30px 0;
        border-bottom: 3px solid var(--secondary-color);
        z-index: 999;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link {
        display: block;
        padding: 15px 20px !important;
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .nav-links.active {
        left: 0;
    }

    .btn-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 968px) {

    .hero-content,
    .about-content,
    .mission-content,
    .events-content,
    .association-content {
        flex-direction: column;
        text-align: center;
    }

    .event-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .event-date {
        min-width: 80px;
    }

    .event-details {
        text-align: center;
    }

    .hero-text,
    .about-text,
    .mission-text {
        text-align: center;
    }

    nav {
        padding: 15px 20px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image,
    .about-image,
    .mission-image,
    .events-image,
    .association-image {
        width: 100%;
        max-width: 400px;
    }

    .about-content,
    .mission-content,
    .events-content,
    .association-content {
        padding: 40px 30px;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 30px;
    }

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

    .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        padding: 40px 20px 30px;
    }
}

@media (max-width: 600px) {
    .logo-img {
        height: 45px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .about-content,
    .mission-content,
    .events-content,
    .association-content {
        padding: 40px 25px;
        border-radius: 15px;
    }

    .about h2,
    .mission h2,
    .projects h2,
    .objectives h2,
    .gallery h2,
    .events h2,
    .association h2 {
        font-size: 2rem;
    }

    .objective-card h3 {
        font-size: 1.15rem;
    }

    .objective-icon {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .about h2::after,
    .mission h2::after,
    .events h2::after,
    .association h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-text,
    .mission-text,
    .association-text {
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Association Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    animation: slideInUp 0.4s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(230, 115, 0, 0.1);
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 700;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.7;
    margin-bottom: 30px;
}

.association-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group label {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.form-actions button {
    flex: 1;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-dark);
    opacity: 0.6;
    text-align: center;
    margin-top: -10px;
}

.form-feedback {
    text-align: center;
    padding: 40px 20px;
}

.form-feedback.success {
    color: #27AE60;
}

.feedback-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    background: #27AE60;
    color: white;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.form-feedback h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.form-feedback p {
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Modal responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 25px;
        max-height: 95vh;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .modal-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .modal {
        padding: 10px;
    }

    .modal-content {
        padding: 25px 20px;
    }
}

/* Gallery Page Styles */
.gallery-section {
    background: var(--bg-light);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.filter-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.gallery-grid-advanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item-advanced {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
}

.gallery-item-advanced.hidden {
    display: none;
}

.gallery-item-advanced:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.gallery-item-advanced img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item-advanced:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 32, 91, 0.7) 0%, rgba(230, 115, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item-advanced:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 3rem;
    color: white;
    font-weight: 300;
    transition: var(--transition);
}

.gallery-item-advanced:hover .gallery-icon {
    transform: scale(1.2) rotate(90deg);
}

/* GLightbox custom styles */
.glightbox-clean .gslide-description {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
}

/* Gallery animations */
@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item-advanced {
    animation: galleryFadeIn 0.4s ease-out forwards;
}

.gallery-item-advanced:nth-child(1) { animation-delay: 0.05s; }
.gallery-item-advanced:nth-child(2) { animation-delay: 0.1s; }
.gallery-item-advanced:nth-child(3) { animation-delay: 0.15s; }
.gallery-item-advanced:nth-child(4) { animation-delay: 0.2s; }
.gallery-item-advanced:nth-child(5) { animation-delay: 0.25s; }
.gallery-item-advanced:nth-child(6) { animation-delay: 0.3s; }

/* Gallery responsive */
@media (max-width: 768px) {
    .gallery-grid-advanced {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .gallery-item-advanced img {
        height: 200px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid-advanced {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item-advanced img {
        height: 250px;
    }
    
    .gallery-filters {
        gap: 10px;
        padding: 15px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* ========================================
   SINGLE POST STYLES
   ======================================== */

.container-small {
    max-width: 1100px; /* Aumentado de 800px para 1100px */
    margin: 0 auto;
}


/* Entry Header */
.entry-header {
    margin-bottom: 40px;
    padding: 30px;
    border-bottom: 3px solid var(--secondary-color);
}

.entry-title {
    font-size: 3rem; /* Aumentado para mais impacto */
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.posted-on,
.byline,
.cat-links {
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

/* Post Thumbnail */
.post-thumbnail {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.post-thumbnail:hover img {
    transform: scale(1.03);
}

/* Entry Content */
.entry-content {
    margin: 40px 0;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.entry-content h2 {
    font-size: 2rem;
    border-left: 5px solid var(--secondary-color);
    padding-left: 20px;
}

.entry-content h3 {
    font-size: 1.6rem;
}

.entry-content h4 {
    font-size: 1.3rem;
}

.entry-content ul,
.entry-content ol {
    margin: 25px 0;
    padding-left: 40px;
}

.entry-content li {
    margin-bottom: 12px;
}

.entry-content a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.entry-content a:hover {
    color: var(--primary-color);
}

.entry-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: var(--bg-light);
    border-left: 5px solid var(--secondary-color);
    border-radius: 10px;
    font-style: italic;
    color: var(--text-dark);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: var(--shadow-sm);
}

/* Entry Footer */
.entry-footer {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.tags-links {
    margin-bottom: 30px;
    padding: 20px 25px;
    background: var(--bg-light);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    font-size: 1rem;
}

.tags-links a {
    display: inline-block;
    padding: 8px 18px;
    margin: 5px 5px 5px 0;
    background: var(--bg-card);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.tags-links a:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Social Share - ALTA PRIORIDADE (Contraste Melhorado) */
.social-share {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #00153D 100%);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.social-share h4 {
    color: #FFFFFF; /* Branco para contraste máximo */
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-share a {
    display: inline-block;
    padding: 14px 30px;
    margin: 8px 8px 8px 0;
    color: #FFFFFF; /* Texto branco para melhor contraste */
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.share-facebook {
    background: #1877F2;
    border-color: #1877F2;
}

.share-facebook:hover {
    background: #155DB1;
    border-color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.share-twitter {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.share-twitter:hover {
    background: #1A8CD8;
    border-color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.4);
}

.share-whatsapp {
    background: #25D366;
    border-color: #25D366;
}

.share-whatsapp:hover {
    background: #1EAA52;
    border-color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Post Navigation */
.post-navigation {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.nav-previous,
.nav-next {
    flex: 1;
    padding: 25px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.nav-previous:hover,
.nav-next:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.nav-previous a,
.nav-next a {
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.nav-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.nav-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Comments Wrapper */
.comments-wrapper {
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.comment-meta {
    padding: 20px;
}

/* Responsive Single Post */
@media (max-width: 768px) {

    
    .entry-title {
        font-size: 1.8rem;
    }
    
    .entry-meta {
        gap: 10px;
        font-size: 0.85rem;
    }
    
    .entry-content {
        font-size: 1rem;
    }
    
    .entry-content h2 {
        font-size: 1.6rem;
    }
    
    .social-share {
        padding: 25px 20px;
    }
    
    .social-share a {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .comments-wrapper {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {

    .entry-title {
        font-size: 1.5rem;
    }
    
    .entry-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .entry-content {
        font-size: 0.95rem;
        margin: 25px 0;
    }
    
    .entry-content h2 {
        font-size: 1.4rem;
        margin-top: 25px;
    }
    
    .social-share h4 {
        font-size: 1rem;
    }
    
    .social-share a {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}
