/* Palet Warna */
:root {
    --color-primary: #00796B; /* Teal tua/Dark Cyan */
    --color-secondary: #00C897; /* Teal muda/Bright Cyan */
    --color-accent-teal: #1DE9B6; /* Teal sangat cerah */
    --color-accent-lime: #CCFF90; /* Lime Green cerah */
    --color-dark-bg: #031A38; /* Biru sangat gelap (Hampir navy) */
    --color-text-light: #F0F0F0;
    --color-text-grey: #edd2d2;
    --color-text-medium: #A0A0A0;
    --color-text-red: #ea33d4;
}

/* Base & Fullscreen Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text-light);
    overflow: hidden; /* Mencegah scroll pada body untuk landing page fullscreen */
}

.landing-page {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
     
    /* Opasitas 80% untuk overlay dan latar belakang */
    background-image: linear-gradient(rgba(0, 26, 56, 0.5), rgba(0, 26, 56, 0.4)), 
                      url('bulukumba_bg.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* HEADER */
.header {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text .main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}

.logo-text .sub-title {
    font-size: 1.0rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-top: 1px;
}

.login-btn {
    background: transparent;
    color: var(--color-text-light);
    border: 2px solid var(--color-text-light);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background-color: var(--color-text-light);
    color: var(--color-dark-bg);
    transform: translateY(-2px);
}

.login-btn:active {
    transform: translateY(0);
}

/* MAIN CONTENT */
.content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 250px;
    /* PENTING: Padding dikurangi untuk menaikkan menu */
    padding-bottom: 50px; 
    z-index: 5;
}

.app-title {
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--color-accent-teal);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(29, 233, 182, 0.8),
                 0 0 30px rgba(29, 233, 182, 0.5);
    letter-spacing: 2px;
}

.app-subtitle {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 35px;
    color: var(--color-text-light);
}

.tagline {
    font-size: 1.1rem;
    color: var(--color-text-medium);
    /* PENTING: Margin dikurangi untuk menaikkan menu */
    margin-bottom: 40px; 
    letter-spacing: 0.5px;
}

.tagline-item {
    font-weight: 600;
    color: var(--color-accent-teal);
}

.tagline-separator {
    margin: 0 12px;
    color: var(--color-text-medium);
}

/* MENU CARDS */
.menu-cards {
    display: flex;
    gap: 60px;
    /* PENTING: Margin dikurangi untuk menaikkan menu */
    margin-bottom: 30px; 
}

.menu-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-15px);
    opacity: 0.95;
}

.menu-icon {
    font-size: 4rem;
    padding: 30px;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 18px;
    
    /* Efek Cincin Neon */
    box-shadow: 0 0 0 3px currentColor, 0 0 20px currentColor, inset 0 0 10px rgba(255,255,255,0.1);
    transition: box-shadow 0.3s ease;
}

/* Warna Spesifik Ikon */
.menu-card-1 .menu-icon {
    color: var(--color-text-grey);
}

.menu-card-2 .menu-icon {
    color: var(--color-accent-teal);
}

.menu-card-3 .menu-icon {
    color: var(--color-accent-lime);
}

.menu-card-4 .menu-icon {
    color: var(--color-text-red);
}

.card-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.3px;
}

/* FOOTER */
.footer {
    width: 100%;
    padding: 20px 40px;
    text-align: right;
    font-size: 0.85rem;
    color: var(--color-text-medium);
    position: absolute;
    bottom: 0;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        padding: 15px 20px;
    }

    .logo {
        margin-bottom: 15px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .logo-text .main-title {
        font-size: 1.2rem;
    }

    .logo-text .sub-title {
        font-size: 0.7rem;
    }

    .login-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .content {
        padding-top: 150px;
        padding-bottom: 20px; 
    }

    .app-title {
        font-size: 3.5rem;
        margin-bottom: 10px;
    }

    .app-subtitle {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }

    .tagline {
        font-size: 0.9rem;
        margin-bottom: 30px; 
    }

    .menu-cards {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 20px;
    }

    .menu-icon {
        font-size: 3rem;
        width: 110px;
        height: 110px;
        padding: 20px;
    }

    .card-label {
        font-size: 1rem;
    }

    .footer {
        text-align: center;
        padding: 15px 20px;
        position: relative; /* Diubah agar mengikuti aliran konten di mobile */
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 2.5rem;
    }

    .app-subtitle {
        font-size: 1rem;
    }

    .tagline {
        font-size: 0.8rem;
        margin-bottom: 40px;
    }

    .menu-cards {
        gap: 25px;
    }

    .menu-icon {
        font-size: 2.5rem;
        width: 90px;
        height: 90px;
        padding: 15px;
    }

    .card-label {
        font-size: 0.9rem;
    }
}