/* Reset e configurações básicas */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); /* Titulo */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap'); /* Corpo */ 
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap'); /* Botao CTA */

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

body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg,  rgba(0, 0, 0, 0.8), rgba(94, 130, 23, 0.5));
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

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

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

.logo img {
    width: 85px;
    height: 85px;
}

.logo-text {
    color: rgb(94, 130, 23);
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: rgb(94, 130, 23);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('images/fachada-eko-base.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(94, 130, 23, 0.3), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Video Eko Base*/

.video-background {
    /* Removido width: 100% para que o grid controle a largura */
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    max-width: 100%; /* Garante que não exceda o container do grid */
}

.video-background video {
    width: 100%;
    height: auto;
    object-fit: contain; /* mantém a proporção perfeita */
    display: block;
    border-radius: 20px;
    max-height: 500px; /* Limita a altura máxima do vídeo para reduzir o tamanho */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Sections */
.section {
    padding: 80px 0;
    background-color: #fff;
}

.section.alt {
    background-color: #f8f9fa;
}

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



.section-content.reverse {
    /* Apenas herda o grid de .section-content */
}

.section-content.reverse .image-content {
    order: 1;
}

.section-content.reverse .text-content {
    order: 2;
}

.section-title {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 2.5rem;
    color: rgb(38, 38, 38);
    margin-bottom: 2rem;
    font-weight: bold;
    position: relative;
}

.section-title.centered {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, rgb(94, 130, 23), rgb(64, 209, 64));
    border-radius: 2px;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

.text-block p {
    font-size: 1.1rem;
    color: rgb(105, 114, 125);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.text-block p strong {
    color: rgb(94, 130, 23);
    font-weight: bold;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.section-image:hover {
    transform: scale(1.05);
}

/* Location Badge */
.location-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgb(94, 130, 23), rgb(64, 209, 64));
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 8px 25px rgba(94, 130, 23, 0.3);
}

.location-icon {
    font-size: 2rem;
}

.location-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.location-text p {
    font-size: 1rem;
    opacity: 0.9;
}

a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Activities Grid */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(94, 130, 23, 0.2);
}

.activity-icon {
    font-size: 2rem;
    min-width: 50px;
}

.activity-item h3 {
    color: rgb(38, 38, 38);
    font-size: 1.1rem;
    font-weight: bold;
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.facility-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(94, 130, 23, 0.2);
    border-color: rgb(94, 130, 23);
}

.facility-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.facility-card h3 {
    font-size: 1.3rem;
    color: rgb(38, 38, 38);
    margin-bottom: 1rem;
    font-weight: bold;
}

.facility-card p {
    font-size: 1rem;
    color: rgb(105, 114, 125);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(94, 130, 23, 0.1), rgba(64, 209, 64, 0.1));
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: rgb(38, 38, 38);
    margin-bottom: 1rem;
    font-weight: bold;
}

.cta-text {
    font-size: 1.2rem;
    color: rgb(105, 114, 125);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 180px;
}

.cta-button.primary {
    background: linear-gradient(135deg, rgb(94, 130, 23), rgb(64, 209, 64));
    color: #fff;
}

.cta-button.secondary {
    background: transparent;
    color: rgb(94, 130, 23);
    border: 2px solid rgb(94, 130, 23);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 130, 23, 0.3);
}

.cta-button.secondary:hover {
    background: rgb(94, 130, 23);
    color: #fff;
}

/* Gallery Section */
.gallery-section {
    margin-top: 4rem;
}

.gallery-title {
    font-size: 2rem;
    color: rgb(38, 38, 38);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h4 {
    font-size: 1.1rem;
    font-weight: bold;
}
/* Contact Section */
.contact-section {
    position: relative;
    padding: 80px 0;
    background: #333;
    color: #fff;
    overflow: hidden;
}

.contact-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    /*background-image: url('images/banner_rodape.png'); /* Kaha logo as background */
    /*background-repeat: no-repeat;
    background-position: center;
    background-size: 100%; /* Adjust size as needed */
    opacity: 0.05; /* Subtle opacity */
    z-index: 0;
}

.contact-graphic img{
    max-height: 150%;
    width: 105%;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: rgb(94, 130, 23);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: rgb(37, 211, 102);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(94, 130, 23), rgb(64, 209, 64));
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(94, 130, 23, 0.3);
}

.social-icon-link-insta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(5, 10, 230), rgb(88, 81, 216), rgb(131, 58, 180), rgb(193, 53, 132), rgb(255, 48, 108), rgb(253, 36, 76), rgb(247, 119, 55), rgb(252, 175, 69), rgb(255, 220, 128));
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(94, 130, 23, 0.3);
}

.social-icon-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(94, 130, 23, 0.4);
}

.social-icon-link-insta:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 48, 108, 0.4);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    display: block; /* Remove extra space below iframe */
}

/* Álbum - Ajuste de miniaturas */
.album-container {
    margin-top: 3rem;
}

.album-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Força cartões lado a lado */
    gap: 2rem;
    justify-items: center;
    width: 100%;
}


.album-card {
    position: relative;
    width: 100%;
    max-width: 220px; /* controla tamanho da miniatura */
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.album-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* Miniaturas menores e padronizadas */
.album-card img {
    width: 100%;
    height: 150px; /* define altura da miniatura */
    object-fit: cover; /* corta imagem de forma bonita */
    display: block;
}

/* Título em cima na imagem */
.album-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0.6rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    text-align: center;
}

.album-overlay h4 {
    font-size: 1rem;
    font-weight: 600;
}


/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.95);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

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

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

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

    .section-content,
    .section-content.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .section-content.reverse .image-content,
    .section-content.reverse .text-content {
        order: unset;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .location-badge {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .contact-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .text-block p {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.8s ease-out;
}

/* Loading animation */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}


/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    transform: translateY(-50%);
    top: 50%;
}

.lightbox-image {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev-btn,
.next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next-btn {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.media-container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.lightbox-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}