/* ============================================
   Rolling Feast — Multi-Cuisine Food Truck Template
   Colors: Dark #1A0A2E, Light #F5F0FF, Accent #7C3AED
   Fonts: Raleway (headings), Merriweather Sans (body)
   ============================================ */

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

:root {
  --rf-dark: #1A0A2E;
  --rf-light: #F5F0FF;
  --rf-accent: #7C3AED;
  --rf-accent-dark: #6427cc;
  --rf-gray: #64748b;
  --rf-gray-light: #e2e8f0;
  --rf-white: #ffffff;
  --rf-shadow: 0 4px 20px rgba(26, 10, 46, 0.1);
  --rf-radius: 12px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Merriweather Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--rf-dark);
  background: var(--rf-white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--rf-accent);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--rf-accent-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.rf-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Reveal animation ---- */
.rf-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.rf-reveal.rf-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Buttons ---- */
.rf-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  border: 2px solid transparent;
}

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

.rf-btn-primary {
  background: var(--rf-accent);
  color: var(--rf-white);
  border-color: var(--rf-accent);
}

.rf-btn-primary:hover {
  background: var(--rf-accent-dark);
  border-color: var(--rf-accent-dark);
  color: var(--rf-white);
}

.rf-btn-secondary {
  background: transparent;
  color: var(--rf-white);
  border-color: var(--rf-white);
}

.rf-btn-secondary:hover {
  background: var(--rf-white);
  color: var(--rf-dark);
}

/* ---- Demo Banner ---- */
.rf-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--rf-dark);
  color: var(--rf-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 24px;
  font-size: 0.85rem;
}

.rf-demo-banner a {
  color: var(--rf-accent);
  font-weight: 600;
}

/* ---- Navigation ---- */
.rf-nav {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.rf-nav.rf-scrolled {
  background: var(--rf-dark);
  box-shadow: var(--rf-shadow);
}

.rf-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.rf-logo {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--rf-white);
  white-space: nowrap;
}

.rf-logo:hover {
  color: var(--rf-accent);
}

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

.rf-nav-links a {
  color: var(--rf-white);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.rf-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rf-accent);
  transition: width 0.3s;
}

.rf-nav-links a:hover::after {
  width: 100%;
}

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

.rf-btn-nav {
  padding: 10px 24px;
  font-size: 0.85rem;
  background: var(--rf-accent);
  color: var(--rf-white);
  border-color: var(--rf-accent);
}

.rf-btn-nav:hover {
  background: var(--rf-accent-dark);
  color: var(--rf-white);
}

.rf-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.rf-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--rf-white);
  transition: transform 0.3s, opacity 0.3s;
}

.rf-hamburger.rf-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.rf-hamburger.rf-active span:nth-child(2) {
  opacity: 0;
}

.rf-hamburger.rf-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */
.rf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.rf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,10,46,0.75) 0%, rgba(26,10,46,0.5) 100%);
}

.rf-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.rf-hero-content h1 {
  font-size: 4rem;
  color: var(--rf-white);
  margin-bottom: 16px;
}

.rf-hero-tagline {
  font-size: 1.35rem;
  color: var(--rf-gray-light);
  margin-bottom: 36px;
}

.rf-hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Sections ---- */
.rf-section {
  padding: 100px 0;
}

.rf-section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 12px;
}

.rf-section-subtitle {
  text-align: center;
  color: var(--rf-gray);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

/* ---- Menu ---- */
.rf-menu-section {
  background: var(--rf-light);
}

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

.rf-menu-card {
  background: var(--rf-white);
  border-radius: var(--rf-radius);
  overflow: hidden;
  box-shadow: var(--rf-shadow);
  transition: transform 0.3s;
}

.rf-menu-card:hover {
  transform: translateY(-6px);
}

.rf-menu-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.rf-menu-card-body {
  padding: 20px;
}

.rf-menu-tag {
  display: inline-block;
  background: var(--rf-accent);
  color: var(--rf-white);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.rf-menu-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.rf-menu-card-body p {
  color: var(--rf-gray);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.rf-menu-price {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--rf-accent);
}

/* ---- Catering ---- */
.rf-catering-section {
  background: var(--rf-white);
}

.rf-catering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.rf-catering-card {
  background: var(--rf-light);
  border-radius: var(--rf-radius);
  padding: 36px 28px;
  text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.rf-catering-card:hover {
  border-color: var(--rf-accent);
}

.rf-catering-featured {
  border-color: var(--rf-accent);
  background: var(--rf-white);
  box-shadow: var(--rf-shadow);
}

.rf-catering-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.rf-catering-count {
  color: var(--rf-accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.rf-catering-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.rf-catering-card li {
  padding: 6px 0;
  color: var(--rf-gray);
  font-size: 0.95rem;
}

.rf-catering-price {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--rf-dark);
}

.rf-catering-cta {
  text-align: center;
}

/* ---- About ---- */
.rf-about-section {
  background: var(--rf-light);
}

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

.rf-about-img img {
  border-radius: var(--rf-radius);
  width: 100%;
  box-shadow: var(--rf-shadow);
}

.rf-about-text .rf-section-title {
  text-align: left;
  margin-bottom: 20px;
}

.rf-about-text p {
  color: var(--rf-gray);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* ---- Locations ---- */
.rf-locations-section {
  background: var(--rf-white);
}

.rf-schedule {
  max-width: 700px;
  margin: 0 auto;
}

.rf-schedule-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--rf-gray-light);
  font-size: 0.95rem;
}

.rf-schedule-day {
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
}

.rf-schedule-location {
  color: var(--rf-accent);
  font-weight: 500;
}

.rf-schedule-time {
  text-align: right;
  color: var(--rf-gray);
}

/* ---- Gallery ---- */
.rf-gallery-section {
  background: var(--rf-light);
}

.rf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rf-gallery-item {
  border-radius: var(--rf-radius);
  overflow: hidden;
}

.rf-gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s;
}

.rf-gallery-item:hover img {
  transform: scale(1.05);
}

/* ---- Reviews ---- */
.rf-reviews-section {
  background: var(--rf-white);
}

.rf-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.rf-review-card {
  background: var(--rf-light);
  border-radius: var(--rf-radius);
  padding: 32px;
  text-align: center;
}

.rf-review-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.rf-review-card p {
  font-style: italic;
  color: var(--rf-gray);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.rf-review-author {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---- FAQ ---- */
.rf-faq-section {
  background: var(--rf-light);
}

.rf-faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.rf-faq-item {
  border-bottom: 1px solid var(--rf-gray-light);
}

.rf-faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--rf-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.rf-faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--rf-accent);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.rf-faq-item.rf-faq-open .rf-faq-question::after {
  content: '\2212';
}

.rf-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.rf-faq-item.rf-faq-open .rf-faq-answer {
  max-height: 300px;
}

.rf-faq-answer p {
  padding-bottom: 20px;
  color: var(--rf-gray);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---- Footer ---- */
.rf-footer {
  background: var(--rf-dark);
  color: var(--rf-gray-light);
  padding: 60px 0 30px;
}

.rf-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.rf-footer-col h3 {
  font-size: 1.3rem;
  color: var(--rf-white);
  margin-bottom: 12px;
}

.rf-footer-col h4 {
  font-size: 1rem;
  color: var(--rf-white);
  margin-bottom: 12px;
}

.rf-footer-col p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.rf-social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rf-social-links a {
  color: var(--rf-gray-light);
  font-size: 0.9rem;
}

.rf-social-links a:hover {
  color: var(--rf-accent);
}

.rf-footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .rf-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rf-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rf-hamburger {
    display: flex;
  }

  .rf-nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--rf-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 999;
  }

  .rf-nav-links.rf-open {
    transform: translateX(0);
  }

  .rf-nav-links a {
    font-size: 1.3rem;
  }

  .rf-btn-nav {
    display: none;
  }

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

  .rf-hero-tagline {
    font-size: 1.1rem;
  }

  .rf-section {
    padding: 70px 0;
  }

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

  .rf-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rf-catering-grid {
    grid-template-columns: 1fr;
  }

  .rf-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rf-reviews-grid {
    grid-template-columns: 1fr;
  }

  .rf-schedule-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .rf-schedule-time {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .rf-menu-grid {
    grid-template-columns: 1fr;
  }

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

  .rf-gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .rf-demo-banner {
    flex-direction: column;
    gap: 4px;
    font-size: 0.78rem;
  }
}
