/* ============================================
   RESET E VARIÁVEIS CSS
   ============================================ */

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

/* Variáveis de cores */
:root {
    --azul-gelo: #4A90E2;
    --azul-gelo-claro: #E8F4F8;
    --azul-gelo-escuro: #357ABD;
    --branco: #FFFFFF;
    --cinza-claro: #F5F5F5;
    --cinza-medio: #CCCCCC;
    --cinza-escuro: #666666;
    --preto: #333333;
    --whatsapp: #25D366;
    --instagram: #E4405F;
}

/* ============================================
   CONFIGURAÇÕES GERAIS
   ============================================ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--preto);
    line-height: 1.6;
    background-color: var(--branco);
    overflow-x: hidden;
    padding-top: var(--header-height, 300px);
}

/* Container padrão */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Títulos de seção */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--azul-gelo-escuro);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--cinza-escuro);
    text-align: center;
    margin-bottom: 3rem;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--azul-gelo);
    color: var(--branco);
}

.btn-primary:hover {
    background-color: var(--azul-gelo-escuro);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* ============================================
   CABEÇALHO
   ============================================ */

.header {
    background-image: url('../img/fundo.jpg');
    background-size: cover;
    background-position: center 100%;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1.5rem 0 2.5rem;
    min-height: 300px;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.header .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Menu de Navegação */
.nav-main {
    width: 100%;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    padding-left: 0;
}

.nav-link {
    text-decoration: none;
    color: #2C3E50;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link.active {
    color: #2C3E50;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2C3E50;
}

.nav-link:hover {
    color: var(--azul-gelo);
}

/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo-img {
    height: 140px;
    width: auto;
    max-width: 500px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 2;
}

/* Botão Menu Mobile (Hamburger) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--preto);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Mobile */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--branco);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-mobile.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.nav-list-mobile {
    list-style: none;
    padding: 0 20px;
}

.nav-link-mobile {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: var(--preto);
    font-weight: 500;
    border-bottom: 1px solid var(--cinza-claro);
    transition: color 0.3s ease;
}

.nav-link-mobile:hover {
    color: var(--azul-gelo);
}

/* ============================================
   BANNER INICIAL
   ============================================ */

.banner {
    position: relative;
    height: 500px;
    background-image: url('../img/15.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--branco);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8), rgba(53, 122, 189, 0.8));
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.banner .btn-primary {
    font-size: 1.1rem;
    padding: 18px 35px;
}

.banner .btn-primary i {
    margin-right: 8px;
}

/* ============================================
   SEÇÃO DE SERVIÇOS
   ============================================ */

.services {
    padding: 80px 0;
    background-color: var(--cinza-claro);
}

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

.service-card {
    background-color: var(--branco);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--azul-gelo), var(--azul-gelo-escuro));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    font-size: 2rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--azul-gelo-escuro);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--cinza-escuro);
    line-height: 1.8;
}

/* ============================================
   GALERIA DE FOTOS
   ============================================ */

.gallery {
    padding: 0;
    background-color: var(--branco);
}

.gallery-header {
    background-color: var(--azul-gelo-claro);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.gallery-description-text {
    font-size: 1rem;
    color: var(--cinza-escuro);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.gallery-item {
    background-color: var(--branco);
    border: 1px solid #E0E0E0;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-title {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--azul-gelo-escuro);
    margin: 0;
}

.gallery-description {
    padding: 0 1rem 1rem;
    color: var(--cinza-escuro);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

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

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    background-color: var(--branco);
    border-radius: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Estilização da barra de rolagem do modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--cinza-claro);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--azul-gelo);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--azul-gelo-escuro);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--branco);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(74, 144, 226, 0.8);
    color: var(--branco);
    border: none;
    padding: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2001;
    border-radius: 5px;
}

.modal-nav:hover {
    background-color: var(--azul-gelo);
}

.modal-prev {
    left: 15px;
}

.modal-next {
    right: 15px;
}

.modal-image {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.modal-info {
    padding: 2rem;
    background-color: var(--branco);
    flex-shrink: 0;
    min-height: fit-content;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--azul-gelo-escuro);
    margin-bottom: 1rem;
}

.modal-description {
    color: var(--cinza-escuro);
    line-height: 1.8;
    font-size: 1rem;
}

/* ============================================
   SOBRE NÓS
   ============================================ */

.about {
    padding: 80px 0;
    background-color: var(--azul-gelo-claro);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-paragraph {
    margin-bottom: 1.5rem;
    color: var(--cinza-escuro);
    line-height: 1.8;
    font-size: 1rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

/* ============================================
   CONTATO
   ============================================ */

.contact {
    padding: 80px 0;
    background-color: var(--branco);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: var(--branco);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-whatsapp {
    background-color: var(--whatsapp);
}

.contact-whatsapp:hover {
    background-color: #20BA5A;
}

.contact-instagram {
    background: linear-gradient(135deg, #833AB4, #E4405F, #FCAF45);
}

.contact-instagram:hover {
    opacity: 0.9;
}

.contact-phone {
    background-color: var(--azul-gelo);
}

.contact-phone:hover {
    background-color: var(--azul-gelo-escuro);
}

.contact-btn i {
    font-size: 1.3rem;
}

/* ============================================
   RODAPÉ
   ============================================ */

.footer {
    background-color: var(--azul-gelo-claro);
    color: var(--preto);
    padding: 40px 0 20px;
}

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

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--azul-gelo-escuro);
}

.footer-text {
    color: var(--cinza-escuro);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-text i {
    margin-right: 8px;
    color: var(--azul-gelo);
}

.footer-list {
    list-style: none;
}

.footer-link {
    color: var(--cinza-escuro);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--azul-gelo);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--azul-gelo);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background-color: var(--azul-gelo);
    color: var(--branco);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: var(--cinza-escuro);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Tablets */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .logo-img {
        height: 120px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }
    
    .logo-img {
        height: 80px;
        max-width: 300px;
    }
    
    body {
        padding-top: var(--header-height, 250px);
    }

    .header {
        padding: 1rem 0 2rem;
        min-height: 250px;
    }
    
    .nav-list {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-header {
        padding: 1.5rem 0;
    }
    
    .gallery-description-text {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-btn {
        justify-content: center;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .modal-image {
        max-height: 50vh;
    }
    
    .modal-info {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .modal-description {
        font-size: 0.9rem;
    }
    
    .modal-nav {
        padding: 15px;
        font-size: 1.2rem;
    }
    
    .modal-prev {
        left: 5px;
    }
    
    .modal-next {
        right: 5px;
    }
}

