:root {
  --red-wendys: #ad4449;
  --dark: #1a1a1a;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, var(--red-wendys) 0%, #ee0e0e 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  width: 100%;
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
}

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
  letter-spacing: 1px;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.menu-img {
  width: 100%;
  max-width: 1200px; /* tamaño ideal en desktop */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

footer {
  text-align: center;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
  font-size: 0.9rem;
}

/* ===== Adaptación para tablets ===== */
@media (max-width: 1024px) {
  .menu-img {
    max-width: 90%;
  }
}

/* ===== Adaptación para celulares ===== */
@media (max-width: 600px) {
  header {
    padding: 0.8rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  .menu-img {
    max-width: 100%;
    border-radius: 6px;
  }

  footer {
    font-size: 0.8rem;
  }
}

/* Encabezado con fondo y centrado */
header.brand{
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 1rem;
  background-color: rgba(0,0,0,0.2);
  width:100%;
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
}

/* La imagen se comporta como un “título” responsive */
.brand-logo {
  height: clamp(70px, 7vw + 10px, 110px); /* Tamaño dinámico más grande */
  width: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto; /* Centrado horizontal */
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05); /* efecto sutil al pasar el mouse */
}

