body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    position: relative;
    background: url('../img/hero.webp') center/cover no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 span {
    color: #00b894;
}

.btn {
    background: #00b894;
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #019170;
}

/* Sections */
.section {
    padding: 60px 20px;
    text-align: center;
}

.section.gray {
    background: #f7f7f7;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Produk */
.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    margin: 15px 0 5px;
}

.card p {
    padding: 0 15px 20px;
    font-size: 0.9rem;
}

/* Galeri */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 0 20px;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Map */
.map-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Sosial */
.social {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social a {
    background: #e7fffa;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.social a:hover {
    background: #aeffec;
}

/* Footer */
footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Tombol WA */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 99;
}

.whatsapp-float img {
    width: 25px;
    margin-right: 10px;
}

.whatsapp-float:hover {
    background: #20ba59;
}

/* Tentang Kami Section */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.page-btn {
    background: #eee;
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.page-btn:hover {
    background: #00b894;
    color: white;
}

.page-btn.active {
    background: #00b894;
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00b894;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #00b894;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Responsive menu */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links li {
        margin: 10px 0;
    }
}

/* Offset hero for fixed navbar */
.hero {
    margin-top: 60px;
}

.map-responsive {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
    /* Rasio lebar-tinggi */
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#facebook-section {
    background: #f8f9fa;
    padding: 40px 15px;
    border-radius: 12px;
}

.fb-page {
    margin: 0 auto;
    max-width: 100%;
}

@media (max-width: 600px) {
    .fb-page {
        width: 100% !important;
    }
}

/* === Galeri Carousel === */
.gallery-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.gallery-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 15px;
  padding: 10px;
}

.gallery-scroll::-webkit-scrollbar {
  display: none; /* Hilangkan scrollbar */
}

.gallery-scroll img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-scroll img:hover {
  transform: scale(1.05);
}

/* Tombol kiri/kanan */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 2;
}

.gallery-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.gallery-btn.prev {
  left: 10px;
}
.gallery-btn.next {
  right: 10px;
}
