/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
body {
  background-color: #f6f4f1;
  color: #333;
  line-height: 1.7;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: #7a2d1d;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 1.4rem;
}

.navbar nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 16px;
  padding: 10px 18px;
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Hover effect */
.navbar nav a:hover {
  background-color: whitesmoke;
  color: #7a2d1d;
}
/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  background-image: url("hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Hero content */
.hero-content {
  position: relative;
  max-width: 800px;
  padding: 20px;
  color: #ffffff;
}

.hero-content h2 {
  font-size: 2.6rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f2f2f2;
}

.btn {
  background: #f0c27b;
  color: #2b1b16;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  display: inline-block;
}


/* Sections */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: #7a2d1d;
  font-size: 1.8rem;
}

/* Recipe Section spacing */
#recipes {
  padding: 90px 0;
}

/* Recipe Grid */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* Recipe Card */
.recipe-card {
  min-height: 320px;
  background: #ffffff;
  padding: 0 30px 40px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}
.recipe-image {
  width: calc(100% + 60px);
  height: 180px;
  object-fit: cover;
  margin-left: -30px;
  margin-right: -30px;
  margin-bottom: 25px;
}


.recipe-card h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  color: #7a2d1d;
}

.recipe-card p {
  font-size: 1rem;
  max-width: 260px;
  margin: 0 auto 25px;
  color: #555;
}

.card-link {
  display: inline-block;
  margin-top: auto;

  padding: 12px 28px;
  background: #7a2d1d;
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;

  transition: background 0.3s ease, transform 0.2s ease;
}

.card-link:hover {
  background: #5e2115;
  transform: translateY(-2px);
}


/* About Section */
.about {
  padding: 100px 0;
  background: #ffffff;
  text-align: center;
}

.about .section-title {
  margin-bottom: 30px;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
}
/* Contact Section */
.contact {
  padding: 100px 0;
  background: #f1ede7;
  text-align: center;
}

.contact p {
  font-size: 1.05rem;
  margin-bottom: 18px;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #7a2d1d;
}

/* Submit Button */
.contact-form button {
  margin-top: 10px;
  align-self: center;

  padding: 12px 34px;
  background: #7a2d1d;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: #5e2115;
  transform: translateY(-2px);
}


/* Footer */
.footer {
  background: #2b1b16;
  color: #ccc;
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
}

/* Recipe Hero */
.recipe-hero {
  background: #7a2d1d;
  color: #fff;
  text-align: center;
  padding: 32px 20px;
}

.recipe-hero h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

/* Recipe Detail Layout */
.recipe-detail {
  padding: 90px 0;
  background: #f6f4f1;
}

.recipe-box {
  background: #ffffff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.recipe-detail-image {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* Recipe Text */
.recipe-text h3 {
  margin-bottom: 15px;
  color: #7a2d1d;
}

.recipe-text ul,
.recipe-text ol {
  margin-bottom: 30px;
  padding-left: 20px;
}


/* =========================
   MOBILE & TABLET RESPONSIVE
   ========================= */
@media (max-width: 768px) {

  /* Navigation */
  .nav-content {
    flex-direction: column;
    gap: 12px;
  }

  .navbar nav a {
    margin-left: 0;
    padding: 10px 14px;
  }
 .hamburger {
    display: flex;
	margin-left: auto;/* Position hamburger top-right */
  }

/* Hamburger animation */
.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(5px, -5px);
}

.hamburger span {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

  .nav-menu {
    position: absolute;
    top: 100%;
    background: #7a2d1d;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
	width: 65vw;       /* NEW width */
    right: 0;          /* flush to the right */
    padding: 18px;     /* keep comfortable spacing */
  }

  .nav-menu a {
    margin: 0;
    padding: 10px 16px;
    text-align: center;
  }

  .nav-menu.active {
    display: flex;
  }
  /* Hero Section */
  .hero {
    min-height: 65vh;
    padding: 60px 20px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  /* Section spacing */
  .section {
    padding: 60px 0;
  }

  /* Recipe Cards */
  .recipe-grid {
    gap: 30px;
  }

  .recipe-card {
    min-height: auto;
    padding: 0 22px 32px;
  }

  .recipe-image {
    height: 160px;
    width: calc(100% + 44px);
    margin-left: -22px;
    margin-right: -22px;
  }

  /* About & Contact text */
  .about p,
  .contact p {
    font-size: 1rem;
    padding: 0 10px;
  }

  /* Contact Form */
  .contact-form {
    width: 100%;
    padding: 0 10px;
  }

  /* Recipe Hero (individual pages) */
  .recipe-hero {
    padding: 32px 20px;
  }

  .recipe-hero h2 {
    font-size: 2rem;
  }

  /* Recipe Detail Page */
  .recipe-detail {
    padding: 60px 0;
  }

  .recipe-box {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 28px;
  }

  .recipe-detail-image {
    border-radius: 14px;
  }

}
