/* General Styles */
body {
  font-family: 'Poppins', sans-serif; 
  scroll-behavior: smooth;
  background-color: #f8fafc; 
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

main {
  margin-top: 2px; /* Adjust based on your navbar height */
}

/* Navigation Bar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: white;
  padding: 1rem 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;

}

.logo img {
  max-height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #f0523d; 
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::before {
  width: 100%;
}

/* Mobile Menu Styling */
#mobile-menu-btn {
  cursor: pointer;
  display: none;
}

#mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 9;
  padding: 1rem;
  display: none;
}

#mobile-menu.show {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  #mobile-menu-btn {
    display: block;
  }
}

/* Hero Section */
.hero {
  animation: fadeInUp 1.5s ease-in-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-shape-divider-bottom-1679238001 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1679238001 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 94px;
}

.custom-shape-divider-bottom-1679238001 .shape-fill {
  fill: #f1f5f9;
}

/* Featured Products */
.product-card {
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.product-card img {
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(240, 82, 61, 0.5); 
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover; 
  background-color: #f8fafc; 
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.1);
  border: 4px solid #f0523d; 
  box-shadow: 0px 4px 15px rgba(240, 82, 61, 0.5); 
}

/* Marquee Effect */
.marquee-container {
  overflow: hidden;
  position: relative;
}

.marquee {
  display: flex;
  animation: marquee 15s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Modal */
#productModal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

#productModal.show {
  opacity: 1;
  visibility: visible;
}

.modal-container.show {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.modal-container.hide {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

button {
  cursor: pointer;
}

/* Newsletter */
input[type="email"] {
  transition: all 0.3s ease;
}

input[type="email"]:focus {
  border-color: #f0523d; 
  box-shadow: 0 0 0 3px rgba(240, 82, 61, 0.2); 
}

/* Footer */
footer {
  position: relative;
  z-index: 10; 
  bottom: 0;
  width: 100%; 
}

footer a {
  text-decoration: none;
  color: inherit;
}

footer a:hover {
  color: white;
}

/* Swiper for Testimonials */
.swiper-container-testimonials {
  padding-bottom: 40px;
}

.swiper-pagination-testimonials {
  bottom: 0;
}