/* =======================================================
   1. ROOT VARIABLES & GLOBAL RESET
   ======================================================= */
:root {
    --primary-brown: #5d4037;
    --dark-brown: #3e2723;
    --executive-brown: #2d1b15;
    --accent-gold: #c6a664;
    --gold-gradient: linear-gradient(135deg, #c6a664 0%, #d4af37 50%, #b8860b 100%);
    --luxury-cream: #f8f5f0;
    --soft-cream: #fdfaf5;
    --glass-white: rgba(255, 255, 255, 0.85);
}

html { scroll-behavior: smooth; }

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    margin: 0; 
    background-color: var(--luxury-cream);
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.02em;
}

.container { 
    width: 90%; /* Diperlebar sedikit agar pas di HP */
    max-width: 1100px; 
    margin: auto; 
    overflow: hidden; 
}

/* =======================================================
   2. NAVIGATION (EXECUTIVE GLASS LOOK)
   ======================================================= */
nav {
    margin: 15px 25px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 15px 40px !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: sticky; 
    top: 15px; 
    z-index: 1000;
}

nav:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 15px 35px rgba(45, 27, 21, 0.1);
}

.logo { 
    float: left; 
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px; 
    font-weight: bold; 
    margin: 0;
}

nav ul { 
    float: right; 
    list-style: none; 
    padding: 0; 
    margin: 5px 0 0 0;
}

nav ul li { 
    display: inline-block; 
    margin-left: 25px; 
}

nav a { 
    text-decoration: none; 
    color: var(--dark-brown); 
    font-weight: 600; 
    transition: 0.3s;
    position: relative;
    padding-bottom: 5px;
}

/* Efek garis bawah saat hover */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

nav ul li a:hover::after { width: 100%; }

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =======================================================
   3. HERO SECTION (CINEMATIC)
   ======================================================= */
.hero { 
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://asset.kompas.com/crops/QIZTHaixdhxnSIpRrWlMdVgqK-8=/0x0:1000x667/1200x800/data/photo/2023/02/25/63f903a8a7d32.jpg');
    background-size: cover; 
    background-position: center; 
    padding: 150px 0; 
    text-align: center; 
    color: #fff; 
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 80px;
    background: linear-gradient(transparent, var(--luxury-cream));
}

.hero h1 { 
    font-size: 4em; /* Diperbaiki dari 3.5 tanpa satuan sebelumnya */
    font-weight: 900; 
    margin-bottom: 20px; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8); 
    font-family: 'Playfair Display', serif;
}

.hero p { 
    font-size: 1.4em; 
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* =======================================================
   4. LAYOUT & CONTAINERS
   ======================================================= */
.content { padding: 60px 0; }

.main-description, .contact-container, .product-content {
    background: #ffffff;
    border-radius: 40px;
    padding: 60px;
    box-shadow: 20px 20px 60px #e0ddd8; 
    border: none;
    animation: fadeInUp 0.8s ease-out forwards;
}

.main-description h2 { 
    text-align: center; 
    color: var(--executive-brown); 
    font-size: 2.2em; 
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.main-description p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: #666;
}

/* =======================================================
   5. FEATURES (LUXURY CARDS)
   ======================================================= */
.features { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; 
    margin-top: 50px; 
}

.feature-item { 
    background: #ffffff;
    border: 1px solid rgba(141, 110, 99, 0.05);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.feature-item h3 { 
    color: var(--executive-brown); 
    font-size: 1.4em;
    margin-bottom: 15px; 
    transition: 0.3s;
}

.feature-item:hover {
    background: var(--executive-brown);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(45, 27, 21, 0.15);
}

.feature-item:hover h3 { color: var(--accent-gold); }
.feature-item:hover p { color: #fff; }

/* =======================================================
   6. TABLES & FORMS
   ======================================================= */
.product-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 30px; 
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-table th { 
    background: var(--executive-brown); 
    color: #fff; 
    text-transform: uppercase;
    font-size: 14px;
    padding: 20px;
    letter-spacing: 2px;
}

.product-table td { padding: 18px; border-bottom: 1px solid #eee; transition: 0.3s; }
.product-table tr:hover td { background: var(--soft-cream); color: var(--executive-brown); font-weight: 600; }

input, textarea {
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 15px;
    background: #fcfcfc;
    transition: 0.3s;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

input:focus, textarea:focus {
    border-color: var(--accent-gold);
    background: #fff;
    outline: none;
}

/* =======================================================
   7. BUTTONS & ANIMATIONS
   ======================================================= */
.btn-send, .btn-inquiry, button[type="submit"] {
    background: var(--executive-brown);
    color: white;
    border-radius: 50px;
    padding: 16px 35px;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
}

.btn-send::before, .btn-inquiry::before, button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--gold-gradient);
    transition: 0.5s;
    z-index: -1;
}

.btn-send:hover::before, .btn-inquiry:hover::before, button[type="submit"]:hover::before { left: 0; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =======================================================
   8. FOOTER & SCROLLBAR
   ======================================================= */
footer { 
    background: var(--executive-brown); 
    color: #d7ccc8; 
    text-align: center; 
    padding: 40px 0; 
    margin-top: 60px; 
}
/* ===============================
   HAMBURGER BUTTON
   =============================== */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--dark-brown);
    transition: all 0.3s ease;
}

/* animasi hamburger jadi X */

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px,5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px,-6px);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--soft-cream); }
::-webkit-scrollbar-thumb { background: var(--primary-brown); border-radius: 5px; }


/* =======================================================
   9. MOBILE RESPONSIVE (MEDIA QUERIES)
   ======================================================= */
@media (max-width: 768px) {
    /* Penyesuaian Navigasi */
    nav { 
        margin: 0; 
        border-radius: 0; 
        padding: 15px !important; 
        text-align: center;
    }
    
    .logo { 
        float: none; 
        display: block; 
        margin-bottom: 15px; 
        font-size: 20px;
    }
    .logo {
        margin: 0;
    }
    
    nav ul { 
        float: none; 
        display: flex; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 10px;
    }
    
    nav ul li { margin: 5px 10px; }

    /* Penyesuaian Hero Section */
    .hero { padding: 100px 0; }
    .hero h1 { font-size: 2.5em; }
    .hero p { font-size: 1.1em; padding: 0 15px; }

    /* Penyesuaian Kontainer */
    .main-description, .contact-container, .product-content {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .main-description h2 { font-size: 1.8em; }

    /* Penyesuaian Tabel agar bisa digeser (Scroll) di HP */
    .product-table { display: block; overflow-x: auto; white-space: nowrap; 
    }
    /*nyoba bos */
    footer{ 
    padding:30px 20px;
    font-size:13px;
    }

    /* Hamburger default (desktop) */
    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 26px;
        cursor: pointer;
        margin-left:auto;
    }

    /* Mobile */
    @media (max-width: 768px) {

         .mobile-menu-btn {
            display: flex;
        }


        #navLinks {
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: opacity 0.3s ease, transform 0.3s ease;
            flex-direction: column;
            position: absolute;
            top: 70px;
            left: 0;
            width: 100%;
            background: white;
            padding: 20px 0;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        #navLinks.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        #navLinks li {
            text-align: center;
            margin: 12px 0;
        }

    }

}