/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Sprayerz";
  src: url("../fonts/SprayerzDEMO-B85.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --amarillo: rgb(236, 156, 17);
  --negro: #111;
  --blanco: #fafafa;
  --gris-claro: #f4f4f4;
  --radio: 10px;
  --sombra: 0 4px 20px rgba(0, 0, 0, 0.15);
}

html, body {
  height: 100%;
  width: 100%;
  font-family: "Sprayerz", sans-serif;
  color: var(--negro);
}

/* ===== BOTONES ===== */
.button {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.btn {
  font-family: "Outfit", sans-serif;
  color: var(--negro);
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 2px solid var(--negro);
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.2s ease;
  background-color: var(--amarillo);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  display: inline-block;
}
.btn:hover {
  background-color: var(--negro);
  color: var(--amarillo);
  transform: scale(1.05);
}

/* ===== HEADER ===== */
.top-row {
  padding: 0.6rem 1rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  background-color: var(--amarillo);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}
.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4rem;
  background-color: var(--negro);
  color: var(--amarillo);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--amarillo);
}
.logo-nav img { width: 44px; }
.logo-nav span { font-size: 1.1rem; }
nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
nav a {
  color: var(--amarillo);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s ease;
  border-radius: 5px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 8px;
  right: 8px;
  height: 2px;
  background-color: var(--amarillo);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
nav a:hover::after, nav a.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--amarillo);
  transition: all 0.3s ease;
  border-radius: 2px;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 60%, rgba(17,17,17,0.7) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--blanco);
  padding: 2rem;
  animation: fadeUp 0.9s ease both;
}
.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}
.hero-content h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1rem, 3vw, 1.6rem);
  padding: 1rem 0 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.9;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== SECCIÓN TÍTULOS ===== */
.menu > h1, .carousel > h1, .reviews > h1, .location > h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ===== MENÚ ===== */
.menu {
  padding: 5rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--blanco);
}
.menu-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
}
.menu-item {
  flex: 1 1 260px;
  max-width: 380px;
  text-align: center;
}
.menu-item-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.menu-item-img:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.menu-item h3 { padding: 0.8rem 0 0.3rem; font-size: 1.3rem; }

/* ===== CARRUSEL ===== */
.carousel {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--amarillo);
}
.carousel h1 { font-family: "Outfit", sans-serif; color: var(--negro); }
.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-item {
  min-width: 33.3333%;
  padding: 0 0.75rem;
}
.carousel-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  transition: transform 0.3s ease;
}
.carousel-img:hover { transform: scale(1.03); }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  background-color: rgba(255,255,255,0.85);
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover { background-color: white; transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 4px; }
.carousel-btn.next { right: 4px; }

/* ===== RESEÑAS ===== */
.reviews {
  padding: 5rem 2rem;
  background-color: var(--gris-claro);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.review-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1100px;
  width: 100%;
}
.review-card {
  background: white;
  border-radius: var(--radio);
  padding: 1.8rem;
  max-width: 320px;
  flex: 1 1 260px;
  box-shadow: var(--sombra);
  transition: transform 0.3s ease;
}
.review-card:hover { transform: translateY(-5px); }
.review-stars { color: var(--amarillo); font-size: 1.2rem; margin-bottom: 0.8rem; }
.review-text {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}
.review-author {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--negro);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--amarillo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--negro);
  flex-shrink: 0;
}

/* ===== UBICACIÓN ===== */
.location {
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--blanco);
}
.location-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1100px;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
}
.location-info { flex: 1 1 260px; max-width: 360px; }
.location-info h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.location-detail {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}
.location-detail strong { color: var(--negro); font-weight: 700; }
.location-map {
  flex: 2 1 300px;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  min-height: 320px;
}
.location-map iframe { width: 100%; height: 340px; border: none; display: block; }

/* ===== FOOTER ===== */
footer { background: var(--negro); color: white; padding: 3rem 2rem 2rem; }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand { font-size: 1.8rem; color: var(--amarillo); }
.footer-brand p { font-family: "Outfit", sans-serif; font-size: 0.8rem; color: #888; margin-top: 0.4rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { font-family: "Outfit", sans-serif; color: #ccc; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--amarillo); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #444;
  display: flex; align-items: center; justify-content: center;
  color: #ccc; text-decoration: none; font-size: 1rem; transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--amarillo); color: var(--amarillo); }
.footer-bottom {
  text-align: center; font-family: "Outfit", sans-serif; font-size: 0.75rem;
  color: #555; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #222;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background-color: var(--negro);
  color: var(--amarillo);
  padding: 4rem 2rem 3rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero p { font-family: "Outfit", sans-serif; font-size: 1rem; color: #bbb; margin-top: 0.5rem; }

/* ===== CARTA ===== */
.carta-section { padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; }
.carta-category { margin-bottom: 3.5rem; }
.carta-category h2 {
  font-size: 2rem;
  border-bottom: 3px solid var(--amarillo);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}
.carta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.carta-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  background: var(--gris-claro);
  border-radius: var(--radio);
  transition: background 0.2s;
}
.carta-item:hover { background: #e8e8e8; }
.carta-item-info h4 { font-family: "Sprayerz", sans-serif; font-size: 1.1rem; margin-bottom: 0.25rem; }
.carta-item-info p { font-family: "Outfit", sans-serif; font-size: 0.82rem; color: #666; max-width: 230px; }
.carta-item-price { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 1rem; white-space: nowrap; padding-left: 1rem; }

/* ===== TEAM ===== */
.team-section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-intro {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  color: #555;
  text-align: center;
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.team-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; width: 100%; }
.team-card {
  background: var(--gris-claro);
  border-radius: var(--radio);
  overflow: hidden;
  max-width: 280px;
  flex: 1 1 220px;
  box-shadow: var(--sombra);
  transition: transform 0.3s ease;
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); }
.team-card-img { width: 100%; height: 220px; object-fit: cover; }
.team-card-info { padding: 1.2rem; }
.team-card-info h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.team-card-info p { font-family: "Outfit", sans-serif; font-size: 0.85rem; color: #777; }
.team-values { background: var(--negro); color: var(--blanco); padding: 4rem 2rem; text-align: center; }
.team-values h2 { font-size: 2rem; color: var(--amarillo); margin-bottom: 2rem; }
.values-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; max-width: 900px; margin: 0 auto; }
.value-item { flex: 1 1 200px; max-width: 250px; }
.value-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.value-item h4 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--amarillo); }
.value-item p { font-family: "Outfit", sans-serif; font-size: 0.85rem; color: #aaa; line-height: 1.6; }

/* ===== CONTACTO ===== */
.contact-section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}
.contact-form-wrap { flex: 1 1 320px; max-width: 520px; }
.contact-form-wrap h2 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { font-family: "Outfit", sans-serif; font-size: 0.85rem; font-weight: 700; display: block; margin-bottom: 0.4rem; color: #444; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 2px solid #ddd; border-radius: 8px;
  font-family: "Outfit", sans-serif; font-size: 0.95rem; transition: border-color 0.2s; background: white; color: var(--negro);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--amarillo); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.btn-full { width: 100%; text-align: center; font-size: 1rem; padding: 0.85rem; cursor: pointer; border: 2px solid var(--negro); border-radius: 5px; background-color: var(--amarillo); font-family: "Outfit", sans-serif; font-weight: 700; text-transform: uppercase; transition: background-color 0.3s, color 0.2s, transform 0.2s; }
.btn-full:hover { background-color: var(--negro); color: var(--amarillo); transform: scale(1.02); }
.contact-info { flex: 1 1 240px; max-width: 320px; }
.contact-info h2 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.info-block { margin-bottom: 1.5rem; }
.info-block h4 { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #999; margin-bottom: 0.3rem; }
.info-block p { font-family: "Outfit", sans-serif; font-size: 0.95rem; color: #333; line-height: 1.6; }
.success-msg { display: none; background: #d4edda; color: #155724; border-radius: 8px; padding: 1rem; font-family: "Outfit", sans-serif; margin-top: 1rem; font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .top-row { flex-direction: column; gap: 0.4rem; text-align: center; font-size: 0.7rem; }
  .bottom-row { padding: 0.8rem 1.2rem; position: relative; flex-wrap: wrap; gap: 0.5rem; }
  .menu-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--negro);
    flex-direction: column;
    padding: 1rem;
    gap: 0.3rem;
    z-index: 200;
    border-top: 1px solid #333;
  }
  nav.open { display: flex; }
  nav a { padding: 0.7rem 1rem; font-size: 1.05rem; }
  .hero { background-attachment: scroll; min-height: 75vh; }
  .carousel-item { min-width: 85%; }
  .location-map iframe { height: 250px; }
  .form-row { flex-direction: column; gap: 0; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.4rem; }
  .carta-grid { grid-template-columns: 1fr; }
}
