:root {
    --primary-color: #2C5F2D;
    --secondary-color: #97BC62;
    --accent-color: #0C7489;
    --dark-color: #1E3F20;
    --light-color: #F2F2F2;
}

body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
}

#home {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/principal.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
}

.service-card {
    transition: all 0.3s ease;
}

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

/* Galeria de Fotos */
.gallery-img {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 0.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.lightbox-nav button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-nav button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    padding: 10px 0;
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: var(--accent-color);
}

.navbar {
    background-color: rgba(30, 63, 32, 0.9);
    transition: all 0.3s ease-in-out;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(30, 63, 32, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar .nav-link {
    color: white !important;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #97BC62 !important;
}

/* Efeito de hover nos links de navegação */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #10b981;
    transition: width 0.3s ease, transform 0.3s ease;
    transform-origin: left;
}

.nav-link:hover::after {
    width: 100%;
    transform: scaleX(1);
}

/* Ajustes para o menu mobile */
@media (max-width: 767px) {
    .navbar {
        background-color: rgba(30, 63, 32, 0.98) !important;
        padding: 0.5rem 1rem;
    }
    
    .navbar .nav-link {
        color: white !important;
        padding: 0.75rem 1rem;
        margin: 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 1.5rem;
        color: #97BC62 !important;
    }
    
    .mobile-menu {
        background-color: var(--dark-color);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Animações de rolagem */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateZ(0);
}

/* Efeito de fade-in */
[data-aos^="fade"][data-aos^="fade"] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos^="fade"][data-aos^="fade"].aos-animate {
    opacity: 1;
    transform: translateZ(0);
}

/* Efeito de fade-up */
[data-aos="fade-up"] {
    transform: translate3d(0, 30px, 0);
}

/* Efeito de fade-down */
[data-aos="fade-down"] {
    transform: translate3d(0, -30px, 0);
}

/* Efeito de fade-left */
[data-aos="fade-left"] {
    transform: translate3d(-30px, 0, 0);
}

/* Efeito de fade-right */
[data-aos="fade-right"] {
    transform: translate3d(30px, 0, 0);
}

/* Efeito de zoom-in */
[data-aos^="zoom"] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos^="zoom"].aos-animate {
    opacity: 1;
    transform: translateZ(0) scale(1);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

/* Transições suaves para elementos interativos */
button, a, input, textarea, select {
    transition: all 0.3s ease-in-out;
}

/* Estilos para os botões flutuantes */
#back-to-top, .whatsapp-float {
    transition: all 0.3s ease-in-out;
}

/* Animação de pulso para o botão do WhatsApp */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    animation: none;
}
