:root {
  --bg: #f7fbfc;
  --card: #ffffff;
  --accent: #ff7a3d;
  --muted: #000000;
  --glass: rgba(255, 255, 255, 0.6);
  --radius: 12px;
  --max-width: 1100px;
  --shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
  --gap: 16px;
  --container-pad: 16px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(255, 255, 200, 0.329), rgba(239, 238, 238, 0.7)),
    url("assets/food.jpg") no-repeat center center;
  background-size: cover;
  z-index: -1;
  filter: contrast(100%) blur(0.5px) brightness(90%);
  
}


/* body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, #86e9fb 0%, #86e9fb 100%);
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
} */

/* Utility */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 12px;
  background: transparent;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand h1 {
  font-size: 25px;
  margin: 0;
  font-weight: 550;
}
.brand .tagline {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Navbar Container */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.85); /* subtle glass effect */
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Logo */
.navbar .logo {
  display: flex;
  align-items: center;
  font-family: 'Georgia', serif;
  font-size: 22px;
  font-weight: bold;
  color: #000;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.navbar .logo:hover {
  transform: scale(1.08);
  color: #ff7a3d;
}

/* Logo icon (like your cherries) */
.navbar .logo img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.navbar .logo:hover img {
  transform: rotate(-10deg) scale(1.1);
}

/* Nav links */
.nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-family: 'Georgia', serif;
  font-size: 16px;
  font-weight: 550;
  color: rgba(0,0,0,0.85);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.5s ease;
  position: relative;
  cursor: pointer;
}

/* Hover effect */
.nav-list a:hover {
  background: linear-gradient(135deg, #ff7a3d);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(255, 122, 61, 0.4);
}

/* Active link */
.nav-list a.active {
  background: linear-gradient(135deg, #ff7a3d, #ff3d9a, #6c63ff);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 122, 61, 0.5);
}

/* Optional: small underline animation on hover */
.nav-list a::after {
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: width 0.6s ease;
}

.nav-list a:hover::after {
  width: 60%;
}


.hamburger {
  display: none;
  background: none;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}

/* Hero / Search */
.hero {
  padding: 18px 0;
  text-align: center;
}
.search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* Input wrapper with search icon */
.input-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px;
  display: flex; /* input + button inline */
  align-items: center;
}

.input-wrapper input {
  flex: 1;
  padding: 12px 40px 12px 14px;
  border-radius: 10px 0 0 10px;
  border: 2px solid transparent;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: all 0.3s ease-in-out;
  outline: none;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

/* Hover + Focus */
.input-wrapper input:hover,
.input-wrapper input:focus {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 122, 61, 0.8);
  transform: scale(1.02);
  font-size: 17px;
  border: 2px solid #ff7a3d;
}

/* Search Icon inside input */
.input-wrapper .input-icon {
  position: absolute;
  right: 110px; /* adjusted so it doesn’t overlap with button */
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.8;
  filter: drop-shadow(0 0 4px #ff7a3d);
  transition: all 0.3s ease-in-out;
}

/* Keep icon glowing on hover/focus */
.input-wrapper input:hover ~ .input-icon,
.input-wrapper input:focus ~ .input-icon {
  opacity: 1;
  filter: drop-shadow(0 0 8px #ff7a3d);
  transform: translateY(-50%) scale(1.1);
}

/* Search button */
.input-wrapper button {
  padding: 12px 20px;
  border: none;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(135deg, #ff7a3d, #ff3d9a, #6c63ff);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

/* Button hover */
.input-wrapper button:hover {
  background: linear-gradient(135deg, #6c63ff, #ff3d9a, #ff7a3d);
  box-shadow: 0 0 15px rgba(255, 122, 61, 0.7);
  transform: scale(1.05);
}

.chip {
  background: linear-gradient(135deg, #ff7a3d, #ff3d9a, #6c63ff);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.4);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  transition: all 0.35s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Hover Glow + Pulse Effect */
.chip:hover {
  background: linear-gradient(135deg, #6c63ff, #ff3d9a, #ff7a3d);
  box-shadow: 0 0 20px rgba(255, 61, 154, 0.7);
  transform: translateY(-2px) scale(1.08);
}

/* Ripple Animation */
.chip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.5s ease;
}

.chip:active::after {
  width: 200%;
  height: 200%;
  opacity: 0;
  transition: 0s;
}.btn {
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Primary (Add Button Style) */
.btn.primary {
  background: linear-gradient(135deg, #ff7a3d, #ff3d9a, #6c63ff);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 122, 61, 0.4);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #6c63ff, #ff3d9a, #ff7a3d);
  box-shadow: 0 6px 18px rgba(255, 122, 61, 0.6);
  transform: translateY(-2px) scale(1.05);
}

/* Subtle variant (if you use it elsewhere) */
.btn.subtle {
    background: linear-gradient(135deg, #ff7a3d) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(255, 122, 61, 0.4);
  z-index: 2;
}

.btn.subtle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ff7a3d;
  transform: scale(1.05);
}
/* Results */
.results {
  margin-top: 20px;
  padding-bottom: 40px;
}
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}
.status {
  font-size: 14px;
  color: var(--muted);
}
.recipes-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(1, 1fr);
}
.recipe-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--card);
  padding: 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.recipe-img {
  width: 84px;
  height: 84px;
  border-radius: 10px;
  object-fit: cover;
}
.recipe-title {
  margin: 0;
  font-size: 16px;
}
.recipe-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  border-radius: 15px;
}
.fav-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0px 13px;
  border-radius: 12px;
  cursor: pointer;
}

/* FAQ */
.faq {
  margin-top: 28px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #aaeaf566, #d8d8d8);
}
.faq h2 {
  text-align: center;
  margin-top: 0;
}
.faq-item {
  margin-top: 12px;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 12px 8px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.faq-q:hover {
  transform: scale(1.0);   /* slight zoom effect */
  color: #ff7a3d; 
  font-size: 1.2rem;          /* optional: change text color */
}
.faq-a {
  padding: 8px 12px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.5);
  z-index: 120;
}
.modal[aria-hidden="false"] {
  display: flex;
}
.modal-panel {
  width: min(920px, 95%);
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
}
.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: none;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}
.modal-panel{
  height: 100%;
  overflow: auto;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
}

/* Larger screens */
@media (min-width: 700px) {
  .search-form {
    flex-direction: row;
  }
  .search-form .input-wrapper {
    flex: 1;
  }
  .nav-list {
    gap: 20px;
  }
  .hamburger {
    display: none;
  }
  .recipes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .recipes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hamburger {
    display: none;
  }
}

/* Small screens show hamburger */
@media (max-width: 699px) {
  .nav-list {
    display: none;
  }
  .hamburger {
    display: block;
  }
}



/* =========================
   STEP 1 — Landing polish
   Append this block to the end of your existing style.css
   ========================= */

/* helper animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeUp 560ms ease both; }

/* Hero — make landing rich but keep markup identical */
.hero.container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 56px 18px;
  margin: 18px auto;
  border-radius: 28px;
  max-width: 1100px;
  background: linear-gradient(120deg,  rgb(214 242 238 / 55%) 0%, rgb(135 209 226 / 60%) 50%);
  box-shadow: 0 18px 60px rgba(16,24,40,0.06);
  overflow: visible;
}

/* decorative soft blob (pure CSS) */
.hero.container::before{
  content: "";
  position: absolute;
  right: -6%;
  top: -18%;
  width: 44%;
  height: 150%;
  background: radial-gradient(circle at 30% 20%, rgba(255,182,120,0.18), transparent 28%),
              radial-gradient(circle at 70% 80%, rgba(255,120,80,0.06), transparent 18%);
  filter: blur(28px);
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
}

/* keep content above decorative blob */
.hero.container * { position: relative; z-index: 2; }

/* Hero text (if you are using a p.hero-desc, h2 etc) */
.hero .hero-desc {
  max-width: 820px;
  text-align: center;
  color: #334155;
  font-size: 1.05rem;
  margin: 0 auto;
  line-height: 1.45;
  opacity: 0.98;
}

/* Search form — pill glass look, centered */
.search-form {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  max-width: 920px;
  padding: 10px;
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(16,24,40,0.06);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.6);
}

/* Input wrapper & search icon */
.input-wrapper {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 780px;
}
.input-wrapper input {
  width: 100%;
  padding: 14px 46px 14px 16px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  outline: none;
  background: transparent;
  color: #0f172a;
}
.input-wrapper .input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: 0.7;
  pointer-events: none;
}

/* make the search button visually strong */
.btn.primary {
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7a3d, #ff6020);
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 20px rgba(255,112,64,0.18);
  transition: transform .14s ease, box-shadow .14s ease;
}
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(255,112,64,0.20); }

/* small screens: stack gracefully */
@media (max-width:700px) {
  .search-form { flex-direction: column; padding: 14px; gap: 10px; }
  .btn.primary { width: 100%; }
}

/* Tidy recipe cards: smoother lift + gentle shadow */
.recipe-card {
  transition: transform .18s ease, box-shadow .18s ease;
}
.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(16,24,40,0.08);
}

/* slightly larger recipe image & rounded corners */
.recipe-img {
  border-radius: 12px;
  height: 180px;
  object-fit: cover;
}

/* subtle meta style */
.recipe-meta { color: #64748b; font-size: .92rem; }

/* subtle focus styles for accessibility */
.input-wrapper input:focus {
  box-shadow: 0 8px 30px rgba(99,102,241,0.08);
  border-radius: 999px;
}

/* fade-in utility usage example (hero elements) */
.hero .hero-heading, .hero .hero-desc, .search-form { animation: fadeUp 560ms ease both; }

/* end of STEP 1 overrides */


.contra {
      text-align: center;
      margin-top: 50px;
      padding: 20px;
      font-family: 'Georgia', serif;
    }

    .contra h1 {
      font-size: 68px;
      font-weight: bold;
      margin-bottom: 15px;
    }

    .contra p {
      font-size: 16px;
      line-height: 1.5;
      max-width: 700px;
      margin: 0 auto 30px;
    }

    .contra input[type="text"] {
      padding: 12px 15px;
      width: 300px;
      border-radius: 6px;
      border: none;
      outline: none;
      font-size: 15px;
      margin-bottom: 20px;
      background: #f1f1f5;
    }
    .main-nav  .navlist li{
      nav ul li a:hover {
      color: #ff3333;
    }
  }

.btn-outline .view-btn{
  border-radius: 11px;
    padding: 0px 9px;
)
 