/* =================================================
   RESTAURANTS HERO
================================================= */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

.restaurants-hero {
  padding: 180px 8% 120px;

  background: linear-gradient(135deg, #fff8f2 0%, #ffffff 45%, #fff2e6 100%);

  position: relative;

  overflow: hidden;
}

.restaurants-hero::before {
  content: "";

  position: absolute;

  width: 420px;

  height: 420px;

  background: rgba(255, 107, 0, 0.08);

  border-radius: 50%;

  top: -180px;

  right: -120px;

  filter: blur(40px);
}

.restaurants-hero::after {
  content: "";

  position: absolute;

  width: 300px;

  height: 300px;

  background: rgba(255, 193, 7, 0.1);

  border-radius: 50%;

  bottom: -120px;

  left: -80px;

  filter: blur(35px);
}

.restaurants-hero-content {
  position: relative;

  z-index: 2;

  max-width: 820px;

  margin: auto;

  text-align: center;
}

.restaurants-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);

  color: #111827;

  line-height: 1.15;

  margin: 22px 0;
}

.restaurants-hero p {
  font-size: 1.1rem;

  line-height: 1.9;

  color: #666;

  max-width: 700px;

  margin: auto;
}

/* =================================================
   SEARCH & FILTER
================================================= */

.restaurant-search {
  padding: 80px 8%;

  background: #ffffff;
}

.search-wrapper {
  max-width: 1100px;

  margin: auto;

  background: #ffffff;

  padding: 20px;

  border-radius: 24px;

  display: grid;

  grid-template-columns: 2fr 1fr auto;

  gap: 20px;

  align-items: center;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);

  border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-wrapper input,
.search-wrapper select {
  width: 100%;

  padding: 18px 20px;

  border: 1px solid #e5e7eb;

  border-radius: 14px;

  outline: none;

  font-size: 1rem;

  background: #fafafa;

  transition: 0.3s;
}

.search-wrapper input:focus,
.search-wrapper select:focus {
  border-color: #ff6b00;

  background: #fff;

  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.12);
}

.search-wrapper .btn {
  padding: 18px 35px;

  white-space: nowrap;
}

/* =================================================
   RESTAURANT CARDS
================================================= */

.restaurants-list {
  padding: 10px 8%;

  background: #f9fafb;
}

.restaurants-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));

  gap: 35px;
}

.restaurant-card {
  background: #ffffff;

  border-radius: 24px;

  overflow: hidden;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);

  transition: 0.35s ease;

  border: 1px solid rgba(0, 0, 0, 0.05);
}

.restaurant-card:hover {
  transform: translateY(-12px);

  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

.restaurant-card img {
  width: 100%;

  /* height:240px; */

  height: 300px;

  display: block;

  object-fit: contain;
}

.restaurant-content {
  padding: 10px;
}

.restaurant-category {
  display: inline-block;

  background: rgba(255, 107, 0, 0.12);

  color: #ff6b00;

  padding: 8px 16px;

  border-radius: 30px;

  font-size: 0.9rem;

  font-weight: 600;

  margin-bottom: 18px;
}

.restaurant-content h3 {
  font-size: 1.6rem;

  color: #111827;

  margin-bottom: 15px;
}

.restaurant-content p {
  color: #666;

  line-height: 1.8;

  margin-bottom: 22px;
}

.restaurant-meta {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 25px;

  font-weight: 600;

  color: #444;
}

.restaurant-content .btn {
  width: 100%;

  text-align: center;
}

/* =================================================
   RESTAURANT CATEGORIES
================================================= */

.restaurant-categories {
  padding: 110px 8%;

  background: #ffffff;
}

.categories-grid {
  margin-top: 60px;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

  gap: 30px;
}

.category-card {
  background: #ffffff;

  border: 1px solid rgba(0, 0, 0, 0.08);

  border-radius: 22px;

  padding: 35px 25px;

  text-align: center;

  cursor: pointer;

  transition: 0.35s ease;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
  transform: translateY(-10px);

  background: #ff6b00;

  color: #ffffff;

  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.3);
}

.category-card {
  font-size: 3rem;
}

.category-card h3 {
  margin-top: 18px;

  font-size: 1.2rem;

  font-weight: 700;

  transition: 0.3s;
}

.category-card:hover h3 {
  color: #ffffff;
}

/* =================================================
   RESTAURANT BENEFITS
================================================= */

.restaurant-benefits {
  padding: 110px 8%;

  background: #f9fafb;
}

.benefits-grid {
  margin-top: 60px;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 35px;
}

.benefit-card {
  background: #ffffff;

  padding: 40px 30px;

  border-radius: 24px;

  text-align: center;

  border: 1px solid rgba(0, 0, 0, 0.06);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);

  transition: all 0.35s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 55px rgba(255, 107, 0, 0.15);

  border-color: #ff6b00;
}

.benefit-icon {
  width: 80px;

  height: 80px;

  margin: 0 auto 25px;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 2rem;

  border-radius: 50%;

  background: rgba(255, 107, 0, 0.1);

  transition: 0.35s ease;
}

.benefit-card:hover .benefit-icon {
  background: #ff6b00;

  color: #ffffff;

  transform: rotate(8deg) scale(1.08);
}

.benefit-card h3 {
  font-size: 1.4rem;

  color: #111827;

  margin-bottom: 15px;
}

.benefit-card p {
  color: #666;

  line-height: 1.8;

  font-size: 1rem;
}

/* =================================================
   RESTAURANTS CTA
================================================= */

.restaurants-cta {
  padding: 120px 8%;

  background: linear-gradient(135deg, #ff6b00 0%, #ff8c32 100%);

  position: relative;

  overflow: hidden;
}

.restaurants-cta::before {
  content: "";

  position: absolute;

  width: 380px;

  height: 380px;

  background: rgba(255, 255, 255, 0.08);

  border-radius: 50%;

  top: -180px;

  right: -120px;
}

.restaurants-cta::after {
  content: "";

  position: absolute;

  width: 260px;

  height: 260px;

  background: rgba(255, 255, 255, 0.06);

  border-radius: 50%;

  bottom: -120px;

  left: -80px;
}

.restaurants-cta-content {
  position: relative;

  z-index: 2;

  max-width: 850px;

  margin: auto;

  text-align: center;

  color: #ffffff;
}

.restaurants-cta .section-tag {
  background: rgba(255, 255, 255, 0.15);

  color: #ffffff;
}

.restaurants-cta h2 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);

  margin: 25px 0;

  line-height: 1.2;
}

.restaurants-cta p {
  max-width: 700px;

  margin: 0 auto 40px;

  font-size: 1.1rem;

  line-height: 1.9;

  color: rgba(255, 255, 255, 0.92);
}

.restaurants-cta-buttons {
  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;
}

.restaurants-cta-buttons .btn {
  min-width: 220px;
}

.restaurants-cta-buttons .btn-primary {
  background: #ffffff;

  color: #ff6b00;
}

.restaurants-cta-buttons .btn-primary:hover {
  background: #111827;

  color: #ffffff;
}

.restaurants-cta-buttons .btn-outline {
  border: 2px solid #ffffff;

  color: #ffffff;

  background: transparent;
}

.restaurants-cta-buttons .btn-outline:hover {
  background: #ffffff;

  color: #ff6b00;
}

/*==================================================
TABLET RESPONSIVE
==================================================*/

@media (max-width: 992px) {
  .restaurants-hero {
    padding: 150px 6% 90px;
  }

  .restaurants-hero h1 {
    font-size: 3rem;
  }

  .search-wrapper {
    grid-template-columns: 1fr;

    gap: 18px;

    padding: 25px;
  }

  .restaurants-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .restaurants-cta {
    padding: 90px 6%;
  }
}

/*==================================================
PHONE RESPONSIVE
==================================================*/

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  * {
    box-sizing: border-box;

    max-width: 100%;
  }

  .container {
    width: 100%;

    padding: 0 20px;

    margin: auto;
  }

  .restaurants-hero {
    padding: 120px 0 70px;

    text-align: center;
  }

  .restaurants-hero h1 {
    font-size: 2.3rem;

    line-height: 1.2;
  }

  .restaurants-hero p {
    font-size: 1rem;

    line-height: 1.8;
  }

  .search-wrapper {
    grid-template-columns: 1fr;

    padding: 20px;
  }

  .restaurants-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .restaurants-cta {
    padding: 70px 0;

    text-align: center;
  }

  .restaurants-cta h2 {
    font-size: 2rem;
  }

  .restaurants-cta-buttons {
    flex-direction: column;

    align-items: center;
  }

  .restaurants-cta-buttons .btn {
    width: 100%;

    max-width: 320px;
  }

  .restaurant-card,
  .category-card,
  .benefit-card {
    width: 100%;
  }
}
