/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;;
  padding: 0;
}
body{
  background: #F7ECE8
}
.header{
  background: white;
  color: #171D1C;
}
.header .logo h1{
  color: #171D1C;
}
.navmenu a{
  color: #171D1C;
}
.navmenu li{
  color: #171D1C;
}
.navmenu ul{
  color: #171D1C;
}
.navmenu .dropdown ul a {
    color: #171D1C;
}
.mobile-nav-toggle {
    color:#171D1C;}
.navmenu a,
  .navmenu a:focus {
    color: #171D1C;
  }
 .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #171D1C;
  }

 

/* Cover Image Section */
.cover-image-section {
  width: 100%;
  height: 30vh;
  z-index: 0;
  background:url('../img/cover_prod_page.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  font-family: "Poppins";
  font-size: 4.5rem;
  font-weight: bold;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
}
.cover-text {
  z-index: 3;

}
.cover-image-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Product Grid */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 0 16px;
  margin-top: 80px;
}

/* Product Card */
.product-card {
  flex: 1 1 250px;
  max-width: 250px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
  transition: transform 0.2s ease;
  margin: 0 20px 20px;
}

.product-card:hover {
  transform: scale(1.02);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.product-info {
  padding: 14px;
  text-align: center;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;

}

.product-description {
  font-size: 0.9rem;
  color: #555;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .product-card {
    flex: 1 1 220px;
    max-width: 220px;
  }

  .product-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .product-grid {
    gap: 16px;
    padding: 0 12px;
    margin-top: 60px;
  }

  .product-card {
    flex: 1 1 180px;
    max-width: 180px;
    margin: 0 8px 16px;
  }

  .product-image {
    height: 160px;
  }

  .product-title {
    font-size: 1rem;
  }

  .product-description {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }

  .product-card {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0 0 16px;
  }

  .product-image {
    height: 200px;
  }

  .product-title {
    font-size: 1.05rem;
  }

  .product-description {
    font-size: 0.9rem;
  }
}


/* Search Bar */
.search-input {
  padding: 10px 15px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 8px 0 0 8px;
}
.search-input:focus {
  border-color: #BF2E21;
  box-shadow: none;
}
.search-button {
  background: #BF2E21;
  border: 2px solid #BF2E21;
  border-radius: 0 8px 8px 0;
  color: #fff;
}
.search-button:hover {
  background: #391612;
  border-color: #391612;
}

/* Overlay Icons */
.image-wrapper {
  position: relative;
}
.icon-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.icon {
  width: 30px;
  height: 30px;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}
.icon:hover {
  transform: scale(1.1);
}

/* Buttons */
.download-button,
.share-button {
  margin: 0;
  padding: 8px 18px;
  background: #C63426;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  min-width: 90px;
}
.download-button:hover,
.share-button:hover {
  background: #a8271c;
}

/* Product Feature Card Section */
.product-feature-wrapper {
  padding: 40px 20px;
}

.product-feature-card {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px 40px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-feature-card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.product-feature-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.product-feature-content {
  flex: 1 1 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-feature-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}

.product-feature-description {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-feature-list li {
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.product-feature-list li i {
  color: #C63426;
  margin-right: 10px;
}

.product-feature-image {
  flex: 1 1 28%;
  overflow: hidden;
  max-height: 240px;
  margin: 50px 0;
  position: relative;
}

.product-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-feature-label {
  position: absolute;
  bottom: 15px;
  left: 20px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-feature-image:hover .product-feature-label {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .product-feature-card {
    padding: 24px 30px;
  }

  .product-feature-title {
    font-size: 1.5rem;
  }

  .product-feature-description {
    font-size: 0.95rem;
  }

  .product-feature-list li {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .product-feature-inner {
    flex-wrap: wrap;
  }

  .product-feature-content {
    flex: 1 1 100%;
    order: 2;
  }

  .product-feature-image {
  flex: 1 1 28%;
  overflow: hidden;
  margin: 50px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-feature-image img {
  width: 100%;
  max-height: 240px;
  height: auto;
  object-fit: contain;
}

  .product-feature-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .product-feature-card {
    padding: 20px 16px;
  }

  .product-feature-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .product-feature-description {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .product-feature-list li {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .product-feature-image {
    max-height: 200px;
    margin: 16px 0;
  }}
  @media (max-width: 768px) {
  .product-feature-image img {
    max-height: 220px;
  }
}

@media (max-width: 480px) {
  .product-feature-image img {
    max-height: 200px;
  }
}




/* Explore Link */
.explore-more-link {
  margin-top: 15px;
  color: #BF2E21;
  text-decoration: none;
  font-weight: 600;
}
.explore-more-link:hover {
  text-decoration: underline;
}

/* Global Responsive Adjustments */
@media (max-width: 1024px) {
  .cover-image-section {
    font-size: 2.2rem;
  }
  .product-feature-card {
    padding: 24px;
  }
}
@media (max-width: 768px) {
  .cover-image-section {
    font-size: 1.8rem;
    height: 24vh;
  }
  .product-grid {
    gap: 20px;
  }
  .product-feature-inner {
    flex-direction: column;
  }
  .product-feature-content, .product-feature-image {
    flex: 1 1 100%;
  }
  .product-feature-image {
    margin: 20px 0 0 0;
    max-height: 250px;
  }
  .product-feature-title {
    font-size: 1.5rem;
  }
  .product-feature-description {
    font-size: 0.95rem;
  }
  .product-feature-card {
    max-width: 100%;
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .cover-image-section {
    font-size: 1.5rem;
    height: 20vh;
    padding: 0 10px;
    text-align: center;
  }
  .product-title {
    font-size: 1rem;
  }
  .product-description {
    font-size: 0.85rem;
  }
  .product-info {
    padding: 10px;
  }
  .product-grid {
    flex-direction: column;
    align-items: center;
  }
  .product-feature-card {
    scroll-margin-top: 300px;
    padding: 16px;
  }
  .product-feature-title {
    font-size: 1.3rem;
  }
  .product-feature-description {
    font-size: 0.9rem;
  }
}

/*NEW CHANGES FOR SECONDARY NAVBAR*/
/* Secondary Nav */
.secondary-nav {
  display: flex;
  justify-content: center;
  background-color: transparent;
  padding: 10px 0;
  z-index: 999;
  position: relative;
}

/* Flex Menu */
.secondary-nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 40px;
}

.secondary-nav-menu > li {
  position: relative;
}

.secondary-nav-menu > li > a {
  font-family: "Poppins", sans-serif;
  color: #171D1C;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 5px;
  transition: color 0.3s;
  background-color: white;
}

.secondary-nav-menu > li > a:hover {
  color: #BF2E21;
  font-weight: 700;
}

/* Dropdown submenu */
.secondary-nav-menu .submenu {
  list-style: none;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 10px 0;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 6px;
  min-width: 220px;
  z-index: 999;
}

.secondary-nav-menu li:hover .submenu {
  display: block;
}

.secondary-nav-menu .submenu li a {
  padding: 10px 20px;
  display: block;
  font-size: 14px;
  color: #171D1C;
  text-decoration: none;
}

.secondary-nav-menu .submenu li a:hover {
  background: #F0E5E3;
  color: #BF2E21;
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .secondary-nav-menu {
    flex-direction: column;
    gap: 0;
    display: none;
    background-color: #ffb20b;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
  }

  .secondary-nav-menu.open {
    display: flex;
  }

  .secondary-nav-menu > li {
    border-top: 1px solid #f5c13e;
  }

  .secondary-nav-menu li:hover .submenu {
    position: static;
    box-shadow: none;
    padding: 0;
    background: #ffcc5c;
    border-radius: 0;
  }

  .secondary-nav-menu .submenu {
    padding: 0;
    background: #ffcc5c;
    border-radius: 0;
  }

  .secondary-nav-menu .submenu li a {
    padding: 12px 30px;
  }

  .menu-toggle {
    display: block;
  }
}

.mobile-only {
  display: none;
}

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



