/* ==================================================
   RESET & GLOBAL
================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

/* ==================================================
   BACKGROUND UTAMA (GAMBAR + GRADIENT)
================================================== */
body {
    background:
        linear-gradient(
            135deg,
            rgba(6, 41, 66, 0.85),
            rgba(14, 110, 93, 0.80)
        ),
        url("../img/background.jpg") center / cover no-repeat fixed;
    padding: 25px;
    overflow-x: hidden;
    overflow-y: auto; /* biar scroll jika menu panjang */
    color: #ffffff;
}

/* ==================================================
   DEKORASI LATAR BELAKANG
================================================== */
.floating-elements {
    position: fixed;
    inset: 0;
    z-index: -2;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(168, 230, 207, 0.12);
    animation: float 20s linear infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 8%;
}

.floating-element:nth-child(2) {
    width: 130px;
    height: 130px;
    bottom: 15%;
    right: 10%;
    animation-duration: 28s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 70%;
    left: 15%;
    animation-duration: 18s;
}

/* bubble */
.bubble {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(168, 230, 207, 0.12);
    animation: bubbleFloat 8s ease-in-out infinite;
    z-index: -2;
}

.bubble:nth-child(2) { top: 20%; left: 12%; }
.bubble:nth-child(3) { bottom: 20%; right: 8%; }

/* ==================================================
   WAVE BAWAH
================================================== */
.wave {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 110px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%23a8e6cf' fill-opacity='0.12' d='M0,96L60,112C120,128,240,160,360,186.7C480,213,600,235,720,213.3C840,192,960,128,1080,128C1200,128,1320,192,1380,197.3L1440,96L1440,320L0,320Z'></path></svg>");
    background-size: cover;
    z-index: -1;
}

/* ==================================================
   CONTAINER UTAMA
================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    animation: fadeInPage 1.5s ease;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* ==================================================
   HEADER
================================================== */
.header {
    margin-bottom: 60px;
}

.header h1 {
    font-size: 3.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.header p {
    margin-top: 15px;
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* ==================================================
   MENU GRID
================================================== */
.menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/* ==================================================
   MENU CARD
================================================== */
.menu-box {
    width: 320px;
    min-height: 270px;
    padding: 35px 28px;
    border-radius: 22px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25), inset 0 0 0 rgba(255,255,255,0);

    cursor: pointer;
    transition: all 0.45s cubic-bezier(.19,1,.22,1);
    position: relative;
    overflow: hidden;
}

/* kilau */
.menu-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.25), transparent 80%);
    transform: translateX(-120%);
    transition: 0.6s;
}

.menu-box:hover::before {
    transform: translateX(120%);
}

.menu-box:hover {
    transform: translateY(-14px) scale(1.06);
    background: rgba(255,255,255,0.28);
    box-shadow: 0 30px 65px rgba(0,0,0,0.35);
}

/* ==================================================
   ISI MENU
================================================== */
.menu-icon {
    font-size: 4.4rem;
    margin-bottom: 22px;
    transition: transform 0.5s ease;
}

.menu-box:hover .menu-icon {
    transform: scale(1.2) rotate(10deg);
}

.menu-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.menu-desc {
    font-size: 1.05rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* ==================================================
   DOT STATUS
================================================== */
.pulse-dot {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 14px;
    height: 14px;
    background: #a8e6cf;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* ==================================================
   FOOTER
================================================== */
.footer {
    margin-top: 70px;
    font-size: 1rem;
    opacity: 0.85;
}

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 900px) {
    .header h1 {
        font-size: 2.6rem;
    }

    .menu-box {
        width: 100%;
        max-width: 360px;
    }
}

/* ==================================================
   ANIMATIONS
================================================== */
@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%   { transform: translate(0,0) rotate(0); }
    25%  { transform: translate(40px,40px) rotate(90deg); }
    50%  { transform: translate(80px,0) rotate(180deg); }
    75%  { transform: translate(40px,-40px) rotate(270deg); }
    100% { transform: translate(0,0) rotate(360deg); }
}

@keyframes bubbleFloat {
    0%,100% { transform: translateY(0) scale(1); }
    50%     { transform: translateY(-18px) scale(1.1); }
}

@keyframes pulse {
    0%   { transform: scale(0.8); opacity: 0.6; }
    50%  { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.6; }
}
