* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    line-height: 1.6;
    color: #333;
    padding-top: 92px;
}

/* ============ HEADER ============ */

.main-header {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 92px;
    z-index: 999;
    box-shadow: 0 1px 0 rgba(212, 165, 55, 0.18), 0 10px 30px rgba(11, 19, 48, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 36px;
}

.header-left-side {
    display: flex;
    align-items: center;
    gap: 22px;
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    transition: background-color 0.25s ease;
}

.hamburger-btn:hover {
    background-color: rgba(212, 165, 55, 0.1);
}

.hamburger-btn .bar {
    width: 24px;
    height: 3px;
    margin: 0 auto;
    background-color: #0b132b;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.logo-warmadewa {
    width: 104px;
    height: 104px;
    object-fit: contain;
}

.header-icons {
    display: flex;
    align-items: center;
}

.header-icon {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

/* ============ SIDEBAR ============ */

.sidebar-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    transition: visibility 0.4s;
}

.sidebar-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 10, 22, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sidebar-wrapper {
    position: absolute;
    top: 0;
    left: -340px;
    width: 340px;
    max-width: 88vw;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 6px 0 40px rgba(11, 19, 48, 0.18);
    display: flex;
    flex-direction: column;
    padding: 76px 26px 26px 26px;
    transition: left 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-close-btn {
    position: absolute;
    top: 22px;
    right: 24px;
    font-size: 30px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-close-btn:hover {
    background-color: #f3f4f6;
    color: #0b132b;
}

.sidebar-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef0f3;
}

.sidebar-logo {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.sidebar-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow-y: auto;
    flex-grow: 1;
}

.sidebar-menu-links a {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #3f4652;
    text-decoration: none;
    padding: 13px 16px;
    border-radius: 9px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-left: 3px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-menu-links a:hover {
    background-color: rgba(212, 165, 55, 0.08);
    color: #b88e2c;
    border-left-color: #d4a537;
    padding-left: 22px;
}

.sidebar-menu-footer {
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid #eef0f3;
}

.sidebar-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px;
    background-color: #ef4444;
    color: #ffffff;
    text-decoration: none;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.sidebar-logout-btn:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
}

.sidebar-navigation.active {
    visibility: visible;
}

.sidebar-navigation.active .sidebar-backdrop {
    opacity: 1;
}

.sidebar-navigation.active .sidebar-wrapper {
    left: 0;
}

/* ============ HERO ============ */

.hero {
    position: relative;
    min-height: 620px;
    height: 82vh;
    max-height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0b132b;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 19, 43, 0.55) 0%, rgba(11, 19, 43, 0.35) 42%, rgba(11, 19, 43, 0.8) 100%);
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #000;
    padding: 0 24px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.hero-logo {
    width: 148px;
    height: auto;
    object-fit: contain;
    margin-bottom: 6px;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
    opacity: 0;
    animation: heroRise 0.7s ease-out 0.05s forwards;
}

.hero-title {
    font-size: 68px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    line-height: 1.05;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    animation: heroRise 0.7s ease-out 0.18s forwards;
}

.hero-divider {
    display: block;
    width: 72px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #d4a537, #e8c368);
    opacity: 0;
    animation: heroRise 0.7s ease-out 0.3s forwards;
}

.hero-year {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    animation: heroRise 0.7s ease-out 0.42s forwards;
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo, .hero-title, .hero-divider, .hero-year {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
    animation: heroRise 0.7s ease-out 0.6s forwards, scrollCue 2.2s ease-in-out 1.3s infinite;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.hero-scroll-cue:hover {
    color: #e8c368;
    border-color: rgba(232, 195, 104, 0.6);
}

.hero-scroll-cue svg {
    width: 20px;
    height: 20px;
}

@keyframes scrollCue {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-cue {
        animation: none;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero-scroll-cue {
        display: none;
    }
}

.sidebar-navigation.active~.main-header .hamburger-btn .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #d4a537;
}

.sidebar-navigation.active~.main-header .hamburger-btn .bar:nth-child(2) {
    opacity: 0;
}

.sidebar-navigation.active~.main-header .hamburger-btn .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #d4a537;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 52px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 68px;
    }

    .main-header {
        height: 68px;
        padding: 0 16px;
    }

    .header-left-side {
        gap: 14px;
    }

    .logo-warmadewa {
        width: 76px;
        height: 76px;
    }

    .header-icon {
        width: 64px;
        height: 64px;
    }

    .sidebar-wrapper {
        padding: 66px 22px 22px 22px;
    }

    .hero {
        min-height: 460px;
        height: 78vh;
    }

    .hero-text {
        gap: 14px;
    }

    .hero-logo {
        width: 92px;
    }

    .hero-title {
        font-size: 34px;
        letter-spacing: 1.5px;
    }

    .hero-year {
        font-size: 12px;
        letter-spacing: 3px;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 28px;
    }
}

/* ============ FLOATING ACTIONS ============ */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    box-shadow: 0px 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0px 10px 30px rgba(37, 211, 102, 0.5);
}

.wa-tooltip {
    position: absolute;
    left: 75px;
    background-color: #0b132b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wa-tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-style: solid;
    border-color: transparent #0b132b transparent transparent;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        left: 20px;
    }
}