html {
  scroll-padding-top: 120px; 
}

:target {
  scroll-margin-top: 120px;
}

:root {
    --main-color: #03152c;
    --black: #000;
    --bg: #fff;
    --border: 0.1rem solid rgba(255, 255, 255, 0.3);
    --text-color: #000;
    --card-bg: #fff;
    --section-bg: #f5f5f5;
    font-size: 10px;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.2s ease;
    font-family: "Roboto", sans-serif;
    box-sizing: border-box;
    
}

body {
    background-color: var(--bg);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 140px;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto; /* Mudei de 120px para auto para ser mais flexível */
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 0; /* Adicionei padding interno */
}


.header section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  max-width: 1100px;
  margin: 0 auto;
  gap: 3rem;
}

.logo {
  flex-shrink: 0;
}

.logo img:hover {
    transform: scale(1.05);
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 2rem;
  flex-wrap: wrap;
}

.navbar a {
    margin: 0 1rem;
    font-size: 1.8rem;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

.navbar a:hover {
    color: var(--main-color);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.1rem;
    background-color: var(--main-color);
    transition: width 0.3s ease;
}

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

/* MENU STYLES */
.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 3.6rem;
    color: var(--main-color);
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 4rem;
    letter-spacing: 0.2rem;
}

.menu-section {
    background-color: var(--section-bg);
    border-radius: 1rem;
    padding: 4rem 2rem;
    margin-bottom: 4rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-card {
    background-color: var(--card-bg);
    border-radius: 0.8rem;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.item-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 0.5rem;
    flex: 1;
}

.item-price {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--main-color);
    white-space: nowrap;
    margin-left: 2rem;
}

.item-description {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.6;
}

.item-note {
    font-size: 1.2rem;
    color: #999;
    font-style: italic;
    margin-top: 0.5rem;
}

.observations {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 0.8rem;
    border-left: 4px solid var(--main-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.observations h3 {
    font-size: 1.6rem;
    color: var(--main-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.observations p {
    font-size: 1.4rem;
    color: #666;
}

.price-dash {
    font-size: 2.2rem;
    font-weight: bold;
    color: #999;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header section {
        flex-direction: column;
        text-align: center;
    }

    .navbar {
        margin-top: 1rem;
    }

    .navbar a {
        font-size: 1.4rem;
        margin: 0 0.5rem;
    }

    .menu-container {
        padding: 2rem 1rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .menu-card {
        padding: 2rem;
    }

    .section-title {
        font-size: 2.8rem;
        margin-bottom: 3rem;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-price {
        margin-left: 0;
        margin-top: 1rem;
    }
}