/* color palette*/
:root {
  --primary: #3D5A40;   /* deep leafy green */
  --secondary: #8B5E3C; /* warm brown */
  --accent: #D9822B;    /* rustic orange */
  --background: #FAF7F2;/* soft cream */
  --text: #2C2C2C;      /* dark charcoal */
  --olive: #6B8E23;     /* muted olive (optional accent) */
}

.playfair-display {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
body{
    margin: 0;
    font-family: 'Playfair Display', serif;
    background: var(--background);
    color: var(--text);
}


/* Header / Navigation */
header {
  position: fixed;         /* always visible */
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary); /* deep leafy green */
  color: #fff;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 0 1rem;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.logo a:hover {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Mobile menu toggle */
#menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
}

/* Responsive for tablets / phones */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 70px; /* below header */
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin-bottom: 1rem;
  }
}
/* Hero Section */

.hero {
  width: 100%;
  height: 90vh;
  position: relative;
  overflow: hidden;
}

.slideshow-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero text overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image fills area without stretching */
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2; /* above the overlay */
}

.btn {
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #c66b23; /* darker accent */
}


/* ===== Recipes Section ===== */
.recipes {
  padding: 4rem 2rem;
  background: var(--background);
  text-align: center;
}

.recipes h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.card-content p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.card-content .btn {
  background: var(--accent);
  padding: 8px 16px;
  font-size: 0.95rem;
  border-radius: 5px;
}

.card-content .btn:hover {
  background: #c66b23; /* darker accent for hover */
}

/* ===== Centered Box Section ===== */
.center-box-section {
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.center-box {
  background: var(--background); /* soft cream inside */
  border: 3px solid var(--secondary); /* warm brown border */
  border-radius: 12px;
  max-width: 700px;
  padding: 2rem 2.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.center-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.center-box p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.center-box .btn {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.center-box .btn:hover {
  background: #c66b23; /* darker accent */
}

/* Contact Forms Section */
.contact-forms {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
}

/* Form Boxes */
.contact-forms .form-box {
  background: var(--background);        /* soft cream */
  border: 2px solid var(--secondary);   /* warm brown */
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-forms .form-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Form Headings */
.contact-forms h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.8rem;
}

/* Form Inputs */
.contact-forms input[type="text"],
.contact-forms input[type="email"],
.contact-forms input[type="file"],
.contact-forms textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--secondary);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}

.contact-forms textarea {
  resize: vertical;
}

/* Buttons */
.contact-forms .btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-forms .btn:hover {
  background: #d67123; /* slightly darker rustic orange */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-forms {
    padding: 1rem;
  }

  .contact-forms .form-box {
    padding: 1.5rem;
  }
}




/* ===== Footer ===== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-links a,
.footer-recipes a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-recipes a:hover {
  color: var(--accent);
}

.footer-recipes h3 {
  margin-bottom: 0.5rem;
}

.footer-recipes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-recipes li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-recipes {
    margin-top: 1rem;
  }
}

