@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

/* Reset & Variables */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg-deep: #050507;
    --bg-surface: rgba(255, 255, 255, 0.03);
    --gold-accent: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.25);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-glass: rgba(255, 255, 255, 0.08);
}
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 600; }

/* Header / Navbar */
header {
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header h1 {
    font-size: 1.5rem;
    background: linear-gradient(to right, #fff, var(--gold-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
header p { color: var(--text-secondary); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; }
.header-nav { display: flex; gap: 2rem; align-items: center; }
.header-nav a { color: var(--text-primary); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.header-nav a:hover { color: var(--gold-accent); }
.admin-link { border: 1px solid var(--border-glass); padding: 0.4rem 1rem; border-radius: 4px; }
.admin-link:hover { border-color: var(--gold-accent); box-shadow: 0 0 10px var(--gold-glow); }

/* Hero Section */
#hero {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background-image: linear-gradient(rgba(5, 5, 7, 0.85), rgba(5, 5, 7, 0.95)), url('https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
#hero h2 { font-size: 4.5rem; margin-bottom: 1.5rem; line-height: 1.1; }
#hero p { font-size: 1.2rem; color: #ccc; max-width: 600px; margin: 0 auto 3rem auto; }

/* Buttons */
.btn {
    display: inline-block;
    background: transparent;
    color: var(--gold-accent);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border: 1px solid var(--gold-accent);
    border-radius: 4px;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    cursor: pointer;
}
.btn:hover {
    background: var(--gold-accent);
    color: var(--bg-deep);
    box-shadow: 0 0 20px var(--gold-glow);
}

/* Sections Base */
section { padding: 8rem 5%; max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 { font-size: 3rem; margin-bottom: 1rem; }
.section-header p { color: var(--gold-accent); letter-spacing: 3px; text-transform: uppercase; font-size: 0.9rem; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-10px); border-color: var(--gold-accent); box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px var(--gold-glow); }
.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.05);
}
.product-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.product-card p { color: var(--text-secondary); font-size: 0.95rem; flex-grow: 1; margin-bottom: 1.5rem; }
.price { font-size: 1.8rem; color: #fff; margin-bottom: 1.5rem; font-weight: 300; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.gallery-item {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    transition: transform 0.5s ease;
}
.gallery-item:hover { transform: scale(1.02); border-color: var(--gold-accent); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 3rem; }
.testimonial-card {
    background: var(--bg-surface);
    border-left: 3px solid var(--gold-accent);
    padding: 3rem;
    border-radius: 0 12px 12px 0;
}
.quote { font-size: 1.1rem; font-style: italic; color: #ddd; margin-bottom: 1.5rem; }
.testimonial-card h4 { color: var(--gold-accent); }

/* Contact */
#contact { border-top: 1px solid var(--border-glass); text-align: center; background: linear-gradient(to top, rgba(212,175,55,0.03), transparent); }
.contact-info { font-size: 1.2rem; color: var(--text-secondary); }
.contact-info strong { color: var(--text-primary); font-weight: 400; }

/* Forms */
.form-container {
    max-width: 500px; margin: 5rem auto; background: var(--bg-surface);
    border: 1px solid var(--border-glass); padding: 3rem; border-radius: 12px; backdrop-filter: blur(10px);
}
.form-group { margin-bottom: 2rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.8rem; color: var(--text-secondary); font-size: 0.9rem; text-transform: uppercase; }
.form-group input, .form-group select {
    width: 100%; background: rgba(0,0,0,0.3); border: 1px solid var(--border-glass);
    color: var(--text-primary); padding: 1rem; border-radius: 4px; font-size: 1rem;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--gold-accent); box-shadow: 0 0 15px var(--gold-glow); }

/* Admin Dashboard Layout */
.admin-body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; padding: 0; }
.admin-login-wrapper { flex: 1; display: flex; align-items: center; justify-content: center; }
#admin-layout { display: flex; width: 100%; min-height: 100vh; }
.admin-sidebar { width: 250px; background: rgba(5,5,7,0.95); border-right: 1px solid var(--border-glass); padding: 2rem; display: flex; flex-direction: column; }
.sidebar-brand h2 { color: var(--gold-accent); margin-bottom: 3rem; font-size: 1.5rem; }
.sidebar-nav { display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.sidebar-nav a { color: var(--text-primary); text-decoration: none; padding: 1rem; border-radius: 4px; transition: 0.3s; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--bg-surface); border-left: 3px solid var(--gold-accent); }
.admin-main { flex: 1; padding: 3rem 5%; overflow-y: auto; }
.admin-view { display: none; }
.admin-view.active-view { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.stat-card { background: var(--bg-surface); padding: 2rem; border-radius: 8px; border: 1px solid var(--border-glass); }
.stat-card h3 { font-size: 0.9rem; color: var(--text-secondary); text-transform: uppercase; margin-bottom: 1rem; }
.stat-card p { font-size: 2.5rem; color: var(--gold-accent); font-weight: 300; }

/* Tables */
table { width: 100%; border-collapse: collapse; background: var(--bg-surface); border-radius: 8px; overflow: hidden; }
th, td { padding: 1.2rem 1.5rem; text-align: left; border-bottom: 1px solid var(--border-glass); }
th { background: rgba(0,0,0,0.4); color: var(--gold-accent); font-size: 0.85rem; text-transform: uppercase; }
td select { background: transparent; border: 1px solid var(--border-glass); color: var(--text-primary); padding: 0.5rem; }
td select option { background: var(--bg-deep); }

/* FABS */
.floating-actions { position: fixed; bottom: 2rem; right: 2rem; display: flex; flex-direction: column; gap: 1rem; z-index: 99; }
.fab { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg-surface); border: 1px solid var(--border-glass); color: var(--gold-accent); text-decoration: none; font-size: 1.5rem; backdrop-filter: blur(5px); transition: 0.3s; }
.fab:hover { border-color: var(--gold-accent); box-shadow: 0 0 20px var(--gold-glow); transform: translateY(-5px); }

/* Responsive */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 1rem; }
    #hero h2 { font-size: 3rem; }
    #admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid var(--border-glass); }
}