::selection {
    background-color: #D4A017;
    color: #fff;
}

.btn {
    cursor: pointer;
}

img {
    border-radius: 8px;
}

/* General Body Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth; /* Smooth scroll for anchor links */
    background: url('img/light-veneer.png') no-repeat center center/cover;
    /* background: url('img/red-background.jpg') no-repeat center center/cover; */
}

.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.header .container {
    /* padding-left: 10px; */
    max-width: 100%;
    padding: 0 30px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #D4A017; /* Hijau Khas Opor */
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

p {
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #D4A017;
    color: #333;
    border: 2px solid #333;
}

.btn-primary:hover {
    background-color: #333;
    color: #D4A017;
}

.btn-secondary {
    background-color: #f4f4f4;
    color: #333;
    border: 1px solid #ddd;
    margin: 5px;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

/* Header & Navigasi */
.header {
    background-color: #333;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8em;
    margin: 0;
    color: #D4A017;
    line-height: 1;
}

.logo p {
    font-size: 0.9em;
    margin: 0;
    color: #777;
}

/* =============================
LOGO DAN IDENTITAS BRAND
============================= */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 68px;        /* Ukuran default logo */
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text h1 {
    font-size: 1.8em;
    margin: 0;
    color: #D4A017;       /* Kuning opor */
    line-height: 1.2;
}

.logo-text p {
    font-size: 1.1em;
    margin: 0;
    color: #B28C00;       /* Kuning gelap */
    font-weight: bold;
}


.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    position: relative; /* supaya ::after absolute di dalam a */
    display: inline-block;
    text-decoration: none;
    color: #D4A017;
    font-weight: 550;
    font-size: 18px;
    transition: color 0.3s ease;
}

/* Pseudo-element garis bawah */
.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px; /* jarak garis dari teks */
    width: 0; /* garis awalnya tidak terlihat */
    height: 2px; /* ketebalan garis */
    background-color: #D4A017;
    transition: width 0.3s ease;
}

/* Saat hover, garis memanjang dari kiri ke kanan */
.main-nav ul li a:hover::after {
    width: 100%;
}

/* Saat link aktif, garis tetap terlihat */
.main-nav ul li a.active::after {
    width: 100%;
}

.header.sticky {
    background-color: rgba(51, 51, 51);
    backdrop-filter: blur(5px);
}
.main-nav ul li a.active {
    background: rgba(212, 160, 23, 0.1);
    border-radius: 5px;
    padding: 0px 12px;
}


.hamburger {
    display: none; /* Hidden on desktop */
    font-size: 1.8em;
    cursor: pointer;
    color: #D4A017;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 150px 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* penting untuk batas blur */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/opor_bebek.jpg') no-repeat center center/cover;
    filter: blur(8px);
    transform: scale(1.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 2.0em;
    margin-bottom: 30px;
    color: #eee;
    font-weight: bold;
    font-family: "Playfair Display";
}

/* Section Styling */

.section-alt,
.section-padding {
    background: url('img/light-veneer.png') no-repeat center center/cover;
    /* background: url('img/red-background.jpg') no-repeat center center/cover; */
}

.section-padding {
    padding: 75px 0 10px;
}

.section-alt {
    background-color: #f9f9f9;
}

.section-title {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #D4A017;
    border-radius: 2px;
}

.menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px; /* jarak antar item */
    justify-content: center;
}

.menu-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    display: inline-block; /* agar box hanya sebesar isinya */
    max-width: 400px; /* supaya tidak lebih lebar dari gambar */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    display: block;
}

.menu-item h3 {
    font-size: 1em; /* lebih kecil */
    margin: 5px 0;
    color: #333;
}

.menu-item p {
    font-size: 0.8em; /* lebih kecil */
    color: #666;
    margin: 5px 0;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 20px rgba(0,0,0,0.15);
}

.menu-item .price {
    font-size: 1.2em;
    color: #D4A017;
    font-weight: bold;
    margin: 5px 0;
}


/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-grid img:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 15px;
}

.testimonial-item span {
    font-weight: bold;
    color: #D4A017;
}

/* Order Options */
.order-options {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.order-options li {
    margin: 10px;
}

.order-options .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
}

.order-options .btn i {
    font-size: 1.2em;
}

/* Contact Info */
.contact-info {
    text-align: center;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.contact-info i {
    color: #D4A017;
    margin-right: 10px;
    width: 20px; /* Adjust for alignment */
    text-align: center;
}

.contact-info i:hover {
    transform: scale(1.3);
}

/* Social Links */
.social-links {
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.social-links p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.social-links i {
    color: #D4A017;
    margin-right: 10px;
    width: 20px; /* Adjust for alignment */
    text-align: center;
}

.social-links a {
    color: #D4A017;
    font-size: 2em;
    margin: 0 15px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
    color: #B28C00;
}



.map-embed {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.map-embed iframe {
    border-radius: 8px;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

.contact-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
}

.map-embed, .contact-info {
    flex: 1 1 400px;
    max-width: 550px;
}

.contact-info {
  margin-top: 40px; /* atau coba 30px jika ingin lebih turun */
}

 /* WhatsApp Floating Button */
  .whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20c15e;
    transform: scale(1.1);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* WhatsApp icon */
.whatsapp-float i {
    font-size: 30px;
}

/* Cloud Dialog */
.cloud-dialog {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 12px 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
    max-width: 220px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: bounce 1s ease-in-out 0.5s forwards;
}

.cloud-dialog.show {
    opacity: 1;
    transform: translateY(0);
}

.cloud-dialog:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
}

/* Bounce Animation */
@keyframes bounce {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button */
.close-dialog {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.close-dialog:hover {
    color: #333;
}


.available-platforms {
    margin-top: 0px;
    text-align: center;
}

.available-platforms p {
    /* font-weight: bold; */
    color: #333;
    margin-bottom: 10px;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.platform-icons a img {
    height: 60px;
    width: auto;
    filter: grayscale(0.2);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.platform-icons a:hover img[alt="GoFood"] {
    transform: scale(1.1);
    filter: grayscale(0);
    box-shadow: 0 2px 2px black;
    background-color: #D4A017;
}

.platform-icons a img[alt="GoFood"] {
    box-shadow: 0 2px 6px black;
    /* border: 2px solid #D4A017; */
    border-radius: 10px;
    padding: 1px;
}

.gallery-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 30px 0;
}

.gallery-track {
  display: flex;
  width: max-content;
  animation: slide-left 80s linear infinite;
  gap: 30px;
}

.gallery-track img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.gallery-track img {
  /* ... (yang sudah ada tetap) ... */
  transition: transform 0.4s ease;
}

.gallery-track img:hover {
  transform: scale(1.1);
}


@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Tentang Kami Section */
.tentang-kami-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.tentang-img img {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tentang-img img:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 24px rgba(0, 0, 0, 0.2);
}


.tentang-text {
  max-width: 720px;
}

.tentang-text p {
  font-size: 1.1em;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

#tentang-kami p {
    text-align: justify;
}





/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none; /* Hide main nav by default on mobile */
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        position: absolute;
        top: 70px; /* Below header */
        left: 0;
        transition: max-height 0.4s ease-in-out;
        overflow: hidden;
        max-height: 0;
    }

    .main-nav.active {
        display: block; /* Show when active */
        max-height: 500px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .main-nav ul li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav ul li a {
        display: block;
        padding: 15px 0;
    }

    .hamburger {
        display: block; /* Show hamburger icon */
        font-size: 2.2em;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    h2 {
        font-size: 2em;
    }

    .section-padding {
        padding: 60px 0;
    }

    .menu-grid, .gallery-grid, .testimonials-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }

    .order-options {
        flex-direction: column;
        align-items: center;
    }

    .logo-img {
        height: 36px;
    }

    .contact-flex {
        flex-direction: column;
        align-items: center;
    }

    .tentang-kami-flex {
        flex-direction: column;
        text-align: center;
    }

    .tentang-text {
        padding: 0 20px;
    }
}