/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f8fafc;
  color: #1f2937;
}

/* Navbar */
.custom-navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 14px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ff6b35 !important;
}

/* Hero */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url('https://images.unsplash.com/photo-1498837167922-ddd27525d352?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat;
  color: #fff;
  padding: 120px 0 80px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  /* animation: fadeUp 1s ease; */
}

.hero-text {
  max-width: 650px;
  margin: 20px auto 35px;
  font-size: 1.1rem;
  opacity: 0.95;
  /* animation: fadeUp 1.2s ease; */
}

/* Search */
.search-wrapper {
  max-width: 700px;
  /* animation: fadeUp 1.4s ease; */
}

.search-wrapper .input-group {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 60px;
  padding: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.search-input {
  border: none !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  padding: 16px 22px;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.search-btn {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #ff914d);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.35);
  transition: 0.3s;
}

.search-btn:hover {
  transform: scale(1.08);
  color: #fff;
}

/* Categories */
.categories {
  background: #fff;
}

.category {
  border: none;
  padding: 12px 22px;
  margin: 6px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 500;
  transition: 0.3s;
}

.category:hover,
.category.active {
  background: linear-gradient(135deg, #ff6b35, #ff914d);
  color: #fff;
  transform: translateY(-2px);
}

/* Recipe Cards */
.recipe-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  transition: all 0.35s ease;
  height: 100%;
}

.recipe-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
}

.recipe-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  padding: 24px;
}

.recipe-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff3ee;
  color: #ff6b35;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.card-content h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-content p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 70px 0 30px;
  margin-top: 80px;
}
.footer a {
  color: #cbd5e1;
}
.footer a:hover {
  color: #ff914d;
}
.footer-logo {
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.social-icons {
  margin: 25px 0;
}

.social-icons a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: linear-gradient(135deg, #ff6b35, #ff914d);
  transform: translateY(-4px);
  color: #fff;
}

.copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .search-wrapper .input-group {
    border-radius: 24px;
  }

  .search-btn {
    width: 52px;
    height: 52px;
  }

  .recipe-card img {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .category {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .card-content {
    padding: 20px;
  }
}