@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Libre+Baskerville:wght@400;700&display=swap");

/* Fonts */
body {
  font-family: "Cormorant Garamond", serif;
  background-color: #ede3ce;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
.logo {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

/* HEADER / HERO */
.main-header {
  position: relative;
  height: 800px;
  overflow: hidden;
}

.main-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/herosection.jpeg") no-repeat center center/cover;
  filter: blur(6px);
  transform: scale(1.05);
  z-index: 1;
}

.main-header > * {
  position: relative;
  z-index: 2;
}

.hero-text {
  margin-top: -10px;
  opacity: 0;
  animation: slideOut 2s ease-out forwards;
}

.hero-text h1 {
  font-size: 40px;
}
.hero-text p {
  font-size: 25px;
  margin-bottom: 30px;
}

/* Gambar */

.hero-img {
  max-width: 800px;
  max-height: 500px;
  width: auto;
  height: auto;
  animation: slideIn 2s ease-out forwards;
  display: block;
  margin-left: auto;
  margin-right: auto; /* biar center di mobile */
}

/* Keyframes */
@keyframes slideOut {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    transform: translateX(120px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Heading utama */
h1,
h2,
h3 {
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.3); /* tipis tapi kelihatan tebal */
}

/* Judul Guide Preview */
.fragrance-guide-preview h2 {
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

/* Optional: tombol juga bisa lebih tegas */
.custom-btn {
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.custom-btn {
  background-color: #541123;
  color: #ecd868;
  border: none;
  padding: 18px 55px;
  border-radius: 14px;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 20px;
  position: relative;
  z-index: 1000;
}

.custom-btn:hover {
  background-color: #7a0a28;
}

/* Navbar */
.navbar {
  padding: 8px 15px;
  border-bottom: 1px solid #6c1515;
}
.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  color: #6c1515;
  margin-right: 25px;
  margin-bottom: 20px;
}
.nav-link {
  margin-left: 16px;
  font-size: 24px;
  font-weight: 700;
  color: #510303;
}
.navbar .nav-link:hover {
  color: #d01913 !important; /* saat hover */
}
.nav-link.active {
  color: #d01913;
}
.navbar .nav-link.active,
.navbar .nav-link.show {
  color: #a40500 !important; /* ubah sesuai warna yang kamu mau */
}

.logo {
  height: 28px;
}

.caption {
  font-size: 24px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 2px;
}
.gallery-item img {
  width: 100%;
  border-radius: 10px;
  object-fit: contain;
  transition: transform 0.3s;
}
.gallery-item img:hover {
  transform: scale(1.05);
}

/* Guide Preview */
.fragrance-guide-preview {
  padding: 30px 0;
  text-align: center;
}
.fragrance-guide-preview h2 {
  margin: 40px 0 15px;
  font-weight: 900;
  font-size: 32px;
}
.fragrance-guide-preview p {
  padding: 20px;
  margin-bottom: 20px;
}
.fragrance-guide-preview a {
  display: inline-block;
  margin-top: 25px;
  margin-bottom: 50px;
}

/* Our Values */
.our-values {
  border-top: 1px solid #6c1515;
  padding: 10px;
}
h5 {
  font-size: 24px;
  font-weight: 700;
}
.value-box {
  background: #ede3ce;
  border: 2px solid #dfddb0;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 50px;
  font-size: 20px;
  font-weight: 500;
}
.value-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background-color: #ede3ce;
}

/* Mobile */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-img {
    max-height: 400px;
    width: auto;
  }
}
