@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');


body{
    margin: auto;
  background: #f2f2f2;
  font-family: cursive;

}




body::after {
  content: "";
  position: fixed;
  inset: 0;




  pointer-events: none;
}


.logo{
    width: 200px;
    height: 200px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
}

.navbar {
  position: sticky;
  top: 0;
  background: #ffffff; /* pared blanca como el local */
  border-bottom: 4px solid #111; /* línea negra fuerte */

  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  padding: 60px;
  margin: auto;
  box-shadow: 0 3px 10px #111;
}

  .a-nav{
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
    margin: 10px;
    font-weight: bold;
  }

  .a-nav::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 0%;
    bottom: -10px;
    right: 0;
    background-color: #c4a24a;
    transition: width 0.3s ease;
  }

  .a-nav:hover::after {
    width: 100%;
  }

  .a-nav:hover {
    color: #c4a24a;
  }


.navrapido{
  position: fixed;
  top: 0;
  right: -100%; /* empieza oculto */
  width: 50%;
  height: 100vh;
  background-color: #111;
  flex-direction: column;
  padding: 2rem 1rem;
  gap: 1.5rem;
  transition: right 0.3s ease-in-out;
  z-index: 9999;
  display: flex;
}

  .navrapido.show {
    display: flex;
    right: -20%; /* entra desde la derecha */
  }

.menu-toggle {
  
    position: absolute;
    display: flex;
  left: 100px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #222;
  cursor: pointer;
  margin-right: 1rem;

}

.hacer-pedido{
  padding: 5px;
    position: absolute;
    display: flex;
  right: 100px;
  font-size: 1.5rem;
  background-color: #111;
  color: #fff;
  cursor: pointer;
  margin-right: 1rem;
    font-family: 'Bebas Neue', sans-serif;
}

.sub-title{
    color: #000;
    margin-left: 10px;
    letter-spacing: 6px;
    text-align: center;
    margin-top: 50px;
    font-size: 30px;
    text-decoration: none;
}

.title{
  font-family: 'Stardos Stencil', cursive;
      color: #000;
      margin: 40px;
      text-align: center;
      font-size: 50px;
}

.card{
  background-color: #333;
  border-radius: 10px;
  box-shadow: 2px 4px 6px 2px #c4a24a;
  min-height:120px;
  transition:transform .18s,box-shadow .18s;
  border: 3px solid #111;
  margin: 10px;
  width: 350px;
z-index: 1;
}

.categorias{
    display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: 50px;

}

.pizza{
  background-image: url("pizza-fondo.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
      background-position: 100% 75% ;
  
}



.lomo{
  background-image: url("promo-fondo.png");
  background-size: cover;
  background-position: 100% 70%;
  background-repeat: no-repeat;

}

.empanada{
  background-image: url("empanada-fondo.jpeg");
  background-size: cover;
  background-position: 100% 35%;
  background-repeat: no-repeat;
}

.bebidas{
  background-image: url("bebidas.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.guarniciones{
  background-image: url("guarnicion-fondo.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
    background-position: 100% 70%;
}

.milanesa{
    background-image: url("pasta-fondo.jpg");
  background-position: 100% 60%;
  background-repeat: no-repeat;
  background-size: cover;
}

.a-individual{
  display: block;
  text-decoration: none;
  color: inherit;
}

.aura{
    background-color: #fff;
    
}
/* ============================================ */
/* ESTILOS DEL MODAL DEL CARRITO */
/* ============================================ */

/* Modal overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contenedor del modal */
.modal-content {
    background-color: #f2f2f2;
    border: 4px solid #c4a24a;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header del modal */
.modal-header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-bottom: 3px solid #c4a24a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Bebas Neue', sans-serif;
}

.modal-header h2 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: 2px;
}

.close-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #c4a24a;
}

.back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'Bebas Neue', sans-serif;
    transition: color 0.3s;
}

.back-btn:hover {
    color: #c4a24a;
}

/* Mensaje de carrito vacío */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-family: 'Bebas Neue', sans-serif;
}

.empty-cart p:first-child {
    font-size: 2rem;
    margin-bottom: 10px;
}

.empty-cart p:last-child {
    font-size: 1.2rem;
}

/* Items del carrito */
.cart-items {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    background-color: #fff;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.cart-item-ingredients {
    font-size: 0.85rem;
    color: #666;
    margin: 5px 0;
    font-family: Arial, sans-serif;
}

.cart-item-price {
    font-size: 1.1rem;
    color: #c4a24a;
    font-weight: bold;
    margin: 5px 0 0 0;
    font-family: 'Bebas Neue', sans-serif;
}

/* Controles del item */
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background-color: #333;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: #c4a24a;
}

.quantity {
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
}

.remove-btn {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.remove-btn:hover {
    background-color: #b71c1c;
}

/* Footer del carrito */
.cart-footer {
    background-color: #333;
    padding: 20px;
    border-top: 3px solid #c4a24a;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

.cart-total span:last-child {
    color: #c4a24a;
    font-size: 2rem;
}

/* Botones principales */
.btn-primary,
.btn-whatsapp {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.3rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #c4a24a;
    color: #111;
}

.btn-primary:hover {
    background-color: #d4b25a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 162, 74, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Formulario */
.order-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 1.1rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #333;
    border-radius: 5px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #c4a24a;
}

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 2px solid #333;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.radio-label:hover {
    border-color: #c4a24a;
    background-color: #fffbf0;
}

.radio-label input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked + span {
    color: #c4a24a;
}

.radio-label:has(input:checked) {
    background-color: #333;
    border-color: #c4a24a;
}

.radio-label:has(input:checked) span {
    color: #fff;
}

/* Notificaciones */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    border: 2px solid #c4a24a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}


/* ============================================ */
/* RESPONSIVE DESIGN - MEDIA QUERIES */
/* ============================================ */

/* Tablets (hasta 1024px) */
@media (max-width: 1024px) {
    .navbar {
        padding: 80px 60px;
    }

    .logo {
        width: 250px;
        height: 250px;
    }

    .menu-toggle {
        left: 30px;
        font-size: 2.4rem;
    }

    .hacer-pedido {
        right: 5px;
        font-size: 2.7rem;
        padding: 10px;
    }

    .title {
        font-size: 40px;
        margin: 30px 20px;
    }

    .categorias {
        margin-left: 30px;
        justify-content: center;
    }

    .card {
        width: 300px;
    }

    .navrapido {
        width: 60%;
    }

    .navrapido.show {
        right: 0;
    }
}

/* Móviles grandes (hasta 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 50px 25px;
    }

    .logo {
        width: 170px;
        height: 170px;
    }

    .menu-toggle {
        left: 15px;
        font-size: 1.5rem;
    }

    .hacer-pedido {
        right: 5px;
        font-size: 1.5rem;
        padding: 8px 10px;
    }

    .title {
        font-size: 32px;
        margin: 20px 10px;
    }

    .categorias {
        margin-left: 0;
        justify-content: center;
        padding: 0 10px;
    }

    .card {
        width: 90%;
        max-width: 350px;
        margin: 10px auto;
    }

    .sub-title {
        font-size: 25px;
        letter-spacing: 3px;
        margin-top: 40px;
    }

    .navrapido {
        width: 70%;
        padding: 1.5rem 0.5rem;
    }

    .a-nav {
        font-size: 1.2rem;
        padding: 10px;
    }

    /* Modal responsive */
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-controls {
        margin-top: 10px;
        width: 100%;
        justify-content: space-between;
    }

    .cart-total {
        font-size: 1.3rem;
    }

    .cart-total span:last-child {
        font-size: 1.7rem;
    }

    .btn-primary,
    .btn-whatsapp {
        font-size: 1.1rem;
        padding: 12px;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-label {
        width: 100%;
        justify-content: center;
    }

    .notification {
        right: 10px;
        left: 10px;
        top: 10px;
        font-size: 1rem;
        padding: 12px 20px;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 40px 20px;
    }

    .logo {
        width: 160px;
        height: 160px;
    }

    .menu-toggle {
        left: 10px;
        font-size: 1.3rem;
    }

    .hacer-pedido {
        right: -5px;
        font-size: 1.3rem;
        padding: 3px 5px;
    }

    .title {
        font-size: 26px;
        margin: 15px 5px;
    }

    .card {
        width: 95%;
        min-height: 100px;
    }

    .sub-title {
        font-size: 22px;
        letter-spacing: 2px;
        margin-top: 30px;
    }

    .navrapido {
        width: 85%;
    }

    .a-nav {
        font-size: 1.1rem;
    }

    /* Modal muy pequeño */
    .modal-header {
        padding: 15px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .close-modal {
        font-size: 2rem;
    }

    .cart-items {
        padding: 15px;
        max-height: 300px;
    }

    .cart-item {
        padding: 12px;
    }

    .cart-item-info h4 {
        font-size: 1.1rem;
    }

    .cart-item-ingredients {
        font-size: 0.8rem;
    }

    .quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .remove-btn {
        width: 32px;
        height: 32px;
    }

    .cart-footer {
        padding: 15px;
    }

    .cart-total {
        font-size: 1.1rem;
    }

    .cart-total span:last-child {
        font-size: 1.5rem;
    }

    .btn-primary,
    .btn-whatsapp {
        font-size: 1rem;
        padding: 10px;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"] {
        padding: 10px;
        font-size: 0.95rem;
    }

    .radio-label {
        font-size: 1rem;
        padding: 10px 15px;
    }
}

/* Scrollbar personalizado para el carrito */
.cart-items::-webkit-scrollbar {
    width: 8px;
}

.cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #c4a24a;
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: #b39239;
}
