/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(to bottom right, #e5d4ef, #d4e4f7, #fff3c4, #fddde6);
  color: #333;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(to right, #dccdf0, #fbd0dc);
  padding: 10px 19px;
  text-align: center;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.4s ease, transform 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

header:hover {
  background: linear-gradient(to right, #f9a6c1, #fbd0dc);
}

header h2 {
  color: #d63384;
  font-size: 2rem;
  margin-bottom: 2px;
  font-weight: 600;
  text-transform: capitalize;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #e5d4ef, #fddde6);
  padding: 10px 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 60px;
  transition: background 0.3s ease;
}

.navbar:hover {
  background: linear-gradient(to right, #dccdf0, #fbd0dc);
}

.navbar .logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar .logo img {
  height: clamp(80px, 15vw, 100px);
  width: auto;
  object-fit: contain;
  margin-top: -4px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #6b214e;
  transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Nav Links (di luar navbar) */
.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  transition: max-height 0.3s ease;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links li:first-child {
  margin-left: 0;
}

.nav-links a {
  text-decoration: none;
  color: #6b214e;
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: #b83280;
  color: white;
  transform: scale(1.05);
}

/* Active state for nav links */
.nav-links.show {
  display: flex !important;
}

/* Responsif untuk menu */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 10px 15px;
    flex-wrap: wrap;
    height: auto;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: linear-gradient(to right, #e5d4ef, #fddde6);
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.show {
    display: flex !important;
    max-height: 450px;
    padding: 10px 0;
  }

  .nav-links li {
    margin: 8px 0; /* Dikurangi dari 10px */
    text-align: center;
  }

  .nav-links li:first-child {
    margin-top: 8px; /* Dikurangi dari 10px */
  }

  .nav-links a {
    color: #4a1a38;
    font-size: 16px; /* Dikurangi dari 18px */
    padding: 8px 15px; /* Dikurangi dari 10px 20px */
    display: block;
  }
}

/* Pastikan nav-links tetap terlihat di layar besar */
@media (min-width: 769px) {
  .nav-links {
    display: flex !important;
  }
}

/* Button Link */
a.button {
  display: inline-block;
  background-color: #ec4899;
  color: white;
  padding: 14px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

a.button:hover {
  background-color: #db2777;
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Section */
section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  transition: transform 0.4s ease-in-out, box-shadow 0.3s ease;
}

section:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

h2 {
  color: #d63384;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: capitalize;
}

p {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
  font-weight: 400;
  text-align: justify;
}

/* Video (iframe) */
.video-container {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
  height: 0;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

iframe:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background: linear-gradient(to right, #e5d4ef, #fddde6);
  text-align: center;
  padding: 14px 15px;
  color: #6b214e;
  font-size: 10px;
}

footer p {
  font-size: 0.9rem;
  color: #b83280;
  font-weight: 400;
  margin: 8px auto 0;
  display: inline-block;
}

/* New Three Columns Section */
.three-column-section {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding: 50px 50px;
}

.three-column-section .column {
  flex: 1;
  text-align: center;
  position: relative;
}

.three-column-section .column h3 {
  font-size: 24px;
  color: #b83280;
  margin-bottom: 15px;
}

.three-column-section .slider {
  display: flex;
  overflow: hidden;
  justify-content: center;
  position: relative;
}

.three-column-section .slider img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  display: none;
}

.three-column-section .slider img.active {
  display: block;
}

.three-column-section .slider img:hover {
  transform: scale(1.1);
}

/* Tombol navigasi di kiri-kanan gambar */
.three-column-section .prev,
.three-column-section .next {
  position: absolute;
  top: 65%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 14px;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 90%;
  z-index: 1;
  transition: background-color 0.3s ease;
}

.three-column-section .prev {
  left: 10px;
}

.three-column-section .next {
  right: 10px;
}

.three-column-section .prev:hover,
.three-column-section .next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.price {
  color: #d63384;
  font-weight: bold;
  margin-top: 8px;
}


/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 40px 15px;
  }

  header h2 {
    font-size: 1.6rem;
  }

  section {
    padding: 20px;
  }

  h2 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1rem;
  }

  iframe {
    height: 250px;
  }

  .three-column-section {
    flex-direction: column;
    gap: 20px;
  }

  .three-column-section .column h3 {
    font-size: 20px;
  }

  .three-column-section .slider {
    flex-direction: column;
  }

  .three-column-section .slider img {
    width: 100%;
    height: 200px;
  }
}

/* Pastikan nav-links tetap terlihat di layar besar */
@media (min-width: 769px) {
  .nav-links {
    display: flex !important; /* Tampilkan nav-links di layar besar */
  }
}