/* General reset & font */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: #ffffff;
  color: #e7e6e6;
}

/* Top bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #8E2E2E;
  padding: 10px 20px;
  border-bottom: 1px solid #ffffff;
}

.social img {
  height: 24px;
}

.secondary-menu a {
  margin-left: 20px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: lab(100% 0.01 -0.01 / 0.48);
  border-bottom: 1px solid rgb(217, 202, 202);
}

.logo a {
  font-size: 28px;
  font-weight: 700;
  color: #1c3d80;
  text-decoration: none;
}

.main-menu a {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700; /* or 800 if you want it extra bold */
   font-size: 20px;  
  margin-left: 45px;
  color: #963d02;
  text-decoration: none;
  font-weight: bold;
}

.main-menu .dropdown {
  position: relative;
  display: inline-block;
}

.main-menu .dropdown-content {
  display: none;
  position: absolute;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 8px 16px rgba(139, 106, 106, 0.2);
  z-index: 3;
  padding: 15px;
}

.main-menu .dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  margin: 5px 20px;
  color: #000000;
  text-decoration: none;
}


.search-icon button {
  background: none;
  border: none;
  cursor: none;
  padding: 0;
}


.welcome-banner {
  background-color: #fafaf0;
  text-align: center;
  padding: 15px 20px;
  font-family: 'Open Sans', sans-serif;
  color: #0b0b0b;
}

.welcome-banner h1 {
  font-size: 2.5rem;
  font-family: 'Brush Script MT', cursive;
  margin-bottom: 10px;
}

.welcome-banner p {
  font-size: 1.2rem;
  color: #4e4c4c;
}


/* Hero Section */
.hero {
  text-align: center;
  padding: 30px 20px;
}

.hero h2 {
  font-family: 'Anton', sans-serif;
  font-size: 33px;
  margin-bottom: 10px;
  color: #000000;
}


/* Category Grid */
/* Grid Row Wrappers */
.category-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Icon Styling */
.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.icon-wrapper img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.2s ease-in-out;
}

.icon-wrapper span {
  margin-top: 8px;
  font-weight: bold;
  color: #454545;
}





.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.icon-wrapper img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.2s ease-in-out;
}

.icon-wrapper span {
  margin-top: 8px;
  font-weight: bold;
  color: #000;
}




.about-me-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #fafaf0;
  padding: 20px;
  border-radius: 20px;
  gap: 20px;
  margin: 40px auto;
  max-width: 1100px;
}

.about-divider {
  border-top: 4px dashed #e8efaf;
  width: 80%;
  margin: 60px auto 40px auto;
}


.about-me-image img {
  width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-me-text {
  max-width: 800px;
}

.about-me-text h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.about-me-text p {
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 16px;
    color: #000000; /* Makes the paragraph text black */
}

.about-me-button {
  display: inline-block;
  background-color: #8b2c2c;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.about-me-button:hover {
  background-color: #6d2222;
}





.newest-recipes {
  padding: 10px 10px;
  background-color: #ffffff;
  color: #000000;
}

.newest-recipes .container {
  max-width: 1300px;
  margin: 0 auto;
}

.newest-recipes .header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.newest-recipes h2 {
  font-family: 'Anton', sans-serif;
  font-size: 36px;
  margin-bottom: 10px;
}

.newest-recipes .see-all {
  color: #8b2c2c;
  font-weight: bold;
  text-decoration: underline;
  margin-bottom: 10px;
}

.newest-recipes .intro-text {
  font-size: 20px;
  color: #5a5a5a;
  margin-bottom: 30px;
}

.recipe-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.recipe-card {
  text-align: left;
}

.recipe-card img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.recipe-card .category {
  font-size: 14px;
  color: #8b2c2c;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 6px;
}

.recipe-card .recipe-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: #1c1c1c;
}






/* Shake animation */
@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(15deg); }
  50% { transform: rotate(-15deg); }
  75% { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

.icon-wrapper:hover img {
  animation: shake 0.4s ease;
}

/* Footer */
footer {
  text-align: center;
  background: #f8f8f8;
  padding: 20px 0;
  margin-top: 50px;
  font-size: 14px;
  color: #555;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  margin: 0 10px;
  color: #0044cc;
  text-decoration: none;
}


@media (max-width: 768px) {
  .about-me-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-me-text {
    text-align: center;
  }
}


.featured-recipe {
  background-color: #ffffff;
  padding: 10px 10px;
}

.featured-recipe-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  background-color: #fafaf0;
  border: 4px dotted #ebeacc;
  border-radius: 20px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.featured-image img {
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.featured-content {
  max-width: 700px;
  flex: 1;
}

.featured-badge {
  font-size: 22px;
  font-family: 'Brush Script MT', cursive;
  color: #a52a2a;
  margin-bottom: 10px;
}

.featured-badge span {
  font-weight: bold;
}

.featured-title {
  font-size: 36px;
  font-weight: 800;
  font-family: 'Anton', sans-serif;
  margin-bottom: 10px;
  color: #000000;
}

.featured-description {
  font-size: 20px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.6;
}

.featured-button {
  display: inline-block;
  background-color: #8b2c2c;
  color: white;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s;
}

.featured-button:hover {
  background-color: #6a1e1e;
}

@media (max-width: 768px) {
  .featured-recipe-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .featured-content {
    max-width: 100%;
  }
}






.dinner-recipe-2 {
  padding: 60px 20px;
  background-color: #ffffff;
}

.dinner-recipe-2 .container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.dinner-recipe-2 .section-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 10px;
  font-family: 'Anton', sans-serif;
    color: #040404;
}

.dinner-recipe-2 .section-subtitle {
  font-size: 20px;
  color: #666;
  max-width: 900px;
  margin-bottom: 20px;
}

.dinner-recipe-2 .see-all-link {
  position: absolute;
  top: 0;
  right: 0;
  font-weight: bold;
  font-size: 15px;
  color: #8b2c2c;
  text-decoration: none;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.recipe-card {
  text-align: left;
}

.recipe-card img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 10px;
}

.category-label {
  font-size: 14px;
  font-weight: bold;
  color: #8b2c2c;
  text-transform: uppercase;
}

.recipe-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  margin-top: 5px;
  font-family: 'Work Sans', sans-serif;
}


.custom-search-section {
  background-color: #f7f7ea; /* light cream */
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 0;
}

.custom-search-section .subheading {
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 0.3rem;
}

.custom-search-section .search-title {
  font-family: 'Georgia', serif;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #2e2e2e;
}

.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  border: 3px solid #edece2;
  border-radius: 50px;
  overflow: hidden;
  background-color: white;
}

.search-bar input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  font-size: 1rem;
  outline: none;
  border-radius: 50px 0 0 50px;
}

.search-bar button {
  background-color: #ffffff;
  color: white;
  border: none;
  padding: 0 1.5rem;
  font-size: 1.2rem;
  height: 100%;
  cursor: pointer;
  border-radius: 0 50px 50px 0;
}

.or-text {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.browse-link {
  font-weight: bold;
  text-decoration: underline;
  color: #000;
  margin-left: 0.25rem;
}



.category-section {
  padding: 3rem 1rem;
  border-top: 3px dotted #f2f2c7;
  text-align: center;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-title {
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 2rem;
  margin: 0;
}

.see-all-link {
  font-weight: bold;
  text-decoration: underline;
  color: #8b2e2e;
  font-size: 0.95rem;
}

.category-description {
  max-width: 800px;
  margin: 1rem auto 2.5rem;
  color: #555;
  font-size: 1.125rem;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.recipe-card {
  text-align: left;
}

.recipe-card img {
  width: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.recipe-category {
  color: #8b2e2e;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0.75rem 0 0.3rem;
}

.recipe-title {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.4;
}


.newsletter-section {
  background-color: #f7f7ea;
  padding: 50px 20px;
}

.newsletter-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.newsletter-image img {
  max-width: 300px;
  border: 10px solid white;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.newsletter-form {
  flex: 1;
  max-width: 600px;
}

.newsletter-form h2 {
  font-size: 2rem;
  font-family: 'Georgia', serif;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.newsletter-form p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333;
}

.newsletter-form input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  font-size: 1rem;
  border: 1px solid #bcbcbc;
  border-radius: 5px;
}

.newsletter-form button {
  width: 100%;
  padding: 18px;
  background-color: #f4431e;
  color: rgb(13, 0, 0);
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #c53412;
}


















/* OPTIONAL: Make sure mobile menu appears properly on small screens */
@media (max-width: 768px) {
  .mobile-header {
    display: block;
    width: 100%;
    background: white;
    z-index: 1000;
  }

  .mobile-header nav,
  .mobile-header .logo,
  .mobile-header button {
    display: inline-block;
    vertical-align: middle;
  }

  .mobile-menu-toggle {
    font-size: 22px;
    margin: 10px;
    cursor: pointer;
    background: none;
    border: none;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 10px;
    border-top: 1px solid #ddd;
  }

  .mobile-menu a {
    padding: 10px 0;
    text-decoration: none;
    color: #2d2b2b;
    font-weight: bold;
  }

  .mobile-menu.show {
    display: flex;
  }
}





@media (max-width: 768px) {
  .mobile-header {
    display: block;
    ...
  }
  ...
}


.mobile-header a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  ...
}
/* and the rest I gave you */










/* Show/hide headers based on screen size */
.mobile-header {
  display: none;
}
.desktop-header {
  display: block;
}

@media (max-width: 768px) {
  .mobile-header {
    display: block;
    background: white;
    z-index: 1000;
  }
  .desktop-header {
    display: none;
  }

  .mobile-header .main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
  }

  .mobile-menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    padding: 10px;
    background-color: #fff;
    border-top: 1px solid #ccc;
  }

  .mobile-menu.show {
    display: flex;
  }

  .mobile-menu a {
    padding: 10px 0;
    text-decoration: none;
    color: #353535;
    font-weight: bold;
  }
}
