/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background-image: url("https://png.pngtree.com/background/20231101/original/pngtree-3d-rendered-interface-for-a-homemade-food-app-picture-image_5830862.jpg");
    background-size: contain;
    background-position: center;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f0f0f0;
    color: #333;
  }
  
  /* Header Styles */
  header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }
  
  header .logo h1 {
    font-size: 24px;
  }
  
  header .nav-links {
    list-style: none;
    display: flex;
  }
  
  header .nav-links li {
    margin: 0 15px;
  }
  
  header .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
  }
  
  header .nav-links a:hover {
    color: #ff6347;
  }
  
  /* Hero Section with Video Background */
  .hero {
    position: relative;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
  }
  
  .hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  #hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the entire area */
    z-index: -1; /* Put the video behind the content */
  }
  
  .hero-content {
    z-index: 1; /* Ensures the text content stays on top of the video */
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    padding: 20px 40px;
    text-align: center;
    position: relative;
    background: linear-gradient(90deg, #FF5733, #FFC300, #DAF7A6, #33FF57, #33CFFF, #6A33FF, #FF33A8);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    border-radius: 1rem;
  }

  .hero h2::before{
    content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 6px solid;
      border-image-source: linear-gradient(90deg, #FF5733, #FFC300, #DAF7A6, #33FF57, #33CFFF, #6A33FF, #FF33A8);
      border-image-slice: 1;
      border-radius: 12px;
      animation: vibrant-border-animation 2s linear infinite;
      z-index: -1;
  }

  
  
  .hero p {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  .hero form input {
    padding: 10px;
    font-size: 16px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
  }
  
  .hero form button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #fff;
    color: #ff6347;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .hero form button:hover {
    background-color: #ff4500;
    color: #fff;
  }
  
  /* Recipe Results Section */
  /* Recipe Section Styling */
/* Background styling */
/* Background styling */
/* Background styling */
#recipes {
  background-image: url("https://png.pngtree.com/background/20231101/original/pngtree-3d-rendered-interface-for-a-homemade-food-app-picture-image_5830862.jpg"); /* Replace with your desired image URL */
  background-size: contain;
  background-position: center;
  padding: 40px 0;
  color: white;
}

/* Recipe section styling with a grid layout */
.recipe-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 20px;
  justify-content: center;
  padding: 0 20px 60px; /* Add padding around the container and extra padding at the bottom */
}

@media (max-width: 1200px) {
  .recipe-results {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
  }
}

@media (max-width: 768px) {
  .recipe-results {
      grid-template-columns: 1fr; /* 1 column on small screens */
  }
}

/* Recipe card styling */
.recipe-card {
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  padding: 20px; /* Add padding around the content inside the card */
  margin-bottom: 2rem;
  backdrop-filter: blur(3px);
  box-shadow: 0px 0px 30px rgba(227, 228, 237, 0.37);
  border: 2px solid rgba(255, 255, 255, 0.18);
  background-color: transparent;
}

.recipe-card:hover {
  transform: scale(1.05); /* Zoom in on hover */
}

.recipe-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px; /* Rounded corners for the image */
}

.recipe-card h3 {
  font-size: 22px;
  padding: 10px;
  text-align: center;
}

.recipe-card p {
  font-size: 16px;
  padding: 0 15px;
  text-align: center;
}

/* Button styling */
.toggle-ingredients-btn,
.toggle-instructions-btn {
  background-color: #FF7F50; /* Coral color */
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 0;
  display: block;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.toggle-ingredients-btn:hover,
.toggle-instructions-btn:hover {
  background-color: #FF4500; /* Darker coral on hover */
}

/* Ingredients and Instructions visibility */
.hidden {
  display: none;
}

.ingredients,
.instructions {
  font-size: 14px;
  margin: 10px 15px;
  color: #ccc;
}

.ingredients ul,
.instructions ul {
  list-style-type: none;
  padding: 0;
}

.ingredients ul li,
.instructions ul li {
  padding: 5px 0;
}

.recipes h2{
  text-align: center;
  padding-bottom: 2rem;
  font-size: 3rem;
}













  /* About Section */
  .about {
    /* backdrop-filter: blur(3px); */
  box-shadow: 0px 0px 30px rgba(227, 228, 237, 0.37);
  /* border: 2px solid rgba(255, 255, 255, 0.18); */
  background-color: transparent;
    padding: 60px 20px;
    /* background: linear-gradient(135deg, #f7d9c4, #f1b59d);
    color: #333; */
    text-align: center;
    /* border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
  }
  
  .about h2 {
    font-size: 2.5rem;
    color: #6a1b9a;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;color: #ddd;
    backdrop-filter: blur(30px);
  box-shadow: 0px 0px 30px rgba(227, 228, 237, 0.37);
  border: 2px solid rgba(255, 255, 255, 0.18);
  background-color: transparent;
  border-radius: 0.5rem;
  }
  
  .about h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #6a1b9a, #ff8c00);
    display: block;
    margin: 8px auto 0;
    border-radius: 2px;
  }
  
  .about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
  }
  
  .about-content p{
    color: #ddd;
    backdrop-filter: blur(30px);
  box-shadow: 0px 0px 30px rgba(227, 228, 237, 0.37);
  border: 2px solid rgba(255, 255, 255, 0.18);
  background-color: transparent;
  border-radius: 0.5rem;
  }

  .about-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
  }
  
  .about-content ul li {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
  }
  
  .about-content ul li b {
    color: #e53935;
  }
  
  .quote-section {
    margin: 30px 0;
    font-style: italic;
    background: #fff8e1;
    padding: 15px 20px;
    border-left: 6px solid #ff8c00;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  .quote-section blockquote {
    margin: 0;
    font-size: 1.2rem;
    color: #555;
  }
  
  .about p:last-child {
    font-size: 1.1rem;
    color: #444;
    margin-top: 20px;
  }
  
  /* Contact Section */
  .contact {
    padding: 60px 20px;
    /* background-color: #fef6e4; */
    text-align: center;
    /* backdrop-filter: blur(3px); */
  box-shadow: 0px 0px 30px rgba(227, 228, 237, 0.37);
  border: 2px solid rgba(255, 255, 255, 0.18);
  background-color: transparent;
  }
  
  .contact h2 {
    font-size: 36px;
    color: #ff6f61; /* Vibrant salmon */
    margin-bottom: 20px;
    font-weight: bold;
  }
  
  .contact p {
    font-size: 18px;
    color: #555; /* Subtle dark gray */
    margin-bottom: 30px;
  }
  
  .contact-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
  }
  
  .contact-info .info-item {
    width: 30%;
    padding: 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff9a8b, #ff6f61);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .contact-info .info-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .contact-info .info-item p {
    font-size: 16px;
  }
  
  .contact-info .info-item a {
    color: #fff; /* Keep links white */
    text-decoration: underline;
  }
  
  #contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  #contact-form input,
  #contact-form textarea {
    padding: 15px;
    border: 2px solid #ff6f61; /* Border matches the theme */
    border-radius: 8px;
    font-size: 16px;
    outline: none;
  }
  
  #contact-form input:focus,
  #contact-form textarea:focus {
    border-color: #ff9a8b; /* Soft focus effect */
    box-shadow: 0 0 8px rgba(255, 111, 97, 0.5);
  }
  
  #contact-form button {
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff6f61, #ff9a8b);
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
  }
  
  #contact-form button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ff9a8b, #ff6f61);
  }
  
  
  
  /* Footer Styles */
  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
  }