/* Correções de Responsividade Mobile - Benha IT */

/* Correção para o logo no header */
@media (max-width: 768px) {
    .logo img {
        max-width: 80px;
        max-height: 80px;
        object-fit: contain;
    }
    
    .header-main {
        padding: 10px 0;
    }
    
    .header-main .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 60px;
        max-height: 60px;
    }
    
    .header-top {
        display: none; /* Oculta o header superior em telas muito pequenas */
    }
}

/* Correção para a mensagem de aniversário */
@media (max-width: 768px) {
    .anniversary-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
        margin: 0 10px 15px 10px;
        text-align: center;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    .anniversary-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
        margin: 0 5px 10px 5px;
    }
}

/* Correção para os cards de estatísticas */
.anniversary-section .stat-item {
    background: rgba(15, 46, 36, 0.9) !important;
    backdrop-filter: blur(15px) !important;
    border: 2px solid rgba(255, 215, 0, 0.4) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.anniversary-section .stat-number {
    color: #FFD700 !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.anniversary-section .stat-label {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
}

@media (max-width: 768px) {
    .anniversary-section .stat-item {
        background: rgba(15, 46, 36, 0.9) !important;
        backdrop-filter: blur(15px) !important;
        border: 2px solid rgba(255, 215, 0, 0.4) !important;
        padding: 20px 15px;
        margin: 10px 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
    }
    
    .anniversary-section .stat-number {
        color: #FFD700 !important;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9) !important;
        font-size: 2.5rem;
    }
    
    .anniversary-section .stat-label {
        color: #ffffff !important;
        font-weight: 600 !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9) !important;
    }
    
    .anniversary-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Correções gerais para o hero section */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 20px 0;
    }
    
    .hero .container {
        padding: 0 15px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 12px 20px;
    }
    
    .hero-image {
        margin-top: 20px;
    }
    
    .hero-3d-image {
        max-width: 80%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 15px 0;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}

/* Correções para navegação mobile */
@media (max-width: 768px) {
    .nav-menu {
        background: rgba(15, 46, 36, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .nav-link {
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:hover {
        color: #FFD700;
        background: rgba(255, 215, 0, 0.1);
    }
}

/* Correções para seções gerais */
@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 30px 0;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
}

/* Correções para cards de valores */
@media (max-width: 768px) {
    .values-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .value-card {
        padding: 20px 15px;
    }
    
    .card-icon img {
        max-width: 50px;
        max-height: 50px;
    }
    
    .value-card h4 {
        font-size: 1.1rem;
    }
    
    .value-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .values-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Correções para timeline */
@media (max-width: 768px) {
    .timeline-item {
        margin-bottom: 30px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
}

/* Correções para footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-top {
        padding: 40px 0 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Correções para overflow horizontal */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Correções para botões */
@media (max-width: 768px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

