/* -----------------------------------------------------------
   GLOBAL RESET
----------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: black;
  color: #111;
  font-family: "Poppins", sans-serif;
  padding: 20px;
}


/* -----------------------------------------------------------
   PRODUCT PAGE LAYOUT
----------------------------------------------------------- */
.product-page {
  display: flex;
  flex-direction: row-reverse;
  gap: 2.5rem;
  margin-top: 3rem;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  justify-content: space-between;
  align-items: flex-start;
}


/* -----------------------------------------------------------
   PRODUCT INFO SIDE
----------------------------------------------------------- */
.product-info {
  flex: 1;
  padding: 2rem;
  background: #fff;
  border-radius: 20px;
  margin-top: 25px;
  margin-left: 100px;
}

#product-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.7px;
  margin-bottom: 1rem;
  color: #000;
}

#product-description {
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}


/* -----------------------------------------------------------
   PRODUCT SPECS
----------------------------------------------------------- */
.product-specs {
  margin-top: 1.8rem;
  padding-left: 5px;
}

.product-specs p {
  font-size: 1.2rem;
  margin: 0.7rem 0;
  color: #000;
}

.product-specs .label {
  font-weight: 600;
  color: #000;
}


/* -----------------------------------------------------------
   ENQUIRY BUTTON
----------------------------------------------------------- */
#enquiry-btn {
  width: 400px;
  margin-top: 2rem;
  padding: 1rem 2.4rem;

  background: #000;          /* black default */
  color: #fff;               /* white text */
  border: 2px solid #000;    /* seamless black border */

  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

#enquiry-btn .arrow {
  font-size: 1.3rem;
  transform: translateY(-1px);
}

#enquiry-btn:hover {
  background: #fff;      /* flips to white */
  color: #000;           /* text flips to black */
  border-color: #000;    /* clean border stays */

  transform: translateY(-3px);

  /* your old glow effect restored */
  box-shadow:
    0 0 10px rgba(255, 50, 50, 0.8),
    0 0 20px rgba(255, 30, 30, 0.6),
    0 0 30px rgba(255, 0, 0, 0.4);
}


/* -----------------------------------------------------------
   PRODUCT IMAGE SIDE
----------------------------------------------------------- */
.product-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
}

#product-image {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

#product-image:hover {
  transform: scale(1.05);
}


/* -----------------------------------------------------------
   RELATED SECTION
----------------------------------------------------------- */
.related-section {
  width: 100%;
  background: #000;
  padding: 60px 0 80px;
  text-align: center;
}

.related-top-text {
  font-size: 13px;
  letter-spacing: 4px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  margin-right: 600px;
  text-align: center;

  text-shadow:
    0 0 6px rgba(255, 60, 60, 0.7),
    0 0 12px rgba(255, 60, 60, 0.5);
  margin-bottom: 15px;
}

.related-line {
  width: 1320px;
  height: 2px;

  background: rgba(255, 40, 40, 0.75);

  box-shadow:
    0 0 6px rgba(255, 50, 50, 0.9),
    0 0 14px rgba(255, 50, 50, 0.6);

  animation: bsLinePulse 2.8s ease-in-out infinite;
  transform: translateX(90px);
}

@keyframes bsLinePulse {
  0% { opacity: 0.45; }
  50% { opacity: 1; }
  100% { opacity: 0.45; }
}

.related-heading {
  font-size: 55px;
  font-weight: 900;
  padding-left: 90px;
  text-transform: uppercase;
  color: #000;  
  -webkit-text-stroke: 2px #ffffff;
  margin: 0 0 20px 0; 
  margin-right: 535px;
  text-align: left;
  letter-spacing: 3px;
  text-shadow:
    0 0 4px rgba(255, 60, 60, 0.5),
    0 0 10px rgba(255, 60, 60, 0.3),
    0 0 14px rgba(255, 60, 60, 0.2);
}

/* Cards Wrapper */
.related-products {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* EACH PRODUCT CARD */
.related-products .product-card {
  width: 330px;
  background: #fff;
  padding: 25px;
  border-radius: 22px;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.related-products .product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 12px;
}

.related-products .product-card p {
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  text-align: center;
}

.related-products .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(255,255,255,0.2);
}


/* -----------------------------------------------------------
   MODAL
----------------------------------------------------------- */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  width: 90%;
  max-width: 500px;
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  position: relative;
  animation: slideUp 0.4s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

.modal-content h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #111;
}

/* Inputs */
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: #f9fafb;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 1rem;
  margin: 0.7rem 0;
  transition: all 0.3s ease;
}

.modal-content input:focus,
.modal-content textarea:focus {
  background: #fff;
  border-color: #0072ff;
  box-shadow: 0 0 0 3px rgba(0,114,255,0.2);
}

.modal-content textarea {
  min-height: 120px;
  resize: none;
}

/* Modal Submit Button */
.modal-content button {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: 0.25s ease;
}

.modal-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,114,255,0.35);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  transition: 0.25s ease;
}

.close-btn:hover {
  color: #0072ff;
}

/* REMOVE HUGE GAP BETWEEN PRODUCT AND RELATED SECTION */
.product-page {
  padding-bottom: 10px;   /* reduce bottom padding */
  margin-bottom: 0px;     /* no gap below */
}

.section-divider {
  margin: 20px auto 10px; /* was 100px, now compact */
  height: 2px;            /* optional: thinner line */
}


























/* -----------------------------------------------------------
   MOBILE ADJUSTMENTS (keep desktop intact)
----------------------------------------------------------- */
@media (max-width: 768px) {

.product-page {
  flex-direction: column;
  padding: 20px;
  margin: 2rem 10px;    /* 10px from left and right */
  gap: 1.5rem;
  border-radius: 20px;  /* keeps corners round */
}

.product-info {
  order: 1;                  /* text comes after image */
  margin-left: 0;
  margin-top: 0;
  padding: 1.5rem;
  width: 100%;
}

.product-image {
  order: 0;                  /* force image to appear first */
  padding: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

#product-image {
  max-width: 100%;
  height: auto;              /* maintain aspect ratio */
}

  #enquiry-btn {
    width: 100%;
  }

  .related-top-text {
    margin-right: 0;
    font-size: 12px;
  }

  .related-line {
    width: 95%;
    transform: translateX(0);
  }

  .related-heading {
    font-size: 35px;
    margin-right: 0;
    padding-left: 20px;
  }

  .related-products .product-card {
    width: 48%;
    padding: 15px;
  }
  .related-products {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;        /* stop wrapping to next line */
  overflow-x: auto;         /* horizontal scroll for extra cards */
  padding-left: 10px;       /* optional: padding for scroll look */
  scrollbar-width: thin;    /* makes scrollbar slimmer on Firefox */
}

.related-products::-webkit-scrollbar {
  height: 6px;              /* horizontal scrollbar height */
}

.related-products::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.3);
  border-radius: 3px;
}

.related-products .product-card {
  flex: 0 0 48%;             /* 2 cards per viewport width */
}
  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }

  .modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .modal-content input,
  .modal-content textarea {
    font-size: 0.95rem;
    padding: 0.75rem 0.9rem;
  }

  .modal-content textarea {
    min-height: 100px;
  }

  .modal-content button {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }

  .close-btn {
    font-size: 1.3rem;
    top: 0.8rem;
    right: 0.8rem;
  }

  .section-divider {
    width: 90%;
  }
    #nv-footer {
   overflow-x: hidden;   /* prevent horizontal scroll */
  }
}