/* =========================
   ROOT COLOR
========================= */

:root{
  --primary: #8b1e2d;
  --secondary: #b43b4d;
  --soft: #f4e7e3;
  --soft2: #fff6f4;
  --text: #4a2c2c;
  --white: #ffffff;
  --shadow: rgba(139, 30, 45, 0.12);
}

/* =========================
   GLOBAL
========================= */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body{
  background: linear-gradient(to bottom, #fffaf8, #f8ece8);
  color: var(--text);
}

/* =========================
   HEADER
========================= */

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 8%;

  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(139,30,45,0.08);

  z-index: 1000;
}

/* =========================
   LOGO
========================= */

.logo-container{
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img{
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;

  border: 2px solid rgba(139,30,45,0.18);

  box-shadow:
    0 4px 18px rgba(139,30,45,0.15),
    0 0 15px rgba(180,59,77,0.12);
}

.logo-text{
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;

  color: var(--primary);

  text-transform: uppercase;
}

/* =========================
   NAVBAR
========================= */

nav{
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a{
  text-decoration: none;
  color: var(--text);

  font-size: 15px;
  font-weight: 600;

  position: relative;
  transition: 0.3s;
}

nav a::after{
  content: "";
  position: absolute;

  left: 0;
  bottom: -6px;

  width: 0%;
  height: 2px;

  background: var(--primary);

  transition: 0.3s;
}

nav a:hover{
  color: var(--primary);
}

nav a:hover::after{
  width: 100%;
}

/* HERO */
.hero{
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* BANNER */
.hero-banner{
  width: 100%;
  height: 92vh;
  min-height: 780px;
}

.hero-banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* OVERLAY */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

/* TEXT */
.hero-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  z-index: 2;

  width: 100%;
  padding: 0 20px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;
}

/* TITLE */
.hero-text h1{
  font-size: 90px;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.1;
}

/* SUBTITLE */
.hero-text p{
  font-size: 28px;
  margin-bottom: 35px;
}

/* BUTTON */
.hero-text button{
  padding: 16px 40px;
  border: none;
  border-radius: 40px;
  background: #ff4d6d;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.hero-text button:hover{
  background: #e63956;
  transform: scale(1.05);
}

/* MOBILE */
@media(max-width:768px){

  .hero-banner{
    height: 80vh;
    min-height: 650px;
  }

  /* AGAR TULISAN TURUN KE TENGAH */
  .hero-text{
    top: 58%;
    left: 50%;
    transform: translate(-50%, -58%);
  }

  .hero-text h1{
    font-size: 52px;
  }

  .hero-text p{
    font-size: 18px;
  }

  .hero-text button{
    padding: 13px 28px;
    font-size: 15px;
  }

}
/* =========================
   PRODUCTS
========================= */

.services{
  padding: 110px 5%;
}

.services h2{
  text-align: center;

  font-size: 44px;
  color: var(--primary);

  margin-bottom: 60px;
}

/* DESKTOP */
.cards{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
/* =========================
   PRODUCT CARD
========================= */

.product-card{
  background: rgba(255,255,255,0.92);

  border-radius: 24px;
  overflow: hidden;

  box-shadow:
  0 10px 25px var(--shadow);

  transition: 0.35s;

  border: 1px solid rgba(139,30,45,0.08);

  display: flex;
  flex-direction: column;
}

.product-card:hover{
  transform: translateY(-8px);
}

/* =========================
   IMAGE
========================= */

.image-slider{
  width: 100%;
  overflow: hidden;
}

.image-slider img{
  width: 100%;
  aspect-ratio: 1 / 1;

  object-fit: cover;
  display: block;

  background: #f5f5f5;
}

/* =========================
   SLIDER BUTTON
========================= */

.slider-buttons{
  display: flex;
  justify-content: space-between;

  padding: 14px 16px;
}

.slider-buttons button{
  width: 44px;
  height: 44px;

  border: none;
  border-radius: 50%;

  background: var(--primary);
  color: white;

  font-size: 18px;
  cursor: pointer;

  transition: 0.3s;
}

.slider-buttons button:hover{
  background: var(--secondary);
  transform: scale(1.05);
}

/* =========================
   PRODUCT INFO
========================= */

.product-info{
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info h3{
  font-size: 23px;
  color: var(--primary);

  margin-bottom: 10px;
}

.product-info p{
  color: #6b5555;

  line-height: 1.7;
  margin-bottom: 24px;

  flex-grow: 1;
}

/* =========================
   BUTTON
========================= */

.checkout-btn{
  display: inline-block;

  text-align: center;
  text-decoration: none;

  padding: 13px 26px;

  border-radius: 40px;

  background: linear-gradient(
    to right,
    var(--primary),
    var(--secondary)
  );

  color: white;
  font-weight: 600;

  transition: 0.3s;
}

.checkout-btn:hover{
  transform: translateY(-2px);
  opacity: 0.92;
}

/* =========================
   GALLERY
========================= */

.gallery{
  padding: 110px 8%;
  background: linear-gradient(to bottom,#fff7f5,#f8ece8);
}

.gallery h2{
  text-align: center;
  font-size: 44px;

  color: var(--primary);
  margin-bottom: 50px;
}

.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));

  gap: 24px;
}

.box{
  height: 260px;

  border-radius: 24px;

  background:
  linear-gradient(
    135deg,
    #8b1e2d,
    #b43b4d
  );

  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  font-weight: 600;

  box-shadow: 0 8px 20px rgba(139,30,45,0.16);

  transition: 0.3s;
}

.box:hover{
  transform: scale(1.03);
}

/* =========================
   BRAND STORY
========================= */

.brand-story{
  padding: 110px 8%;

  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));

  gap: 60px;
  align-items: center;
}

.story-image img{
  width: 100%;
  border-radius: 26px;

  box-shadow:
  0 10px 25px rgba(139,30,45,0.16);
}

.story-content span{
  color: var(--secondary);

  font-weight: 700;
  letter-spacing: 2px;
}

.story-content h2{
  font-size: 46px;

  color: var(--primary);

  margin: 20px 0;
}

.story-content p{
  line-height: 1.9;
  color: #6a5a5a;

  margin-bottom: 20px;
  text-align: justify;
}

.story-btn{
  display: inline-block;

  margin-top: 12px;
  padding: 14px 30px;

  border-radius: 40px;

  background: linear-gradient(
    to right,
    var(--primary),
    var(--secondary)
  );

  color: white;
  text-decoration: none;

  font-weight: 600;
}

/* =========================
   CONTACT
========================= */

.contact{
  padding: 110px 8%;

  text-align: center;

  background:
  linear-gradient(to bottom,#fff7f5,#f5e6e1);
}

.contact h2{
  font-size: 44px;
  color: var(--primary);

  margin-bottom: 15px;
}

.contact p{
  margin-bottom: 35px;
}

.contact-buttons{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 18px;
}

.btn{
  padding: 14px 30px;

  border: none;
  border-radius: 40px;

  text-decoration: none;
  color: white;

  font-weight: 600;

  cursor: pointer;
  transition: 0.3s;
}

.email{
  background: var(--primary);
}

.phone{
  background: #9f3142;
}

.wa{
  background: #25d366;
}

.btn:hover{
  transform: translateY(-3px);
}

/* INSTAGRAM */

.ig{
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

/* TIKTOK */

.tiktok{
  background: #111;
}
/* =========================
   FOOTER
========================= */

footer{
  background: linear-gradient(
    to right,
    #7c1828,
    #a22d40
  );

  color: white;

  text-align: center;
  padding: 24px;

  font-size: 15px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

  header{
    flex-direction: column;
    gap: 18px;
    padding: 18px 5%;
  }

  nav{
    width: 100%;

    display: grid;
    grid-template-columns: repeat(2,1fr);

    gap: 12px;
  }

  nav a{
    background: rgba(139,30,45,0.06);

    padding: 10px;
    border-radius: 12px;

    text-align: center;
  }

  .hero{
    padding-top: 170px;
  }

  .hero h1{
    font-size: 40px;
  }

  .hero p{
    font-size: 16px;
  }

  .services h2,
  .gallery h2,
  .contact h2,
  .story-content h2{
    font-size: 32px;
  }

  /* PRODUK 2 KOLOM DI HP */
  .cards{
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
  }

  .product-card{
    width: 100%;
    margin: auto;
    border-radius: 18px;
  }

  .image-slider img{
    aspect-ratio: 1 / 1;
  }

  .product-info{
    padding: 14px;
  }

  .product-info h3{
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.4;
  }

  .product-info p{
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .checkout-btn{
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 14px;
  }

  .slider-buttons{
    padding: 10px;
  }

  .slider-buttons button{
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .story-content p{
    text-align: left;
  }

}
/* =========================
   WHY US
========================= */

.why-us{
  padding: 100px 8%;
  background: #fdf7f8;
  text-align: center;
}

.why-us h2{
  font-size: 42px;
  margin-bottom: 50px;
  color: #b76e79;
}

.why-container{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 30px;
}

.why-box{
  background: white;
  padding: 40px 30px;
  border-radius: 25px;

  box-shadow: 0 5px 20px rgba(0,0,0,0.06);

  transition: 0.3s;
}

.why-box:hover{
  transform: translateY(-8px);
}

.why-box span{
  font-size: 45px;
  display: block;
  margin-bottom: 20px;
}

.why-box h3{
  color: #b76e79;
  margin-bottom: 15px;
  font-size: 24px;
}

.why-box p{
  color: #666;
  line-height: 1.7;
}

