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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

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

/* Navigation */
.navbar {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: bold;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 1000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

.hero-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: white;
  color: #14b8a6;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Info Section */
.info-section {
  padding: 4rem 2rem;
  background-color: white;
}

.info-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #14b8a6;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
  background-color: #e5e7eb;
  transition: transform 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-card .icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.info-card p {
  color: #666;
}

/* Carousel dots - hidden by default, shown on mobile */
.carousel-dots {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #6b7280;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.dot:hover {
  background-color: #4b5563;
  transform: scale(1.2);
}

.dot.active {
  background-color: #14b8a6;
  transform: scale(1.2);
}

/* Featured Trucks Section */
.featured-trucks {
  padding: 4rem 2rem;
  background-color: #f5f5f5;
}

.featured-trucks h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #14b8a6;
}

.truck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.truck-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.truck-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.truck-image {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 1rem;
}

.truck-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.cuisine {
  color: #14b8a6;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

.location {
  color: #666;
  margin-bottom: 1rem;
}

.menu-preview {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: #e5e7eb;
  border-radius: 8px;
}

.menu-preview h4 {
  color: #333;
  margin-bottom: 0.5rem;
}

.menu-preview ul {
  list-style: none;
  padding-left: 0;
}

.menu-preview li {
  padding: 0.3rem 0;
  color: #555;
}

.view-menu {
  width: 100%;
  background-color: #14b8a6;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.view-menu:hover {
  background-color: #0d9488;
}

/* Contact Section */
.contact-section {
  padding: 4rem 2rem;
  background-color: white;
}

.contact-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #14b8a6;
}

.contact-section > .container > p {
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
  font-size: 1.1rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #14b8a6;
}

.contact-form button {
  background-color: #14b8a6;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #0d9488;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 2rem;
}

footer p {
  margin: 0.5rem 0;
}

/* Find Truck Section */
.find-truck-section {
  padding: 4rem 2rem;
  background-color: white;
  min-height: calc(100vh - 200px);
}

.find-truck-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #14b8a6;
}

.search-container {
  max-width: 600px;
  margin: 3rem auto;
}

.search-box {
  display: flex;
  gap: 1rem;
  background-color: white;
  padding: 1rem;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.search-box input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #ddd;
  border-radius: 30px;
  font-size: 1.1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.search-box input:focus {
  outline: none;
  border-color: #14b8a6;
}

.search-button {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

.results-container {
  margin-top: 3rem;
}

.results-container h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}

.no-trucks-message {
  text-align: center;
  margin-top: 3rem;
  padding: 3rem 2rem;
  background-color: #e5e7eb;
  border-radius: 15px;
}

.no-trucks-message p {
  font-size: 1.2rem;
  color: #666;
}

.zip-info {
  background-color: #d1d5db;
  color: #374151;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.truck-hours {
  margin: 1rem 0;
  padding: 0.8rem;
  background-color: #14b8a6;
  border-radius: 5px;
  font-size: 0.95rem;
  color: white;
  display: inline-block;
  font-weight: 500;
}

/* Submit Truck Section */
.submit-truck-section {
  padding: 4rem 2rem;
  background-color: #f5f5f5;
  min-height: calc(100vh - 200px);
}

.submit-truck-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #14b8a6;
}

.section-description {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  font-size: 1.1rem;
}

.truck-submission-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #e5e7eb;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group select {
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input[type="file"] {
  width: 100%;
  padding: 0.7rem;
  border: 2px dashed #14b8a6;
  border-radius: 8px;
  background-color: #d1d5db;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-group input[type="file"]:hover {
  background-color: #b0b5bc;
}

.help-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #666;
  font-style: italic;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: white;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}

.radio-option:hover {
  border-color: #14b8a6;
  background-color: #d1d5db;
}

.radio-option input[type="radio"] {
  margin-right: 0.8rem;
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: #14b8a6;
}

.radio-option span {
  font-size: 1rem;
  color: #333;
}

.submit-button {
  width: 100%;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: white;
  padding: 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 1rem;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.submit-button:active {
  transform: translateY(0);
}

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

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

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

  .hero-content p {
    font-size: 1.1rem;
  }

  .truck-grid,
  .info-grid {
    grid-template-columns: 1fr;
    position: relative;
    min-height: 280px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  /* Carousel mode on mobile */
  .info-grid .info-card {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    width: calc(100% - 40px);
    max-width: 400px;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
  }

  .info-grid .info-card.active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
  }

  .carousel-dots {
    display: flex;
  }

  .truck-submission-form {
    padding: 2rem 1.5rem;
  }

  .submit-truck-section {
    padding: 2rem 1rem;
  }

  .search-box {
    flex-direction: column;
    padding: 1.5rem;
  }

  .search-button {
    width: 100%;
    padding: 1rem;
  }

  .find-truck-section {
    padding: 2rem 1rem;
  }
}

/* Review Modal Styles */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  margin: auto;
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.close-modal {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
  color: #000;
}

/* Star Rating Styles */
.star-rating {
  display: flex;
  gap: 0.5rem;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.star {
  cursor: pointer;
  color: #ddd;
  transition: color 0.2s;
}

.star.selected,
.star:hover {
  color: #fbbf24;
}

.star.selected ~ .star {
  color: #ddd;
}

/* Rating Display in Cards */
.rating-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.rating-stars {
  color: #fbbf24;
  font-size: 1.1rem;
}

.rating-text {
  color: #666;
}

.review-button {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0.5rem auto 0;
  display: block;
}

.review-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}
