/* ============================================
   The Real Pot Café
   Main Stylesheet
   ============================================ */

/* --- CSS VARIABLES --- */
:root {
  --red: #C0392B;
  --red-dark: #96281B;
  --orange: #E67E22;
  --cream: #FDF6EC;
  --dark: #1A0A00;
  --dark-2: #2C1503;
  --text: #3D1F00;
  --text-light: #7A5230;
  --border: rgba(192,57,43,0.15);
  --gold: #C9A84C;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
}

/* --- NAVIGATION --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  background: rgba(253,246,236,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--red);
}

.nav-logo span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

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

.order-btn {
  background: var(--red);
  color: #fff;
  padding: 0.7rem 1.8rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
  letter-spacing: 0.03em;
}

.order-btn:hover {
  background: var(--red-dark);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, #3D1000 50%, #5C2000 100%);
  display: flex;
  align-items: center;
  padding: 7rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}

.hero-glow {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.25) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border-radius: 2px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--orange);
}

.hero p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stats-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--orange);
}

.hero-stats-item p {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* --- BUTTONS --- */
.btn-order {
  background: var(--red);
  color: #fff;
  padding: 1rem 2.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-order:hover {
  background: var(--red-dark);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 1rem 2rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: opacity 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  opacity: 0.85;
}

.btn-white {
  background: #fff;
  color: var(--red);
  padding: 1rem 2.5rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.btn-white:hover {
  opacity: 0.9;
}

/* --- MARQUEE --- */
.marquee-strip {
  background: var(--red);
  color: #fff;
  padding: 0.8rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.marquee-inner span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 2rem;
}

.marquee-inner span::before {
  content: '✦';
  margin-right: 2rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- SECTION COMMON --- */
.section-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--dark);
}

/* --- MENU SECTION --- */
.menu-section {
  padding: 6rem 3rem;
  background: var(--cream);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-header a {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.menu-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2.5rem;
}

.tab {
  padding: 0.8rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-light);
  transition: all 0.2s;
  position: relative;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}

.menu-card:hover {
  box-shadow: 0 8px 30px rgba(192,57,43,0.12);
  transform: translateY(-3px);
}

.menu-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.menu-card p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}

.menu-card-right {
  text-align: right;
  flex-shrink: 0;
  margin-left: 1rem;
}

.price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}

.add-btn {
  display: block;
  margin-top: 0.5rem;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0.35rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}

.add-btn:hover {
  background: var(--red-dark);
}

.menu-view-all {
  text-align: center;
  margin-top: 2.5rem;
}

/* --- CART TOAST --- */
.cart-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--dark);
  color: #fff;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  border-left: 3px solid var(--orange);
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- ABOUT SECTION --- */
.about-section {
  padding: 6rem 3rem;
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-section h2 {
  color: #fff;
}

.about-section .section-tag {
  color: var(--orange);
}

.about-section p {
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.about-section a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem;
  transition: border-color 0.3s;
}

.feature:hover {
  border-color: rgba(255,255,255,0.2);
}

.feature span {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.feature h4 {
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.feature p {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* --- HOURS SECTION --- */
.hours-section {
  padding: 5rem 3rem;
  background: #fff;
  text-align: center;
}

.hours-section h2 {
  margin-top: 0.5rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.hour-card {
  text-align: center;
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.hour-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(192,57,43,0.08);
}

.hour-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.hour-card .time {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  font-family: 'Playfair Display', serif;
}

.hour-card p {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}

/* --- ORDER CTA --- */
.order-cta {
  padding: 6rem 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--red-dark), var(--red), var(--orange));
  position: relative;
  overflow: hidden;
}

.order-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.03) 10px,
    rgba(255,255,255,0.03) 11px
  );
}

.order-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.order-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* --- FOOTER --- */
footer {
  background: var(--dark-2);
  color: rgba(255,255,255,0.6);
  padding: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

footer h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}

footer p {
  font-size: 0.82rem;
  line-height: 1.8;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer ul a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

footer ul a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
}

.parent-link {
  color: var(--gold) !important;
  text-decoration: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .menu-section,
  .hours-section,
  .order-cta {
    padding: 4rem 1.5rem;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 1.5rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

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

  .cart-toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }
}
