/* AURELIA STUDIOS - Global Styles (assets/css/global.css) */

:root {
    --bg-color: #050505;
    --card-bg: #121212;
    --text-color: #FFFFFF;
    --text-muted: #888888;
    --gold-accent: #C9A36B;
    --gold-hover: #E0C088;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-color); font-weight: 400; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* --- Utility / Shared Layouts --- */
.section { padding: 80px 5%; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: var(--gold-accent); }

/* --- Buttons --- */
.btn-primary {
    background: var(--gold-accent); color: #000; padding: 12px 30px; text-transform: uppercase;
    letter-spacing: 1px; font-weight: 600; border: 1px solid var(--gold-accent);
    cursor: pointer; transition: var(--transition); display: inline-block;
}
.btn-primary:hover { background: transparent; color: var(--gold-accent); }

.btn-outline {
    background: transparent; border: 1px solid var(--gold-accent); color: var(--gold-accent);
    padding: 12px 30px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
}
.btn-outline:hover { background: var(--gold-accent); color: #000; }

/* --- Navigation (Sticky) --- */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(5, 5, 5, 0.85); backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border); padding: 20px 0;
}
.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    width: 90%; max-width: 1400px; margin: 0 auto;
}
.logo { font-family: var(--font-heading); font-size: 1.8rem; letter-spacing: 2px; color: var(--gold-accent); }
.nav-links { display: flex; gap: 30px; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-accent); }
.nav-icons { display: flex; gap: 20px; font-size: 1.2rem; cursor: pointer; }
.cart-count {
    position: absolute; top: -8px; right: -10px; background: var(--gold-accent);
    color: #000; font-size: 0.7rem; width: 18px; height: 18px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-weight: bold;
}

/* --- Product Cards (Base) --- */
.product-grid {
    display: grid;
    /* Allows 4-5 items per row on large screens */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 30px; 
}
.product-card {
    background: var(--card-bg); border: 1px solid var(--glass-border);
    transition: var(--transition); position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.product-img-container { position: relative; height: 300px; overflow: hidden; }
.product-img-container img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 20px; text-align: center; }
.p-cat { color: var(--gold-accent); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.p-title { font-size: 1.2rem; margin: 10px 0; font-family: var(--font-heading); }
.p-price { font-size: 1.1rem; color: #fff; font-weight: bold; }

/* --- Footer --- */
footer {
    background: #000; border-top: 1px solid var(--glass-border);
    padding: 60px 5% 20px; margin-top: 80px;
}
.copyright { text-align: center; color: var(--text-muted); font-size: 0.8rem; border-top: 1px solid #222; padding-top: 20px; }




/* --- Mobile Bottom Navigation Bar Styles --- */

.bottom-nav-bar {
    display: none; /* Hidden by default */
    background: var(--bg-color);
    border-top: 1px solid var(--glass-border);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 60px; /* Standard height for bottom bar */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.bottom-nav-bar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    padding: 5px 0;
    flex-grow: 1; /* Distributes items evenly */
    transition: color 0.3s;
}

.bottom-nav-bar .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.bottom-nav-bar .nav-item:hover,
.bottom-nav-bar .nav-item.active {
    color: var(--gold-accent);
}


/* --- MOBILE SPECIFIC LAYOUT --- */
@media (max-width: 768px) {
    /* 1. Hide the old top navigation links (which we removed in HTML anyway) */
    .nav-links {
        display: none !important;
    }
    
    /* 2. Show the new bottom bar */
    .bottom-nav-bar {
        display: flex;
    }

    /* 3. Adjust the main content to prevent being hidden by the fixed bottom bar */
    body {
        /* Add padding at the bottom equal to the height of the bottom bar */
        padding-bottom: 60px; 
    }
    
    /* 4. Center the logo and move icons */
    .nav-container {
        justify-content: space-between;
        padding: 15px 20px;
    }
    .nav-container .logo {
        flex-grow: 1;
        text-align: left;
    }
    .nav-container .nav-icons {
        margin-left: auto;
    }
}