@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Roboto:wght@300&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:wght@300&display=swap");

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  scroll-behavior: smooth;
  user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  font-family: "Lora", serif;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
}

/**************************** General ****************************/

section {
  display: grid;
  text-align: center;
  place-items: center;
  align-content: center;
  min-height: 80vh;
  min-height: 88vh;
  padding: 0vh 5vw;
}

.hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 1s;
}

.show {
  opacity: 1;
  filter: blur(0px);
  transform: translateX(0);
}

@media (prefers-reduced-motion) {
  .hidden {
    transition: none;
  }
}

.glass {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 32px 12px;
}

#toTopbtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #ffd700;
  color: #000000;
  cursor: pointer;
  padding: 16px 18px;
  border-radius: 35px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1);
}

#toTopbtn:hover {
  background-color: #f1cd03;
  color: #000000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.03);
  border: 1px solid black;
  transition: all 0.3s ease-in-out;
}

/************************* Animations *********************/

@keyframes gradient-animation {
  0% {
    background-position: left center;
  }
  100% {
    background-position: right center;
  }
}

.text-grad {
  background-image: linear-gradient(to right, #ffb347, #ffcc33, #ffb347);
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: gradient-animation 2s infinite;
}

.search-container {
  height: 50px;
  width: 300px;
  display: flex;
  align-items: center;
  padding: 5px;
  box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.3),
    -6px -6px 10px rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  margin: 10px;
  position: relative;
  transition: width 1.5s;
}

.magnifier {
  cursor: pointer;
  position: absolute;
  left: 20px;
}

.mic {
  width: 30px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  transition: width 0.5s;
  transition-delay: 1s;
}

.input {
  background-color: transparent;
  border: none;
  width: 100%;
  margin: 10px 50px;
  outline: none;
  color: rgb(100, 100, 100);
  transition: width 0.5s;
  transition-delay: 0.2s;
}

.active.search-container {
  width: 50px;
}

.active .input,
.active .mic {
  width: 0;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~   Header   ~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/* General Styles */
header.main-header {
  background: linear-gradient(90deg, #d4af37, #ffd700);
  padding: 12px 20px;
  text-align: center;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header.main-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.main-header .logo {
  display: flex;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
}

header.main-header ul {
  list-style: none;
  display: flex;
  margin: 0px;
  padding: 0px;
}

header.main-header ul li {
  margin: 0 15px;
}

header.main-header ul li a {
  color: #2c2c2c;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  transition: all 0.5s ease-in-out allow-discrete;
}
.logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

header.main-header .logo {
  font-size: 1.5em;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  text-wrap: nowrap;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 30px;
  color: #fff;
}

/* For active page link in navbar */
.active-nav {
  border-bottom: 2px solid #fff;
  color: #333;
  font-weight: 700;
  cursor: none;
}

.navbar a:hover,
.overlay-menu li a:hover {
  color: #252525;
  background-color: #ffffff;
  border-radius: 16px;
}

/* Overlay Menu Styles */
header.main-header .overlay-menu {
  display: none;
}

header.main-header .overlay-header {
  display: none;
}

.overlay {
  position: fixed;
  top: 0;
  left: -150%;
  width: 95vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
  transition: left 0.6s ease;
  z-index: 1001;
}

.overlay-header {
  position: absolute;
  top: 20px;
  right: 50px;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

.overlay-menu {
  list-style: none;
  margin: 80px 0 0;
  padding: 0;
  width: 100%;
}

.overlay-menu li {
  margin: 20px 0;
}

.overlay-menu li a {
  color: #fff;
  font-size: 1.5em;
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 4px;
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  header.main-header .navbar {
    display: none;
  }

  header.main-header ul li a {
    color: #dcdcdc;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 12px;
    margin: 5vh 0px;
  }

  header.main-header .overlay-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 26px 0px;
    padding: 0px;
  }

  header.main-header .overlay-header {
    display: block;
  }

  .overlay.active {
    left: 0;
  }

  .twodivs {
    flex-direction: column;
  }
}

/*****************************/

.btn-grad {
  background-image: linear-gradient(
    to right,
    #c88d1d 0%,
    #ffc515 51%,
    #ffd700 100%
  );
}
.btn-grad {
  margin: 10px;
  padding: 15px 45px;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  text-wrap: nowrap;
  transition: all 0.6s ease-out;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
}

.btn-grad:hover {
  background-position: right center;
  color: #303030;
  text-decoration: none;
}

/************************ Homepage ********************/

.banner {
  background: url("../assets/home_bg.webp") no-repeat center center/cover;
  color: #fff;
  height: 70vh;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner-content h1 {
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  color: #ffd700;
  color: #fff2af;
}

.banner-content p {
  margin: 10px 0 20px;
  color: black;
}

.overview {
  padding: 60px;
  background-color: #f4f4f4;
  text-align: center;
}

.featured-products {
  padding: 50px;
  text-align: center;
}

.featured-products .product-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.featured-products .product-item {
  margin: 20px;
  width: 30%;
  padding: 10px;
}

.featured-products .product-item img {
  width: 200px;
  height: auto;
  border-radius: 10px;
}

.featured-products .product-item h3 {
  font-size: 1.5em;
  margin: 10px 0;
}

/* Responsive adjustments */

/* Large screens (Desktop) */
@media (min-width: 1200px) {
  .featured-products .product-item {
    width: 23%; /* 4 products per row on large desktops */
  }
}

/* Medium screens (Tablet) */
@media (max-width: 1200px) and (min-width: 768px) {
  .featured-products .product-item {
    width: 30%; /* 3 products per row on tablet-sized screens */
  }
}

/* Small screens (Mobile) */
@media (max-width: 768px) {
  .featured-products .product-item {
    width: 100%; /* 1 product per row on smaller screens */
  }
}

@media (max-width: 480px) {
  .featured-products {
    padding: 20px; /* Reduce padding on very small screens */
  }

  .featured-products .product-item h3 {
    font-size: 1.2em; /* Slightly smaller text for smaller screens */
  }

  .featured-products .product-item img {
    width: 150px; /* Make images smaller for very small screens */
  }
}

.brands {
  padding: 50px;
  background-color: #fff;
  text-align: center;
}

.brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.brands .brand-logos img {
  width: 150px;
  margin: 20px;
  border-radius: 10px;
  /* filter: grayscale(100%); */
}

/* *******************Products******************* */

.products-intro {
  padding: 50px;
  text-align: center;
  background: url("../assets/background_kapil.png") no-repeat center
    center/cover;
}

.product-categories {
  padding: 50px;
  text-align: center;
  background-color: #fff;
}

.category-list {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 20px;
}

.category-item {
  margin: 0 20px;
  background-color: #ffd700;
  color: #000000;
  padding: 20px 30px;
  text-decoration: none;
  border-radius: 35px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1);
}

.category-item:hover {
  background-color: #f1cd03;
  color: #000000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
  border: 1px solid black;
  transition: all 0.3s ease-in-out;
}

.product-list {
  padding: 14vh 50px;
  text-align: center;
}

.product-list h2 {
  background-color: #ffd700;
  border-radius: 20px;
  padding: 8px 20px;
  width: 60%;
  font-size: 24px;
}

.product-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.product-item {
  margin: 20px;
  padding: 20px 0px;
  width: 26%;
  text-align: center;
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
  border-radius: 16px;
  border-bottom: 6px solid gold;

  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}
.product-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.product-item img {
  width: 85%;
  height: auto;
  border-radius: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.product-item h3 {
  font-size: 20px;
  margin: 10px 0;
}

/* *******************Brands******************* */

.brands-intro {
  padding: 50px;
  text-align: center;
  background-color: #f4f4f4;
  background-color: #323232;
  color: white;
}

.brands-list {
  min-width: 88vw;
  padding: 24px;
  text-align: center;
  background-color: #fff;
}

.twodivs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.brand-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  min-height: 200px;
  padding: 4px;
  transition: transform 0.2s;
}

.brand-item:hover {
  transform: translateY(-5px);
}

.brand-item img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.h80 {
  height: 80%;
  display: flex;
}

.h20 {
  height: 20%;
}

.brand-item h3 {
  font-size: 1.1em;
  color: #555;
  margin-top: 10px;
  text-wrap: nowrap;
}
/* *******************gallery******************* */

.gallery-intro {
  padding: 50px;
  text-align: center;
  background: url("../assets/gallery4.jpg") no-repeat center center/cover;
  background-color: #f4f4f4;
}

/* *******************new gallery***************** */

.supergalhead {
  background: #ffd700;
  color: #2b2b2b;
  margin: 2rem 0rem;
  padding: 1rem 3rem;
  font-size: 2.5rem;
  text-align: center;
  font-weight: 800;
  opacity: 0;
  border-radius: 50px;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.supergallery {
  columns: 3;
  column-gap: 1.5rem;
  width: 100%;
  margin: 40px 0px;
}

.supergallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: calc(var(--delay) * 0.2s);
}

.supergallery-item:hover .imgoverlay {
  opacity: 1;
  transform: translateY(0);
}

.supergallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.supergallery-item:hover img {
  transform: scale(1.05);
}

.imgoverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 2rem 1.5rem;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.imgoverlay h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.imgoverlay p {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}

.photo-credit {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: white;
  font-size: 0.8rem;
  opacity: 0.8;
  text-decoration: none;
}

.photo-credit:hover {
  opacity: 1;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: #ffd700;
  z-index: 1000;
  transition: width 0.3s ease;
}
/* *******************About***************** */

.about-intro {
  padding: 50px;
  text-align: center;
  background-color: #323232;
  color: white;
}

.company-history,
.mission-values,
.awards {
  padding: 50px;
  text-align: center;
  background-color: #fff;
}

.awards-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.awards-list .award-item {
  margin: 20px;
  width: 45%;
  text-align: center;
}

.awards-list .award-item img {
  width: auto;
  height: 300px;
  border-radius: 10px;
}

.awards-list .award-item p {
  margin-top: 10px;
  font-weight: bold;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.flex img {
  height: 250px;
  border-radius: 50%;
}
/* *******************faq******************* */

.faq-section {
  padding: 50px;
  text-align: center;
  background-color: #343434;
  color: #ffffff;
}

.faq-section h1 {
  margin-bottom: 2rem;
  border-radius: 50px;
  color: #fff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-container h5 {
  font-size: 20px;
  color: #ffd700;
}

.faq-item {
  margin: 20px 0;
  border-bottom: 1px solid #626262;
  padding-bottom: 10px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: #343434;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #ffd700;
  color: #161616;
  transition: background-color 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.5s ease;
  color: #ffffff;
  border-radius: 5px;
  margin-top: 10px;
}

#contact {
  color: #2c2c2c;
  cursor: pointer;
  font-weight: 600;
  padding: 18px 32px;
  margin: 12px auto;
  transition: all 0.5s ease-in-out allow-discrete;
  background-color: #ffd700;
  border-radius: 32px;
  font-size: 15px;
}

#contact:hover {
  color: #000;
  background-color: #fff;
}
svg {
  background-color: #4d4d4d;
  fill: white;
  border-radius: 50px;
  padding: 2px;
  height: 26px;
  width: 26px;
  transition: all 0.5s ease-in-out;
}

.faq-item.active .faq-answer {
  max-height: 300px; /* Adjust this value based on content */
}

.faq-item.active .faq-question {
  background-color: #343434;
  color: #ffd700;
  font-weight: 600;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  transition: all 0.5s ease-in-out;
  background-color: #ffd700;
  fill: #000;
}
.faq-question:hover svg {
  transition: all 0.5s ease-in-out;
  background-color: #ffd700;
  fill: #000;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~   Footer   ~~~~~~~~~~~~~~~~~~~~~~~~~~*/

footer {
  background-color: #323232;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.contact-footer {
  display: flex;
  justify-content: space-between;
  padding: 40px;
  font-family: Arial, sans-serif;
  background-color: #242424;
  color: #fff;
  text-align: start;
  padding: 20px;
}

.contact-info {
  max-width: 50%;
}

.contact-info h3 {
  font-weight: normal;
  color: #ffffff;
}

.contact-info h1 {
  font-weight: bold;
  color: #ffffff;
  margin: 10px 0;
}

.contact-info p {
  color: #ffffff;
  margin-bottom: 20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item .icon {
  font-size: 1.2rem;
  color: #ffffff;
}

.contact-item a,
.contact-item p {
  text-decoration: none;
  color: white;
  font-family: sans-serif;
}

.contact-map {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
}

.contact-map iframe {
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.2);
}

.developedby p {
  margin: 0%;
  padding: 0%;
  color: #999999;
}

.developedby a {
  color: #ffd700;
}

/****************************media queries*********/
@media (max-width: 768px) {
  .product-list {
    padding: 10vh 30px;
  }

  .contact-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-info {
    max-width: 100%;
  }

  .contact-map {
    margin-top: 20px;
  }

  .product-item {
    width: 38%;
  }

  .flex {
    flex-direction: column-reverse;
  }

  .awards-list .award-item img {
    height: 220px;
  }

  .awards-list .award-item {
    width: 96%;
  }

  .supergallery {
    columns: 2;
  }
}

@media (max-width: 480px) {
}

@media (max-width: 480px) {
  .supergallery {
    columns: 1;
    width: 92%;
  }

  .brands-list {
    padding: 12px;
  }

  section {
    padding: 0px;
  }

  .overview,
  .banner,
  .brands,
  .company-history,
  .mission-values,
  .about-intro,
  .products-intro,
  .gallery-intro,
  .brands-intro {
    padding: 18px;
  }

  .product-categories {
    padding: 0px;
  }
  .product-list h2 {
    width: 92%;
  }
  .search-container {
    width: 260px;
  }

  .faq-section {
    padding: 5px;
  }

  .awards {
    padding: 10px;
  }

  #toTopbtn {
    padding: 8px 9px;
    border-radius: 14px;
  }

  .category-item {
    width: 66vw;
  }

  .product-list {
    padding: 14vh 16px;
  }

  .product-item {
    width: 36%;
  }

  .slider {
    margin: 40px 10px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1.5rem;
}

/* Default font sizes for smaller screens (mobile-first approach) */
h1 {
  font-size: 28px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 20px;
}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 16px;
}
h6 {
  font-size: 14px;
}
p {
  font-size: 16px;
}
a {
  font-size: 16px;
}

/* Larger desktops (1440px and above) */
@media (min-width: 1440px) {
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 28px;
  }
  h4 {
    font-size: 24px;
  }
  h5 {
    font-size: 20px;
  }
  h6 {
    font-size: 18px;
  }
  p {
    font-size: 18px;
  }
  a {
    font-size: 18px;
  }
}

/* Laptops and smaller desktops (1024px to 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 20px;
  }
  h5 {
    font-size: 18px;
  }
  h6 {
    font-size: 16px;
  }
  p {
    font-size: 16px;
  }
  a {
    font-size: 16px;
  }
}

/* Tablets (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 22px;
  }
  h4 {
    font-size: 18px;
  }
  h5 {
    font-size: 16px;
  }
  h6 {
    font-size: 14px;
  }
  p {
    font-size: 15px;
  }
  a {
    font-size: 15px;
  }
}

/* Small screens (up to 767px) */
@media (max-width: 767px) {
  h1 {
    font-size: 26px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 18px;
  }
  h4 {
    font-size: 16px;
  }
  h5 {
    font-size: 14px;
  }
  h6 {
    font-size: 12px;
  }
  p {
    font-size: 14px;
  }
  a {
    font-size: 14px;
  }
}
