:root {
  --primary-red: #8B0000;
  /* Deep red like the image */
  --bright-red: #C00;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--text-light);
  color: var(--text-dark);
  border: 2px solid var(--text-light);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-light);
}

.btn-secondary {
  background-color: var(--primary-red);
  color: var(--text-light);
  border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--primary-red);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 15px 0;
  z-index: 1000;
}

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

.logo {
  position: relative;
  /* Ensure container is anchor */
  width: 100px;
  /* Reduced reserved space */
  height: 60px;
  /* Keep strict layout height for navbar */
}

.logo img {
  height: 80px;
  /* Specific 80px requested */
  width: 80px;
  border-radius: 50%;
  border: 3px solid #fff;
  /* Slightly thinner border for smaller size */
  position: absolute;
  top: -10px;
  /* Adjusted to center vertically */
  left: 0;
  z-index: 2000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--bright-red);
}

.hamburger {
  display: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 70vh;
  /* Reduced from 100vh */
  min-height: 500px;
  background-image: url('public/hero_no_pineapple.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 800px;
  /* Text is now embedded in the background image, hiding HTML text to prevent duplication */
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Promotions Section */
.promotions {
  background-color: var(--primary-red);
  /* Dark Red */
  background: linear-gradient(180deg, #900 0%, #700 100%);
  color: var(--text-light);
  padding: 100px 0;
  text-align: center;
}

.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.5rem;
}

.flame-icon {
  font-size: 2rem;
  color: #ffcc00;
  /* Fire color */
  animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.promo-subtitle {
  font-size: 1.2rem;
  margin-bottom: 50px;
  font-weight: 600;
}

.promotions .container {
  width: 95%;
  max-width: 1800px;
  /* Maximize available space */
  padding: 0 20px;
}

.promo-wrapper {
  display: flex;
  justify-content: center;
  /* Center when wrapped */
  flex-wrap: wrap;
  /* Allow wrapping */
  gap: 30px;
  align-items: flex-start;
  width: 100%;
  margin-top: 30px;
}

.promo-left {
  flex: 1;
  /* Take remaining space */
}

.promo-right {
  flex: 0 0 380px;
  /* Fixed robust width for contact info, similar to previous "ancho anterior" */
  background: rgba(0, 0, 0, 0.2);
  padding: 25px;
  border-radius: 15px;
}

/* Header centered, content left-aligned by default logic or specific overrides */
.section-header,
.promo-subtitle {
  text-align: center;
}

/* Text List for Promotions (Left Side) */
/* Text List for Promotions (Left Side) - Paper Style */
/* Text List for Promotions (Left Side) - Paper Container */
.promo-text-list {
  text-align: left !important;
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Gap handled by padding/border now */
  width: 100%;

  /* Paper/Parchment Look */
  background: linear-gradient(135deg, #fffaf0 0%, #f4e4bc 100%);
  padding: 30px;
  border-radius: 4px;
  border: 1px solid #d7ccc8;
  box-shadow: 8px 8px 25px rgba(0, 0, 0, 0.5);
  /* Stronger shadow */
  position: relative;
}

/* Row Layout */
.promo-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* Center vertically */
  gap: 25px;
  width: 100%;
  padding: 20px 0;
  border-bottom: 2px dashed #bcaaa4;
  /* Separator */
}

.promo-row:first-child {
  padding-top: 5px;
}

.promo-row:last-child {
  border-bottom: none;
  padding-bottom: 5px;
}

/* Thumbnails */
.promo-thumb {
  width: 120px;
  height: 120px;
  /* Square for uniformity */
  object-fit: cover;
  object-position: center;
  /* fill the box for photos */
  border-radius: 8px;
  /* nice rounded corners for photos */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.promo-thumb.blend-bg {
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3)) contrast(1.1);
  mix-blend-mode: multiply;
}

.promo-thumb:hover {
  transform: scale(1.1) rotate(-3deg);
}

.promo-thumb-placeholder {
  width: 110px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #8B0000;
  background: rgba(139, 0, 0, 0.05);
  border-radius: 10px;
}

/* Details */
.promo-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-detail h3 {
  margin: 0 0 5px 0;
  color: #3e2723;
  /* Dark Coffee */
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.long-title {
  font-size: 1.8rem !important;
  /* Adjustment for Gringas title length */
}

/* Offer Styling */
.promo-detail .offer {
  margin: 0;
  color: #c62828;
  /* Vivid Red */
  font-weight: 800;
  /* Extra Bold */
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.promo-detail .offer-sub {
  margin: 2px 0 0 0;
  color: #4e342e;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.small-text {
  font-size: 1.3rem !important;
  color: #5d4037 !important;
}

.gringas-text {
  margin-top: 10px;
  /* Slight separation */
  /* Font size removed to inherit from parent (2.2rem) */
}

/* Contact Actions Styles */
.promo-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s;
  text-align: left;
}

.btn-action:hover {
  transform: translateY(-2px);
}

.btn-action i {
  font-size: 2rem;
}

.btn-action span {
  font-size: 1.1rem;
  line-height: 1.2;
}

.btn-action small {
  font-weight: 400;
  font-size: 0.9rem;
  opacity: 0.9;
}

.btn-whatsapp {
  background-color: #25D366;
}

.btn-call {
  background-color: #007bff;
}

/* Map specific styles */
.promo-map {
  background: #fff;
  padding: 5px;
  border-radius: 10px;
}

.address-text {
  color: #333;
  margin-top: 10px;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}

/* Menu Section */
.menu-section {
  padding: 80px 0;
  background-color: #fff;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.menu-column h3 {
  font-size: 1.2rem;
  border-bottom: 2px solid var(--text-dark);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.sub-category {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--primary-red);
}

.menu-column ul {
  list-style: none;
}

.menu-column li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.menu-column li.has-price {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 5px;
}

.menu-column li.has-price span:last-child {
  font-weight: 700;
}

/* Footer */
.footer {
  background-color: #0d0d0d;
  /* Very dark, almost black */
  color: #fff;
  padding: 50px 0;
  border-top: 1px solid #1a1a1a;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
}

/* Left Column: Contact */
.contact-column h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: capitalize;
  /* "Contacto" is capitalize in image usually, or match exact */
}

.contact-column p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 2px;
  color: #fff;
  font-family: var(--font-body);
}

/* Center Column: Service Message */
.service-column {
  text-align: center;
}

.service-column p {
  font-size: 1.1rem;
  line-height: 1.2;
  font-family: var(--font-body);
}

/* Right Column: Social & Star */
.social-column {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  background-color: #fff;
  /* Icons are black inside white circle in typical design, or just white icons? Image shows white icons on dark bg circle or just white icons. */
  /* Re-evaluating image: icons are white symbols in white circles? No, typically white icons on dark. let's look at image */
  /* Image has white circles with black icons inside */
  background: #fff;
  color: #000;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: scale(1.1);
  background-color: #ccc;
}

.footer-star svg {
  width: 60px;
  height: 60px;
  fill: #555;
  /* Dark grey star */
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .social-column {
    justify-content: center;
  }
}

/* Responsive Promotions & Navbar adjustments */
@media (max-width: 1100px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .promo-right {
    flex: 0 0 auto;
    width: 100%;
    /* Allow full width */
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

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

  .hamburger {
    display: block;
    margin-right: 20px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .promo-text-list {
    padding: 20px;
  }

  .promo-row {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .promo-detail {
    align-items: center;
  }

  .logo {
    width: 70px;
    margin-left: 15px;
  }

  .logo img {
    width: 60px;
    height: 60px;
    top: 0;
  }
}

.promo-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffcc00;
}

.promo-item .price {
  font-size: 1.3rem;
  font-weight: 700;
}

.promo-item.wide {
  grid-column: 1 / -1;
}

.emojis {
  font-size: 1.5rem;
  margin-top: 5px;
}