/* Estilos Gerais */
:root {
    --primary-color: #0a3b6c;
    --secondary-color: #ffcc00;
    --accent-color: #25d366;
    --dark-color: #0a2342;
    --light-color: #f8f9fa;
    --text-color: #444;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

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

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0.5rem auto;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

section {
    padding: 5rem 0;
}

/* Header */
header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo img {
    height: 150px; /* Aumentado de 50px para 70px */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); /* Adicionado sombra suave */
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05); /* Efeito sutil de aumento ao passar o mouse */
}

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 59, 108, 0.8), rgba(10, 59, 108, 0.8)), url('images/hero-bg-generic.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 10rem 0 5rem;
    margin-top: 90px; /* Ajustado para o novo tamanho do header */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: white;
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery {
    background-color: var(--light-color);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 250px;
}

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

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

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 59, 108, 0.8);
    padding: 1rem;
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Videos Section */
.videos {
    background-color: white;
    padding: 5rem 0;
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.video-item {
    text-align: center;
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 200px;
    background-color: #000;
    cursor: pointer;
    margin-bottom: 1rem;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition);
}

.video-thumbnail:hover img {
    opacity: 0.5;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.play-button i {
    color: var(--dark-color);
    font-size: 1.5rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

/* Partners Section */
.partners {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.partner-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    flex: 0 0 300px;
    text-align: center;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

.partner-text {
    flex: 1;
    min-width: 300px;
}

.partner-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.partner-text a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.partner-text a:hover {
    color: #e67e22;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background-color: white;
    text-align: center;
}

.contact p {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.whatsapp-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    margin-right: 0.5rem;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 90px; /* Aumentado de 60px para 90px */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); /* Sombra mais pronunciada no footer */
}

.footer-info {
    text-align: right;
}

.social-media {
    margin-top: 1rem;
}

.social-media a {
    color: white;
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: var(--transition);
}

.social-media a:hover {
    color: var(--secondary-color);
}

/* Responsividade */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 90px; /* Ajustado para o novo tamanho do header */
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: var(--transition);
        z-index: 999;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 1rem;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .partner-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .gallery-container, .videos-container {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .whatsapp-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Estilos adicionais para a seção Sobre Nós */
.about {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-image {
    flex: 0 0 300px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 180px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Ajustes no footer */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .footer-logo {
        align-items: center;
    }
}
