/* =========================================================
   HOME PAGE – Clean Final Version
   Desktop preserved + Mobile fixed + Tablet optimized
========================================================= */

/* GLOBAL WRAPPER */
.home-page {
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
}

/* =========================================================
   HEADER
========================================================= */
.home-page header {
  width: 100%;
  z-index: 9999;
}

/* =========================================================
   SLIDER (Desktop)
========================================================= */
.home-page .slider {
  width: 100%;
  height: 75vh;
  overflow: hidden;
  position: relative;
}

.home-page .slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.home-page .slide {
  flex: 0 0 100%;
  height: 100%;
}

.home-page .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.home-page .slider-text h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 70px;
  color: var(--gold);
}

.home-page .slider-text p {
  font-size: 32px;
  color: var(--cream);
}

/* =========================================================
   HERO — Desktop
========================================================= */
.home-page .hero {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 50px 0 30px;
}

.home-page .hero-text {
  background: rgba(13,28,46,0.7);
  padding: 25px 150px;
  border-radius: 10px;
  text-align: center;
}

.home-page .hero-text h1 {
  color: var(--gold);
  font-size: 32px;
}
.home-page .hero-text p {
  color: var(--cream);
  font-size: 18px;
}

/* =========================================================
   ABOUT — Desktop
========================================================= */
.home-page .about {
  display: flex;
  align-items: center;
  padding: 80px 0;
  gap: 60px;
}

.home-page .about-text {
  flex: 1;
  padding-right: 5%;
}

.home-page .about-text h2 {
  font-size: 32px;
  color: var(--gold);
}

.home-page .about-text h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 20px;
}

.home-page .about-text p {
  font-size: 18px;
  line-height: 1.8;
}

.home-page .about-image {
  flex: 1;
}

/* IMAGE style for WHY-US – Desktop (Half-round RIGHT) */
#why-us .about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-top-right-radius: 260px;
  border-bottom-right-radius: 260px;
}

/* IMAGE style for INNOVATION – Desktop (Half-round LEFT) */
#innovation .about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-top-left-radius: 260px;
  border-bottom-left-radius: 260px;
}

/* =========================================================
   PARALLAX — Desktop
========================================================= */
.home-page .products-parallax {
  position: relative;
  background-image: url("../images/background/products-bg.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--cream);
  text-align: center;
}

.home-page .products-parallax h2 {
  font-size: 36px;
  color: var(--gold);
}

/* =========================================================
   PRODUCT GALLERY — Desktop
========================================================= */
.home-page .product-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.home-page .product-item {
  position: relative;
  height: 470px;
}

.home-page .product-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .product-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px 0;
  background: rgba(13,28,46,0.5);
  color: var(--gold);
  text-align: center;
}

/* =========================================================
   WHATSAPP FLOAT
========================================================= */
.home-page .whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 52px;
  height: 52px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--gold);
  transition: 0.3s;
  z-index: 9999;
}

.home-page .whatsapp-float:hover {
  background: var(--gold);
  color: white;
}


/* =========================================================
   ★ MOBILE STYLE (max 768px)
========================================================= */
@media (max-width: 768px) {

  /* Slider */
  .home-page .slider {
    height: 55vh !important;
  }

  /* HERO Blue Box */
  .home-page .hero {
    padding: 25px 0 !important;
  }

  .home-page .hero-text {
    width: 90%;
    padding: 18px 14px !important;
    border-radius: 12px !important;
  }

  .home-page .hero-text h1 {
    font-size: 20px !important;
    line-height: 1.5 !important;
  }

  /* ABOUT → stacked */
  .home-page .about {
    flex-direction: column !important;
    text-align: center !important;
    padding: 40px 0 !important;
  }

  .home-page .about-text {
    width: 90% !important;
    padding: 0 !important;
  }

  .home-page .about-image {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  /* MOBILE → rounded images */
  .home-page .about-image img {
    width: 90% !important;
    height: auto !important;
    border-radius: 18px !important;
    object-fit: cover !important;
  }

  /* WHY-US → text first */
  #why-us .about-text { order: 1 !important; }
  #why-us .about-image { order: 2 !important; }

  /* INNOVATION image — same structure */
  #innovation .about-image img {
    border-radius: 18px !important;
  }

  /* PARALLAX — square */
  .home-page .products-parallax {
    height: 300px !important;
  }

  /* GALLERY → 2×2 */
  .home-page .product-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .home-page .product-item {
    height: 260px !important;
  }
}

/* =========================================================
   ★ TABLET (769–1024)
========================================================= */
@media (min-width: 769px) and (max-width: 1024px) {

  .home-page .hero-text {
    width: 75% !important;
    padding: 22px 40px !important;
  }

  .home-page .about {
    flex-direction: column !important;
    text-align: center !important;
    gap: 40px !important;
  }

  .home-page .about-text {
    width: 85% !important;
  }

  .home-page .about-image img {
    width: 85% !important;
    border-radius: 22px !important;
    height: auto !important;
  }

  .home-page .products-parallax {
    height: 45vh !important;
    background-attachment: scroll !important;
  }

  .home-page .product-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .home-page .product-item {
    height: 360px !important;
  }
}
