* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #1c1c1c;
    color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 166, 0, 0.9);
    backdrop-filter: blur(6px);
    z-index: 10;
    box-shadow: 0 0 15px rgba(180, 120, 0, 0.6);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 166, 0, 0.805);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 150px;
    display: none;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(255, 166, 0, 0.4);
    z-index: 99;
}

/* AKTIF */
.dropdown.active .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    transition: 0.25s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.204);
    color: #fff;
}

/* Offset scroll anchor agar tidak ketutup navbar */
#portfolio h3 {
    scroll-margin-top: 120px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.nav-links a:hover {
    font-size: 15px;
    font-weight: bold;
    transition: 0.25s ease-in-out;
    color: rgba(255, 166, 0, 0.9);
    filter: brightness(2);
}

/* Home */
.home {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #644400;
    position: relative;
    overflow: hidden;
}

.home::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./image/branding/home-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0);
    opacity: 100%;
    z-index: 0;
}

.home::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(255, 166, 0, 0.75),
            rgba(148, 96, 0, 0.5),
            rgba(0, 0, 0, 0.75));
    z-index: 0;
}

.home>* {
    position: relative;
    z-index: 1;
}

.home-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.home h1 {
    font-size: 48px;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.home p {
    margin-top: 12px;
    color: #cacaca;
}

.home .hint {
    color: #ebc47ba9;
    text-decoration: none;
}

/* Section */
.section {
    padding: 100px 5%;
    text-align: center;
}

.section h1 {
    margin-bottom: 24px;
    letter-spacing: 4px;
    color: rgba(255, 166, 0, 0.9);
    text-shadow: 0 0 10px rgba(255, 166, 0, 0.5);
}

.section h3 {
    margin: 48px 0 32px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.section p {
    line-height: 1.6;
    color: #ccc;
}

.section i {
    color: rgb(190, 163, 113);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    justify-items: center;
}

.item {
    width: 100%;
    max-width: 320px;
}

.item img {
    width: 100%;
    border-radius: 15px;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.9)
}

.item img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 0 15px rgba(255, 166, 0, 0.9);
}

.LastUpdated {
    font-size: 12px;
    font-style: italic;
}

/* Contact */
.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.text-box {
    padding: 20px;
}

.text-box a {
    color: #bea371;
    text-decoration: none;
    font-style: italic;
}

.text-box a:hover {
    text-decoration: underline;
    color: rgba(255, 166, 0, 0.9);
}

/* Payment */
.item-payment img {
    width: 150px;
    margin: 12px auto;
    display: block;
    border-radius: 15px;
    box-shadow: none;
}

.item-payment img:hover {
    box-shadow: none;
}

/* Minimal Footer */
.footer-minimal {
    padding: 20px 5%;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 166, 0, 0.25);
}

.footer-minimal p {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 0.5px;
}

.footer-minimal a {
    color: #bea371;
    text-decoration: none;
    transition: 0.25s ease;
}

.footer-minimal a:hover {
    color: rgba(255, 166, 0, 0.9);
    text-decoration: underline;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.lightbox img {
    padding-top: 6%;
    max-width: 85%;
    max-height: 85%;
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 12px;
    }

    .home h1 {
        font-size: 36px;
    }

    .section h1 {
        font-size: 24px;
        letter-spacing: 2px;
    }
}
