:root {
  --primary: #1c221c;
  --bg: #f4f6f4;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}
body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  color: #fff;
  height: 2000px;
}
/* Navbar */
.navbar {
  font-family: "Inter", sans-serif;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 7%;
  background-color: #708871;
  border-bottom: 1px #f6b7b7;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 9999;
}
.navbar img {
  width: 5rem;
}
.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.4rem;
  margin: 0 1rem;
}
.navbar .navbar-nav a:hover {
  color: var(--primary);
}
.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}
.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: #fff;
  display: inline-block;
  font-size: 1.4rem;
  margin: 0 1rem;
}
.navbar .navbar-extra a:hover {
  color: var(--primary);
}
.navbar .navbar-extra a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}
.navbar .navbar-extra a:hover::after {
  transform: scaleX(0.5);
}
#menu {
  color: #fff;
  display: inline-block;
  font-size: 1.4rem;
  margin: 0 1rem;
  display: none;
}

.navbar #menu:hover {
  color: var(--primary);
}
.navbar #menu::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}
.navbar #menu:hover::after {
  transform: scaleX(0.5);
}

/* hero section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg);
}
.hero button {
  margin-top: 2rem;
  background-color: #fff;
  color: #283128; /* hijau senada navbar */
  padding: 0.6rem 1.2rem;
  border: 2px solid #708871;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero button:hover {
  background-color: #333b33;
  color: #fff;
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
}

/* About sections */
.about {
  padding: 10rem 7% 1.4rem;
}

/* media queries */
/* laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
  #menu {
    display: inline-block;
  }
  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #708871;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }
  .navbar .navbar-nav.active {
    right: 0;
  }
  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }
  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }
  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }
}

/* tablet */
@media (max-width: 768px) {
  html {
    font-size: 62.8%;
  }
}
/* mobile */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}

/* hero */

.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  color: white;
}

.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}
.hero p {
  margin-top: 2rem;
}
.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
  position: relative;
  z-index: 1;
  font-family: "Inter", sans-serif;
  font-weight: 100;
  font-size: x-large;
}
.wedding {
  position: relative; /* tambahin ini */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #e4e4e4;
}

.wedding::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e4e4e4;
  z-index: -1;
}

.catalog {
  margin: 1rem;
  position: relative; /* tambahin ini */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--bg);
}

.catalog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  z-index: -1;
}
.view-all {
  display: inline-block;
  margin-top: 1.5rem; /* jarak dari elemen atas */
  color: #708871; /* hijau keputihan */
  font-weight: 300;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.view-all:hover {
  color: #4a5a4a; /* warna lebih gelap saat hover */
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 3rem 0 2rem;
  color: #1c221c;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr)); /* default: 4 kolom */
  gap: 3rem;
  padding: 2rem;
  max-width: 1400px; /* biar gak terlalu melebar di layar super besar */
  margin: 0 auto; /* center di tengah */
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr); /* tablet: 2 kolom */
  }
}

/* --- Product Card --- */
.product-card {
  background-color: #fff;
  color: #000;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

/* --- Image wrapper 1:1 --- */
.img-wrapper {
  width: 100%;
  height: 0;
  padding-top: 100%; /* tinggi = lebar → kotak */
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
}

.img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Button --- */
.product-card button {
  margin-top: 0.5rem;
  width: 100%;
  background-color: #708871;
  color: white;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 kolom: kiri & kanan */
  gap: 2rem;
  margin-top: 2rem;
}

.catalog-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.catalog-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 0.5rem;
}

.catalog-text {
  color: #283128;
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.5rem;
}

.catalog-img {
  flex: 1;
  aspect-ratio: 1/1;
  max-width: 180px;
}

.catalog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8%;
}

/* Responsif untuk HP */
@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: 1fr; /* jadi 1 kolom di layar kecil */
  }
}

.visit img,
.testimonial img,
.wedding-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 1rem auto;
  display: block;
}
.weddingpkg {
  background-color: #708871; /* warna hijau muda kayak di contoh */
  padding: 50px 80px;
}

.weddingpkg-container {
  display: flex; /* <-- ini kuncinya */
  justify-content: space-between;
  align-items: center;
  gap: 40px; /* jarak antara teks dan gambar */
}

.weddingpkg-text {
  flex: 1;
}

.weddingpkg-text h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.weddingpkg-text p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-weddingpkg {
  padding: 10px 20px;
  border: 1px solid #333;
  background: none;
  cursor: pointer;
  border-radius: 6px;
}

.weddingpkg-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.weddingpkg-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  object-fit: cover;
}

/* Responsif HP */
@media (max-width: 768px) {
  .weddingpkg-container {
    flex-direction: column; /* biar di HP jadi atas-bawah */
    text-align: center;
  }

  .weddingpkg-img {
    margin-top: 20px;
  }
}

.workshop {
  background-color: #f4f6f4;
  padding: 150px 80px;
  color: #283128;
}

.workshop-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.workshop-text {
  flex: 1;
}

.workshop-text h2 {
  color: #283128;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.workshop-text p {
  color: #283128;
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-workshop {
  padding: 10px 20px;
  border: 1px solid #333;
  background: none;
  cursor: pointer;
  border-radius: 6px;
}

.workshop-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.workshop-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  object-fit: cover;
}

/* Responsif HP */
@media (max-width: 768px) {
  .workshop-container {
    flex-direction: column;
    text-align: center;
  }

  .workshop-img {
    margin-top: 20px;
  }
}
.about {
  background-color: #f4f6f4;
  padding: 50px 80px;
  color: #283128;
}
.aboutus-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1300px; /* batasi lebar biar ga terlalu full */
  margin: 0 auto; /* center ke tengah layar */
}

.aboutus-text {
  flex: 1;
}

.aboutus-text h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.aboutus-text p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-img img {
  width: 100%;
  max-width: 1000px;
  border-radius: 12px;
  object-fit: cover;
}

/* Responsif HP */
@media (max-width: 768px) {
  .aboutus-container {
    flex-direction: column;
    text-align: center;
  }

  .about-img {
    margin-bottom: 20px;
  }
}

.testimonial-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
  color: #000;
}

.bouquet-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 170px 80px;
  background: #fff;
}

.bouquet-card {
  position: relative;
  width: 300px;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.bouquet-card:hover {
  transform: translateY(-8px);
}

.bouquet-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 30px 20px;
  background: linear-gradient(to top, rgba(40, 49, 40, 0.8), rgba(0, 0, 0, 0));
  text-align: left;
}

.overlay h3 {
  color: white;
  font-size: 22px;
  font-family: "Dancing Script", cursive; /* mirip tulisan elegan */
  margin: 0;
}

/* Responsif HP */
@media (max-width: 900px) {
  .bouquet-section {
    flex-direction: column;
    align-items: center;
  }
  .bouquet-card {
    width: 90%;
    height: 400px;
  }
}
.footer {
  background-color: #2f392f;
  color: #d9d9d9;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-icons a {
  color: #d9d9d9;
  margin: 0 1rem;
  font-size: 1.5rem;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.footer {
  background: #283128; /* warna sesuai tema kamu */
  color: #d9d9d9;
  text-align: center;
  padding: 30px 20px;
}
