:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --primary: #d4af37;
    --secondary: #ff4c4c;
    --text-light: #f5f5f5;
    --text-gray: #888;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; background: var(--bg-dark); color: var(--text-light); overflow-x: hidden; scroll-behavior: smooth; }

/* HEADER & MENU */
header { display: flex; justify-content: space-between; align-items: center; padding: 15px 40px; position: sticky; top: 0; background: rgba(10,10,10,0.95); backdrop-filter: blur(15px); z-index: 1000; border-bottom: 1px solid #222; }
.logo { font-size: 2rem; font-weight: 900; color: white; cursor: pointer; }
.logo span { color: var(--primary); }
.header-nav { display: flex; gap: 25px; }
.header-nav a { color: var(--text-light); text-decoration: none; font-weight: 600; transition: 0.3s; }
.header-nav a:hover { color: var(--primary); }
.header-icons { display: flex; gap: 20px; align-items: center; }
.header-icons button { background: none; border: none; color: white; font-size: 1.3rem; cursor: pointer; position: relative; }
#cart-count { position: absolute; top: -8px; right: -8px; background: var(--secondary); color: white; font-size: 0.6rem; width: 16px; height: 16px; border-radius: 50%; font-weight: bold; display: flex; justify-content: center; align-items: center; }

.mega-menu { position: fixed; top: 0; left: -350px; width: 350px; height: 100vh; background: #111; z-index: 2000; transition: 0.4s ease; overflow-y: auto; padding: 30px; border-right: 1px solid var(--primary); }
.mega-menu.open { left: 0; }
.menu-close { position: absolute; top: 20px; right: 20px; font-size: 2rem; color: white; background: none; border: none; cursor: pointer; }
.menu-category { color: var(--primary); font-weight: 800; margin: 20px 0 10px; font-size: 1.1rem; border-bottom: 1px solid #333; padding-bottom: 5px; }
.menu-link { display: block; color: #ccc; text-decoration: none; padding: 8px 0; font-size: 0.9rem; transition: 0.2s; }
.menu-link:hover { color: white; padding-left: 10px; }

/* HERO & VIDEO */
.hero { height: 85vh; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); z-index: -1; opacity: 0.5; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to bottom, rgba(10,10,10,0.3), var(--bg-dark)); z-index: -1;}
.hero-content h1 { font-size: 4.5rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(0,0,0,0.8); }
.hero-btn { display: inline-block; padding: 15px 40px; background: var(--primary); color: black; text-decoration: none; font-weight: 900; text-transform: uppercase; transition: 0.3s; border: none; cursor: pointer; font-size: 1rem; }
.hero-btn:hover { background: white; transform: translateY(-3px); }

/* SECTIONS */
.section { padding: 50px 40px; }
.section-title { font-size: 2rem; margin-bottom: 30px; border-left: 5px solid var(--primary); padding-left: 15px; text-transform: uppercase; }

/* BRAND LOGO GRID (Me ikona reale) */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px; margin-bottom: 40px; }
.brand-card { background: white; padding: 20px; border-radius: 10px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; height: 80px; }
.brand-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); }
.brand-logo { max-width: 90%; max-height: 50px; object-fit: contain; filter: grayscale(100%); transition: 0.3s; }
.brand-card:hover .brand-logo { filter: grayscale(0%); }

/* VIDEO BANNER REKLAMA */
.video-banner { position: relative; height: 400px; overflow: hidden; display: flex; align-items: center; justify-content: center; margin: 40px 0; border-top: 2px solid var(--primary); border-bottom: 2px solid var(--primary); }
.video-banner video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); opacity: 0.6; }
.banner-text { z-index: 10; text-align: center; background: rgba(0,0,0,0.6); padding: 30px 50px; border-radius: 15px; backdrop-filter: blur(5px); border: 1px solid var(--primary); }

/* PRODUCTS */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 25px; }
.product-card { background: var(--bg-card); border-radius: 10px; overflow: hidden; position: relative; transition: 0.3s; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1); }
.product-img { width: 100%; height: 280px; object-fit: cover; transition: 0.5s; }
.product-card:hover .product-img { transform: scale(1.05); opacity: 0.9; }
.badge-discount { position: absolute; top: 15px; left: 15px; background: var(--secondary); color: white; padding: 5px 10px; font-size: 0.8rem; font-weight: bold; border-radius: 5px; }
.product-info { padding: 15px; }
.product-brand { color: var(--primary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.product-title { font-size: 1rem; margin: 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price-box { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.price-old { text-decoration: line-through; color: var(--text-gray); font-size: 0.9rem; }
.price-new { color: white; font-weight: 800; font-size: 1.2rem; }

/* CART & OVERLAY */
.cart-sidebar { position: fixed; top: 0; right: -400px; width: 400px; height: 100vh; background: #111; z-index: 2000; transition: 0.4s ease; display: flex; flex-direction: column; border-left: 1px solid var(--primary); }
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; padding: 20px; border-bottom: 1px solid #333; }
#cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-footer { padding: 20px; border-top: 1px solid #333; background: #0a0a0a; }
.checkout-btn { width: 100%; padding: 15px; background: var(--primary); color: black; border: none; font-weight: 900; font-size: 1.1rem; cursor: pointer; text-transform: uppercase; }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1500; display: none; }
.overlay.active { display: block; }

@media (max-width: 768px) {
    .header-nav { display: none; }
    .hero-content h1 { font-size: 2rem; }
    .section { padding: 30px 15px; }
    .mega-menu, .cart-sidebar { width: 100%; }
    .video-banner { height: 300px; }
}
