/* 
    LUNIQ DESIGN SYSTEM
    Aesthetics: Quiet Luxury, Emotional Resonance, Premium Craftsmanship
*/

:root {
    /* Brand Colors */
    --luniq-gold: #C5A059;
    --luniq-gold-light: #E2C185;
    --luniq-gold-dark: #8E6D38;
    --luniq-black: #080808;
    --luniq-deep-purple: #120A1C;
    --luniq-gray-900: #121212;
    --luniq-gray-800: #1A1A1A;
    --luniq-off-white: #F8F5F2;

    /* Bootstrap Overrides */
    --bs-primary: var(--luniq-gold);
    --bs-primary-rgb: 197, 160, 89;
    --bs-body-bg: var(--luniq-black);
    --bs-body-color: var(--luniq-off-white);
    --bs-font-sans-serif: 'Inter', sans-serif;
    --bs-link-color: var(--luniq-gold);
    --bs-link-hover-color: var(--luniq-gold-light);
    --bs-border-color: rgba(197, 160, 89, 0.2);
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}

.text-gold {
    color: var(--luniq-gold) !important;
}

.bg-gold {
    background-color: var(--luniq-gold) !important;
}

.bg-deep-black {
    background-color: var(--luniq-black) !important;
}

.bg-purple {
    background-color: var(--luniq-deep-purple) !important;
}

.tracking-widest {
    letter-spacing: 0.3em;
}

/* Custom Components */

/* Premium Buttons */
.btn-primary {
    background-color: var(--luniq-gold);
    border-color: var(--luniq-gold);
    color: var(--luniq-black);
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 1rem 2.5rem;
    letter-spacing: 0.15em;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary:hover {
    background-color: var(--luniq-gold-light);
    border-color: var(--luniq-gold-light);
    color: var(--luniq-black);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline-gold {
    border: 1px solid var(--luniq-gold);
    color: var(--luniq-gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 1rem 2.5rem;
    letter-spacing: 0.15em;
    border-radius: 0;
    transition: all 0.4s ease;
}

.btn-outline-gold:hover {
    background-color: var(--luniq-gold);
    color: var(--luniq-black);
}

/* Navbar Enhancements */
.navbar-scrolled {
    background: rgba(8, 8, 8, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 180px;
    padding-bottom: 100px;
    background: linear-gradient(to right, rgba(8, 8, 8, 0.95), rgba(8, 8, 8, 0.4)),
        url('../images/hero-bg-alt.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 120px;
        text-align: center;
    }
}

/* Premium Footer */
.minimal-footer {
    background: var(--luniq-black);
    padding: 8rem 0 4rem;
    border-top: 1px solid rgba(197, 160, 89, 0.05);
}

.footer-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--luniq-gold);
}

.footer-bottom {
    margin-top: 8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Scrollbar Branding */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--luniq-black);
}

::-webkit-scrollbar-thumb {
    background: var(--luniq-gold-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--luniq-gold);
}

/* Premium Product Cards */
.product-card-premium {
    background: var(--luniq-gray-900);
    border: 1px solid rgba(197, 160, 89, 0.1);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card-premium:hover {
    border-color: var(--luniq-gold);
    transform: translateY(-10px);
}

.product-image-container {
    overflow: hidden;
    position: relative;
    background: #111;
}

.product-image-container img {
    transition: transform 0.8s ease;
}

.product-card-premium:hover .product-image-container img {
    transform: scale(1.05);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Dividers */
.section-spacer {
    padding: 10rem 0;
}

/* Luxury Cart Interface */
.cart-item-premium {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    transition: all 0.4s ease;
}

.cart-item-premium:hover {
    background: rgba(197, 160, 89, 0.02);
}

.cart-item-image {
    width: 140px;
    height: 180px;
    object-fit: cover;
    filter: brightness(0.9);
    transition: all 0.5s ease;
}

.cart-item-premium:hover .cart-item-image {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.quantity-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--luniq-gold);
    color: var(--luniq-black);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.transition-all {
    transition: all 0.3s ease-in-out;
}

.hover-gold:hover {
    color: var(--luniq-gold) !important;
}

/* Custom Utilities */
.mb-10 {
    margin-bottom: 6rem;
}

.py-10 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.vertical-text {
    font-size: 0.7rem;
    letter-spacing: 0.5em;
}

.custom-line-height {
    line-height: 1.1;
}

.luxury-ticker {
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Sidebar System */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #050505;
    z-index: 2000;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(197, 160, 89, 0.1);
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: block;
}

.sidebar-link:hover {
    color: var(--luniq-gold);
    padding-left: 10px;
}

.btn-close-sidebar {
    background: transparent;
    border: none;
    color: var(--luniq-gold);
    font-size: 2rem;
    line-height: 1;
    padding: 0;
}

/* Burger Icon */
.burger-icon {
    width: 25px;
    height: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-icon span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--luniq-gold);
    transition: all 0.3s ease;
}

.burger-icon span:last-child {
    width: 60%;
    align-self: flex-end;
}

#sidebarToggle:hover .burger-icon span:last-child {
    width: 100%;
}

@media (min-width: 992px) {

    .navbar-toggler,
    .nav-sidebar-toggle {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none !important;
        /* Force hide any bootstrap collapse on mobile */
    }

    .navbar-brand span {
        font-size: 1.1rem;
    }
}