/* ==============================
   Global Styles
   ============================== */
:root{
  --primary: #99744A;
  --secondary: #e4e2de;
  --tertiary: #414a37;
  --text-color:#2C2C2C;
  --wa-color: #25d366;


}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--secondary);
  line-height: 1.6;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}

/* ==============================
   Navbar Styles
   ============================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  box-shadow: none;
  z-index: 1000;
  border-radius: 0;
  transition: all 0.4s ease;
}

/* Navbar solid background when scrolling */
.navbar.scrolled {
background: rgba(109, 110, 109, 0.247);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(12px);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.35); */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  height: 60px;
  flex: 1;
}

.logo img {
  height: 109px;
  width: 109x;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;
  flex: 2;
  gap: 10px;
}

.nav-item {
  margin: 0 8px;
}

.nav-link {
  text-decoration: none;
  color: #2C2C2C;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-link:hover {
  color: var(--tertiary);
  background-color: rgba(107, 142, 35, 0.05);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 50%;
  background-color: #6B8E23;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  color: #6B8E23;
  background-color: rgba(107, 142, 35, 0.05);
}

.nav-link.active::after {
  width: 80%;
}

/* Actions Section */
.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  gap: 15px;
}

/* WhatsApp Button */
.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  border: none;
  cursor: pointer;
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #1ebe5c, #179c4d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
  width: 20px;
  height: 20px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  padding: 0;
  z-index: 1000;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #2C2C2C;
  border-radius: 3px;
  transition: all 0.3s ease;
}


/* ==============================
   Hero Section
   ============================== */
.hero {
  position: relative;
  background-image: radial-gradient(circle 358px at 72.8% 45.5%, rgb(201, 169, 126) 9.9%, rgb(211, 210, 208) 93.7%);
  min-height: 100vh;
  padding: 160px 20px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 50px;
  padding: 0 30px;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 48px;
  color: #2C2C2C;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-text p {
  font-size: 18px;
  color: #2C2C2C;
  margin-bottom: 30px;
  max-width: 500px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 10px rgba(210, 180, 140, 0.4);
}

.btn-primary:hover {
  background-color:#6b5134 ;
  color: var(--secondary);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #6B8E23;
  color: #6B8E23;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #6B8E23;
  color: #fff;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img {
  width: 90%;
  max-width: 400px;
  border-radius: 15px;
  transform: translateY(0);
  transition: transform 0.5s ease;
  /* ↓ bring reflection closer by reducing the "below" distance */
  -webkit-box-reflect: below 2px linear-gradient(transparent, rgba(0, 0, 0, 0.15));
}

.hero-image img:hover {
  transform: scale(1.03);
}

/* Scroll Down Arrow */
.scroll-down {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: #6B8E23;
  text-decoration: none;
  animation: bounce 2s infinite;
  transition: transform 0.3s ease;
}

.scroll-down:hover {
  transform: translateX(-50%) translateY(3px);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(5px);
  }

  60% {
    transform: translateX(-50%) translateY(3px);
  }
}

/* END PRAS */

/* ==============================
   About Section
   ============================== */
.about {
    background-color: #ffffff;
    padding: 100px 20px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
    min-width: 300px;
    color: #2c2c2c;
}

.about-text h2 {
    font-size: 36px;
    color: #6b8e23;
    margin-bottom: 20px;
    position: relative;
}

.about-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 4px;
    background-color: #d2b48c;
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 17px;
}

/* .about-text .btn-primary {
    background-color: #d2b48c;
    color: #2c2c2c;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.about-text .btn-primary:hover {
    background-color: #c19a6b;
    color: #fff;
    transform: translateY(-2px);
} */

/* ==============================
   Products Section
   ============================== */
.products {
    background-color: #faf9f6;
    padding: 100px 20px;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.products-container h2 {
    font-size: 36px;
    color: #6b8e23;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.products-container h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: #d2b48c;
    border-radius: 2px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: center;
}

/* Product Card */
.product-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    max-width: 340px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 20px;
    color: #2c2c2c;
    margin-bottom: 10px;
    font-weight: 700;
}

.product-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-card .price {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #6b8e23;
    margin-bottom: 12px;
}

/* WhatsApp Button */
/* =========================================================
   SOLUSI AKHIR: Penjajaran Horizontal & Vertikal Sempurna
   ========================================================= */

/* --- Container Utama (Penting untuk Baris) --- */
.product-card .links-group {
    display: flex;
    /* PENTING: Menengahkan semua item secara vertikal di dalam container */
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

/* --- Tombol WhatsApp (Mempertahankan Style Tombol) --- */
.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;

    /* Ukuran & Padding */
    padding: 10px 18px;
    font-size: 14px;

    /* Estetika */
    background-color: #25d366;
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);

    flex-shrink: 0; /* Mencegah tombol mengecil */
}

.btn-whatsapp:hover {
    background-color: #1ebe5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

/* --- Link E-commerce (Ikon Kompak) --- */
.btn-tokopedia,
.btn-shopee,
.btn-lazada {
    /* UBAH KE INLINE-FLEX: Memastikan link sejajar dengan item lain (inline) 
       dan dapat menengahkan logo di dalamnya (flex) */
    display: inline-flex;
    align-items: center; /* Menengahkan logo secara vertikal di dalam link */
    justify-content: center;

    /* Hapus semua styling yang mengganggu tinggi/lebar */
    padding: 0;
    margin-top: 18px;
    border: none;
    background: none;
    text-decoration: none;
    cursor: pointer;
    line-height: 1; /* Penting untuk menghilangkan ruang ekstra */
}

.btn-tokopedia:hover,
.btn-shopee:hover,
.btn-lazada:hover {
    transform: scale(1.1);
}

/* --- E-commerce Logo Styling (Mendefinisikan Ukuran Konten) --- */
.logo-ecommerce {
    /* Ukuran logo */
    max-width: 40px;
    max-height: 40px;
    /* Hilangkan margin yang mungkin menyebabkannya "jatuh" */
    margin: 0;
    border-radius: 4px;

    /* Pastikan logo adalah konten utama, bukan margin */
    display: block;
}

/* ==============================
   Legality Section
   ============================== */
/* LEGALITY SECTION */
.legality {
    background-color: #faf9f6;
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.legality-card {
    background-color: #fff;
    border-radius: 25px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
    width: 90%;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.legality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.legality-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.legality-text {
    flex: 1;
    min-width: 300px;
}

.legality-text h2 {
    font-size: 2rem;
    color: #2c2c2c;
    margin-bottom: 25px;
    border-left: 5px solid #d2b48c;
    padding-left: 15px;
}

.legality-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.8;
    color: #2c2c2c;
}

.legality-text li {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.legality-text strong {
    color: #6b8e23;
}

.legality-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.legality-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #eaeaea;
    padding: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .legality-content {
        flex-direction: column-reverse;
        text-align: left;
    }

    .legality-text h2 {
        text-align: left;
        border: none;
        padding-left: 0;
    }

    .legality-image img {
        max-width: 350px;
    }
}

/* ==============================
   Contact Section (Modern Card Style)
   ============================== */
.contact {
    background-color: #faf9f6;
    padding: 100px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    background-color: #f1e4cc;
    color: #6b8e23;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 36px;
    color: #2c2c2c;
    margin-bottom: 12px;
}

.section-header h2 span {
    color: #d2b48c;
}

.section-header p {
    color: #2c2c2c;
    font-size: 16px;
    line-height: 1.7;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

/* Left Column */
.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Info Card */
.info-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.info-card .icon {
    background-color: #d2b48c;
    color: #fff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-card h3 {
    font-size: 18px;
    color: #2c2c2c;
    margin-bottom: 4px;
}

.info-card p {
    color: #2c2c2c;
    font-size: 15px;
    line-height: 1.6;
}

.info-card a {
    color: #6b8e23;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: #c19a6b;
}

/* Map */
.contact-map {
    flex: 1;
    min-width: 320px;
    background-color: #f8f6ec;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .contact {
        padding: 70px 15px;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-map iframe {
        height: 250px;
    }
}

/* ==============================
   Footer Section
   ============================== */
.footer {
    background-color: #2c2c2c;
    color: #faf9f6;
    padding: 80px 20px 40px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    font-size: 20px;
    color: #d2b48c;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background-color: #6b8e23;
    margin-top: 6px;
    border-radius: 2px;
}

.footer-column p {
    font-size: 15px;
    line-height: 1.7;
    color: #faf9f6;
    margin-bottom: 12px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #faf9f6;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #d2b48c;
}

/* Google Maps Button */
.footer-btn {
    display: inline-block;
    background-color: #6b8e23;
    color: #faf9f6;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.footer-btn:hover {
    background-color: #557319;
    color: #fff;
    transform: translateY(-2px);
}

/* Bottom Copyright Bar */
.footer-bottom {
    border-top: 1px solid rgba(250, 249, 246, 0.2);
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    font-size: 14px;
    color: #faf9f6;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-column h3::after {
        margin: 8px auto 0;
    }

    .footer-btn {
        margin: 10px auto 0;
    }
}

/* ==============================
   Responsive Layout
   ============================== */
@media screen and (max-width: 768px) {
    .hero {
        padding: 120px 15px 70px;
        text-align: center;
    }

    .hero-content {
        flex-direction: column-reverse;
        gap: 35px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 16px;
        margin: 0 auto 25px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image img {
        max-width: 320px;
    }

    .about {
        padding: 70px 15px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-text h2 {
        font-size: 28px;
    }

    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-text p {
        font-size: 16px;
    }
}

/* Responsive Design products */
@media screen and (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .products-container h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .product-card {
        max-width: 100%;
    }
}

/* ==============================
   Mobile Navbar
   ============================== */
@media screen and (max-width: 768px) {
    .navbar-container {
        padding: 0 20px;
        height: 70px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #fff, #f8f9fa);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: all 0.4s ease;
        z-index: 999;
        padding: 40px 20px;
        gap: 0;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 12px 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 18px;
        border-radius: 10px;
        margin: 5px 0;
    }

    .nav-actions {
        display: none;
    }

    .nav-menu .whatsapp-btn {
        display: flex;
        justify-content: center;
        margin: 20px auto 10px;
        max-width: 250px;
        font-size: 16px;
    }

    .logo {
        height: 45px;
    }
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #6b8e23;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #6b8e23;
}

/* Accessibility */
.nav-link:focus,
.whatsapp-btn:focus,
.hamburger:focus {
    outline: 2px solid #6b8e23;
    outline-offset: 2px;
}

/* ==============================
    Products Section Enhancements (Search & Pagination)
    ============================== */

/* Search Bar Container */
.product-search {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px; /* Space above product grid */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.product-search input[type="text"] {
    flex-grow: 1;
    padding: 12px 20px;
    border: 2px solid #d2b48c;
    border-radius: 30px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-search input[type="text"]:focus {
    border-color: #6b8e23;
    outline: none;
    box-shadow: 0 0 8px rgba(107, 142, 35, 0.2);
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #6b8e23;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.search-btn:hover {
    background-color: #55721c;
    transform: translateY(-1px);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 50px; /* Space below product grid */
}

.page-link {
    background-color: #faf9f6;
    color: #6b8e23;
    border: 2px solid #6b8e23;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-link:hover:not(.disabled) {
    background-color: #6b8e23;
    color: #fff;
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #d2b48c;
    color: #d2b48c;
    background-color: #f1e4cc;
}

.page-numbers {
    font-size: 16px;
    color: #2c2c2c;
    font-weight: 500;
}

/* Responsive adjustments for search bar */
@media screen and (max-width: 650px) {
    .product-search {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        max-width: 100%;
    }

    .product-search input[type="text"] {
        width: 100%;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }
}
