/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700;900&display=swap");

:root {
  --primary: #ffc700;
  /* Yellow */
  --accent: #d92525;
  /* Red */
  --dark: #1a1a1a;
  /* Black */
  --light: #f9f9f9;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--light);
  color: var(--dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent);
  color: var(--white);
  font-weight: 700;
  border-radius: 50px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(217, 37, 37, 0.4);
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 900;
  color: var(--accent);
  text-transform: uppercase;
}

/* --- Header --- */
header {
  background-color: var(--white);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 80px;
  /* Adjust size as needed */
  width: auto;
  transition: transform 0.3s ease;
}

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

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  /* Ensure vertical alignment */
}

.nav-links a {
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* --- Hero Section --- */
.hero {
  height: 90vh;
  /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Use the storefront image as background */
  background-image: url("../imagenes/WhatsApp Image 2026-02-16 at 1.31.09 PM.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax effect */
  overflow: hidden;
  text-align: center;
}

/* Darker, subtle overlay to make the photo pop */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.6));
  /* Gradient for depth */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  animation: fadeUp 1s ease-out;
  /* Entrance animation */
}

/* Stylish text with glow */
.hero h1 {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  /* Strong shadow for contrast */
  letter-spacing: -2px;
  color: var(--white);
}

.hero h1 span {
  color: var(--primary);
  /* Yellow looks better on dark/photo */
  display: block;
  font-size: 6rem;
  position: relative;
  display: inline-block;
  text-shadow: 0 4px 20px rgba(255, 199, 0, 0.4);
  /* Glowing effect */
}

/* Remove the underline for a cleaner look, or keep it subtle */
.hero h1 span::after {
  display: none;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: var(--light);
  /* Light text */
  font-weight: 500;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Remove old visual elements */
.hero-visual,
.hero-image-container {
  display: none;
}

/* --- Promotions Section --- */
.promotions {
  padding: 100px 0;
  background-color: var(--primary);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.promo-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.promo-card:hover {
  transform: translateY(-10px);
}

.promo-image {
  height: 300px;
  /* Reduced height to fit better */
  overflow: hidden;
}

.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.promo-card:hover .promo-image img {
  transform: scale(1.1);
}

.promo-details {
  padding: 30px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-details h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 900;
}

.promo-details p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--dark);
  display: block;
  margin-bottom: 20px;
}

/* --- Menu Grid --- */
.menu-highlights {
  padding: 50px 0 100px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../imagenes/local.JPG");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
}

.category-title,
.section-title {
  color: var(--white);
  /* Ensure titles are white on dark background */
}

.menu-highlights .section-title {
  color: var(--white);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.category-card {
  background: var(--light);
  padding: 40px 20px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  /* Indicates it's clickable */
  display: block;
  /* For anchor tags */
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  background: #fff8e1;
  /* Subtle highlight */
}

.icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.category-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.category-card p {
  color: var(--accent);
  font-weight: 600;
}

/* --- Detailed Menu Sections --- */
.menu-category-section {
  margin-bottom: 60px;
  padding-top: 80px;
  /* Offset for sticky header */
  margin-top: -80px;
  /* Offset for sticky header */
}

.category-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--dark);
  border-bottom: 3px solid var(--primary);
  display: inline-block;
  padding-bottom: 10px;
}

/* Blog Redesign: Magazine Layout */
.blog-layout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 992px) {
  .blog-layout-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
  }
}

.blog-sidebar {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  margin-bottom: 40px;
}

.sidebar-widget:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 15px;
}

.sidebar-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.sidebar-search {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 25px;
  outline: none;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.3s ease;
}

.sidebar-search:focus {
  border-color: var(--primary);
}

.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-categories li {
  margin-bottom: 12px;
}

.sidebar-categories li:last-child {
  margin-bottom: 0;
}

.sidebar-categories a {
  color: #666;
  text-decoration: none;
  display: block;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.sidebar-categories a:hover,
.sidebar-categories a.active {
  color: white;
  background: var(--primary);
  transform: translateX(5px);
}

/* Rediseño de .blog-card para el estilo Revista */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.blog-card .blog-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.blog-card .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.category-pill {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  backdrop-filter: blur(5px);
}

.blog-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  color: #a0a0a0;
  font-size: 0.85rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.blog-content h3 {
  margin: 0 0 15px;
  font-size: 1.6rem;
  color: var(--dark);
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
}

.blog-content p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
  flex-grow: 1;
}

.btn-read-more {
  color: var(--primary);
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  align-self: flex-start;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.btn-read-more:hover {
  border-color: var(--primary);
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.menu-item-card {
  background: var(--light);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border-left: 5px solid var(--accent);
  transition: transform 0.2s;
}

.menu-item-card:hover {
  transform: translateX(5px);
}

.menu-item-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.menu-item-card p {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.item-price {
  font-weight: 900;
  color: var(--accent);
  font-size: 1.2rem;
}

/* --- About Us Section --- */
.about-us {
  padding: 100px 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../imagenes/_MG_2180.JPG");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text .section-title {
  color: var(--primary);
}

.about-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #f0f0f0;
  /* Light text for dark background */
}

.features {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  font-weight: 700;
  color: var(--accent);
  flex-wrap: wrap;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 300px;
  /* Reduced size as requested */
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* --- Contact Section --- */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: var(--white);
}

.contact-section .section-title {
  color: var(--primary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.contact-card .icon {
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.contact-card p {
  color: #ccc;
  margin-bottom: 20px;
}

.phone-link {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
}

.link-btn {
  color: var(--primary);
  font-weight: bold;
  text-decoration: underline;
}

/* --- Footer --- */
footer {
  background-color: #111;
  color: var(--white);
  padding: 50px 0 20px;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
  text-align: left;
}

.footer-col h4 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-col p {
  color: #999;
}

.copyright {
  border-top: 1px solid #333;
  padding-top: 20px;
  color: #666;
  font-size: 0.9rem;
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--dark);
  margin: 5px;
  transition: all 0.3s ease;
}

.hamburger.active .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .line2 {
  opacity: 0;
}

.hamburger.active .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .features {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
    /* Reduced from 3.5rem to fit better */
  }

  .section-title {
    font-size: 2rem;
  }

  .hamburger {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    /* Below header */
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  /* Make floating buttons icon-only on mobile to save space */
  .floating-btn span {
    display: none;
  }

  .floating-btn {
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
    right: 15px;
  }

  .floating-btn svg {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin: auto;
  }

  /* Adapt hours widget for mobile */
  .hours-widget {
    display: block;
    bottom: 10px;
    left: 10px;
    padding: 8px 12px;
    font-size: 0.7rem;
    width: auto;
    max-width: 150px;
    border-left: 3px solid #ff4500;
    z-index: 900;
    /* Lower than modal/menu */
  }

  .hours-widget h4 {
    font-size: 0.8rem;
    margin-bottom: 2px;
  }
}

/* --- Floating Widgets --- */
/* --- Floating Widgets --- */
.floating-btn {
  position: fixed;
  right: 30px;
  color: white;
  padding: 12px 25px;
  /* Pill shape */
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.floating-whatsapp {
  bottom: 30px;
  background-color: #25d366;
}

.floating-facebook {
  bottom: 90px;
  background-color: #1877f2;
}

.floating-instagram {
  bottom: 150px;
  background: linear-gradient(45deg,
      #405de6,
      #5851db,
      #833ab4,
      #c13584,
      #e1306c,
      #fd1d1d);
}

.hours-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  font-size: 0.9rem;
  border-left: 4px solid #ff4500;
  /* Primary color hardcoded just in case */
  max-width: 250px;
  animation: slideInLeft 0.5s ease-out;
}

.hours-widget.widget-light {
    background-color: rgba(255, 255, 255, 0.95);
    color: #222;
    border-left: 4px solid #000;
}

.hours-widget.widget-light h4 {
    color: #000;
}

.hours-widget h4 {
  color: #ff4500;
  margin-bottom: 5px;
  font-size: 1rem;
  margin-top: 0;
}

.hours-widget p {
  margin: 0;
  line-height: 1.4;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.status-dot {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}

.status-dot.open {
  background-color: #00e676;
  box-shadow: 0 0 10px #00e676;
}

.status-dot.closing {
  background-color: #ffd600;
  box-shadow: 0 0 10px #ffd600;
}

.status-dot.closed {
  background-color: #ff1744;
  box-shadow: 0 0 10px #ff1744;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hours-widget {
    bottom: 20px;
    left: 20px;
    padding: 6px 15px;
    font-size: 0.8rem;
    border-radius: 50px;
    border-left: none;
    max-width: none;
    width: max-content;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
  }
  .hours-widget h4 {
    display: none; /* Hide the big "Horario" title */
  }
  .hours-widget p {
    font-size: 0; /* Hide original bulky text */
    margin: 0;
  }
  .hours-widget p::before {
    content: "Hoy: 3:00 PM - 10:30 PM"; /* Compact 1-liner */
    font-size: 0.85rem;
    font-weight: bold;
    color: white;
  }
  .hours-widget.widget-light p::before {
    color: #222;
  }
  .status-dot {
    position: static;
    display: block;
    margin-right: 8px;
  }
}