:root {
  --dark-brown: #642B03;
  --saffron: #d97706;
  --pearl-white: #f9f7f3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quattrocento', serif;
}


body {
  background-image: url("images/bg.webp");
  background-size: cover;        
  background-position: center;   /* centers image */
  background-repeat: no-repeat;  /* no repeat */
  min-height: 100vh;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background-color:#3b1c07;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 110px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(100, 43, 3, 0.35));
}

@media (max-width: 768px) {
  .logo img { height: 45px; }
}

@media (max-width: 480px) {
  .logo img { height: 40px; }
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 40px;
  margin: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--pearl-white);
  font-size: 22px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--saffron);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--pearl-white);
  margin: 4px 0;
  border-radius: 2px;
}
/* ---------- MOBILE NAVBAR ---------- */
@media (max-width: 1023px) {

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #3b1c07;

    display: none;          /* HIDDEN BY DEFAULT */
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links a {
    width: 100%;
    padding: 15px 40px;
    font-size: 18px;
  }

  .nav-links.show {
    display: flex;          /* SHOW ON CLICK */
  }

  .hamburger {
    display: flex;
  }
}

/* Navbar Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}
/* Hero Section */
.hero {
  width: 100%;
  height: 100vh;           
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;        
  display: block;
}

/* Spices Content Styling */
.spices-content {
  max-width: 1100px;
  margin: 60px auto 30px;
  padding: 0 20px;
  text-align: center;
}

.spices-content h1 {
  font-size: 53px;
  color: #642B03;
  margin-bottom: 20px;
}

.spices-content p {
  font-size: 25px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

/* Spices Cards */
.spices-section {
  padding: 40px 40px;
}

.spices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.spice-card {
  text-align: center;
}

.spice-img {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.spice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.spice-img .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35); /* light black transparent shade */
  color: #000;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(40px); /* start from middle right */
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
  padding: 10px;
}


.spice-img .overlay span {
  position: relative;
  padding-bottom: 8px; /* gap between text & underline */
}

.spice-img .overlay span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #000;
}

.spice-img:hover img {
  opacity: 0.35; /* darker transparency */
}

.spice-img .overlay {
  background: rgba(0, 0, 0, 0.55); /* darker black shade */
}

.spice-img:hover .overlay {
  opacity: 1;
  transform: translateX(0);
}

.spice-card h3 {
  margin-top: 14px;
  font-size: 18px;
  color: #642B03;
  font-weight: 600;
}

/* redirecting link underline remove code
 */
 .spice-card {
  text-align: center;
  display: block; /* make the whole card clickable */
  text-decoration: none;
  color: inherit;
}

.spice-card h3 {
  margin-top: 14px;
  font-size: 18px;
  color: #642B03;
  font-weight: 600;
}

.spice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.spice-img .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
  padding: 10px;
}

.spice-img:hover img {
  opacity: 0.35;
}

.spice-img:hover .overlay {
  opacity: 1;
  transform: translateX(0);
}


/* ========================= Responsiveness starts ======================= */

/* spices content Responsive */
@media (max-width: 768px) {
  .spices-content h1 {
    font-size: 28px;
  }

  .spices-content p {
    font-size: 16px;
  }
}

/* spices cards Responsive */
@media (max-width: 768px) {
  .spice-img {
    height: 220px;
  }

  .spice-img .overlay {
    font-size: 18px;
  }
}
/* ================== Responsivenes ends ================= */

/* ============================ FOOTER ============================ */
.footer {
  position: relative;
  overflow: hidden;
  padding: 90px 50px;
  text-align: center;
  min-height: 300px; /* ✅ forces background area on desktop */
}


/* Background */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/39511/purple-grapes-vineyard-napa-valley-napa-vineyard-39511.jpeg') center / cover no-repeat;
  filter: brightness(45%);
  z-index: 0;
    display: block;
}

.footer > * {
  position: relative;
  z-index: 1;
}

/* ============================ HEADING ============================ */
.footer-heading .sub-title {
  font-size: 26px; /* BIG */
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: #fff;
}

.connection-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 50px;
}

.connection-container .line-image {
  width: 300px;
  filter: invert(1) brightness(2);
}

.connection-container .main-title {
  font-size: 64px; /* VERY BIG */
  font-weight: 400;
  letter-spacing: 3px;
  padding: 0 10px;
  color: #fff;
}

/* ============================ CONTENT ============================ */
.footer-content {
  margin-top: 70px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  justify-content: center;
  text-align: left;
}

.footer-column {
  max-width: 360px;
}

/* Column Heading */
.footer-column h4 {
  font-size: 24px; /* BIG */
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
}

/* Text & Links */
.footer-column p,
.footer-column a {
  font-size: 18px; /* CLEARLY VISIBLE */
  line-height: 1.9;
  color: #fff;
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-column ul li {
  list-style: none;
}

/* Icons */
.footer-column a i {
  font-size: 18px;
}

/* ================================
   Keep underline hover ONLY for Quick Links
================================ */
.footer-column ul li a {
  position: relative;
  text-decoration: none;
}

.footer-column ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.footer-column ul li a:hover::after {
  width: 100%;
}

/* ============================ FOOTER BOTTOM ============================ */
.footer-bottom {
  margin-top: 70px;
  padding: 30px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 16px; /* BIG */
  color: #fff;
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 768px) {
  .footer {
    padding: 60px 25px;
  }

  .connection-container .main-title {
    font-size: 42px;
  }

  .connection-container .line-image {
    width: 140px;
  }

  .footer-column h4 {
    font-size: 20px;
  }

  .footer-column p,
  .footer-column a {
    font-size: 15px;
  }

  .footer-bottom {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
  }

  .footer::before {
    background-image: url('https://images.pexels.com/photos/4451867/pexels-photo-4451867.jpeg');
  }

  .footer {
    padding: 30px 20px;
  }

  .footer-columns {
    gap: 30px;
    text-align: center;
    left: 0 !important;
  }

  

  .footer-column {
    flex: 1 1 100%;
    max-width: 100%;
  }

    .connection-container {
        margin: 10px 0 20px;
    }

    .connection-container .main-title {
        font-size: 32px;
    }

    .connection-container .line-image.left {
        width: 100px;
        margin-right: -14px;
    }

    .connection-container .line-image.right {
        width: 100px;
        margin-left: -17px;
    }

  .footer-bottom {
    font-size: 10px;
    padding: 15px 10px;
    flex-direction: column;
  }


}
/* BACK TO TOP STYLING*/
#backToTop {
  position: fixed;
  bottom: 40px;   
  right: 30px;
  z-index: 999;
  background-color: #3b1c07; 
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 25px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#backToTop:hover {
  background-color: #3b1c07;
  transform: translateY(-3px);
}
