:root {
    --primary-color: #F7D1E0;
    /* Light Pink */
    --secondary-color: #E58A9F;
    /* Deeper Pink */
    --text-color: #4B4B4B;
    /* Dark Gray */
    --light-text-color: #ffffff;
    --background-color: #FFF8FA;
    --font-title: 'Dancing Script', cursive;
    --font-body: 'Montserrat', sans-serif;
    --accent-color: #D4A5B8;
    --hover-color: #C7879B;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--background-color);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    z-index: 64;
    padding: 10px 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: auto;
    width: 10vw;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.hamburger {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 5%;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 404px;
    width: 90%;
    text-align: center;
    position: relative;
}



.modal img {
    max-width: 100%;
    margin-bottom: 10px;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--hover-color);
}

h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

/* Home Section */
#home {
    padding: 0;
    color: var(--light-text-color);
    position: relative;
    z-index: 50;
}

.home-bg {
    width: 100%;
    height: 150vh;
    display: block;
    object-fit: cover;
    position: absolute;
    z-index: -100;
}

#home .overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-text h1 {
    font-family: var(--font-title);
    font-size: 6rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.home-text p {
    font-size: 1.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.home-text {
    position: absolute;
    margin-bottom: 109px;
}

.paragrafo-frase {
    text-align: center;
}

/* About Section */
#about {
    min-height: auto;
    background-color: var(--light-text-color);
    margin-top: 200px;
}

.about-content {
    max-width: 1013px;
    line-height: 1.8;
    font-size: 24px;
}

.about-content p {
    margin-bottom: 20px;
}

/* Menu Section */
#menu {
    min-height: auto;
}

/* Sistema de Abas */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.tab-button.active {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 138, 159, 0.3);
}

/* Sub-abas */
.sub-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sub-tab-button {
    background-color: var(--background-color);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sub-tab-button:hover {
    background-color: var(--primary-color);
    border-color: var(--accent-color);
}

.sub-tab-button.active {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    border-color: var(--secondary-color);
    padding: 10px;
    box-shadow: -6px 6px 8px var(--hover-color);
}

/* Conteúdo das abas */
.tab-content {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: flex;
    justify-content: center;
}

.sub-tab-content {
    display: none;
    width: 100%;
    animation: fadeIn 0.3s ease-in-out;
}

.sub-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    justify-items: center;
}

.menu-item {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 56vh;
    width: 16vw;
}



.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(229, 138, 159, 0.3);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-top: 26px;
}

.image-chocoleite {
    width: 13vw;
}

.menu-item h3 {
    font-size: 1.4rem;
    margin: 15px 15px 10px;
    color: var(--text-color);
    line-height: 1.3;
}

.menu-item .dietary-info {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0 15px 5px;
    background-color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
}

.menu-item .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 10px 15px 20px;
}

/* Modal dietary info */
.modal-content .dietary-info {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    background-color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
}







/* Contact Section */
#contact {
    min-height: auto;
    background-color: var(--primary-color);
}

.contact-info {
    line-height: 2;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--secondary-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}

.dev-jeremias {

    font-size: 10px;
    width: 92vw;
    position: relative;
    top: 19px;
}

/* Responsividade */

@media (max-width: 1600px) {

    .menu-item {
        height: 93vh;
        width: 24vw;
    }

    .modal-content {
        background: white;
        padding: 20px;
        border-radius: 10px;
        max-width: 335px;
        width: 49vw;
        text-align: center;
        position: relative;
        height: 69vh;
    }

    h2 {
        font-size: 1.5rem;
    }

    .modal img {

        max-width:12vw;
        margin-bottom: 10px;
        border-radius: 8px;
        

    }
}

@media (max-width: 768px) {
    .home-text h1 {
        font-size: 4rem;
    }

    .home-text p {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        display: none;
        gap: 15px;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.show {
        display: flex !important;
    }

    .logo {
        width: 15vw;
    }

    .menu-tabs {
        gap: 10px;
    }

    .tab-button {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .sub-tabs {
        gap: 10px;
        padding: 10px;
        margin-left: 31px;
    }

    .sub-tab-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .menu-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .menu-item h3 {
        font-size: 1.2rem;
    }

    .menu-item {

        width: 30vw;
        height: 43vh;
    }

    .about-content {
        font-size: 18px;
    }

    section {
        padding: 91px 14%;
    }

    body {

        margin: 4px;
    }

    .modal-content {

        width: 52vw;
        height: 36rem;
    }
}

@media (max-width: 480px) {


    .home-text h1 {
        font-size: 3rem;
    }

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

    h2 {
        font-size: 2.2rem;
    }

    .logo {
        width: 20vw;
    }

    .tab-button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .sub-tab-button {
        padding: 6px 12px;
        font-size: 2.8rem;
        writing-mode: vertical-rl;
    }

    .sub-tabs {
        margin-left: 10px;
    }

    .menu-container {
        grid-template-columns: 1fr;
        gap: 15px;
        width: 74vw;
        margin-right: 0;
        margin-left: -12px;
    }

    .menu-item {

        width: 60vw;
        height: 67vh;
    }

    .about-content {
        font-size: 16px;
    }

    .modal-content {
        max-width: 350px;
        width: 259px;
        padding: 15px;
        height: 72vh;
    }

    .modal img {
        margin-bottom: 10px;
        border-radius: 8px;
        width: 52vw;
    }
}