/* File: css/style.css - TERPERBAIKI */
/* Global Styles untuk Seluruh Website */

/* Tambahkan ini di style.css untuk memaksa menu berada di atas konten */
.my-header {
    z-index: 10000 !important;
}

.mobile-nav {
    z-index: 9999 !important;
}

.menu-overlay {
    z-index: 9998 !important;
}

:root {
    /* Warna Utama */
    --primary: #7C42AE;
    --primary-dark: #5B21B6;
    --primary-light: #9B6BC9;
    --secondary: #A855F7;
    --accent: #F59E0B;
    
    /* Warna Status */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Warna Netral */
    --dark: #1f2937;
    --gray-dark: #4b5563;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --light: #f3f4f6;
    --light-bg: #f9fafb;
    --white: #ffffff;
    
    /* Shadow */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(124, 66, 174, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transisi */
    --transition-base: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-bg);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none; /* Tambahan */
}

.logo-image {
    height: 45px;
    width: auto;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-text-fill-color: transparent;
}

/* Desktop Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-base);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* ===== MOBILE MENU STYLES (DIPERBAIKI) ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    /* Tambahan agar bisa diklik di atas overlay */
    position: relative;
    z-index: 100000;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    position: relative;
    z-index: 100001; /* Harus lebih tinggi dari semua elemen */
}

.mobile-nav {
    display: none; /* Sembunyikan default */
    position: fixed;
    top: 77px; /* Sesuaikan dengan tinggi header Anda */
    left: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow-md);
    padding: 20px;
    z-index: 99999; /* Di bawah tombol, di atas konten */
    
    /* Animasi */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Class untuk menampilkan menu (ditambah via JS) */
.mobile-nav.active {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav ul li a {
    display: block;
    padding: 10px;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid var(--light);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99998; /* Di bawah mobile-nav */
}

.menu-overlay.active {
    display: block !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* ===== WHATSAPP BUTTON ===== */
.sticky-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 99997; /* Di bawah menu */
    text-decoration: none;
    transition: transform 0.3s;
}

.sticky-whatsapp:hover {
    transform: scale(1.1);
}

/* ===== FOOTER ===== */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-column ul li i {
    margin-right: 12px;
    color: var(--primary);
    width: 20px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #333;
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition-base);
    font-size: 20px;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #888;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Print Styles */
@media print {
    header, footer {
        display: none;
    }
}

