/* Reset and Base */
html, body {
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}  

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
  color: #111;
  line-height: 1.6;
  
}
:root {
  color-scheme: light only;
}


/* Header */
.main-header {
  background-color:dimgrey;
  color:whitesmoke;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  height: auto;
}
.logo {
  font-size: 20px;
  font-weight: bold;
  flex: 1 1 auto;
  word-break: break-word;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 15px;
  max-width: 395px;
  justify-content: flex-end;
}
.nav-links a {
  color:white;
  margin-left: 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 1000;
  position: relative;

}
.nav-links a:hover {
  text-decoration: underline;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown > a {
  padding: 10px;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color:white;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 999;
}
.dropdown-content a {
  color: #000;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #ddd;
  background-color: white;
}
.dropdown-content a:hover {
  background-color: white;
}

/* Hero Section */
.hero-fade {
  position: relative;
  height: 280px;
  width: 100%;
  overflow: hidden;
  margin-top: 0px;
}
.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 72s infinite;
}
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 3s; }
.slide:nth-child(3) { animation-delay: 6s; }
.slide:nth-child(4) { animation-delay: 9s; }
.slide:nth-child(5) { animation-delay: 12s; }
.slide:nth-child(6) { animation-delay: 15s; }
.slide:nth-child(7) { animation-delay: 18s; }
.slide:nth-child(8) { animation-delay: 21s; }
.slide:nth-child(9) { animation-delay: 24s; }
.slide:nth-child(10) { animation-delay: 27s; }
.slide:nth-child(11) { animation-delay: 30s; }
.slide:nth-child(12) { animation-delay: 33s; }
.slide:nth-child(13) { animation-delay: 36s; }
.slide:nth-child(14) { animation-delay: 39s; }
.slide:nth-child(15) { animation-delay: 42s; }
.slide:nth-child(16) { animation-delay: 45s; }
.slide:nth-child(17) { animation-delay: 48s; }
.slide:nth-child(18) { animation-delay: 51s; }



@keyframes fade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  30% { opacity: 1; }
  35% { opacity: 0; }
  100% { opacity: 0; }
}
.slide-text {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.slide-text h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 10px;
}
.slide-text .subline {
  font-size: 20px;
  margin-bottom: 8px;
}
.slide-text .product-name {
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
}

/* Quality Section */
.quality-section {
  padding: 50px 20px;
  background-color: #f7f7f7;
  text-align: center;
}
.quality-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.quality-box {
  max-width: 400px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 20px;
}
.quality-box img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  border-radius: 6px;
}
.quality-box h3 {
  margin-top: 15px;
  font-size: 20px;
}
.quality-box p {
  margin-top: 10px;
  font-size: 15px;
  color: #444;
}

/* Featured Products */
.products-preview {
  padding: 40px 20px;
  text-align: center;
}
.products-preview h2 {
  font-size: 28px;
  margin-bottom: 30px;
}
.product-card.full-width {
  width: 100%;
  margin-bottom: 40px;
}
.product-card.full-width img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.product-details {
  padding: 20px;
  background-color: #f9f9f9;
}
.product-details h3 {
  font-size: 22px;
  font-weight: bold;
  color: black;
  margin-bottom: 10px;
}
.product-details p {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
  color: black;
}

/* Enquiry */
.enquiry-section {
  padding: 50px 20px;
  background-color: #f0f0f0;
  text-align: center;
}
.enquiry-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
}
.enquiry-form {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.enquiry-form input,
.enquiry-form textarea {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
}
.enquiry-form button {
  padding: 12px;
  background-color: #000;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.enquiry-form button:hover {
  background-color: #444;
}

/* Map */
.map-section {
  padding: 0;
  margin: 0;
}
.map-section h2 {
  padding: 20px;
  text-align: center;
  font-size: 28px;
  background: #eee;
}


/* Floating Icons */
.floating-icons {
  position: fixed;
  bottom: 20px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}
.floating-icons a img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-icons a img:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: 40px;
}

/* Product Detail Page */
.product-detail {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}
.product-detail h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.intro-text.long {
  font-size: 17px;
  color: #444;
  text-align: justify;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.9;
}
.image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.image-grid img {
  width: 100%;
  max-width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.product-specs {
  max-width: 900px;
  margin: auto;
  background: #f9f9f9;
  padding: 25px 30px;
  border-radius: 10px;
  text-align: center;
}
.product-specs h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 22px;
  color: #000;
}
.product-specs p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  text-align: center;
}
.btn.back-btn {
  font-weight: bold;
  font-size: 16px;
  padding: 12px 24px;
  background-color: #000;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn.back-btn:hover {
  background-color: #444;
}

/* ✅ Mobile Responsive CSS Starts Below */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: end;
    text-align: right;
    gap: 10px 30px;
    
  }

  .nav-links a {
    margin-left: 0;
    font-size: 16px;
  }

  .hero-fade {
    height: 360px;
  }

  .slide-text h1 {
    font-size: 22px;
  }

  .slide-text .subline,
  .slide-text .product-name {
    font-size: 14px;
    padding: 0 10px;
    text-align: center;
  }

  .slide-text {
    padding: 0 10px;
  }

  .slide {
    background-position: center;
    background-size: cover;
  }

  .quality-box {
    max-width: 100%;
  }

  .product-card.full-width img {
    height: 220px;
  }

  .product-details h3 {
    font-size: 18px;
  }

  .product-details p {
    font-size: 14px;
  }

  .enquiry-form input,
  .enquiry-form textarea {
    font-size: 14px;
  }
  /* Map */
  .map-section {
  padding: 0;
  margin: 0;
  }
  .map-section h2 {
  padding: 20px;
  text-align: center;
  font-size: 28px;
  background: #eee;
  }
  .map-section iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
  }

  .floating-icons {
    right: 20px;
    bottom: 20px;
    gap: 10px;
  }

  .floating-icons a img {
    width: 48px;
    height: 48px;
  }

  .product-detail h2 {
    font-size: 24px;
  }

  .intro-text.long {
    font-size: 15px;
  }

  .product-specs {
    padding: 20px;
  }

  .product-specs h3 {
    font-size: 18px;
  }

  .product-specs p {
    font-size: 14px;
  }

  .btn.back-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
  /* Header */
.main-header {
  background-color:dimgrey;
  color:whitesmoke;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  height: auto;
}
.logo {
  font-size: 20px;
  font-weight: bold;
  flex: 1 1 auto;
  word-break: break-word;
}
}
/* Hamburger and submenu base */
.hamburger {
  top: 35px;
  display: block;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
  position: absolute;
  right: 18px;
}

#menu-toggle,
#submenu-toggle {
  display: none;
}

/* Submenu label styling (for mobile) */
.submenu-label {
  display: none;
  color: white;
  font-size: 16px;
  font-weight: 1000;
  margin-top: 10px;
  cursor: pointer;
}

/* Desktop View */
@media (min-width: 769px) {
  .submenu-label {
    display: inline-block;
    color: white;
    font-size: 16px;
    font-weight: 1000;
    padding: 10px;
    cursor: pointer;
  }

  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 999;
    text-align: left; /* ✅ center submenu links desktop */
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    display: block;
    padding: 10px 16px;
    color: #000;
    background: white;
    text-align: left;  /* ✅ center submenu links desktop */
    text-decoration: none;
    font-weight: 1000;   /* ✅ bold submenu links */
  }

  .dropdown-content a:hover {
    background-color: #f5f5f5;
  }

  .nav-links a {
    font-weight: 1000;   /* ✅ bold nav links desktop */
  }

  /* ✅ Hide checkbox and label in desktop view */
  #submenu-toggle {
  display: none;
  }
}  

/* Mobile View */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

    /* Header */
.main-header {
  background-color:dimgrey;
  color:whitesmoke;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  height: auto;
}
.logo {
  font-size: 20px;
  font-weight: bold;
  flex: 1 1 auto;
  word-break: break-word;
}

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 220px;
    text-align: left;
    padding: 20px;
    z-index: 1000;
    font-weight: 1000;
  }

  #menu-toggle:checked + .hamburger + .nav-links {
    display: flex;
  }

  .nav-links a {
    margin: 10px 0;
    font-size: 18px;
    color: #111;
    text-decoration: none;
    font-weight: 1000; /* ✅ bold nav links mobile */
  }
  .submenu-label {
    display: block;
    width: 100%;             /* ✅ Makes the full width clickable */
    padding: 12px 10px;      /* ✅ Slightly more tappable area */
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    color: #111 !important;
    box-sizing: border-box;
  }

  #submenu-toggle {
  display: none;  /* hides checkbox */
  }

  .dropdown {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .dropdown-content {
    color: #111;
    background-color: white;
    display: none;
    flex-direction: column;
    padding-left: 20px;
    align-items: flex-start;
    width: 100%;
  }

  #submenu-toggle:checked + .submenu-label + .dropdown.dropdown-content{
  display: flex;
  flex-direction: column;
  }

  .dropdown-content a {
    color: #111;
    background-color: #fff;
    font-size: 16px;
    padding: 8px 0;
    text-decoration: none;
    text-align: left;
    width: 100%;
    font-weight: 1000; /* ✅ bold submenu links mobile */
  }

  .dropdown-content a:hover {
    text-decoration: underline;
  }
}
.about-content {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.about-content h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #333;
}

.about-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

.about-content table {
  text-align: left;
  margin-top: 20px;
  border: 1px solid #ccc;
}

.about-content td {
  padding: 10px;
  border: 1px solid #ddd;
}
.welcome-text {
  text-align: center;
  font-size: 30px;
  font-weight: 1000;
  margin: 30px auto;
  color: #222;
}
/* Fix overflow on mobile */
@media (max-width: 768px) {
  .map-section iframe {
    height: 350px;
  }
}
@media (min-width: 769px) {
  .hero-fade {
    height: 550px; /* desktop ke liye badi height */
  }
}
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
}


