/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fefefe;
  scroll-behavior: smooth;
  color: #333;
}

/* Sticky Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff4ea; /* soft orange tint */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

/* Container */
.nav-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  width: 40px;
  margin-right: 10px;
}
.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e4572e; /* dark orange */
}

/* Nav */
.navbar {
  position: relative;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}
.nav-links li a {
  text-decoration: none;
  color: #e4572e;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.nav-links li a:hover {
  background-color: #fdd9b5;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #e4572e;
  border-radius: 2px;
}

/* Responsive Dropdown Nav */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 10px;
    background-color: #fff0e0;
    flex-direction: column;
    width: 180px;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* Hero Section */
.hero-section {
  background: url("https://i.pinimg.com/736x/2e/54/3e/2e543ef1c417a81808761dc7f5de2097.jpg") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  gap: 40px;
}

.hero-text {
  flex: 1;
  color: #e4572e;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #fff;
}

.hero-btn {
  padding: 12px 28px;
  background-color: #e4572e;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  text-align: center;
  align-self: center; /* Centers the button in mobile layout */
  margin-top: 10px;   /* Adds spacing above the button */
}

.hero-btn:hover {
  background-color: #cf3e13;
}

/* Floating Logo */
.hero-logo {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatLogo 4s ease-in-out infinite;
}

.hero-logo img {
  max-width: 220px;
  width: 100%;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

/* Floating Animation */
@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hero-text {
    align-items: center;
  }

  .hero-btn {
    align-self: center;
  }

  .hero-logo {
    margin-top: 30px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}


/* About Section */
.about-section {
  padding: 80px 5%;
  background-color: #fff7f2;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #e4572e;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
}

.about-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 180px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


/* Responsive About */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-image img {
    max-width: 100%;
  }
}


/* Wholesaler Section */
.wholesaler-section {
  background: linear-gradient(135deg, #ff6d00, #ff8f00);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wholesaler-section::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05), transparent);
  z-index: 0;
}

.wholesaler-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.wholesaler-text h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
  animation: fadeInDown 1s ease-out;
}

.wholesaler-text p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out;
}

.wholesaler-text .highlight {
  font-weight: bold;
  color: #fff700;
}

.wholesaler-btn {
  background-color: #ffffff;
  color: #ff6d00;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.wholesaler-btn:hover {
  background-color: #ffe0b2;
  color: #ff6d00;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeInDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  70% { box-shadow: 0 0 0 15px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}


/* Contact Section */
.contact-section {
  background-color: #fff8f2;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.contact-container {
  max-width: 900px;
  margin: auto;
  text-align: left;
}

.contact-info h2 {
  font-size: 2.5rem;
  color: #ff6d00;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.contact-details i {
  color: #ff8f00;
  font-size: 1.2rem;
}

.reach-text {
  margin-top: 25px;
  font-style: italic;
  color: #666;
}


/* Footer */
.footer {
  background-color: #262626;
  color: #ddd;
  text-align: center;
  padding: 20px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

.footer a {
  color: #ff8f00;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-content {
  max-width: 1000px;
  margin: auto;
}


/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ffedd5, #ffe0c2);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 2px solid #f5c48d;
}
.hero-text h1 {
  font-size: 42px;
  color: #d35400;
  margin-bottom: 15px;
}
.hero-text p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  color: #5a4a3b;
}

/* Search Section */
.search-section {
  padding: 30px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.search-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.search-form input[type="text"] {
  padding: 12px 15px;
  width: 300px;
  border: 1px solid #d7d0c7;
  border-radius: 6px;
  font-size: 16px;
}
.search-form button {
  background: #e67e22;
  color: white;
  padding: 12px 20px;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.search-form button:hover {
  background: #cf6112;
}

/* Products Grid */
.products-listing {
  padding: 40px 20px;
  background-color: #fffdf9;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.product-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.product-card h3 {
  font-size: 18px;
  margin: 10px;
  color: #d35400;
}
.product-card .price {
  font-weight: bold;
  color: #e67e22;
  margin: 0 10px 5px;
}
.product-card .business-name {
  font-size: 14px;
  color: #777;
  margin: 0 10px 10px;
}

/* No Results Message */
.no-results {
  text-align: center;
  font-size: 18px;
  padding: 40px;
  color: #999;
}