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

body {
    font-family: 'Arial', sans-serif;
    background: #f8f9fa; /* Fundo branco */
    color: #333;
    line-height: 1.6;
}

/* Header Principal */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo-text h1 {
    font-size: 1.8rem;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.tagline {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-container {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    padding: 5px 10px;
    font-size: 0.9rem;
    width: 200px;
    color: #495057;
}

.search-input::placeholder {
    color: #adb5bd;
}

.search-button {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-button:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
}

.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-buttons a {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-login {
    color: #495057;
    background: #e9ecef;
}

.btn-login:hover {
    background: #dee2e6;
    color: #212529;
}

.btn-register {
    color: white;
    background: #007bff;
}

.btn-register:hover {
    background: #0056b3;
}

.btn-donate {
    color: white;
    background: #dc3545;
}

.btn-donate:hover {
    background: #c82333;
}

/* Menu de Navegação */
.navbar {
    background: white;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center; /* Centraliza o menu */
    align-items: center;
    position: relative;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    padding: 15px 25px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.nav-link:hover,
.nav-link.active {
    color: #007bff;
    background: rgba(0, 123, 255, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Menu Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #495057;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Container Principal */
.container {
    max-width: 1200px;
    margin: 20px auto;
    background: white; /* Fundo branco */
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 60px 30px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-style: italic;
}

.content-section {
    padding: 50px 40px;
}

.image-container {
    text-align: center;
    margin-bottom: 50px;
}

.main-image {
    max-width: 100%; /* Garante que a imagem não ultrapasse o contêiner */
    width: 350px; /* Tamanho fixo para desktop */
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.video-container {
    text-align: center;
    margin-top: 40px;
}

.video-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    display: inline-block;
    max-width: 600px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.main-video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.video-description {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #6c757d;
    font-style: italic;
}

footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 25px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .header-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .search-container {
        width: 100%;
        max-width: 300px;
    }

    .search-input {
        width: 100%;
    }

    .auth-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 140px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        border-top: 1px solid #e9ecef;
    }

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

    .nav-item {
        margin: 0;
        border-bottom: 1px solid #f8f9fa;
    }

    .nav-link {
        padding: 20px;
    }

    .hamburger {
        display: flex;
    }

    .container {
        margin: 10px;
        border-radius: 10px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 30px 20px;
    }

    .main-image {
        width: 280px;
    }

    .video-title {
        font-size: 1.8rem;
    }

    .video-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-image {
        width: 50px;
        height: 50px;
    }

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

    .tagline {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .content-section {
        padding: 20px 15px;
    }

    .main-image {
        width: 220px;
    }

    .video-title {
        font-size: 1.5rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.8s ease-out;
}

.main-image,
.video-wrapper {
    animation: fadeIn 1s ease-out 0.3s both;
}

/* Efeitos especiais */
.main-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.main-image:hover::before {
    opacity: 1;
}

