:root {
  --primary: #ff6b35;
  --primary-dark: #e85a2a;
  --secondary: #4a6fa5;
  --light: #f9f9f9;
  --dark: #333333;
  --success: #4caf50;
  --danger: #f44336;
  --warning: #ff9800;
  --gray: #f0f0f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--dark);
}

/* Header styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 24px;
  color: var(--primary);
}

.logo i {
  font-size: 28px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}

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

.auth-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 8px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
}
.btn-outline a {
  text-decoration: none;
  color: #333333;
}
.btn-link:hover {
  background: var(--primary);
  color: white;
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}

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

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

.mobile-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/hero.jpg") center/cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.search-bar {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-bar input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  outline: none;
  font-size: 16px;
}

.search-bar button {
  padding: 15px 25px;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.search-bar button:hover {
  background: var(--primary-dark);
}

/* Features section */
.features {
  padding: 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* How it works section */
.how-it-works {
  padding: 60px 5%;
  background-color: var(--gray);
}

.steps-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.steps-container::before {
  content: "";
  position: absolute;
  width: 75%;
  height: 3px;
  background: var(--primary);
  top: 70px;
  left: 12.5%;
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 22%;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.step p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Popular restaurants section */
.restaurants {
  padding: 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.restaurant-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.restaurant-card:hover {
  transform: translateY(-5px);
}

.restaurant-image {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.restaurant-info {
  padding: 20px;
}

.restaurant-name a {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
  text-decoration: none;
  color: black;
}

.restaurant-cuisine {
  color: #666;
  margin-bottom: 10px;
  font-size: 14px;
}

.restaurant-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.restaurant-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.restaurant-rating i {
  color: var(--warning);
}

.delivery-info {
  color: #666;
  font-size: 14px;
}

/* Testimonials section */
.testimonials {
  padding: 60px 5%;
  background-color: var(--gray);
  text-align: center;
}

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

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
  color: #555;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.author-info p {
  color: #666;
  font-size: 14px;
}

/* Download app section */
.download-app {
  padding: 60px 5%;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  color: white;
}

.download-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.download-content {
  flex: 1;
}

.download-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.download-content p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.6;
}

.app-buttons {
  display: flex;
  gap: 20px;
}

.app-button {
  background: white;
  color: var(--primary);
  padding: 12px 25px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.app-button:hover {
  background: var(--light);
  transform: translateY(-3px);
}

.app-button i {
  font-size: 24px;
}

.app-image {
  flex: 1;
  text-align: center;
}

.app-image img {
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 60px 5% 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

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

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bbb;
  font-size: 14px;
}

/* Responsive design */
@media (max-width: 992px) {
  .steps-container::before {
    display: none;
  }

  .steps-container {
    flex-direction: column;
    gap: 30px;
  }

  .step {
    width: 100%;
  }

  .download-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .auth-buttons {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero h1 {
    font-size: 36px;
  }

  .search-bar {
    flex-direction: column;
    border-radius: 10px;
  }

  .search-bar button {
    border-radius: 0;
  }
}
