/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Cal Sans', Arial, sans-serif;
    background-image: url('Pic/amanda-lim-ENsAKjY3YOs-unsplash (1).jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navbar */
.navbar {
    background-color: #000;
    color: white;
    padding: 0.5em 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: bold;
}

.logo-text span {
    color: #f50000;
}

.hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    display: none;
    z-index: 10000;
}

.hamburger span {
    background: white;
    display: block;
    height: 3px;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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(6px, -6px);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 15px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 0.75em 1em;
    display: block;
    transition: background-color 0.3s;
}

.nav-links li a:hover {
    background-color: #504b4b;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    background-color: rgba(0, 0, 0, 0.849);
}

.hero-content {
    max-width: 600px;
    color: white;
    mix-blend-mode: difference;
}

.hero h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.hero h1 span {
    font-weight: 300;
    color: #fff;
}

.hero p {
    font-size: 1.1em;
    margin-bottom: 1.5em;
    color: #fff;
}

.btn {
    background-color: rgb(247, 80, 80);
    color: white;
    padding: 0.75em 1.5em;
    font-size: 1em;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #ee3232;
}

/* About Section */
.about {
    padding: 6.5rem 7% 1.4rem;
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.about h2 span {
    color: #f50000;
}

.about .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about .row .content {
    flex: 1 1 50%;
    padding: 1rem;
}

.about .row .content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about .row .content p  {
    background-color: rgba(255, 255, 255, 0.849);
    color: #000000;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    text-align: center;
}

.about-img {
    text-align: center;
    margin-bottom: 2rem;
}

.about-img img {
    width: 100%;
    max-width: 350px;
}

.jam-buka {
    background-color: rgba(255, 255, 255, 0.9); /* putih transparan */
    padding: 0.0rem 1rem;  /* perkecil padding */
    text-align: center;
    border-radius: 10px;
    max-width: 90%;
    margin: 0 auto;
  }
  
  .jam-buka h2 {
    font-size: 1.5rem; /* perkecil ukuran font */
    font-weight: 700;
    color: #000;
  }
  

footer {
    background-color: #f50000;
    text-align: center;
    padding: 1rem 0;
    margin-top: 3rem;
}

/* Menu */
.menu {
    padding: 8rem 7% 1.4rem;
    margin-top: 2rem;
}

.menu h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.menu h2 span {
    color: #f50000;
}

.menu .row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.menu .row .menu-card {
    width: 200px; /* atau 120px jika ingin lebih kecil lagi */
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    color: #000;
    transition: transform 0.3s ease;
    max-width: 220px;
}

.menu .row .menu-card:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.menu .row .menu-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.menu .row .menu-card .menu-card-title {
    font-size: 0.9rem;
    margin: 0.5rem 0 0.3rem;
}

.menu-card p {
    font-size: 0.85rem;
    color: #ee3232;
    font-weight: bold;
    text-align: center;
}

.menu-card .h3
    {
        font-size: 1.2rem;
        margin: 0.5rem 0 0.3rem;
        text-align: center;
    }

/* Contact */   
.contact {
    padding: 8rem 7% 1.4rem;
    margin-top: 2rem;
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.contact h2 span {
    color: #f50000;
}

.contact .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #222;
    padding: 2rem;
    width: 90%;
    max-width: 1000px; /* Batasi lebar maksimum */
    margin: 0 auto; /* Pusatkan di tengah halaman */
    border-radius: 10px;
}


.contact .row .map {
    flex: 1 1 100%;
    width: 100%;
    height: 430px; /* Ubah dari 17rem menjadi 300px atau sesuai kebutuhan */
    max-width: 600px; /* Batasi lebar agar tidak memenuhi layar besar */
    margin: 0 auto; /* Tengah secara horizontal */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Social Buttons */
.contact-section {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 50vh;
    padding-right: 50px;
    background-size: cover;
    background-position: center;
}

.social-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    width: 220px;
    justify-content: center;
    font-size: 16px;
}

.social-button i {
    font-size: 18px;
}

.instagram { background-color: #E1306C; }
.tiktok { background-color: #000000; }
.whatsapp { background-color: #25D366; }

/* Responsive Media Query */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background-color: #333;
        margin-top: 10px;
        transition: max-height 0.4s ease;
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-links li {
        text-align: center;
        margin: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p, .btn {
        font-size: 0.9rem;
    }

    .about .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about .row .content {
        width: 100%;
        padding-top: 2rem;
    }

    .about-overlay1 {
        max-height: 100%;
    }

    .menu .row .menu-card {
        width: 90%;
    }

    .contact .row .map {
        margin-top: 50px; /* atau sesuaikan nilainya */
      }

    .social-buttons-container {
        align-items: center;
    }

    .credits {
        font-size: 0.8rem;
    }

    .contact h2 {
        font-size: 2.5rem;
    }
    .contact h2 span {
        font-size: 2.5rem;
    }

    .jam-buka h2 {
        font-size: 1.5rem; /* perkecil ukuran font */
    }
}
