/* Reset e estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: #5d4037;
    color: white;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 300px;
}

.logo-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Logo para páginas secundárias */
.secondary-page .logo {
    max-width: 200px;
}

.logo h1 {
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #ffd54f;
}

.btn-primary {
    background-color: #ffd54f;
    color: #5d4037 !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
}

/* Hero section */
.hero {
    background-color: #8d6e63;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.event-info-table {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.event-info-table table {
    width: 100%;
    border-collapse: collapse;
}

.event-info-table th,
.event-info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.event-info-table th {
    font-weight: 700;
    color: #ffd54f;
    width: 30%;
}

.event-info-table th i {
    margin-right: 10px;
}

.event-info-table tr:last-child th,
.event-info-table tr:last-child td {
    border-bottom: none;
}

.content-section {
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
}

.content-section h3 {
    color: #ffd54f;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul {
    list-style-position: inside;
    margin: 15px 0;
}

.content-section ul li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.content-section ul li:before {
    content: "•";
    color: #ffd54f;
    position: absolute;
    left: 0;
}

.registration-info {
    background-color: rgba(255, 255, 255, 0.1);
}

.registration-details p {
    margin: 10px 0;
}

.registration-details strong {
    color: #ffd54f;
}

/* Page header */
.page-header {
    background-color: #8d6e63;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #5d4037;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

/* Novos estilos para a página reformulada */
.about-section, .map-section, .cta-section {
    padding: 80px 0;
}

.about-section h2, .map-section h2, .cta-section h2 {
    text-align: center;
    color: #5d4037;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.about-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card h3 {
    color: #5d4037;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid #ffd54f;
    padding-bottom: 10px;
}

.about-card p {
    line-height: 1.8;
    color: #555;
}

.map-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

.map-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease;
}

.map-link:hover .map-overlay {
    background: rgba(0, 0, 0, 0.9);
}

.map-overlay i {
    font-size: 1.2em;
}

.contact-info {
    background-color: #5d4037;
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
}

.contact-info h3 {
    color: #ffd54f;
    margin-bottom: 20px;
}

.contact-info p {
    margin: 10px 0;
}

.contact-info i {
    margin-right: 10px;
    color: #ffd54f;
}

.cta-section {
    background-color: #8d6e63;
    color: white;
    text-align: center;
}

.cta-section p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background-color: #ffd54f;
    color: #5d4037;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .event-info-table,
    .content-section {
        padding: 15px;
    }
    
    .event-info-table th,
    .event-info-table td {
        padding: 10px;
    }
    
    .event-info-table th {
        width: 40%;
    }
    
    .logo {
        max-width: 200px;
        margin-bottom: 15px;
    }
    
    .secondary-page .logo {
        max-width: 150px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-card {
        max-width: 100%;
    }
    
    .map-image {
        height: 300px;
    }
    
    .cta-button {
        display: block;
        margin: 15px auto;
        width: 80%;
    }
    
    .map-container iframe {
        height: 350px;
    }
}
