
/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #F2CC88;
  color: #850001;
}

/* Sunset Navbar */
.navbar {
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sunset-nav {
  background: linear-gradient(90deg, #850001 0%, #FA7301 40%, #FFAE03 70%, #FFD56B 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  animation: slideDown 0.6s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #FFD700;
  letter-spacing: 1px;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: white;
  font-weight: 500;
  padding: 8px 12px;
  display: block;
  transition: color 0.3s ease, transform 0.2s ease;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: #FFD700;
  transform: scale(1.05);
}

/* Dropdown Menu */
.dropdown {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background-color: #E45811;
  border-radius: 6px;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  animation: dropdownFade 0.3s ease-in-out;
  z-index: 999;
}

.dropdown li a {
  padding: 10px 14px;
  color: white;
  font-weight: 500;
}

.dropdown li a:hover {
  background-color: #FA7301;
}

@keyframes dropdownFade {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-parent.active .dropdown {
  display: block;
}

/* Auth Buttons */
.auth-button {
  background-color: #FF0F80;
  padding: 8px 20px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.auth-button:hover {
  background-color: #E9190F;
  transform: translateY(-2px);
}


/* Hero Section */
.hero {
  background: linear-gradient(to right, #FA7301, #FFAE03);
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeUp 1s ease;
}

.hero-image {
  max-width: 260px;
  border-radius: 50%;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-button {
  background-color: #FF0F80;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #E9190F;
  transform: translateY(-2px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section with Background Image */
.hero {
  position: relative;
  background-image: url("assets/hero-background.jpeg");
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay for contrast */
  padding: 80px 20px;
  width: 100%;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  animation: fadeUp 1s ease;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-button {
  background-color: #FF0F80;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #E9190F;
  transform: translateY(-2px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Impact Section */
.impact-split {
  background-color: #FFF4D2;
  padding: 100px 20px;
}

.impact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 80px;
  gap: 30px;
}

.impact-text {
  flex: 1;
  min-width: 280px;
  padding: 20px;
}

.impact-text h3 {
  font-size: 2rem;
  font-weight: bold;
  color: #850001;
  margin-bottom: 12px;
}

.impact-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #3A1900;
}

.impact-image {
  flex: 1;
  min-width: 280px;
  height: 260px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Custom Backgrounds */
.impact-1 {
  background-image: url('assets/impact-1.jpeg');
}
.impact-2 {
  background-image: url('assets/impact-2.jpeg');
}
.impact-3 {
  background-image: url('assets/impact-3.jpeg');
}

/* Alternating layout (reverse even rows) */
.impact-row:nth-child(even) {
  flex-direction: row-reverse;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .impact-row {
    flex-direction: column;
  }
}

/* Weekly Recipes Section */
.weekly-recipes {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  background-image: url('assets/recipes-section-bg.jpeg'); /* shared section background */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #a2893a;
  background-blend-mode: overlay;
  color: white;
  z-index: 0;
}

.weekly-recipes h2 {
  font-size: 2.5rem;
  color: #fffef5;
  margin-bottom: 60px;
}

/* Card base with image background */
.recipe-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Individual card backgrounds */
.card-jollof {
  background-image: url('assets/recipe-jollof.jpeg');
}

.card-jerk {
  background-image: url('assets/recipe-jerkchicken.jpg');
}

.card-ramen {
  background-image: url('assets/recipe-ramen.jpg');
}

.card-bunny {
  background-image: url('assets/recipe-bunnychow.jpg');
}

/* Foreground content with readability enhancement */
.recipe-content {
  background-color: rgba(255, 255, 255, 0.7); /* semi-transparent white */
  backdrop-filter: blur(2px); /* softens background behind text */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

.recipe-content img {
  width: 240px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.recipe-details {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.recipe-details h3 {
  font-size: 1.8rem;
  color: #E45811;
  margin-bottom: 10px;
}

.recipe-details p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #3A1900;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .recipe-content {
    flex-direction: column;
    text-align: center;
  }

  .recipe-details {
    text-align: center;
  }

  .recipe-content img {
    max-width: 280px;
    width: 100%;
  }
}

/* Newsletter Signup Section */
.newsletter-signup {
  background: linear-gradient(to right, #fffef5, #f9e8c5);
  padding: 100px 20px;
  text-align: center;
  border-top: 2px solid #e4d6b1;
  border-bottom: 2px solid #e4d6b1;
  position: relative;
  overflow: hidden;
}

.newsletter-signup::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -60px;
  width: 200px;
  height: 200px;
  background-image: url('assets/newsletter-icon.png'); /* optional decorative icon */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
  transform: rotate(-20deg);
  z-index: 0;
}

.newsletter-signup h2 {
  font-size: 2.6rem;
  font-family: 'Playfair Display', serif;
  color: #850001;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.newsletter-signup p {
  font-size: 1.2rem;
  color: #3A1900;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

/* Form Styling */
.signup-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.signup-form input[type="email"] {
  padding: 14px 20px;
  font-size: 1rem;
  border: 2px solid #a2893a;
  border-radius: 50px;
  width: 280px;
  background-color: #fffef5;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease;
}

.signup-form input[type="email"]:focus {
  border-color: #E45811;
  outline: none;
}

.signup-form button {
  padding: 14px 24px;
  font-size: 1rem;
  background: linear-gradient(to right, #E45811, #c7440f);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background 0.3s ease;
}

.signup-form button:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #d94c0f, #b63a0c);
}


/* Footer Section */
.site-footer {
  position: relative;
  background-image: url('assets/footer-bg.jpeg'); /* your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fffef5;
  padding: 80px 20px 40px;
  font-family: 'Open Sans', sans-serif;
  z-index: 0;
}

/* Subtle gradient overlay for readability */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  z-index: 0;
}

.footer-content,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h3 {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-info h4,
.footer-social h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-info ul {
  list-style: none;
  padding: 0;
}

.footer-info li {
  margin-bottom: 8px;
}

.footer-info a {
  color: #e7115c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info a:hover {
  color: #f9e8c5;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  border-top: 1px solid #fffef5;
  padding-top: 20px;
}

.footer-quote {
  margin-top: 10px;
  font-style: italic;
  color: #f9e8c5;
}
