html {
    scroll-behavior: smooth;
}

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

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1E1E1E;
    font-family: 'Lobster Two', cursive;
}

/* Header */
header {
    margin: 2rem 3rem;
    border-radius: 20px;
    width: 90%;
    height: 121px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #E87F1D;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.logo-wrapper {
    position: relative;
    margin-left: 10rem;
    width: 180px;
    height: 180px;
    background-color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#logoCostaLeste {
    height: 160px;
    border: 3px solid #8F8F8F;
    border-radius: 100%;
}

.links {
    display: flex;
    gap: 8rem;
    margin-right: 10rem;
}

.links a {
    font-family: "Russo One";
    color: white;
    text-decoration: none;
    font-size: 30px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 50%;
    background-color: #4A4A4A;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.links a:hover::after {
    width: 100%;
}

.links a:hover {
    color: #4A4A4A;
}

#btnMenu {
    display: none;
    height: 40px;
    margin-right: 60px;
    cursor: pointer;
}

/* Menu lateral premium */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    border-left: 4px solid #E87F1D;
    z-index: 2001;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.6);
}

.mobile-menu.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.close-menu-btn:hover {
    color: #E87F1D;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem;
    flex: 1;
    gap: 2rem;
    align-items: center;
}

.mobile-nav a {
    width: 100%;
    max-width: 250px;
    background-color: #E87F1D;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.4rem;
    text-align: center;
    font-family: "Russo One";
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.mobile-nav a:hover {
    background-color: #d67418;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

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

.menu-footer p {
    color: #8F8F8F;
    font-family: "Russo One";
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Seções principais */
.pattern {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 121px;
}

/* Seções menores */
.pattern2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 8rem;
    padding-bottom: 6rem;
}

.homeContent {
    margin-top: 6rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 0 60px;
}

#imagem-cafe-pequena {
    display: none;
}

#imagem-cafe-grande {
    width: 30%;
    border: 5px solid #8F8F8F;
    border-radius: 50px;
}

#infoInicial {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 45%;
}

#infoInicial .txtInicial {
    color: white;
    font-size: 3.8rem;
    font-style: italic;
    text-align: center;
}

.txtInicialMobile {
    display: none;
}

#btn1 {
    width: 20rem;
    background-color: #E87F1D;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 24px;
    text-align: center;
    font-family: "Russo One";
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

#btn1 span {
    font-family: "Russo One";
    font-size: 1.6rem;
}

#btn1:hover {
    background-color: #d67418;
    transform: scale(1.05);
}

#arrow1 {
    width: 80px;
    margin-top: 80px;
    animation: bounce 2s infinite;
}

/* Conteúdo do ambiente */
.ambient-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 60px 80px;
    color: white;
}

.ambient-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ambient-header .label {
    font-size: 4rem;
    font-style: italic;
    color: #fff;
}

.ambient-header .subtitle {
    font-size: 1.8rem;
    max-width: 800px;
}

.ambient-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1400px;
}

.ambient-card {
    background: #2a2a2a;
    border: 3px solid #8F8F8F;
    border-radius: 40px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ambient-card:hover {
    transform: translateY(-10px);
    border-color: #E87F1D;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

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

.ambient-card:hover .card-image img {
    transform: scale(1.1);
}

.card-image .secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ambient-card:hover .card-image .secondary-img {
    opacity: 1;
}

.card-content {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-label {
    font-size: 2.2rem;
    font-style: italic;
    margin-bottom: 15px;
    color: #E87F1D;
    font-family: 'Lobster Two', cursive;
}

.card-content p {
    font-size: 1.4rem;
    line-height: 1.6;
}

.arrow-scroll {
    width: 80px;
    margin-top: 60px;
    animation: bounce 2s infinite;
}


/* Sobre nós */
.pattern2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 80px;
}

.sobreNosLabel {
    text-align: center;
    margin-bottom: 40px;
}

.sobreNosLabel .label {
    font-size: 4rem;
    font-style: italic;
    color: #fff;
    font-family: 'Lobster Two', cursive;
}

.sobreNosWrapper {
    width: 100%;
    max-width: 900px;
}

#sobreNosImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Contato */
.contatoContent {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 60px;
    color: white;
    text-align: center;
}

#contatoText {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contatoText .label {
    font-size: 3.4rem;
    font-style: italic;
}

.contatoInfo {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mapaContainer {
    width: 100%;
    border: 0.5rem solid #E87F1D;
    border-radius: 20px;
    overflow: hidden;
    background-color: white;
    position: relative;
}

.mapaWrapper {
    position: relative;
    width: 100%;
    height: 400px;
}

.googleMap {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 17px;
}

.mapaOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 127, 29, 0.9) 0%, rgba(232, 127, 29, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mapaWrapper:hover .mapaOverlay {
    opacity: 1;
    pointer-events: auto;
}

.mapaInfo {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.mapaIcon {
    font-size: 48px;
    margin-bottom: 15px;
}

.enderecoMapa {
    font-size: 16px;
    color: #495057;
    font-family: "Russo One";
    margin: 10px 0;
    font-weight: bold;
}

.mapaLinkBtn {
    display: inline-block;
    background-color: #E87F1D;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-family: "Russo One";
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 15px;
    border: 2px solid #E87F1D;
}

.mapaLinkBtn:hover {
    background-color: white;
    color: #E87F1D;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 127, 29, 0.3);
}

.contatoBotoes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10%;
    background-color: #2a2a2a;
    padding: 2rem 1rem;
}

.contatoBtn {
    background-color: #E87F1D;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-family: "Russo One";
    transition: background-color 0.3s ease;
    cursor: pointer;
    display: inline-block;
    width: 200px;
    height: 60px;
    line-height: 30px;
    text-align: center;
    box-sizing: border-box;
}

.contatoBtn2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #E87F1D;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-family: "Russo One";
    transition: background-color 0.3s ease;
    cursor: pointer;
    width: 200px;
    height: 60px;
    text-align: center;
    box-sizing: border-box;
}

.contatoBtn:hover {
    background-color: #d67418;
}

.contatoBtn2:hover {
    background-color: #d67418;
}


.enderecoInfo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    max-width: 200px;
}

.enderecoInfo p {
    font-size: 18px;
    color: white;
    font-family: "Russo One";
}

/* Redes Sociais */
.social-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 60px;
    color: white;
    text-align: center;
}

#redes-sociais {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.social-content .label {
    font-size: 3.4rem;
    font-style: italic;
}

.social-subtitle {
    font-size: 1.6rem;
    color: #E87F1D;
    font-family: "Russo One";
    margin-top: -15px;
}

.social-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 800px;
    flex-wrap: wrap;
}

.social-card {
    background: #2a2a2a;
    border: 3px solid #8F8F8F;
    border-radius: 25px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 25px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    min-width: 280px;
    cursor: pointer;
}

.social-card:hover {
    transform: translateY(-10px);
    border-color: #E87F1D;
    box-shadow: 0 15px 30px rgba(232, 127, 29, 0.3);
}

.social-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E87F1D 0%, #d67418 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.social-card:hover .social-icon {
    transform: scale(1.1) rotate(5deg);
}

.social-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.social-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.social-name {
    font-size: 1.8rem;
    font-family: 'Lobster Two', cursive;
    font-style: italic;
    color: #E87F1D;
    margin: 0;
}

.social-handle {
    font-size: 1.2rem;
    font-family: "Russo One";
    color: #8F8F8F;
    margin: 0;
}

.social-card:hover .social-handle {
    color: white;
}

/* Footer */

footer {
    width: 100%;
    background-color: #E87F1D;
    padding: 20px;
    text-align: center;
    color: white;
    font-size: 20px;
}

footer p {
    font-family: "Russo One";
}

/* Animações */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

/* Media Queries */
@media (max-width: 1200px) {
    .logo-wrapper {
        margin-left: 5rem;
    }

    .links {
        gap: 4rem;
        margin-right: 5rem;
    }

    .links a {
        font-size: 26px;
    }
}

@media (max-width: 992px) {
    .logo-wrapper {
        margin-left: 3rem;
        width: 150px;
        height: 150px;
    }

    #logoCostaLeste {
        height: 130px;
    }

    .links {
        gap: 3rem;
        margin-right: 3rem;
    }

    .links a {
        font-size: 22px;
    }

    .homeContent {
        gap: 40px;
        padding: 0 40px;
    }

    #txtInicial {
        font-size: 40px;
    }

    #btn1 {
        width: 18rem;
        font-size: 20px;
    }

    .contatoContent {
        padding: 0 40px;
    }

    .contatoBtn {
        font-size: 22px;
        padding: 14px 28px;
    }
}

@media (max-width: 768px) {
    header {
        margin: 1rem auto;
        width: 95%;
        height: 80px;
        padding: 0 1.5rem;
    }

    .logo-wrapper {
        margin-left: 0;
        width: 70px;
        /* Tamanho reduzido para caber no header de 80px */
        height: 70px;
        background-color: #1a1a1a;
        border: 2px solid #8F8F8F;
        z-index: 1001;
    }

    #logoCostaLeste {
        height: 60px;
        border-width: 1px;
    }

    .links {
        display: none;
    }

    #btnMenu {
        display: block;
        margin-right: 0;
        height: 60px;
        width: 60px;
        border-radius: 12px;
    }

    .pattern,
    .pattern2 {
        padding-top: 100px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .homeContent {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
        margin-top: 3rem;
    }

    #imagem-cafe-grande {
        order: 1;
        display: block;
        width: 88%;
        border-radius: 30px;
    }

    #infoInicial {
        order: 2;
        width: 100%;
    }

    #infoInicial span {
        font-size: 36px;
    }

    #btn1 {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 250px;
        text-decoration: none;
    }

    #btn1 span {
        font-size: 1.5rem;
    }

    .ambient-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ambient-header .label {
        font-size: 3rem;
    }

    .ambient-header .subtitle {
        font-size: 1.6rem;
    }

    .card-image {
        height: 300px;
    }


    .sobreNosWrapper {
        width: 100%;
        max-width: 100%;
        border-radius: 25px;
        background-color: #2a2a2a;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 0;
        margin: 0;
    }

    /* Garantindo que o conteúdo interno use o flex correto herdado do ambient-card */
    .sobreNosWrapper .card-content {
        padding: 20px;
    }

    .contatoContent {
        padding: 0 20px;
    }

    .contatoBotoes {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .contatoBtn,
    .contatoBtn2 {
        width: 250px;
    }

    .enderecoInfo {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .enderecoInfo p {
        font-size: 18px;
    }

    .mapaWrapper {
        height: 350px;
    }

    .mapaInfo .mapaIcon {
        font-size: 42px;
    }

    .mapaLinkBtn {
        font-size: 14px;
        padding: 10px 20px;
    }

    footer {
        font-size: 16px;
        padding: 15px;
    }

    .social-content {
        padding: 0 20px;
    }

    .social-content .label {
        font-size: 2.5rem;
    }

    .social-subtitle {
        font-size: 1.3rem;
    }

    .social-card {
        min-width: 250px;
        padding: 25px 30px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
    }

    .social-icon svg {
        width: 30px;
        height: 30px;
    }

    .social-name {
        font-size: 1.6rem;
    }

    .social-handle {
        font-size: 1.1rem;
    }

}

@media (max-width: 480px) {
    header {
        margin: 0.5rem 0.5rem;
        width: 98%;
        height: 70px;
    }

    .logo-wrapper {
        margin-left: 0.5rem;
        width: 60px;
        height: 60px;
        border: 1px solid #8F8F8F;
    }

    #logoCostaLeste {
        height: 50px;
    }

    #btnMenu {
        height: 45px;
        width: 45px;
        margin-right: 0.5rem;
    }

    .pattern,
    .pattern2 {
        padding-top: 8rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .homeContent {
        padding: 0 15px;
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
    }

    #infoInicial {
        order: 3;
        width: 100%;
    }

    #infoInicial .txtInicial {
        display: none;
    }

    .txtInicialMobile {
        order: 2;
        display: block;
        text-align: center;
        font-style: italic;
        font-size: 30px;
    }

    #imagem-cafe-grande {
        order: 1;
    }

    #btn1 {
        font-size: 1.1rem;
        padding: 10px 20px;
    }

    .ambient-section {
        padding: 100px 20px 40px;
    }

    .ambient-header .label {
        font-size: 2.2rem;
    }

    .ambient-header .subtitle {
        font-size: 1.4rem;
    }

    .ambient-card {
        border-radius: 25px;
    }

    .card-image {
        height: 250px;
    }

    .card-label {
        font-size: 1.8rem;
    }

    .card-content p {
        font-size: 1.2rem;
    }


    .sobreNosWrapper {
        width: 100%;
        max-width: 100%;
        border-radius: 25px;
        padding: 0;
    }

    .sobreNosWrapper .card-content {
        padding: 20px;
    }

    .sobreNosLabel .label {
        font-size: 2.22rem;
    }

    .mobile-menu {
        width: 280px;
    }

    .menu-header h3 {
        font-size: 20px;
    }

    .mobile-nav a {
        font-size: 20px;
        padding: 1.2rem 0;
    }

    .contatoContent {
        padding: 0 15px;
    }

    #contatoText .label {
        font-size: 2rem;
    }

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

    .contatoBtn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .mapaWrapper {
        height: 300px;
    }

    .mapaInfo {
        padding: 15px;
    }

    .mapaInfo .mapaIcon {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .mapaLinkBtn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .enderecoMapa {
        font-size: 14px;
    }

    .enderecoInfo p {
        font-size: 18px;
    }

    .social-content {
        padding: 0 15px;
    }

    .social-content .label {
        font-size: 2rem;
    }

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

    .social-card {
        min-width: 100%;
        max-width: 300px;
        padding: 20px 25px;
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }

    .social-info {
        align-items: flex-start;
    }

    .social-icon {
        width: 55px;
        height: 55px;
        flex-shrink: 0;
    }

    .social-icon svg {
        width: 32px;
        height: 32px;
    }

    .social-name {
        font-size: 1.5rem;
    }

    .social-handle {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .mobile-menu {
        width: 100%;
        right: -100%;
    }

    .menu-header {
        padding: 1.5rem 1rem 1rem;
    }

    .mobile-nav {
        padding: 1.5rem 1rem;
    }
}