/* --- Modern Theme Variables --- */
:root {
    --primary: #f59e0b; /* Golden Amber */
    --primary-dark: #d97706;
    --accent: #ef4444; /* Red Accent */
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-100: #f1f5f9;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: var(--slate-900);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Navigation --- */
.sticky-header {
    position: sticky; top: 0; height: 80px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex; align-items: center; z-index: 1000;
}

.header-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo img {
    height: 6em;
    width: auto;
}
.logo { 
    font-weight: 800; font-size: 1.5rem; color: var(--slate-900); 
    display: flex; align-items: center; gap: 8px;
}
.logo i { color: var(--primary); }
.logo span { color: var(--primary); }

.nav-menu ul { display: flex; gap: 24px; list-style: none; }
.nav-menu a { 
    font-weight: 600; font-size: 0.9rem; color: var(--slate-800); 
    text-transform: uppercase; text-decoration: none; transition: var(--transition);
}
.nav-menu a:hover { color: var(--primary); }

/* --- Hero Section --- */
/* --- Hero Section FIXED --- */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 205px 20px;

    background-color: var(--slate-900);

    background-image:
        linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)),
        url('/images/backgroundweb.png');

    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain; /* <-- supaya tidak terpotong */

    color: var(--white);
    text-align: center;
}

/* Abstract modern background elements */
.hero::before {
    content: ''; position: absolute; width: 40%; height: 60%;
    background: var(--primary); filter: blur(150px); opacity: 0.15;
    top: -10%; right: -5%; border-radius: 50%;
}

.hero-text { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }

.badge {
    display: inline-block; padding: 6px 16px; background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2); border-radius: 100px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 24px;
}

.hero-text h1 { font-size: clamp(3rem, 10vw, 5.5rem); line-height: 1; margin-bottom: 24px; font-weight: 800; }
.hero-text h1 span { color: var(--primary); }
.hero-text p { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 40px; }

.btn-hero {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; background: var(--primary); color: var(--slate-900);
    border-radius: 12px; font-weight: 700; text-decoration: none; transition: var(--transition);
}
.btn-hero:hover { transform: translateY(-3px); background: var(--white); }

/* --- Categories Section --- */
.categories { padding: 120px 0; background: #fff; }
.section-title { text-align: center; font-size: 2.5rem; font-weight: 800; color: var(--slate-900); }
.underline { width: 60px; height: 5px; background: var(--primary); margin: 16px auto 64px; border-radius: 10px; }

.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }

.card {
    background: var(--white); padding: 48px 32px; border-radius: 24px;
    text-decoration: none; transition: var(--transition);
    border: 1px solid #f1f5f9; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    display: flex; flex-direction: column; align-items: flex-start;
}

.card:hover {
    transform: translateY(-12px); border-color: var(--primary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 64px; height: 64px; background: #fffbeb; color: var(--primary);
    font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
    border-radius: 16px; margin-bottom: 24px; transition: var(--transition);
}
.card:hover .card-icon { background: var(--primary); color: var(--white); }

.card h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--slate-900); }
.card p { color: #64748b; font-size: 0.95rem; margin-bottom: 24px; line-height: 1.5; }

.arrow { 
    font-weight: 700; font-size: 0.85rem; color: var(--primary); 
    display: flex; align-items: center; gap: 8px; text-transform: uppercase;
    margin-top: auto; /* Pushes button to bottom of card */
}

/* --- Floating Elements --- */

.whatsapp-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1000;
}

.whatsapp-float {
    width: 64px;
    height: 64px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
}

.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-popup a {
    text-decoration: none;
    font-weight: 600;
    color: var(--slate-900);
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-popup a:hover {
    color: #25d366;
}

.whatsapp-popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}




@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Footer --- */
footer { background: var(--slate-900); color: #94a3b8; padding: 80px 0 40px; }
.footer-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.contact-details h4 { color: white; margin-bottom: 16px; font-size: 1.25rem; }
.contact-details p { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.social-links { display: flex; gap: 16px; }
.social-links a { 
    width: 48px; height: 48px; background: rgba(255,255,255,0.05);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.2rem; transition: var(--transition); text-decoration: none;
}
.social-links a:hover { background: var(--primary); color: var(--slate-900); }
.copyright { text-align: center; font-size: 0.85rem; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); }

/* --- Mobile Nav Logic (Pure CSS) --- */
.nav-toggle { display: none; }
.hamburger { display: none; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--slate-900); margin: 5px 0; display: block; transition: var(--transition); }

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu {
        position: fixed; top: 80px; left: 0; width: 100%;
        background: white; height: 0; overflow: hidden; transition: var(--transition);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    .nav-menu ul { flex-direction: column; padding: 40px 24px; gap: 24px; text-align: center; }
    
    /* When Checkbox is Checked */
    #nav-toggle:checked ~ header .nav-menu { height: 280px; }
    #nav-toggle:checked ~ header .header-content .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    #nav-toggle:checked ~ header .header-content .hamburger span:nth-child(2) { opacity: 0; }
    #nav-toggle:checked ~ header .header-content .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    .hero-text h1 { font-size: 3.5rem; }
}

@media (min-width: 992px) {
    .hero {
        background-size: cover;
        background-position: center;
    }
}


/* Mobile background */
@media (max-width: 768px) {
    .hero {
        background-image:
            linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)),
            url('/images/ExpoPotrait.png');
        background-size: contain;
    }
}