:root {
    --bg-obsidian: #09090b;
    --surface-dark: #141417;
    --surface-card: #1c1c21;
    --gold-pure: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.15);
    --text-light: #f4f4f5;
    --text-muted: #a1a1aa;
    --glass-border: rgba(255, 255, 255, 0.05);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-obsidian);
    color: var(--text-light);
    overflow-x: hidden;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-light);
    text-transform: uppercase;
    text-decoration: none;
}

.logo span { color: var(--gold-pure); font-weight: 300; }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold-pure);
}

/* --- Base Layout --- */
main {
    padding-top: 100px;
    min-height: 90vh;
}

.page-header {
    text-align: center;
    padding: 60px 20px;
}

.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: var(--gold-pure);
    margin-bottom: 10px;
}

/* --- Shop Layout --- */
.toolbar {
    padding: 0 5% 40px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-box { position: relative; width: 100%; max-width: 500px; margin: 0 auto; }
.search-box input {
    width: 100%; padding: 16px 20px 16px 50px; background: var(--surface-dark);
    border: 1px solid var(--glass-border); border-radius: 8px; color: var(--text-light); outline: none;
}
.search-box input:focus { border-color: var(--gold-pure); }
.search-box i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

.category-tabs { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.tab-btn {
    background: transparent; border: 1px solid var(--glass-border); color: var(--text-muted);
    padding: 10px 24px; border-radius: 30px; cursor: pointer; transition: var(--transition-smooth);
}
.tab-btn:hover, .tab-btn.active { background: var(--gold-pure); color: var(--bg-obsidian); border-color: var(--gold-pure); }

.grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 35px;
    padding: 0 5% 100px; max-width: 1400px; margin: 0 auto;
}

.product-card {
    background: var(--surface-card); border-radius: 12px; border: 1px solid var(--glass-border);
    overflow: hidden; transition: var(--transition-smooth); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); border-color: var(--gold-pure); }
.img-wrapper { position: relative; padding-top: 110%; background: #111; overflow: hidden; }
.img-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.size-tag {
    position: absolute; top: 15px; right: 15px; background: rgba(9, 9, 11, 0.85);
    border: 1px solid var(--gold-pure); color: var(--gold-pure); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem;
}
.product-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.product-category { font-size: 0.75rem; color: var(--gold-pure); margin-bottom: 8px; text-transform: uppercase; }
.product-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; margin-bottom: 12px; min-height: 3.6rem; }
.product-price { font-size: 1.2rem; font-weight: 600; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.05); }

.inquire-btn {
    width: 100%; background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: #fff;
    border: none; padding: 14px; border-radius: 8px; font-weight: 600; cursor: pointer; margin-top: 15px; display: flex; justify-content: center; gap: 10px;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5,5,6,0.85);
    display: flex; align-items: center; justify-content: center; z-index: 2000; opacity: 0; pointer-events: none; transition: 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box {
    background: var(--surface-card); border: 1px solid var(--gold-pure); border-radius: 16px;
    width: 90%; max-width: 460px; padding: 35px; position: relative;
}
.close-modal { position: absolute; top: 20px; right: 20px; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.form-group input { width: 100%; padding: 14px; background: var(--surface-dark); border: 1px solid var(--glass-border); border-radius: 8px; color: white; }
.submit-inquiry-btn { width: 100%; background: var(--gold-pure); border: none; padding: 16px; border-radius: 8px; font-weight: 600; cursor: pointer; display: flex; justify-content: center; gap: 10px; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; padding: 0 10%; max-width: 1200px; margin: 0 auto; }
.contact-card { background: var(--surface-card); padding: 40px; border-radius: 12px; border: 1px solid var(--glass-border); text-align: center; }
.contact-card i { font-size: 2.5rem; color: var(--gold-pure); margin-bottom: 20px; }
.contact-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; margin-bottom: 15px; }

@media (max-width: 768px) {
    .nav-links { display: none; } /* Add mobile menu logic if needed */
    .page-header h1 { font-size: 2.5rem; }
}