@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@800&family=Poppins:wght@300;400;600;800&display=swap');

* { margin: 0 !important; padding: 0 !important; box-sizing: border-box !important; list-style: none !important; text-decoration: none !important; cursor: auto; }

:root { --gold: #ffcc00; --navy: #021c2d; --glass: rgba(0,0,0,0.85); }

body { font-family: 'Poppins', sans-serif; background: #000 !important; color: white; overflow-x: hidden; }

/* HEADER */
header {
    height: 110px !important; width: 95% !important; margin: 15px auto !important;
    background: var(--glass) !important; display: flex !important; align-items: center !important; 
    justify-content: space-between !important; padding: 0 50px !important;
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999; 
    border: 1px solid #333; border-radius: 20px; backdrop-filter: blur(10px);
}
.nav-links { display: flex !important; gap: 40px !important; }
.nav-links a { color: #fff !important; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--gold) !important; }

/* HERO */
.hero-main { width: 100% !important; height: 100vh !important; position: relative !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.hero-img { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: -1; }
.hero-main h1 { font-size: clamp(3rem, 10vw, 6rem); text-shadow: 10px 10px 0px #000; text-align: center; }

/* GRID & ITEMS */
section { padding: 120px 8% !important; border-bottom: 1px solid #222; }
section h2 { font-size: 3rem; margin-bottom: 50px; color: var(--gold); border-left: 10px solid var(--gold); padding-left: 20px; }

.portfolio-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important; gap: 40px !important; }
.portfolio-item { background: #111; border-radius: 20px; overflow: hidden; border: 1px solid #333; transition: 0.4s; }
.portfolio-item:hover { transform: translateY(-10px); border-color: var(--gold); }
.portfolio-item img { width: 100% !important; height: 350px !important; object-fit: cover; }

.item-content { padding: 25px; text-align: center; }
.btn-details { display: block; width: 100%; padding: 12px; background: var(--gold); color: #000; font-weight: 800; border-radius: 8px; margin-bottom: 10px; }
.btn-quick { width: 100%; padding: 12px; background: #222; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; }

/* MODAL FIX */
.modal-overlay { position: fixed !important; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.98); display: none; justify-content: center; align-items: center; z-index: 10000; }
.modal-content { background: #fff !important; width: 90%; max-width: 1200px; border-radius: 30px; padding: 40px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; color: #111; }
.viewer { height: 500px; background: #000; border-radius: 15px; overflow: hidden; position: relative; }
.viewer .active { display: block !important; width: 100%; height: 100%; object-fit: contain; }

/* FOOTER */
.footer { background: linear-gradient(to right, #141e30, #243b55) !important; padding: 60px 8% !important; }