body {
    font-family: 'Poppins', sans-serif, Arial, sans-serif;
    background-color: #faf3d6;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
/* .hero-section {
    position: relative;
    height: 360px;
    background: linear-gradient(
        180deg,
        rgba(250, 243, 214, 1) 0%,
        rgba(255, 213, 128, 1) 31%,
        rgba(230, 164, 75, 1) 60%,
        rgba(250, 243, 214, 1) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-ellipse {
    width: 600px;
    height: 180px;
    border-radius: 300px/90px;
    filter: blur(40px);
    mix-blend-mode: screen;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 241, 193, 1) 0%, rgba(255, 241, 193, 0) 100%);
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 840px;
    padding: 0 20px;
}

.hero-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 50px;
    margin-top: 50px;
    text-shadow: 0px 2px 8px #00000040;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: #000000;
    font-size: 18px;
    text-shadow: 0px 2px 15px #00000040;
    line-height: 1.4;
} */


.hero-section {
    position: relative;
    height: 61vh; /* sesuai permintaan */
    min-height: 320px; /* agar HP kecil tidak mepet */
    background: linear-gradient(
        180deg,
        rgba(250, 243, 214, 1) 0%,
        rgba(255, 213, 128, 1) 31%,
        rgba(230, 164, 75, 1) 60%,
        rgba(250, 243, 214, 1) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-background {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-ellipse {
    width: 50%;
    max-width: 600px;
    height: 150px;
    border-radius: 300px / 90px;
    filter: blur(40px);
    mix-blend-mode: screen;
    background: radial-gradient(
        50% 50% at 50% 50%,
        rgba(255, 241, 193, 1) 0%,
        rgba(255, 241, 193, 0) 100%
    );
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 0 20px;
}

.hero-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #000;
    font-size: 44px;
    line-height: 1.2;
    text-shadow: 0px 2px 8px #00000040;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: #000;
    font-size: 18px;
    line-height: 1.4;
    text-shadow: 0px 2px 15px #00000040;
}


/* Sections */
.section {
    margin-bottom: 40px;
    padding: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    max-width: calc(100% - 80px);
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 32px;
    text-align: left;
    padding-top: 23px;
}

.view-more-btn {
    width: 209px;
    height: 55px;
    margin-bottom: 0;
    background-color: #e7a74e;
    border-radius: 25px;
    box-shadow: 0px 2px 5px #00000040;
    border: none;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 0.72px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background-color: #d6963e;
    transform: scale(1.05);
    box-shadow: 0px 4px 8px #00000040;
}

/* Gallery Sections - UPDATED FOR SCROLLING */
.gallery-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 38px;
    padding: 20px 40px;
    margin: 0 auto;
    max-width: calc(100% - 40px);
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}

.gallery-container:active {
    cursor: grabbing;
}

/* Optional: Show scrollbar on hover */
.gallery-container::-webkit-scrollbar {
    height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.gallery-container::-webkit-scrollbar-thumb {
    background: rgba(231, 167, 78, 0.5);
    border-radius: 10px;
}

.gallery-container::-webkit-scrollbar-thumb:hover {
    background: rgba(231, 167, 78, 0.8);
}

.gallery-item {
    flex-shrink: 0;
    width: 400px;
    height: 250px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

.gallery-navigation {
    display: flex !important;
    justify-content: right;
    gap: 12px;
    margin-top: 20px;
    margin-right: 17px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.nav-arrow:hover {
    transform: scale(1.15);
    opacity: 1;
}

.nav-arrow:active {
    transform: scale(0.95);
}

/* Testimonial Section - UPDATED FOR SCROLLING */
/* Efek hover pada card testimoni */
.review-card {
    background: #fff;
    border-radius: 12px;
    overflow: visible;           /* biarkan elemen absolute (quote) keluar sedikit */
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    flex: 0 0 auto;              /* jangan mengecil, jangan mengisi seluruh baris */
    width: 100%;
    max-width: 380px;            /* batas lebar kartu */
    min-width: 280px;            /* lebar minimal saat scroll */
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.review-card .position-relative {
  position: relative;
  /* overflow: hidden; */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Membuat gambar juga ikut zoom */
.review-card img {
    transition: transform 0.4s ease;
}

.review-card:hover img {
    transform: scale(1);
}

.review-card .top-image {
  display: block;
  width: 100%;
  height: 220px;               /* tinggi tetap supaya card konsisten */
  object-fit: cover;           /* crop yang rapi */
  object-position: center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.testimoni-gallery {
  display: flex;               /* horizontal layout */
  gap: 20px;
  overflow-x: auto;            /* memungkinkan scroll horizontal */
  scroll-behavior: smooth;
  padding: 10px 16px;
  align-items: flex-start;     /* agar card tidak meregang vertikal */
  box-sizing: border-box;
}


/* Responsive */
@media (max-width: 991px) {
  .navbar-brand {
    font-size: 24px;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .milk-splash {
    height: 250px;
  }

  .section-title {
    font-size: 36px;
  }

  .contact-heading {
    font-size: 28px;
  }

  .form-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
    .hero-section {
        height: 61vh; /* tetap 61vh */
        min-height: 300px;
        padding: 20px 10px;
    }

    .hero-title {
        font-size: 42px;
        margin-top: 10px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-top: 5px;
    }

    .hero-ellipse {
        width: 80%;
        height: 120px;
        filter: blur(35px);
    }
}

/* HP kecil */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-ellipse {
        width: 90%;
        height: 100px;
        filter: blur(30px);
    }
}

/* === MOBILE FIXES === */
@media (max-width: 576px) {
    .hero-section {
        height: 260px;
        padding: 20px 10px;
    }

    .hero-title {
        font-size: 24px;
        margin-top: 20px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    /* Gallery item adjust for small phone width */
    .gallery-container {
        gap: 16px;
        padding: 10px 15px;
    }

    .gallery-item {
        width: 260px;
        height: 160px;
        border-radius: 10px;
    }

    .section-header {
        padding: 0 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .section-title {
        font-size: 22px;
        padding-top: 5px;
    }

    .view-more-btn {
        width: 160px;
        height: 45px;
        font-size: 18px;
        border-radius: 18px;
    }

    /* Navigation arrows smaller */
    .gallery-navigation {
        justify-content: center;
        margin-right: 0;
    }

    .nav-arrow {
        width: 38px;
        height: 38px;
    }

    /* Testimonial Cards */
    .review-card {
        width: 90%;
        margin: 0 auto;
    }

    .top-image {
        width: 100%;
        height: 180px;
    }

    .quote-circle {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: -15px;
    }
}


.review-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

/* Gambar atas */
.top-image {
    height: 240px;
    min-width: 356px;
    object-fit: cover;
    border-bottom: #987035 8px solid;
}

/* Lingkaran quote */
.quote-circle {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: #FFCC66;
    color: #2c2c2c;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Clamp text (3 baris) */
.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Stars margin */
.stars i {
    margin-right: 1px;
}