:root {
    /* Colors */
    --color-primary: #800020; /* Vinho/Bordô aproximado do Roma */
    --color-secondary: #FFD700; /* Dourado */
    --color-text-light: #FFFFFF;
    --color-text-dark: #333333;
    --color-bg-light: #F5F5F5;
    --color-bg-dark: #1A1A1A;
    
    /* Fonts */
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-primary); /* Base color as per design images */
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    margin-bottom: var(--spacing-md);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container utility */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-title);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

/* Hamburger Menu */
.hamburger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-secondary);
    transition: all 0.3s ease-in-out;
}

/* Desktop Menu */
.desktop-menu {
    display: none; /* Hidden on mobile */
    gap: 20px;
}

.desktop-menu a {
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-menu a:hover {
    color: var(--color-secondary);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px; /* Hidden by default */
    width: 280px;
    height: 100%;
    background-color: white;
    z-index: 1001;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    background-color: var(--color-primary);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.2rem;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.sidebar-links {
    padding: 20px;
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.sidebar-links a {
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
}

.sidebar-links a:hover {
    color: var(--color-primary);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.overlay.active {
    display: block;
}

/* Hero Section */
.hero-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
    margin-top: 60px; /* Offset for fixed navbar */
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.hero-logo {
    width: 120px; /* Adjust size as needed */
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.hero-text .highlight-text {
    font-size: 3rem;
    color: var(--color-secondary);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--spacing-lg);
}

.inline-logo {
    width: 40px;
    height: auto;
}

.hero-image-container {
    margin-top: var(--spacing-lg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Animation Entry */
.hero-section {
    animation: fadeIn 1s ease-out;
}

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

/* Gallery & Social Section */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-primary);
    text-align: center;
    border-top: 2px solid var(--color-secondary);
}

.cta-button {
    display: inline-block;
    background-color: var(--color-bg-light);
    color: #000000;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    border-radius: 4px;
    text-transform: uppercase;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: scale(1.05);
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-secondary);
    display: inline-block;
    padding-bottom: var(--spacing-sm);
}

/* Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 400px; /* Fixed height for consistency */
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Project Description */
.project-description {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.8;
    background: rgba(0,0,0,0.2);
    padding: var(--spacing-md);
    border-radius: 8px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.social-icon {
    width: 60px;
    height: 60px;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Location Section */
.location-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    text-align: center;
}

.donation-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    text-align: center;
}

.location-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.address-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-wrapper {
    background-color: var(--color-primary);
    padding: 15px;
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
}

.location-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.address-card h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.address-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: var(--spacing-md);
}

.map-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

.map-container {
    flex: 1;
    min-height: 300px;
    height: 100%; /* Ensure it takes full height if flexed */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative; /* For absolute positioning of iframe if needed */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px; /* Fallback */
    border: 0;
    display: block;
}

@media (min-width: 768px) {
    .location-content {
        flex-direction: row;
        align-items: stretch;
    }
}

/* Schedule Section */
.schedule-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-primary);
    text-align: center;
}

.schedule-header {
    margin-bottom: var(--spacing-xl);
}

.schedule-subtitle {
    font-size: 1.2rem;
    color: var(--color-secondary);
    opacity: 0.9;
}

.schedule-highlight {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-secondary);
    border-radius: 12px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    display: inline-block;
    position: relative;
}

.highlight-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
}

.schedule-highlight h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.schedule-highlight p {
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.schedule-cards {
    display: grid;
    gap: var(--spacing-lg);
    grid-template-columns: 1fr;
}

.schedule-card {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    text-align: left;
}

.schedule-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: var(--spacing-sm);
}

.period-icon {
    width: 40px;
    height: 40px;
}

.schedule-card h4 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin: 0;
}

.time-list li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.time-list li strong {
    color: var(--color-text-dark);
}

.special-card {
    border: 2px solid var(--color-secondary);
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .desktop-menu {
        display: flex;
    }

    .schedule-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }
}

/* Donation Title */
.donation-title {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Invitation Video Section */
.invitation-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-primary);
    text-align: center;
}

.invitation-title {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    -webkit-text-stroke: 1px #000;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 4px solid var(--color-secondary);
}

.video-container video {
    width: 100%;
    display: block;
}

/* Donations Section */
.donations-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-primary);
    text-align: center;
}

.donations-content {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.donations-image {
    width: 100%;
    height: auto;
}

.donation-cta p {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    color: var(--color-primary);
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-secondary);
}

.section-title-red {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary);
}

/* Footer */
.site-footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: var(--spacing-lg) 0;
    text-align: center;
    font-size: 0.9rem;
}

.developer-credit {
    margin-top: var(--spacing-sm);
    opacity: 0.7;
    font-size: 0.8rem;
}
