/* style.css */

body {
  font-family: 'Times New Roman', serif;
  margin: 0;
  padding: 0;
  background-color: #fefefe;
  color: #333;
}
.top-contact-bar {
  background-color: #f8f8f8;
  font-size: 16px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 0;
}
.page-wrapper {
  min-height: calc(100vh - 200px); /* adjust based on footer height */
  display: flex;
  flex-direction: column;
}
.contact-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.contact-left,
.contact-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-left span,
.contact-right span {
  white-space: nowrap;
  font-family: 'Times New Roman', serif;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}
.mission-block {
  background-color: #f9f9f9;
  padding: 50px 0;
  text-align: center;
}

.mission-title {
  font-size: 28px;
  color: #b30000;
  margin-bottom: 10px;
}

.mission-sub {
  font-size: 18px;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #b30000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.cta-button:hover {
  background-color: #8c0000;
}

.contact-cta {
  background-color: #fff4f4;
  text-align: center;
  padding: 50px 20px;
}

.top-banner {
  background-color: #fefefe;
  border-bottom: none;
  padding: 10px 0;
}

.top-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.full-width-line {
  width: 100vw;
  height: 1px;
  background-color: #ccc; /* softer gray */
  margin: 0;
}

.top-logo {
  max-height: 140px;
  margin-top: -30px;
}

.main-nav {
  width: 100vw;
  padding: 20px 40px; /* 👈 adds left/right padding */
  display: flex;
  justify-content: center;
  gap: 60px;
  border-bottom: 1px solid #ccc; /* more subtle line */
  font-family: 'Times New Roman', serif;
  box-sizing: border-box;
}

.main-nav a {
  color: #2f2f2f;
  font-weight: bold;
  text-decoration: none;
  font-size: 20px;
  text-transform: uppercase;
  font-family: 'Times New Roman', serif;
  position: relative;
}
.main-nav a.active::before,
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #000;
  width: 140%;         
  left: -20%;         
  right: -10%; 
}

.main-nav a.active::before {
  top: -25px;
}

.main-nav a.active::after {
  bottom: -20px;
}

.main-nav a:hover {
  color: #b30000;
  text-decoration: underline;
}

#about-heading {
  margin-top: -30px;
}
#welcome-text {
  font-size: 17px;
}

.section {
  padding: 60px 0;
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
}

h2 {
  color: #b30000;
  font-family: 'Times New Roman', serif;
}

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

.product-list li {
  margin-bottom: 10px;
  padding-left: 15px;
  position: relative;
  font-family: 'Times New Roman', serif;
}

.product-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #b30000;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
  gap: 30px;
  margin-top: 30px;
}

.feature-item {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-family: 'Times New Roman', serif;
}

.feature-item h3 {
  color: #b30000;
  margin-bottom: 10px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-family: 'Times New Roman', serif;
}

.search-bar-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
  margin-top: -60px;
}

.search-bar-centered input {
  padding: 12px 21px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 10px 0 0 10px;
  width: 450px;
}

.search-bar-centered button {
  height: 47px; /* matches input height exactly */
  background-color: #b30000;
  color: white;
  border: none;
  border-radius: 0 10px 10px 0;
  font-size: 18px;
  padding: 0 15px; /* horizontal padding only */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-bar-centered button:hover {
  background-color: #8a0000;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

/* === Product Card (Clickable) === */
.product-card {
  border: 1px solid #e0e0e0;
  padding: 24px 16px;
  border-radius: 12px;
  text-align: center;
  background-color: #fff;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.product-card:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* === Product Name === */
.product-card h3 {
  font-size: 18px;
  margin: 0;
  color: #222;
  font-weight: 600;
  line-height: 1.4;
}

/* Make the title link clean */
.product-card h3 a {
  text-decoration: none;
  color: #222;
}

.product-card h3 a:hover {
  color: #b30000;
}


/* === Pagination Buttons === */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 60px;
  margin-bottom: 0;
}

.pagination-btn {
  padding: 8px 16px;
  border: none;
  background-color: #eee;
  cursor: pointer;
  font-weight: bold;
}

.pagination-btn.active {
  background-color: #000;
  color: #fff;
}


/* @media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
} */

.product-detail-section {
  padding: 40px 20px;
}

.product-name {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
}

.product-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.product-detail-grid img {
  max-width: 280px;
  width: 100%;
  border-radius: 10px;
  flex-shrink: 0;
}

.product-info {
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
}

.product-info p {
  margin-bottom: 15px;
}

.product-info strong {
  color: #222;
}
.product-info p strong {
  font-weight: 600;
}

.whatsapp-button {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 10px 18px;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
}

.whatsapp-button:hover {
  background-color: #1ebd59;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 18px;
  color: #b30000;
  text-decoration: none;
  font-weight: 500;
}
.back-link:hover {
  color: #8a0000;
}
.product-wrapper .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 40px;
}
.product-wrapper {
  padding: 40px 0;
}
#productDetails {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #fff;
  padding: 32px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

/* @media (max-width: 768px) {
  .product-detail-grid {
    flex-direction: column;
    align-items: center;
  }

  .product-info {
    text-align: center;
  }
} */
.contact-section {
  padding: 60px 0;
  background-color: #fafafa;
  margin-top: -70px;
}

.contact-section h1 {
  text-align: center;
  margin-bottom: 40px;
  color: #b30000;
  font-size: 28px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.contact-item h3 {
  margin-bottom: 12px;
  font-size: 18px;
  color: #b30000;
}

.contact-item p {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.contact-item a {
  color: #333;
  text-decoration: none;
}

.contact-item a:hover {
  color: #b30000;
}
.product-section {
  padding: 40px 0;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  /* Hide top bar */
  .top-contact-bar {
    display: none;
  }

  /* Navigation stack */
  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: none;
  }

  /* Logo smaller */
  .top-logo {
    max-height: 100px;
    margin-top: 0;
  }

  /* General text tightening */
  body {
    font-size: 15px;
    line-height: 1.5;
    padding: 0 10px;
  }

  h1, h2, h3 {
    font-size: 20px;
    margin: 12px 0;
    line-height: 1.3;
    text-align: center;
  }

  p {
    font-size: 14.5px;
    text-align: center;
    margin-bottom: 16px;
  }

  /* Mission block */
  .mission-block {
    padding: 30px 10px;
    margin-top: 10px;
  }

  .mission-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .mission-sub {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .cta-button {
    font-size: 15px;
    padding: 10px 18px;
    margin-top: 10px;
  }

  /* Section paddings */
  .section,
  .contact-section,
  .product-wrapper {
    padding: 30px 20px;
  }
  .contact-section {
    padding-top: 30px !important;
    margin-top: 0 !important;
    background-color: #fafafa;
  }
  /* Features as single column */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Product grid single column (already done) */
  .product-grid {
    margin-top: 10px;
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .product-card {
    padding: 20px 12px;
    font-size: 16px;
  }
  /* Product page */
  .product-detail-grid {
    flex-direction: column;
    align-items: center;
  }
   .product-detail-grid img {
    max-width: 70%;
    height: auto;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd; /* 👈 subtle divider */
    padding-bottom: 20px;
  }
  .product-info {
    text-align: center;
    font-size: 16px;
    padding: 0 10px;
    line-height: 1.5;
  }
  #productDetails {
    margin: 0 10px; /* reduce side padding */
    padding: 20px;
    box-shadow: none;
  }
  .product-info p {
    line-height: 1.4;  /* default is ~1.6 */
    margin-bottom: 10px;
  }
  .product-section {
    padding: 20px 0;
  }
  .whatsapp-button {
    width: 50%;
    font-size: 15px;
    padding: 14px;
  }
  .product-info ul {
    padding-left: 20px;
  }

  .product-info li {
    margin-bottom: 8px;
    line-height: 1.4;
  }
  .back-link {
    font-size: 16px;
    text-align: center;
    display: block;
    margin-bottom: 20px;
    padding: 0 10px;
    margin-top: -40px;
  }
  .product-name {
    font-size: 24px;
    padding: 0 10px;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .main-nav a {
    font-size: 18px;
    padding: 6px 0;
    position: relative;
    border: none;
    margin-bottom: 0;
  }

  .main-nav a.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: #b30000;
  }
  .main-nav a.active {
    color: #b30000;
  }
  .main-nav::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin-top: 10px;
  }
  .main-nav a.active::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer-contact {
    text-align: center;
    line-height: 1.6;
    font-size: 15px;
    color: white;
  }

  .footer-contact a {
    color: white;
    text-decoration: none;
    word-break: break-word;
  }

  .footer-contact a:hover {
    text-decoration: underline;
  }
}

