@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --bege-claro: #eeddcd;
    --bege-quente: #D9B48F;
    --branco: #F0F0F0;
    --cinza-escuro: #3A3A3A;
    --cinza-médio: #C4C4C4;
    --laranja-terroso: #E08D45;
    --marrom-amadeirado: #6B4F3B;
    --marrom-escuro: #3E2F25;
    --marrom-quente: #8C6E5A;
    --sombra-preta: #00000020;
    --terracota-claro: #B23A48;
    --terracota-escuro: #8F2E3A;
    --verde-azulado: #5D9C8D;
    --verde-claro: #078d29;
    --verde-escuro: #045e1a;
    --overlay-escuro: #2a2a2acc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    position: relative;
    width: 100%;
    max-width: 1800px;
    margin: auto;
    font-family: "Merriweather Sans", sans-serif;
    background-color: var(--bege-claro);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title {
    margin-bottom: 0.5rem;
    font-size: 3.5rem;
    text-align: center;
    color: var(--bege-claro);
}

.title-bar {
    height: 3px;
    width: 9rem;
    margin: auto;
    background-color: var(--bege-quente);
}

/* ========== HEADER ========== */
header {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: inherit;
    padding: 1rem 0rem;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background-color: var(--cinza-escuro);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 9rem;
    transition: height 0.3s ease;
}

header.scrolled .logo {
    height: 7rem;
}

.logo-mobile {
    display: none;
}

#nav-list {
    display: flex;
    gap: 2rem;  
}

#nav-list.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 8rem;
    right: 0;
    width: 100%;
    background-color: var(--cinza-escuro);
    padding: 2rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    padding: 0.5rem;
    font-size: 1.7rem;
    color: var(--branco);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--bege-claro);
    text-shadow: 0px 0px 5px var(--bege-claro);
    outline: none;
}

.nav-link::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    height: 2px;
    width: 0;
    background-color: var(--bege-quente);
    transition: width 0.5s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    height: 4rem;
    width: 4rem;
    border: none;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-button:focus {
    outline: 2px solid var(--bege-quente);
    outline-offset: 2px;
}

.mobile-menu-button img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media(max-width: 800px) {
    header {
        background-color: var(--cinza-escuro);
    }

    .logo {
        display: none;
    }

    .logo-mobile {
        height: 6rem;
        display: block;
    }

    #nav-list {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }
}

/* ========== HERO SECTION ========== */
#hero-section {
    min-height: 70rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bege-claro);
    text-shadow: 0px 0px 5px var(--bege-quente);
    background-color: #00000086;
    background-image: url("./imagens/banner.jpg");
    background-size: cover;
    background-position: center;
    background-blend-mode: darken;
}

.hero-section-content {
    text-align: center;
    max-width: 120rem;
}

.hero-section-content h1 {
    font-family: "Lobster Two", sans-serif;
    font-size: clamp(3.5rem, 7vw, 8rem);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-section-content p {
    font-size: clamp(1.6rem, 2vw, 2rem);
    text-align: center;
    max-width: 100rem;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 600px) {
    #hero-section {
        min-height: 60rem;
    }
}

/* ========== ABOUT SECTION ========== */
#about-section {
    display: block;
    padding: 5rem 0rem;
}

#about-section .section-title {
    color: var(--marrom-escuro);
}

.about-section-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 3rem;
}

.about-text-container {
    flex: 1;
}

.about-text-container p {
    margin-top: 1.5rem;
    text-align: justify;
    font-size: clamp(1.6rem, 2vw, 1.9rem);
    font-weight: 300;
    line-height: 1.6;
}

.about-image-container {
    flex: 1;
    height: 50rem;
    border: 3px solid var(--bege-quente);
    border-top-right-radius: 8rem;
    border-bottom-left-radius: 8rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.icons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.icons-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    font-size: clamp(1.2rem, 1.5vw, 1.4rem);
    text-align: center;
    min-width: 10rem;
}

.icon {
    height: 7rem;
    width: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--verde-azulado);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.icon:hover {
    transform: translateY(-3px);
}

.icons-item:nth-child(2) .icon {
    background-color: var(--laranja-terroso);
}

.icons-item:nth-child(3) .icon {
    background-color: var(--terracota-claro);
}

.icon img {
    height: 3.5rem;
    width: 3.5rem;
    object-fit: cover;
}

@media (max-width: 900px) {
    .about-section-content {
        flex-direction: column;
        align-items: center;
    }

    .about-image-container {
        width: 100%;
        max-width: 50rem;
        height: 40rem;
    }
}

@media (max-width: 500px) {
    .icons-container {
        gap: 1.5rem;
    }

    .icon {
        height: 6rem;
        width: 6rem;
    }

    .icon img {
        height: 3rem;
        width: 3rem;
    }
}

/* ========== LOCATION SECTION ========== */
#location-section {
    padding: 7rem 0rem;
    background-color: #3a3a3ae5;
    background-image: url("./imagens/mapa.png");
    background-size: cover;
    background-position: center;
    background-blend-mode: darken;
}

.location-content-container {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
}

.map-container {
    flex: 1;
    height: 30rem;
    padding: 0.5rem;
    border: 2px solid var(--bege-quente);
    border-radius: 0.5rem;
    background-color: rgba(0, 0, 0, 0.3);
}

.map {
    height: 100%;
    width: 100%;
    border-radius: 0.3rem;
}

.location-information {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    font-size: clamp(1.6rem, 2vw, 1.8rem);
    color: var(--bege-claro);
}

.location-information h3 {
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 2.5vw, 2.3rem);
    color: var(--bege-quente);
}

.address-container address {
    font-style: normal;
    line-height: 1.5;
}

.hours-container ul {
    list-style-type: disc;
    padding-left: 2rem;
    line-height: 1.8;
}

.maps-button {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    font-size: clamp(1.4rem, 1.8vw, 1.6rem);
    font-weight: 500;
    color: var(--bege-claro);
    background: linear-gradient(120deg, var(--verde-azulado), var(--laranja-terroso));
    border-radius: 2.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.maps-button img {
    height: 2rem;
}

.maps-button:hover,
.maps-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224, 141, 69, 0.4);
    outline: none;
}

@media (max-width: 900px) {
    .location-content-container {
        flex-direction: column;
    }

    .location-information {
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .map-container {
        height: 25rem;
    }
}

/* ========== GALLERY SECTION ========== */
#gallery-section {
    padding: 7rem 2rem 5rem;
}

#gallery-section .section-title {
    color: var(--marrom-escuro);
}

.gallery-section-content {
    width: 100%;
    max-width: 1200px;
}

.gallery-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
    gap: 1rem;
    max-height: 60rem;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    border-radius: 0.5rem;
}

.gallery-grid::-webkit-scrollbar {
    width: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: var(--cinza-médio);
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: var(--marrom-quente);
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: var(--marrom-escuro);
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 2px solid var(--marrom-quente);
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.instagram-button {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 3rem auto 0;
    padding: 1.2rem 2.5rem;
    font-size: clamp(1.4rem, 1.8vw, 1.6rem);
    font-weight: 500;
    color: var(--branco);
    background: linear-gradient(120deg, #BF409F, #EA4967, #FFBC50);
    border-radius: 2.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-button img {
    height: 2.5rem;
}

.instagram-button:hover,
.instagram-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(234, 73, 103, 0.5);
    outline: none;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
        max-height: 50rem;
    }
}

@media (max-width: 500px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
        gap: 0.8rem;
    }
}

/* ========== CONTACT SECTION ========== */
#contact-section {
    padding: 5rem 2rem;
    background-color: #00000070;
    background-image: url("./imagens/banco.jpg");
    background-size: cover;
    background-position: center;
    background-blend-mode: darken;
}

.contact-content {
    width: 100%;
    max-width: 60rem;
    padding: 3rem clamp(2rem, 4vw, 4rem);
    color: var(--branco);
    background-color: var(--overlay-escuro);
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.contact-content .section-title {
    color: var(--branco);
}

.contact-content .title-bar {
    background-color: var(--bege-quente);
}

.contact-content > p {
    margin: 2rem 0rem;
    font-family: "Lobster Two", sans-serif;
    font-size: clamp(2.2rem, 3vw, 3rem);
    color: var(--bege-quente);
    text-align: center;
    line-height: 1.4;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: fit-content;
    margin: 0 auto;
    padding: 1.2rem 2.5rem;
    font-size: clamp(1.4rem, 1.8vw, 1.6rem);
    font-weight: 500;
    color: var(--branco);
    background-color: var(--verde-escuro);
    border-radius: 2.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus {
    background-color: var(--verde-claro);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(7, 141, 41, 0.4);
    outline: none;
}

.whatsapp-button img {
    height: 2.2rem;
}

.other-contacts-title {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 2.2vw, 2rem);
    color: var(--bege-claro);
}

.other-contacts-list {
    font-size: clamp(1.4rem, 1.8vw, 1.6rem);
    padding-left: 0;
}

.other-contacts-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.other-contacts-item a {
    color: var(--bege-quente);
    transition: color 0.3s ease;
}

.other-contacts-item a:hover,
.other-contacts-item a:focus {
    color: var(--branco);
    text-decoration: underline;
    outline: none;
}

.other-contacts-icon {
    height: 2.5rem;
    flex-shrink: 0;
}

@media (max-width: 650px) {
    .contact-content {
        width: 95%;
    }
}

/* ========== REVIEWS SECTION ========== */
#reviews-section {
    padding: 5rem;
}

#reviews-section .section-title {
    color: var(--marrom-escuro);
}

.reviews-section-content {
    width: 100%;
    max-width: 1200px;
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
}

.carousel-track {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    padding: 1rem;
    transition: transform 0.5s ease;
    will-change: transform;
    width: 90%;
}

.card {
    flex: 0 0 calc((100% - 4rem) / 3);
    padding: 2.5rem;
    color: var(--branco);
    background-color: var(--cinza-escuro);
    border: 2px solid var(--bege-quente);
    border-radius: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(217, 180, 143, 0.4);
}

.card-photo {
    height: 10rem;
    width: 10rem;
    margin: 0 auto;
    border: 3px solid var(--bege-quente);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.card-photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.five-stars {
    display: block;
    margin: 2rem auto 0;
    height: 2.2rem;
    flex-shrink: 0;
}

.card h3 {
    text-align: center;
    font-size: clamp(1.6rem, 2vw, 1.8rem);
    margin: 1.5rem 0rem;
    color: var(--bege-quente);
    flex-shrink: 0;
}

.card p {
    text-align: justify;
    font-size: clamp(1.3rem, 1.6vw, 1.4rem);
    line-height: 1.6;
    color: var(--bege-claro);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.navigation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 0 1rem;
}

button.prev, 
button.next {
    padding: 1rem 1.5rem;
    color: var(--marrom-escuro);
    font-size: 2.5rem;
    background: none;
    border: 2px solid var(--marrom-quente);
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

button.prev:hover, 
button.next:hover,
button.prev:focus,
button.next:focus {
    color: var(--branco);
    background-color: var(--marrom-quente);
    transform: scale(1.1);
    outline: none;
}

.indicators {
    display: flex;
    gap: 1rem;
    margin: 0 1rem;
}

.dot {
    height: 1.2rem;
    width: 1.2rem;
    background-color: var(--cinza-médio);
    border: 2px solid var(--bege-quente);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot:hover,
.dot:focus {
    transform: scale(1.2);
    outline: none;
}

.dot.active {
    background-color: var(--marrom-quente);
}

@media (max-width: 1000px) {

    .card {
        flex: 0 0 calc((100% - 2rem) / 2);
    }

}

@media (max-width: 650px) {
    .carousel {
        width: 100%;
        padding: 0;
    }

    .carousel-track {
        gap: 1rem !important;
        padding: 0 0.5rem !important;
        scroll-snap-type: x mandatory;
    }

    .card {
        flex: 0 0 calc(100% - 1rem) !important;
        margin: 0 !important;
        padding: 1.5rem !important;
        scroll-snap-align: center;
    }

    .card-photo {
        height: 7rem;
        width: 7rem;
        flex-shrink: 0;
    }

    .five-stars {
        height: 1.6rem;
        margin: 1rem auto;
        flex-shrink: 0;
    }

    .card h3 {
        font-size: 1.5rem;
        margin: 1rem 0;
        flex-shrink: 0;
        word-break: break-word;
    }

    .card p {
        font-size: 1.25rem;
        line-height: 1.5;
        text-align: left;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    button.prev,
    button.next {
        font-size: 1.8rem;
        padding: 0.6rem 1rem;
    }

    .navigation-container {
        padding: 0;
        margin-top: 1.5rem;
    }
}

@media (max-width: 400px) {

    .carousel-track {
        gap: 0.5rem !important;
        padding: 0 0.3rem !important;
    }

    .card {
        flex: 0 0 calc(100% - 0.5rem) !important;
        padding: 1.2rem !important;
    }

    .card-photo {
        height: 6rem;
        width: 6rem;
    }

    .five-stars {
        height: 1.4rem;
    }

    .card h3 {
        font-size: 1.4rem;
        margin: 0.8rem 0;
    }

    .card p {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    button.prev,
    button.next {
        font-size: 1.6rem;
        padding: 0.5rem 0.8rem;
    }
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--cinza-escuro);
    padding: 2rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--branco);
    font-size: clamp(1.2rem, 1.5vw, 1.4rem);
    flex-wrap: wrap;
    gap: 1rem;
}

footer a {
    color: var(--bege-quente);
    transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
    color: var(--branco);
    text-decoration: underline;
    outline: none;
}

@media (max-width: 600px) {
    footer .container {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== FLOATING BUTTON ========== */
.floating-button {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 1000;
    height: 6rem;
    width: 6rem;
    border-radius: 50%;
    background-color: var(--verde-claro);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-button:hover,
.floating-button:focus {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(7, 141, 41, 0.5);
    outline: none;
}

.floating-button img {
    height: 60%;
    width: 60%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .floating-button {
        height: 5.5rem;
        width: 5.5rem;
        bottom: 2rem;
        right: 2rem;
    }
}

@media (max-width: 500px) {
    .floating-button {
        height: 5rem;
        width: 5rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* --------- FADE PARA AS SEÇÕES --------- */
.section-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.9s ease-out;
}

.section-fade.animate {
    opacity: 1;
    transform: translateY(0);
}


/* --------- FADES PARA ELEMENTOS INTERNOS --------- */
.fade-in,
.fade-left,
.fade-right,
.fade-top,
.fade-bottom {
    opacity: 0;
    transition: all 0.8s ease-out;
    transform: translate(0, 0);
}

/* Direções */
.fade-left {
    transform: translateX(-25px);
}

.fade-right {
    transform: translateX(25px);
}

.fade-top {
    transform: translateY(-25px);
}

.fade-bottom {
    transform: translateY(25px);
}

/* Quando anima */
.animate {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* --------- DELAYS --------- */
.delay-1 {
    transition-delay: 0.2s;
}
.delay-2 {
    transition-delay: 0.4s;
}
.delay-3 {
    transition-delay: 0.6s;
}
.delay-4 {
    transition-delay: 0.8s;
}
.delay-5 {
    transition-delay: 1s;
}

.zoom-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;   
    z-index: 1001;
    background: rgba(0,0,0,0.8);
    cursor: zoom-out;
}

.zoom-modal img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

