/* =========================================
   Sweet Wheels — Food Truck Template
   Color Palette:
     Dark:   #2D1B2E
     Light:  #FFF0F5
     Accent: #EC4899 (pink)
   Fonts: Pacifico (headings), Quicksand (body)
   ========================================= */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  color: #2D1B2E;
  background-color: #FFF0F5;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* --- Utility --- */
.sw-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sw-container-narrow {
  max-width: 800px;
}

.sw-section {
  padding: 100px 0;
}

.sw-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.sw-section-title {
  font-family: 'Pacifico', cursive;
  font-size: 2.5rem;
  color: #2D1B2E;
  margin-bottom: 12px;
}

.sw-section-subtitle {
  font-size: 1.125rem;
  color: #6b5570;
  max-width: 560px;
  margin: 0 auto;
}

.sw-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.sw-btn-primary {
  background-color: #EC4899;
  color: #fff;
  border-color: #EC4899;
}

.sw-btn-primary:hover {
  background-color: #d63a84;
  border-color: #d63a84;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.sw-btn-secondary {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.sw-btn-secondary:hover {
  background-color: #fff;
  color: #2D1B2E;
  transform: translateY(-2px);
}

/* --- Reveal Animations --- */
.sw-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Demo Banner --- */
.sw-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background-color: #2D1B2E;
  color: #FFF0F5;
  font-size: 0.875rem;
  padding: 10px 0;
}

.sw-demo-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sw-demo-banner-link {
  color: #EC4899;
  font-weight: 700;
  white-space: nowrap;
}

.sw-demo-banner-link:hover {
  color: #f472b6;
}

/* --- Navigation --- */
.sw-nav {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.sw-nav.sw-scrolled {
  background-color: rgba(45, 27, 46, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.sw-nav-logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.75rem;
  color: #fff;
}

.sw-nav-logo:hover {
  color: #EC4899;
}

.sw-nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.sw-nav-links {
  display: flex;
  gap: 24px;
}

.sw-nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.9375rem;
  position: relative;
}

.sw-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #EC4899;
  transition: width 0.3s ease;
}

.sw-nav-links a:hover {
  color: #fff;
}

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

.sw-nav-cta {
  background-color: #EC4899;
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.sw-nav-cta:hover {
  background-color: #d63a84;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

/* Hamburger */
.sw-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.sw-hamburger-line {
  width: 26px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.sw-hamburger.sw-active .sw-hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.sw-hamburger.sw-active .sw-hamburger-line:nth-child(2) {
  opacity: 0;
}

.sw-hamburger.sw-active .sw-hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero --- */
.sw-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
}

.sw-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sw-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 27, 46, 0.7) 0%,
    rgba(45, 27, 46, 0.85) 100%
  );
}

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

.sw-hero-title {
  font-family: 'Pacifico', cursive;
  font-size: 4.5rem;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sw-hero-tagline {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  font-weight: 500;
}

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

/* --- Menu Section --- */
.sw-menu-section {
  background-color: #fff;
}

.sw-menu-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.sw-filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid #e0d0e3;
  background: transparent;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: #6b5570;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sw-filter-btn:hover,
.sw-filter-btn.sw-filter-active {
  background-color: #EC4899;
  border-color: #EC4899;
  color: #fff;
}

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

.sw-menu-card {
  background-color: #FFF0F5;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sw-menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(45, 27, 46, 0.12);
}

.sw-menu-card.sw-hidden {
  display: none;
}

.sw-menu-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.sw-menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sw-menu-card:hover .sw-menu-card-img img {
  transform: scale(1.08);
}

.sw-menu-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #EC4899;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.sw-menu-card-body {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sw-menu-card-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #2D1B2E;
}

.sw-menu-card-price {
  font-weight: 700;
  font-size: 1.125rem;
  color: #EC4899;
  white-space: nowrap;
  margin-left: 12px;
}

/* --- Catering --- */
.sw-catering-section {
  background-color: #FFF0F5;
}

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

.sw-catering-img img {
  border-radius: 20px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.sw-catering-content .sw-section-title {
  text-align: left;
  margin-bottom: 20px;
}

.sw-catering-text {
  margin-bottom: 24px;
  color: #4a3a4d;
  line-height: 1.8;
}

.sw-catering-features {
  margin-bottom: 32px;
}

.sw-catering-features li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: #4a3a4d;
}

.sw-catering-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #EC4899;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* --- About --- */
.sw-about-section {
  background-color: #fff;
}

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

.sw-about-content .sw-section-title {
  text-align: left;
  margin-bottom: 24px;
}

.sw-about-content p {
  margin-bottom: 16px;
  color: #4a3a4d;
  line-height: 1.8;
}

.sw-about-img img {
  border-radius: 20px;
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* --- Location & Hours --- */
.sw-locations-section {
  background-color: #2D1B2E;
}

.sw-locations-section .sw-section-title {
  color: #fff;
}

.sw-locations-section .sw-section-subtitle {
  color: rgba(255, 240, 245, 0.7);
}

.sw-schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.sw-schedule-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.sw-schedule-card:hover {
  background-color: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.3);
  transform: translateY(-4px);
}

.sw-schedule-day {
  font-family: 'Pacifico', cursive;
  font-size: 1rem;
  color: #EC4899;
  margin-bottom: 12px;
}

.sw-schedule-location {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.sw-schedule-time {
  color: rgba(255, 240, 245, 0.6);
  font-size: 0.8125rem;
}

/* --- Gallery --- */
.sw-gallery-section {
  background-color: #FFF0F5;
}

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

.sw-gallery-item {
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

.sw-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sw-gallery-item:hover img {
  transform: scale(1.1);
}

/* --- Reviews --- */
.sw-reviews-section {
  background-color: #fff;
}

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

.sw-review-card {
  background-color: #FFF0F5;
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sw-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(45, 27, 46, 0.1);
}

.sw-review-stars {
  color: #EC4899;
  font-size: 1.25rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.sw-review-text {
  color: #4a3a4d;
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.sw-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sw-review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #EC4899;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.sw-review-name {
  font-weight: 700;
  color: #2D1B2E;
  font-size: 0.9375rem;
}

.sw-review-role {
  color: #8a7a8d;
  font-size: 0.8125rem;
}

/* --- FAQ --- */
.sw-faq-section {
  background-color: #FFF0F5;
}

.sw-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sw-faq-item {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.sw-faq-item:hover {
  box-shadow: 0 4px 15px rgba(45, 27, 46, 0.08);
}

.sw-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #2D1B2E;
  text-align: left;
  gap: 16px;
}

.sw-faq-icon {
  font-size: 1.5rem;
  color: #EC4899;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.sw-faq-item.sw-faq-open .sw-faq-icon {
  transform: rotate(45deg);
}

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

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

.sw-faq-answer p {
  padding: 0 24px 20px;
  color: #4a3a4d;
  line-height: 1.8;
}

/* --- Footer --- */
.sw-footer {
  background-color: #2D1B2E;
  color: rgba(255, 240, 245, 0.8);
  padding: 80px 0 0;
}

.sw-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.sw-footer-logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 16px;
}

.sw-footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.sw-footer-social {
  display: flex;
  gap: 12px;
}

.sw-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.sw-social-link:hover {
  background-color: #EC4899;
  transform: translateY(-2px);
}

.sw-footer-heading {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
}

.sw-footer-list li {
  margin-bottom: 10px;
  font-size: 0.9375rem;
}

.sw-footer-list a:hover {
  color: #EC4899;
}

.sw-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 240, 245, 0.5);
}

/* =========================================
   Responsive Breakpoints
   ========================================= */

/* --- 1024px --- */
@media (max-width: 1024px) {
  .sw-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sw-schedule-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .sw-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .sw-hero-title {
    font-size: 3.5rem;
  }
}

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

  .sw-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background-color: #2D1B2E;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  .sw-nav-menu.sw-menu-open {
    right: 0;
  }

  .sw-nav-links {
    flex-direction: column;
    gap: 16px;
  }

  .sw-nav-links a {
    font-size: 1.125rem;
  }

  .sw-hero-title {
    font-size: 2.75rem;
  }

  .sw-hero-tagline {
    font-size: 1.25rem;
  }

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

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

  .sw-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .sw-catering-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sw-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sw-about-img {
    order: -1;
  }

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

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

  .sw-reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sw-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- 480px --- */
@media (max-width: 480px) {
  .sw-hero-title {
    font-size: 2.25rem;
  }

  .sw-hero-tagline {
    font-size: 1.05rem;
  }

  .sw-hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .sw-btn {
    padding: 12px 28px;
    font-size: 0.9375rem;
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  .sw-section {
    padding: 56px 0;
  }

  .sw-section-title {
    font-size: 1.75rem;
  }

  .sw-section-header {
    margin-bottom: 40px;
  }

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

  .sw-schedule-grid {
    grid-template-columns: 1fr;
  }

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

  .sw-gallery-item {
    height: 220px;
  }

  .sw-catering-img img,
  .sw-about-img img {
    height: 280px;
  }

  .sw-demo-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .sw-filter-btn {
    padding: 6px 14px;
    font-size: 0.8125rem;
  }
}