/* ==========================================================================
   Rasoi Junction - Demo Site Design System
   Deliberately independent from SmartWebMakers' own brand (#009CDA blue).
   A restaurant client would never want to look like their web vendor.
   ========================================================================== */

:root {
  --rj-maroon: #6b1e23;
  --rj-maroon-dark: #4e1519;
  --rj-gold: #e8a33d;
  --rj-gold-dark: #c6842a;
  --rj-cream: #fbf3e7;
  --rj-charcoal: #2b1b12;
  --rj-ink: #5c4a3d;
  --rj-sage: #4a6741;
  --rj-white: #ffffff;
  --rj-border: #e8dcc8;

  --rj-font-heading: 'Roboto Slab', serif;
  --rj-font-body: 'Karla', sans-serif;

  --rj-space-2: 8px;
  --rj-space-3: 16px;
  --rj-space-4: 24px;
  --rj-space-5: 32px;
  --rj-space-6: 48px;
  --rj-space-7: 64px;

  --rj-radius: 10px;
}

.rj-body {
  margin: 0;
  font-family: var(--rj-font-body);
  color: var(--rj-ink);
  background: var(--rj-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.rj-body * {
  box-sizing: border-box;
}
.rj-body img {
  max-width: 100%;
  display: block;
}
.rj-body a {
  color: inherit;
  text-decoration: none;
}
.rj-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rj-h1,
.rj-h2,
.rj-h3 {
  font-family: var(--rj-font-heading);
  color: var(--rj-charcoal);
  line-height: 1.15;
  margin: 0 0 var(--rj-space-3);
}
.rj-h1 {
  font-size: clamp(2.2rem, 4vw + 1rem, 3.4rem);
  font-weight: 700;
}
.rj-h2 {
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.1rem);
  font-weight: 700;
}
.rj-h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.rj-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--rj-space-4);
}
.rj-section {
  padding: var(--rj-space-6) 0;
}

/* ---- SmartWebMakers demo banner - honesty strip, not part of the "restaurant" ---- */
.rj-demo-banner {
  background: #0b2545;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 10px var(--rj-space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--rj-space-3);
  flex-wrap: wrap;
  text-align: center;
}
.rj-demo-banner a {
  background: #f36136;
  color: #0b2545;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
}

/* ---- Header ---- */
.rj-header {
  background: var(--rj-maroon);
  padding: var(--rj-space-4) 0;
}
.rj-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--rj-space-3);
}
.rj-logo {
  font-family: var(--rj-font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--rj-white);
}
.rj-logo span {
  color: var(--rj-gold);
}
.rj-nav {
  display: flex;
  gap: var(--rj-space-4);
  flex-wrap: wrap;
}
.rj-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.95rem;
}
.rj-nav a:hover,
.rj-nav a.is-active {
  color: var(--rj-gold);
}

/* ---- Buttons ---- */
.rj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--rj-font-body);
  border: 2px solid transparent;
  cursor: default;
}
.rj-btn-gold {
  background: var(--rj-gold);
  color: var(--rj-charcoal);
}
.rj-btn-outline {
  background: transparent;
  color: var(--rj-white);
  border-color: var(--rj-white);
}

/* ---- Hero - dark maroon, not the cliché light-cream opener ---- */
.rj-hero {
  background: var(--rj-maroon);
  color: var(--rj-white);
  padding: var(--rj-space-7) 0 var(--rj-space-6);
  text-align: center;
}
.rj-hero .rj-h1 {
  color: var(--rj-white);
}
.rj-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rj-gold);
  margin-bottom: var(--rj-space-3);
}
.rj-hero-sub {
  max-width: 46ch;
  margin: 0 auto var(--rj-space-4);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}
.rj-hero-actions {
  display: flex;
  gap: var(--rj-space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* Signature element: scalloped divider between hero and content - a plate-rim motif */
.rj-scallop {
  display: block;
  width: 100%;
  height: 28px;
  background: var(--rj-maroon);
}
.rj-scallop svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---- Dish cards ---- */
.rj-dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rj-space-4);
  margin-top: var(--rj-space-5);
}
.rj-dish-card {
  background: var(--rj-white);
  border: 1px solid var(--rj-border);
  border-radius: var(--rj-radius);
  padding: var(--rj-space-4);
}
.rj-dish-card .rj-tag {
  display: inline-block;
  background: var(--rj-sage);
  color: var(--rj-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: var(--rj-space-2);
}
.rj-dish-price {
  font-family: var(--rj-font-heading);
  font-weight: 700;
  color: var(--rj-maroon-dark);
  font-size: 1.1rem;
}

/* ---- Story / quote block ---- */
.rj-section-maroon {
  background: var(--rj-maroon-dark);
  color: var(--rj-white);
}
.rj-section-maroon .rj-h2 {
  color: var(--rj-white);
}
.rj-quote {
  font-family: var(--rj-font-heading);
  font-size: 1.3rem;
  max-width: 640px;
  margin: 0 auto var(--rj-space-3);
  font-style: italic;
}
.rj-quote-attr {
  color: var(--rj-gold);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---- Reviews grid ---- */
.rj-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rj-space-4);
  margin-top: var(--rj-space-5);
}
.rj-review-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rj-radius);
  padding: var(--rj-space-4);
}
.rj-review-card p {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  margin-bottom: var(--rj-space-2);
}
.rj-review-stars {
  color: var(--rj-gold);
  letter-spacing: 2px;
  margin-bottom: var(--rj-space-2);
}
.rj-review-attr {
  color: var(--rj-gold);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---- Trust badges ---- */
.rj-badges {
  display: flex;
  gap: var(--rj-space-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--rj-space-4);
}
.rj-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rj-white);
}

/* ---- FAQ ---- */
.rj-faq-list {
  max-width: 720px;
  margin-top: var(--rj-space-5);
}
.rj-faq-item {
  border-bottom: 1px solid var(--rj-border);
  padding: var(--rj-space-3) 0;
}
.rj-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--rj-font-heading);
  font-weight: 700;
  color: var(--rj-charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}
.rj-faq-item summary::-webkit-details-marker {
  display: none;
}
.rj-faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--rj-maroon);
  margin-left: var(--rj-space-3);
  transition: transform 0.2s ease;
}
.rj-faq-item[open] summary::after {
  transform: rotate(45deg);
}
.rj-faq-item p {
  margin-top: var(--rj-space-2);
}

/* ---- Map card (styled visual, not a real embed pointing at a fake address) ---- */
.rj-map-card {
  position: relative;
  height: 200px;
  border-radius: var(--rj-radius);
  overflow: hidden;
  margin-bottom: var(--rj-space-4);
  background-color: #efe4cf;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(107, 30, 35, 0.12) 0,
      rgba(107, 30, 35, 0.12) 1px,
      transparent 1px,
      transparent 44px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(107, 30, 35, 0.12) 0,
      rgba(107, 30, 35, 0.12) 1px,
      transparent 1px,
      transparent 44px
    );
}
.rj-map-pin {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -100%);
  font-size: 2.4rem;
  color: var(--rj-maroon);
}
.rj-map-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(43, 27, 18, 0.75);
  color: #fff;
  padding: 8px 12px;
  font-size: 0.78rem;
  text-align: center;
}

/* ---- Menu page ---- */
.rj-menu-category {
  margin-bottom: var(--rj-space-6);
}
.rj-menu-category h2 {
  border-bottom: 3px solid var(--rj-gold);
  padding-bottom: var(--rj-space-2);
  display: inline-block;
}
.rj-menu-item {
  display: flex;
  justify-content: space-between;
  gap: var(--rj-space-3);
  padding: var(--rj-space-3) 0;
  border-bottom: 1px dashed var(--rj-border);
}
.rj-menu-item-name {
  font-weight: 700;
  color: var(--rj-charcoal);
}
.rj-menu-item-desc {
  font-size: 0.9rem;
  color: var(--rj-ink);
  margin-top: 2px;
}
.rj-menu-item-price {
  font-family: var(--rj-font-heading);
  font-weight: 700;
  color: var(--rj-maroon-dark);
  white-space: nowrap;
}

/* ---- About page ---- */
.rj-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rj-space-6);
  align-items: center;
}
.rj-values-list {
  display: flex;
  flex-direction: column;
  gap: var(--rj-space-3);
  margin-top: var(--rj-space-4);
}
.rj-values-list li {
  padding-left: var(--rj-space-4);
  position: relative;
}
.rj-values-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--rj-gold);
}

/* ---- Contact page ---- */
.rj-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rj-space-5);
}
.rj-info-card {
  background: var(--rj-white);
  border: 1px solid var(--rj-border);
  border-radius: var(--rj-radius);
  padding: var(--rj-space-4);
}
.rj-info-card h3 {
  margin-bottom: var(--rj-space-2);
}
.rj-info-card p {
  margin: 0 0 4px;
}
.rj-demo-note {
  font-size: 0.85rem;
  color: var(--rj-ink);
  opacity: 0.75;
  font-style: italic;
  margin-top: var(--rj-space-2);
}

/* ---- Footer ---- */
.rj-footer {
  background: var(--rj-charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--rj-space-5) 0;
  text-align: center;
  font-size: 0.85rem;
}
.rj-footer strong {
  color: var(--rj-white);
}

/* ---- SmartWebMakers conversion elements - deliberately NOT in the restaurant's
   own palette, so they read as "the vendor talking," not part of the fiction ---- */
.swm-float-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #f36136;
  color: #0b2545;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.28);
  z-index: 600;
}
.swm-float-cta:hover {
  background: #ef5b28;
}

.swm-close-cta {
  background: #0b2545;
  padding: var(--rj-space-6) 0;
  text-align: center;
}
.swm-close-cta p.eyebrow {
  color: #f36136;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: var(--rj-space-2);
}
.swm-close-cta h2 {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
}
.swm-close-cta p.sub {
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Inter', sans-serif;
  max-width: 50ch;
  margin: 0 auto var(--rj-space-4);
}
.swm-close-cta a {
  display: inline-flex;
  background: #f36136;
  color: #0b2545;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
}

.swm-explore {
  background: #101820;
  padding: var(--rj-space-4) 0;
  text-align: center;
}
.swm-explore p {
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  margin-bottom: var(--rj-space-2);
}
.swm-explore-links {
  display: flex;
  gap: var(--rj-space-4);
  justify-content: center;
  flex-wrap: wrap;
}
.swm-explore-links a {
  color: #e8a33d;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .swm-float-cta {
    right: 12px;
    bottom: 12px;
    padding: 10px 16px;
    font-size: 0.78rem;
  }
}

/* ---- Mobile ---- */
@media (max-width: 820px) {
  .rj-nav {
    justify-content: center;
  }
  .rj-dish-grid {
    grid-template-columns: 1fr;
  }
  .rj-about-grid {
    grid-template-columns: 1fr;
  }
  .rj-contact-grid {
    grid-template-columns: 1fr;
  }
  .rj-hero {
    padding: var(--rj-space-6) 0 var(--rj-space-5);
  }
  .rj-review-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .rj-section {
    padding: var(--rj-space-5) 0;
  }
  .rj-btn {
    width: 100%;
  }
  .rj-hero-actions .rj-btn {
    width: 100%;
  }
}
