/* Reset & Base */
* {
  margin: 0 ;
  padding: 0; 
 box-sizing: border-box;

}

body {
  font-family: 'Cinzel', serif;
  background-image: url('images/bg.png');
  background-color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  overflow-x: hidden;
}
body.lazy-bg {
  background-image: none;
}
/* header section starts here */
/* Header Styling */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 100;
    width: 100%;
}

.logo img {
    max-width: 220px;
    /* increase this as needed */
    height: auto;
}


/* Navigation Menu */
nav ul {
    display: flex;
    list-style: none;
    gap: 60px;
    margin-top: 40px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #5C4A36;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: #805b32;
    border-bottom: 4px solid #825c30;
}

/* Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 160px;
    display: none;
    flex-direction: column;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.dropdown-content a {
    padding: 10px 20px;
    text-align: left;
    font-size: 0.85rem;
    color: #5C4A36;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: rgba(88, 115, 68, 0.2);
    /* Very light transparent green */
    color: #805b32;
}


/* Show dropdown on hover (desktop) */
@media (min-width: 768px) {
    .dropdown:hover .dropdown-content {
        display: flex;
    }
}

/* Hamburger Icon */
.hamburger {
    display: none;
    font-size: 28px;
    color: #5C4A36;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

/* Mobile Menu */
@media (max-width: 767px) {
    .hamburger {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        align-items: center;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        z-index: 1000;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
    }

    .dropdown-content.show {
        display: flex;
    }

    .dropdown-content a {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
        color: #5C4A36;
        text-decoration: none;
        background-color: transparent;
        transition: background-color 0.3s ease;
    }

    .dropdown-content a:hover {
        background-color: rgba(88, 115, 68, 0.1);
        /* subtle green */
        color: #805b32;
    }

}

/* header section ends here */

.products-section {
  text-align: center;
  padding:20px;
  margin-top: 5px;
  margin: 0 auto;
}
.sub-heading {
  font-size: 20px;
  color: #1c3b29;
  letter-spacing: 3px;
  margin-bottom: 15px;
  font-weight: 600;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
}

/* Medium screens - tablets */
@media (max-width: 768px) {
  .sub-heading {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }
}

/* Small screens - mobile */
@media (max-width: 480px) {
  .sub-heading {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-align: center;
  }
}

.products-section {
  text-align: center;
  padding:20px;
  margin-top: 5px;
}.sub-heading {
  font-size: 20px;
  color: #1c3b29;
  letter-spacing: 3px;
  margin-bottom: 15px;
  font-weight: 600;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
}

/* Medium screens - tablets */
@media (max-width: 768px) {
  .sub-heading {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }
}

/* Small screens - mobile */
@media (max-width: 480px) {
  .sub-heading {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-align: center;
  }
}

/* Container for connection section (title & decorative lines) */
.title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 30px;
  color:#5C4A36;
  
}

/* Left decorative line image */
.title-container .decor-line.left {
  width: 300px;
  height: auto;
  display: block;
  margin-right: -18px;
}

/* Right decorative line image */
.title-container .decor-line.right {
  width: 300px;
  height: auto;
  display: block;
  margin-left: -20px;
}

/* Main heading/title in the section */
.title-container .section-title {
  font-family: cinzel, serif;
  font-size: 52px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 2px;
  white-space: nowrap;
  padding: 0 4px;
}

/* Responsive for screens <= 480px */
@media (max-width: 480px) {
  .title-container {
    flex-direction: column;
    
    margin: 10px 0 20px;
  }

  .title-container .decor-line.left,
  .title-container .decor-line.right {
   width: 100px;
  margin-right: -12px;
  }

  .title-container .section-title {
    font-size: 28px;
    letter-spacing: 1px;
    white-space: normal;
    padding: 0 8px;
  }
}

/* Responsive for screens <= 768px */
@media (max-width: 768px) {
  .title-container {
    margin: 10px 0 20px;
  }

  .title-container .section-title {
    font-size: 32px;
    padding: 0 3px;
  }

  .title-container .decor-line.left {
    width: 100px;
    margin-right: -10px;
  }

  .title-container .decor-line.right {
    width: 100px;
    margin-left: -12px;
  }
}
 
.categories {
  display: flex;
  justify-content: center;
  gap: 2rem;
  position: relative;
  z-index: 3;
  margin-top: 1rem; /* Pull it up into the banner */
  font-weight: bolder;
  font-size: 20px;
}

.category {
  text-align: center;
  padding: 1rem;
  transition: all 0.3s ease;
  border-radius: 0;
}

.category img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category:hover {
  background-color: #ab8e76;
  padding: 1.5rem 1rem 2rem 1rem;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
   margin-bottom: 0px; /* pull the category block into the grid */
  z-index: 4;
}

.category p {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color:black;
  text-transform: uppercase;
}
@media (max-width: 480px) {
 .categories {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 0.5rem;
  margin-top: 0rem;
  justify-content: flex-start;
  scroll-snap-type: x mandatory;
  align-content: center;
  padding-left: 1rem; /* 👈 shifts the entire row to the right */
 }

  .category {
    flex: 0 0 auto; /* Prevent shrinking and wrapping */
    width: 100px;
    scroll-snap-align: start;
    text-align: center;
  }

  .category img {
    width: 85px;
    height: 85px;
  }

  .category p {
    font-size: 0.50rem;
    text-align: center;
  }

  .category:hover {
    padding: 0.2rem; /* Keep it stable on hover */
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, auto); /* 👈 only as wide as each card */
  justify-content: center; /* 👈 center the whole grid */
  gap: 2rem; /* 👈 reduce spacing between cards */
  padding: 1rem 0;
  background-color:#ab8e76;
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 10px;
  
}

.product-card button {
 
  background-color: #7b5231;
  color: #5C4A36;
  border: none;
  padding: 10px 20px;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s ease; /* You can keep this or remove it if no hover needed */
  
}



.product-card button:hover {
  background-color: #5c3e24;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.product-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.product-card {
  width: 230px;
  padding: 5px 5px 30px ; /* bottom padding to make room for button */
  border: 2px solid #5C4A36;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  background-color: #f1e6d8;
  position: relative;
  z-index: 1;
  color:black;
  font-family: perce;
}

.buy-button {
  width: 110px;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color:#5C4A36;
  color: white;
  border: none;
  padding: 10px ;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 2;
}

.buy-button:hover {
  background-color: #ccb199e0;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 2fr);
    gap: 1.5rem;
    width: 100%;
  }

  .product-card {
    width: 180px;
    padding: 5px 5px 30px;
  }

  .product-card img {
    height: 180px; /* 👈 reduce image height */
  }

  .buy-button {
    width: 90px;
    padding: 8px;
    font-size: 0.75rem;
    bottom: -12px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0rem;
  }

  .product-card {
    width: 80%;
    padding: 5px 5px 30px;
  }

  .product-card img {
    height: 180px; /* 👈 even smaller on mobile */
  }

  .buy-button {
    width: 100px;
    padding: 8px;
    font-size: 0.75rem;
    bottom: -12px;
  }
}
.product-title {
  font-weight: bold;
  margin-top: 10px;
  color: #5C4A36; /* ✅ Matches card background */
  font-size: 14px;
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
}
#booking-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 20px; /* Prevent content from touching edges on small screens */
}

.popup-content {
  background:#ccb199e0;
  padding: 25px 30px;
  border-radius: 0px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.popup-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: black;
}
.popup-content h3 {
  font-size: 22px;
  color:#5C4A36;
  margin-bottom: 15px; /* 👈 Add this line for spacing */
  font-family: 'Cinzel', serif;
}

#popup-text {
  font-family: 'Perpetua',serif;
  font-size: 16px;
  line-height: 1.5;
  color: black;
}
