* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    background-image: url('images/background-confraria.png');
    background-size: cover;
    background-position: center;
}

/* Background da home */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

#home {
    position: relative;
}

#menu,
#orders,
#reservations {
    background-color: #000;
}

.screen {
    display: none;
    min-height: 100vh;
    padding: 20px;
}

.screen.active {
    display: block;
}

.container {
    max-width: 724px;
    min-width: 100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 2px 0;
}

/* Logo */
.logo {
    width: 100px;
    height: 100px;
    margin: 0px 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Título */
.title {
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    letter-spacing: 4px;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #d4af37;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Frase principal */
.subtitle {
  color:  #f2e6c9;
  font-size: 2.3rem;
  font-weight: 100;
  font-style: italic;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 40px;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
}

/* Frase secundária */
.subtitle-small {
  color: #f2e6c9;
  font-size: 1.6rem;
  font-weight: 100;
  text-align: center;
  margin-top: 0;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.middle-text {
    font-size: 1.6rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
}

/* Grid de Imagens */
.images-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 800px;
  margin-bottom: 40px;
  margin-top: 10px;
}

.image-card {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.image-card:nth-child(1) {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.image-card:nth-child(2) {
    background: linear-gradient(135deg, #654321, #4a3319);
}

.image-card:nth-child(3) {
    background: linear-gradient(135deg, #daa520, #b8860b);
}

.image-card:nth-child(4) {
    background: linear-gradient(135deg, #a0522d, #8b4513);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Botões de Navegação */
.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border: none;
  background: none !important;
  box-shadow: none !important;
  cursor: pointer;
  color: #f3e8d0;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 0;
}

.nav-btn:hover {
  transform: scale(1.05);
}

.footer-contact {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-contact {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.phone-number {
    color: #fff;
    font-size: 1rem;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2325D366"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.05);
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2325D366"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Aqui entra a imagem da logo */
.icon {
  width: 60px;
  height: 60px;
  background: url("images/logo.png") center/contain no-repeat;
  margin-bottom: 10px;
}

.nav-btn span {
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    font-family: Arial, sans-serif;
}

/* Texto do rodapé */
.footer-text {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 40px;
    margin-top: 20px;
    max-width: 450px;
    line-height: 1.7;
    color: #fff;
}

.imgwhatsapp {
    margin-top: 15px;
}

/* Barra iOS */
.ios-bar {
    width: 130px;
    height: 5px;
    background-color: #fff;
    border-radius: 3px;
    margin-top: 20px;
    margin-bottom: 15px;
}

/* Header das páginas internas */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
}

.back-btn {
    background: none;
    border: none;
    color: #f7931e;
    font-size: 1rem;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

.header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

/* Menu */
.menu-content {
    width: 100%;
    max-width: 500px;
}

.menu-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.menu-section:last-child {
    border-bottom: none;
}

.menu-section h3 {
    color: #f7931e;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

.menu-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.menu-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    flex-shrink: 0;
}

.menu-item-info {
    flex: 1;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 500;
    font-family: Arial, sans-serif;
}

.item-price {
    color: #f7931e;
    font-weight: bold;
    font-size: 1.1rem;
    font-family: Arial, sans-serif;
}

.item-description {
    color: #999;
    font-size: 0.9rem;
    font-family: Arial, sans-serif;
}

.simple-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
}

:root{
  --bg:#0b0b0a;
  --fg:#F4EDE1;
  --muted:#C9BCA8;
  --accent:#D1B487;
  --accent-2:#2F5D3A;
  --panel:rgba(0,0,0,.55);
  --ring:rgba(244,237,225,.92);
  --shadow:0 10px 30px rgba(0,0,0,.35);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    color: #333;
    margin-bottom: 20px;
}

.empty-state p {
    color: #999;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-family: Arial, sans-serif;
}

/* Formulário */
.reservation-form {
    width: 100%;
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-family: Arial, sans-serif;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: Arial, sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #f7931e;
}

/* Botão primário */
.primary-btn {
    width: 100%;
    padding: 15px;
    background-color: #f7931e;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: Arial, sans-serif;
    margin-top: 20px;
}

.primary-btn:hover {
    background-color: #e68515;
}

/* Responsivo */
@media (max-width: 600px) {
    .title {
        font-size: 2rem;
    }
    
    .nav-buttons {
        gap: 30px;
    }
    
    .images-grid {
        gap: 8px;
    }
}

@media (max-width: 400px) {
    .title {
        font-size: 1.7rem;
    }
    
    .middle-text {
        font-size: 1.2rem;
    }
    
    .nav-buttons {
        gap: 20px;
    }
    
    .nav-btn .icon {
        width: 35px;
        height: 35px;
    }
}