/* Global Styles */
/* Navbar */
.navbar {
  border: none;           /* removes any border */
  box-shadow: none;       /* removes drop shadows */
  margin: 0;              /* eliminates margin gap */
  padding-bottom: 0;      /* remove any bottom padding causing a visible line */
}

.navbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #333333;
  padding: 10px 30px;
  height: 90px;
  border-bottom: 2px white;
}

/* Logo */
.navbar .logo {
  display: flex;
  align-items: center;
}
.navbar .logo img {
  height: 110px;
  
}
.navbar .logo span {
  font-size: 28px;
  color: red;
  line-height: 50px;        /* increase text size */
  font-weight: bold;
}

/* Navbar links */
.navbar ul.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
  align-items: center;
  margin-left: 40px;
}
.navbar ul.nav-links li a {
  text-decoration: none;
  color: red;
  font-weight: bold;
  font-size: 14px;
}
.navbar ul.nav-links li .active {
  border-bottom: 2px solid white;
  color: green;
}



/* Navigation */
nav {
    display: flex;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Banner */
.banner {
    background: url("images/spices.jpg") no-repeat center/cover;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
    font-size: 40px;
    font-weight: bold;
    text-shadow: 2px 2px 5px black;
}

/* Content */
.container {
    padding: 40px;
    text-align: center;
}

.container h2 {
    color: darkgreen;
}


/* Contact Form */
form {
    max-width: 400px;
    margin: auto;
    text-align: left;
}

form input, form textarea, form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

form button {
    background: green;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

form button:hover {
    background: darkgreen;
}

/* Product & Recipe Cards */
.products, .recipes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}

.product-card, .recipe-card {
  width: 280px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.3s;
}

.product-card:hover, .recipe-card:hover {
  transform: scale(1.05);
}

.product-card img {
  width: 100%;
  height: auto; /* keeps full height */
  max-height: 400px; /* optional limit for large images */
  object-fit: contain; /* ensures full product is visible */
  border-radius: 8px;
  margin-bottom: 15px;
  background: #f9f9f9; /* optional background for padding */
  padding: 10px; /* adds spacing inside */
}


.btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg,  green,);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  opacity: 0.8;
}

/* ✅ Footer Styling */
/* Footer Styles */

.footer {
  background: url('images/banana.png')no-repeat center center ;
  background-size: cover; 
  color: white;
  padding: 20px 20px 10px 20px;
  font-family: Arial, sans-serif;
  margin: 0;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin: 15px;
}

.footer-section h3 {
  margin-bottom: 18px;
  font-size: 20px;
}

.footer-section p {
  margin: 6px 0;
  font-size: 14px;
}

/* ✅ Social Icons */
.social-icons {
  display: flex;
  justify-content: center;   /* centers the icons */
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 50%;        /* makes the wrapper perfectly round */    
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;          /* crops extra image */
  transition: transform 0.3s;
}

.social-icons a img {
  width: 95%;
  height: 95%;
  object-fit: contain;       /* keeps proper aspect ratio */
}

.social-icons a:hover {
  transform: scale(1.2);
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}


/*about*/
/* Reset */

body {
  font-family: "Segoe UI", sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

/* Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */

header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
}

header nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #ffd166; /* Warm yellow */
}

/* Hero */
.hero {
  background: url("https://images.unsplash.com/photo-1601050690290-c6b7f0f4db98") no-repeat center center/cover;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay h2 {
  font-size: 40px;
  margin-bottom: 15px;
}

/* Section */
.section {
  padding: 60px 0;
}

.section.light {
  background: #f9f9f9;
}

.section h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #a63f03;
}

.section p {
  font-size: 18px;
  color: #444;
}

/* Grid Layout for Products */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Text Center */
.text-center {
  text-align: center;
}
/* Add hover zoom effect to all sections */
.section {
  padding: 60px 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section:hover {
  transform: scale(1.03); /* Slight zoom */
  box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Shadow for depth */
  z-index: 10;
  background: #fffaf3; /* Optional: warm background on hover */

}
.hero-overlay {
  padding: 40px;
  text-align: center;
  border-radius: 10px;
}
/*about final*/

/* Certification */
.certification-section {
  text-align: center;
  padding: 40px 20px;
  background: #f9f9f9;
}

.certification-section h3 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #a63f03;
}

.certification-section p {
  font-size: 15px;
  margin-bottom: 25px;
  color: #555;
}

/* Certificate Grid */
.certification-section .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  justify-items: center;
}

/* Certificate Items */
.certification-section .grid div {
  background: transparent;
  width:180px;
  height:230px;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing:border-box;
}

.certification-section .grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* Certificate Images */
.certification-section .grid img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom:10px;
  transition: transform 0.3s ease;
}

.certification-section .grid img:hover {
  transform: scale(1.05);
}

/* Caption */
.certification-section .grid p {
   margin: 4px 0;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  line-height: 1.3;
}

 ✅ Responsive for smaller screens 
   @media (max-width: 600px) {
  .certification-section .grid div {
    width: 140px;
    height: 190px;
  }

  .certification-section .grid img {
    width: 80px;
    height: 80px;
  }
}



/*new css for contact */
 .container {
      display: flex;
      max-width: 900px;
      width: 100%;
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
      margin : auto;
    }
    .left {
      flex: 1;
      background: #f0f0f0;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0;
    }
    .left img {
      height: 100%;
      width: 300%;
      object-fit: cover;
      display: block;
      
    }
    .right {
      flex: 1;
      padding: 30px;
    }
    h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #333;
    }
    form {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    label {
      font-weight: bold;
      color: #444;
    }
    input, textarea {
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 16px;
      width: 100%;
    }
    button {
      background: #e63946;
      color: white;
      padding: 12px;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s ease;
    }
    button:hover {
      background: #d62828;
    }


/* Fix overflow issue on all pages */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;  /* stops side scrolling */
}

/* General container fix */
.container, .section, .grid {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  padding: 15px;
}

/* Images scale correctly */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Sticky Navbar */
.navbar {
  position: fixed;       /* Keeps it fixed on screen */
  top: 0;                /* Stick to the very top */
  left: 0;
  width: 100%;           /* Full width */
  background:url('images/navbar.jpg')no-repeat center center; /* or your navbar color */
  background-size: cover;
  z-index: 1000;         /* Stay above all content */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Small shadow for effect */
  margin-bottom: 100px;

}

 main.page-content {
  margin-top: 120px; /* same as navbar height or slightly more */
  padding-bottom: 40px;
}

/* Contact Page Responsive Fix */

.contact-page {
  padding: 30px 15px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
    
.contact-page .container {
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  width: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

.contact-page .left {
  flex: 1;
  background: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-page .left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-page .right {
  flex: 1;
  padding: 30px;
  box-sizing: border-box;
}
contact-page .right h2 {
  text-align: center;
  color: green;
  margin-bottom: 10px;
  font-size: 1.8rem;
}

/* ✅ Mobile View (Stack image top, form below) */
@media (max-width: 768px) {
  .contact-page .container {
    flex-direction: column;
  }

  .contact-page .left {
    order: 1;
    width: 100%;
    height: 250px; /* fixed height for mobile image */
  }

  .contact-page .left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .contact-page .right {
    order: 2;
    width: 100%;
    padding: 20px;
  }
}

/* slideshow final */
.slideshow-container {
  position: relative;
  max-width: 900px; 
  height: 500px;     
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}

/* Each slide */
.slides {
  display: none;
  width: 100%;
  height: 100%;
}

/* Slide images */
.slides img {
  width: 100%;
  height: auto;   /* keeps images proportional */
  display: block;
  border-radius: 10px;
  object-fit: contain; /* ✅ ensures the image covers the area nicely */
  object-position: center; /* centers image focus */
}

/* Fade animation */
.fade {
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from {opacity: 0.4;}
  to {opacity: 1;}
}

/* Navigation buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: bold;
  padding: 10px;
  color: white;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  user-select: none;
  transition: 0.3s;
}

.prev { left: 15px; }
.next { right: 15px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

/* ✅ Responsive */
@media screen and (max-width: 768px) {
  .slideshow-container {
    max-width: 100%;
    height: 350px;   /* smaller for tablet */
  }
}

@media screen and (max-width: 480px) {
  .slideshow-container {
    height: 250px;   /* smaller for mobile */
  }
}

.company-header {
  text-align: center;
  margin-top: 10px;
}

.company-header h1 {
  font-size: 26px;
  font-weight: bold;
  color: red;
  margin-bottom: 5px;
}

.company-header p {
  font-size: 18px;
  color: #666;
  font-style: italic;
  margin-top:0px;
}

/*recipies card*/
.recipes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* smaller cards */
  gap: 30px;
  padding: 40px;
  
}

.recipe-card {
  background-image: url('images/recipe-bg.jpg'); /* background texture */
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 400px; /* smaller height */
  margin: 15px;
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.overlay {
  background: black;
  color: #fff;
  padding: 20px;
  height: 100%;
  font-size: 14px; /* smaller font */
  overflow-y: auto; /* scrollable if content too long */
  border-radius: 15px;
}

.recipe-card img {
  width: 150%;
  height: 320px; /* smaller image */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.recipe-card h2 {
  color: #ffcc66;
  font-size: 18px;
  margin: 8px 0;
}

.recipe-card h3 {
  color: #ffe8b0;
  font-size: 15px;
  margin-top: 5px;
}

.recipe-card ul,
.recipe-card ol {
  margin-left: 10px;
  line-height: 1.4;
}

.recipe-card ul li,
.recipe-card ol li {
  margin-bottom: 5px;
  
}

/* --- Contact Page Layout Fix (Prevents Navbar Overlap & Bottom Gap) --- */
.products-page,
.contact-page {
  margin-top: 120px;   /* Pushes content below fixed navbar */
  padding-bottom: 20px; /* Keeps spacing before footer */
  flex:1;
}

/* Products in Shops Gallery */
.shop-gallery {
  padding: 50px 20px;
  text-align: center;
  background-color: white;
}

.shop-gallery h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: darkgreen;
}

.shop-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.shop-gallery-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.shop-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.shop-gallery-item:hover img {
  transform: scale(1.05);
}

.shop-gallery-item:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Push hero section below fixed navbar */
.hero {
  padding-top: 90px; /* space for navbar height */
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .hero {
    padding-top: 200px; /* extra space for smaller screens */
  }
}


/* --- About Us Page Center Alignment --- */
.hero-overlay {
  max-width: 900px;        /* limits text width for readability */
  margin: 0 auto;          /* centers the block horizontally */
  text-align: center;      /* centers all text inside */
  padding: 60px 20px;      /* breathing space around content */
  background: rgba(255, 255, 255, 0.8); /* subtle background for clarity */
  border-radius: 10px;
  line-height: 1.8;
}

.hero-overlay h2 {
  font-size: 40px;
  color: #a63f03;
  margin-bottom: 15px;
}

.hero-overlay p {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
}

/* Prevent content from hiding behind fixed navbar */
main, .page-content {
  padding-top: 100px; /* Adjust based on navbar height (try 90–110px) */
}
/* ✅ Remove horizontal scroll safely */
html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ✅ Only limit overflowing images & containers, not navbar elements */
img, .products, .product-card, section, main, footer {
  max-width: 100%;
  box-sizing: border-box;
}

/* ✅ Fix vines on mobile */
.vine-left, .vine-right {
  position: absolute;
  top: 300px;
  height: 100%;
  width: 80px;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 768px) {
  .vine-left, .vine-right {
    display: none; /* hide on mobile to prevent overflow */
  }
}

/* ✅ Product layout - stays neat & centered */
.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 10px;
  margin: 0 auto;
}

.product-card {
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
}

  /* Hide the logo text if needed (optional) */
  .navbar .logo span {
    font-size: 20px;
  }
}
/* === Remove extra space under navbar (desktop + mobile) === */
main,
.page-content,
.products-page,
.contact-page,
.testimonials-page {
  margin-top: 0 !important;
  padding-top: 100px !important; /* match your navbar height */
}

/* Fine-tuned for mobile view */
@media (max-width: 768px) {
  main,
  .page-content,
  .products-page,
  .contact-page,
  .testimonials-page {
    padding-top: 70px important; /* slightly less for mobile */
  }
}
/* --- Navbar (Final Fixed Version) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('images/navbar.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 25px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right:50px;
}

.navbar .logo img {
  height: 85px;
  width: auto;
}

.navbar .logo span {
  font-size: 26px;
  color: red;
  font-weight: bold;
  line-height: 1.2;
}

.navbar ul.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  margin-left:-40px;
  padding: 0;
  align-items: center;
}

.navbar ul.nav-links li {
  white-space: nowrap;
}

.navbar ul.nav-links li a {
  text-decoration: none;
  color: red;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.3s ease;
}

.navbar ul.nav-links li a:hover {
  color: green;
}

.navbar ul.nav-links li a.active {
  color: green;
  border-bottom: 2px solid green;
}

main, .page-content {
  padding-top: 110px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: auto;
  z-index: 2000;
}

.menu-toggle span {
  background: black;
  height: 3px;
  width: 25px;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* --- Responsive Navbar (Hamburger for Mobile) --- */
@media (max-width: 768px) {
  .navbar {
    height: 80px;
    justify-content: space-between;
    padding: 0px;
  }

  /* Hide normal menu links initially */
  .navbar ul.nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    transition: height 0.4s ease;
  }

  /* When menu is active (open) */
  .navbar ul.nav-links.active {
    height: 400px; /* Adjust menu height as needed */
  }

  /* Style the links inside the dropdown */
  .navbar ul.nav-links li a {
    color: red;
    font-size: 18px;
    padding:12px 0;
  }

  .navbar ul.nav-links li a:hover {
    color: green;
  }

  /* Show hamburger icon */
  .menu-toggle {
    display: flex;
  }

  /* Animate hamburger when active */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* === Reduce top space between navbar and page heading (Desktop only) === */
@media screen and (min-width: 1024px) {
  /* Target specific page sections */
  .recipes-section,
  .testimonial-section,
  .contact-section,
  .gallery-section,
  main,
  .page-content {
    padding-top: 90px !important;  /* Reduce the space — adjust as needed */
    margin-top: 0 !important;
  }

  /* Optional: fine-tune heading spacing */
  h1, h2, .page-title, .about-heading {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* For desktop only */
@media screen and (min-width: 1024px) {
  .about-section ,
  .contact-section {
    margin-top: 40px; /* adjust this value */
    padding-top: 0;   /* optional if there's extra padding */
  }

  h1, .page-title, .about-heading {
    margin-top: 0 !important; /* force remove any extra space */
  }
}



