/* ========== RESET & GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVBAR ========== */
.navbar {
    background-color: #222;
    padding: 10px 0;
}

.navbar nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-right {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-left li, .nav-right li {
    position: relative;
}

.nav-left a, .nav-right a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    transition: color 0.3s;
}

.nav-left a:hover, .nav-right a:hover {
    color: #ddd;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 120px;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #fff;
}

.dropdown-menu a:hover {
    background-color: #444;
}

.logo img {
    height: 40px;
}
/* NAVBAR */
.navbar {
    background-color: #222;
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* MENU KIRI & KANAN */
.nav-left, .nav-right {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-left li, .nav-right li {
    margin: 0;
}

.nav-left a, .nav-right a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    transition: color 0.3s;
}

.nav-left a:hover, .nav-right a:hover {
    color: #e0e0e0;
}

/* LOGO DI TENGAH */
.logo a {
    text-decoration: none;
    display: block;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

/* DROPDOWN */
.dropdown-menu {
    display: none;
    position: absolute;
    background: #333;
    min-width: 120px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background: #444;
}

/* ========== HERO BANNER ========== */
.hero {
    background: url('img/hero_mode1.png') center center no-repeat;
    background-size: auto 100%; /* Tinggi penuh, lebar menyesuaikan */
    padding: 80px 20px;
    position: relative;
    text-align: center;
    color: #222;
    min-height: 400px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2); /* Overlay putih semi-transparan */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px; /* Geser teks sedikit ke atas agar tidak tertutup model */
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    letter-spacing: 0.2em; /* Jarak huruf diperlebar */
    color: #222;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    font-weight: 700;
    line-height: 1.1;
}

.hero-content h3 {
    font-family: 'Amiri', serif;
    font-style: italic;
    font-size: 1.6rem;
    color: #444;
    margin-top: 10px;
    margin-bottom: 0;
    font-weight: 400;
}

/* ========== PRODUCTS SECTION ========== */
.products {
    padding: 60px 0;
    text-align: center;
}

.products h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 40px;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #222;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #f9f9f9;
}

.product-info {
    padding: 15px;
    background: #222;
    color: white;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.product-info p {
    font-size: 11px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.spec {
    background: #fff;
    color: #222;
    padding: 4px 8px;
    font-size: 12px;
    text-align: center;
    border-radius: 3px;
}

.cta-button {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    background: #222;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #444;
}
/* Harga di halaman index */
.harga-produk {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin: 8px 0;
    text-align: center;
}

/* Placeholder gambar */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ddd;
    background: #f9f9f9;
    font-weight: bold;
}
* ========== THE SOVEREIGN SECTION ========== */
.sovereign {
    padding: 60px 0;
    background-color: #eee; /* Background abu-abu muda seperti referensi */
}

.sovereign h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 40px;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #222;
    text-align: center;
}

.sovereign-content {
    display: flex;
    align-items: flex-start; /* Agar gambar dan teks sejajar di atas */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sovereign-image {
    flex: 0 0 40%; /* Gambar 40% lebar container */
    text-align: center;
}

.sovereign-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sovereign-text {
    flex: 1;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.sovereign-text p {
    margin-bottom: 20px;
}

/* ========== PROMO SECTION ========== */
.promo {
    padding: 60px 0;
    background-color: #fff; /* Background putih seperti referensi */
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-video {
    flex: 0 0 50%; /* Video 50% lebar container */
    border: 2px dashed #ccc;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.promo-video video {
    width: 100%;
    height: auto;
    display: block;
    background: #eee;
    object-fit: cover; /* Agar video tidak terpotong */
}

.promo-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.promo-text h3 {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
}

/* ========== FOOTER ========== */
.footer {
    background-color: #222;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
}

.footer-col p {
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.icon-location, .icon-phone, .icon-email {
    margin-right: 8px;
}
/* Footer: kolom "Ikuti Kami" rata kanan */
.footer-col:last-child {
    text-align: center;
}

.footer-col:last-child h4 {
    margin-left: auto;
    text-align: center;
}

.footer-col:last-child ul {
    display: inline-block;
    text-align: left; /* biar teks list tetap normal */
    margin-left: auto;
}
/* Efek hover untuk card */
.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ========== MOBILE MENU - SESUAI DENGAN JS ========== */
@media (max-width: 768px) {
    /* Sembunyikan menu desktop */
    .nav-left,
    .nav-right {
        display: none !important;
    }

    /* Navbar container */
    .navbar .container {
        flex-direction: column;
        padding: 10px;
        position: relative;
        min-height: 60px; /* pastikan cukup ruang untuk logo + hamburger */
    }

    /* Logo di mobile */
    .logo img {
        height: 35px;
        margin: 10px auto 0; /* center logo */
        display: block;
    }

    /* Hamburger Button (dari JS) */
    .hamburger-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        padding: 0;
    }

    .hamburger-btn span {
        display: block;
        height: 3px;
        width: 100%;
       background-color: white !important;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Animasi saat open */
    .hamburger-btn.open span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Mobile Menu (dari JS) */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fdfcfc;
        z-index: 2000;
        display: flex;
        flex-direction: column;
        padding: 20px;
        box-sizing: border-box;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-menu .mobile-logo {
        text-align: center;
        margin-bottom: 25px;
    }

    .mobile-menu .mobile-logo img {
        height: 40px;
        filter: brightness(0) invert(1); /* jika logo gelap, jadi putih */
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        flex: 1;
    }

    .mobile-menu li {
        margin: 10px 0;
    }

    .mobile-menu a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        display: block;
        padding: 10px 0;
    }

    .mobile-menu a:hover {
        color: #4fc3f7;
    }

    /* Submenu di mobile */
    .mobile-submenu {
        padding-left: 15px;
        margin-top: 8px;
        display: none;
    }

    .menu-item.open .mobile-submenu {
        display: block;
    }

    /* Overlay (dari JS) */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(223, 221, 221, 0.5);
        z-index: 1999;
        display: none;
    }

    .mobile-overlay.active {
        display: block;
    }
}@media (max-width: 768px) {
    .hero {
        min-height: 300px;
        padding: 40px 10px;
    }

    .hero-content {
        margin-top: 20px;
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: 0.1em;
    }

    .hero-content h3 {
        font-size: 1.3rem;
    }

    .hero::before {
        background: rgba(255, 255, 255, 0.3);
    }
}