:root{--bg-dark:#0a0a0a;--gold-primary:#D4AF37;--gold-secondary:#FFD700;--gold-light:#f8f0c6;--gold-muted:#C4A635;--text-light:#f8f8f8;--text-muted-gold:#E8D285;--dark-card:#1a1a1a;}body{background-color:var(--bg-dark);color:var(--text-light);font-family:'Helvetica Neue',Arial,sans-serif;}html{scroll-behavior:smooth;scroll-padding-top:80px;}.navbar{background-color:rgba(10,10,10,0.95)!important;backdrop-filter:blur(10px);border-bottom:1px solid rgba(212,175,55,0.3);padding:15px 0;}.navbar-brand{color:var(--gold-primary)!important;font-weight:700;letter-spacing:2px;font-size:1.8rem;}.nav-link{color:var(--gold-light)!important;font-weight:500;margin:0 10px;transition:all 0.3s ease;position:relative;}.nav-link:after{content:'';position:absolute;width:0;height:1px;bottom:0;left:0;background-color:var(--gold-primary);transition:width 0.3s ease;}.nav-link:hover:after{width:100%;}.nav-link:hover{color:var(--gold-primary)!important;}.search-form input{background-color:rgba(255,255,255,0.05)!important;border:1px solid rgba(212,175,55,0.5)!important;color:var(--gold-light)!important;transition:all 0.3s ease;}.search-form input:focus{border-color:var(--gold-primary)!important;box-shadow:0 0 0 0.2rem rgba(212,175,55,0.25)!important;background-color:rgba(255,255,255,0.1)!important;}.search-form input::placeholder{color:rgba(212,175,55,0.7)!important;}.search-form button{background-color:var(--gold-primary)!important;color:black!important;border:1px solid var(--gold-primary)!important;transition:all 0.3s ease;}.search-form button:hover{background-color:var(--gold-secondary)!important;transform:translateY(-2px);box-shadow:0 4px 12px rgba(212,175,55,0.3);}.search-suggestions{position:absolute;top:100%;left:0;right:0;background:var(--dark-card);border:1px solid rgba(212,175,55,0.3);border-radius:0 0 8px 8px;max-height:300px;overflow-y:auto;z-index:1000;display:none;box-shadow:0 4px 12px rgba(0,0,0,0.3);}.search-suggestion-item{display:flex;align-items:center;padding:8px 12px;cursor:pointer;border-bottom:1px solid rgba(212,175,55,0.1);transition:background-color 0.2s ease;}.search-suggestion-item:hover,.search-suggestion-item.selected{background-color:rgba(212,175,55,0.15);}.search-suggestion-item:last-child{border-bottom:none;}.suggestion-image{width:32px;height:32px;object-fit:cover;border-radius:4px;margin-right:10px;flex-shrink:0;}.suggestion-info{flex:1;min-width:0;}.suggestion-name{color:var(--gold-light);font-weight:600;font-size:13px;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.suggestion-category{color:rgba(212,175,55,0.7);font-size:11px;margin-bottom:2px;}.suggestion-price{color:var(--gold-primary);font-weight:700;font-size:13px;}.search-see-all{padding:12px 15px;text-align:center;background-color:rgba(212,175,55,0.05);border-top:1px solid rgba(212,175,55,0.2);}.search-see-all a{color:var(--gold-primary);text-decoration:none;font-weight:600;font-size:14px;}.search-see-all a:hover{color:var(--gold-secondary);}.search-form{position:relative;}.hero-section{background:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');background-size:cover;background-position:center;height:90vh;display:flex;align-items:center;position:relative;overflow:hidden;}.hero-section:before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle at center,transparent 10%,var(--bg-dark) 90%);}.hero-content{position:relative;z-index:2;}.display-1{font-weight:700;margin-bottom:1.5rem;text-shadow:0 2px 10px rgba(0,0,0,0.5);}.display-1 span{color:var(--gold-primary);}.btn-gold{background:linear-gradient(145deg,var(--gold-primary),var(--gold-secondary));color:black;border:none;padding:12px 30px;font-weight:600;border-radius:2px;transition:all 0.3s ease;box-shadow:0 4px 15px rgba(212,175,55,0.3);}.btn-gold:hover{transform:translateY(-3px);box-shadow:0 8px 25px rgba(212,175,55,0.5);color:black;}.section-title{position:relative;margin-bottom:3rem;text-align:center;}.section-title:after{content:'';display:block;width:60px;height:2px;background:var(--gold-primary);margin:15px auto;}.product-card{background-color:var(--dark-card);border:1px solid rgba(212,175,55,0.1);border-radius:15px;overflow:hidden;transition:all 0.3s ease;height:100%;}.product-card:hover{transform:translateY(-10px);box-shadow:0 10px 30px rgba(0,0,0,0.5);border-color:var(--gold-primary);}.product-card.clickable{cursor:pointer;}.product-card.clickable:hover{transform:translateY(-12px);box-shadow:0 15px 40px rgba(212,175,55,0.2);}.product-card .text-muted{color:var(--text-muted-gold)!important;}.product-img{height:250px;object-fit:cover;width:100%;}.product-title{font-size:1.2rem;font-weight:600;margin-top:1rem;color:var(--gold-light)!important;}.product-price{color:var(--gold-primary);font-weight:700;font-size:1.3rem;}.gold-accent{color:var(--gold-primary);}.feature-icon{font-size:2.5rem;color:var(--gold-primary);margin-bottom:1rem;}.feature-box{text-align:center;padding:2rem;background-color:var(--dark-card);border-radius:15px;height:100%;transition:all 0.3s ease;}.feature-box:hover{transform:translateY(-5px);box-shadow:0 5px 20px rgba(0,0,0,0.3);}

/* Category Cards */
.category-box {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--dark-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.category-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
}

.category-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.category-box:hover::before {
    transform: scale(1);
}

.category-box h3 {
    color: var(--gold-light);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-box p {
    color: var(--text-muted-gold);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.category-action {
    position: relative;
    z-index: 2;
}

.btn-outline-gold {
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    background: transparent;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}.testimonial-card{background-color:var(--dark-card);padding:2rem;border-radius:15px;position:relative;}.testimonial-card:before{content:'"';font-size:5rem;color:var(--gold-primary);opacity:0.2;position:absolute;top:10px;left:20px;font-family:Georgia,serif;}.footer{background-color:#050505;padding:5rem 0 2rem;border-top:1px solid rgba(212,175,55,0.2);}.footer-title{color:var(--gold-primary);font-weight:600;margin-bottom:1.5rem;font-size:1.2rem;}.footer-link{color:var(--text-light);text-decoration:none;display:block;margin-bottom:0.8rem;transition:all 0.3s ease;}.footer-link:hover{color:var(--gold-primary);padding-left:5px;}.social-icon{color:var(--text-light);font-size:1.5rem;margin-right:15px;transition:all 0.3s ease;}.social-icon:hover{color:var(--gold-primary);transform:translateY(-3px);}.newsletter-input{background-color:rgba(255,255,255,0.1);border:1px solid rgba(212,175,55,0.3);color:white;padding:10px 15px;border-radius:8px;width:100%;}.newsletter-input:focus{outline:none;border-color:var(--gold-primary);box-shadow:0 0 0 0.2rem rgba(212,175,55,0.25);}.copyright{border-top:1px solid rgba(255,255,255,0.1);padding-top:1.5rem;margin-top:3rem;text-align:center;color:rgba(255,255,255,0.6);}.dropdown-menu{background-color:var(--dark-card)!important;border:1px solid rgba(212,175,55,0.3)!important;transform:scaleY(0);transform-origin:top center;opacity:0;visibility:hidden;transition:all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);box-shadow:0 8px 25px rgba(0,0,0,0.3);}.dropdown-menu.show{transform:scaleY(1);opacity:1;visibility:visible;}.dropdown-item{color:var(--text-light)!important;transition:all 0.4s ease;transform:translateX(0);}.dropdown-item:hover,.dropdown-item:focus{background-color:rgba(212,175,55,0.1)!important;color:var(--gold-primary)!important;transform:translateX(5px);}.dropdown-divider{border-color:rgba(212,175,55,0.3)!important;transition:all 0.4s ease;}.dropdown:hover .dropdown-menu{box-shadow:0 12px 35px rgba(212,175,55,0.15);}.badge-gold{background-color:var(--gold-primary);color:black;padding:5px 10px;border-radius:8px;font-weight:600;font-size:0.8rem;}.nav-tabs .nav-link{background-color:var(--dark-card);border:1px solid rgba(212,175,55,0.3);color:var(--gold-primary);border-bottom:none;}.nav-tabs .nav-link:hover{background-color:rgba(212,175,55,0.1);color:var(--gold-primary);}.nav-tabs .nav-link.active{background-color:var(--dark-card);border-color:rgba(212,175,55,0.5);color:var(--gold-primary);border-bottom:1px solid var(--dark-card);}.card-header{background-color:var(--dark-card)!important;border-bottom:1px solid rgba(212,175,55,0.3)!important;}.card-body{background-color:var(--dark-card)!important;}.table-borderless td{color:var(--gold-light)!important;}.table-borderless td strong{color:var(--gold-primary);}@keyframes fadeIn{from{opacity:0;transform:translateY(20px);}to{opacity:1;transform:translateY(0);}}.animate-fadeIn{animation:fadeIn 1s ease forwards;}.delay-1{animation-delay:0.2s;}.delay-2{animation-delay:0.4s;}.delay-3{animation-delay:0.6s;}

/* Sparkles animations */
.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.sparkle {
    position: absolute;
    background: var(--gold-primary);
    opacity: 0.7;
    animation: sparkle 12s infinite linear;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@keyframes sparkle {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(0);
        opacity: 0.7;
    }
    10% {
        opacity: 1;
        transform: translateY(-10vh) translateX(10vw) rotate(36deg) scale(1);
    }
    100% {
        transform: translateY(-100vh) translateX(80vw) rotate(360deg) scale(0);
        opacity: 0;
    }
}

/* Luxury Loader */
.luxury-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.luxury-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-ring {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-top: 3px solid var(--gold-primary);
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: luxury-spin 2s linear infinite;
    position: relative;
}

.loader-ring::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(212, 175, 55, 0.05);
    border-top: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    animation: luxury-spin 1.5s linear infinite reverse;
}

.loader-ring::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.03);
    border-top: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    animation: luxury-spin 1s linear infinite;
}

@keyframes luxury-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: var(--gold-primary);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    from {
        text-shadow: 0 0 5px var(--gold-light);
        opacity: 0.8;
    }
    to {
        text-shadow: 0 0 20px var(--gold-primary), 0 0 30px var(--gold-primary);
        opacity: 1;
    }
}

.loader-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 10px;
    font-weight: 300;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        height: 70vh;
        text-align: center;
        justify-content: center;
    }
    
    .hero-content {
        text-align: center !important;
    }
    
    .hero-content .col-lg-7 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .display-1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .hero-content .lead {
        font-size: 1rem;
        text-align: center;
    }
    
    /* Product Cards Mobile - Smaller */
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-img {
        height: 180px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    /* Hide default grid on mobile for product sections */
    .mobile-carousel .row.g-4 {
        display: none;
    }
    
    /* Show carousel on mobile */
    .product-carousel {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
    }
    
    .product-carousel::-webkit-scrollbar {
        height: 4px;
    }
    
    .product-carousel::-webkit-scrollbar-track {
        background: rgba(212, 175, 55, 0.1);
        border-radius: 2px;
    }
    
    .product-carousel::-webkit-scrollbar-thumb {
        background: var(--gold-primary);
        border-radius: 2px;
    }
    
    .product-scroll-container {
        display: flex;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .product-scroll-item {
        flex: 0 0 250px;
        min-width: 250px;
    }
    
    /* Section titles mobile */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    /* Category cards mobile */
    .category-box {
        padding: 2.5rem 1.5rem;
    }
    
    .category-box h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .category-box p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Navbar mobile */
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .search-form input {
        font-size: 14px;
    }
}

/* Desktop - Hide carousel */
@media (min-width: 769px) {
    .product-carousel {
        display: none;
    }
    
    /* Center category cards when fewer than 3 per row */
    .mobile-carousel .row {
        justify-content: center;
    }
}

/* Dashboard Styles */
.border-gold {
    border-color: var(--gold-primary) !important;
}

.bg-gold {
    background-color: var(--gold-primary) !important;
}

.pagination-dark .page-link {
    background-color: var(--dark-card);
    border-color: var(--gold-primary);
    color: #fff;
}

.pagination-dark .page-link:hover {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--dark-primary);
}

/* Category checkboxes styling */
.category-checkboxes .form-check-input {
    background-color: var(--dark-secondary);
    border-color: var(--gold-primary);
}

.category-checkboxes .form-check-input:checked {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.category-checkboxes .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    border-color: var(--gold-primary);
}

/* Dashboard specific text visibility fixes */
.stats-card small,
.dashboard-table small,
.dashboard-content small {
    color: rgba(255, 255, 255, 0.7) !important;
}

.stats-card small.text-muted,
.dashboard-table small.text-muted,
.dashboard-content small.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Statistics cards for user accounts */
.stats-card {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
    border: 1px solid #ffd700;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
}

.stats-label {
    color: #adb5bd;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* User avatars */
.avatar {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Modal styling fixes */
.modal-content.bg-dark .table.table-dark {
    background-color: var(--dark-card) !important;
}

.modal-content.bg-dark .table.table-dark td {
    background-color: var(--dark-card) !important;
    color: var(--text-light) !important;
}

.modal-content.bg-dark .table.table-dark .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.modal-content.bg-dark .table.table-dark .text-light {
    color: var(--text-light) !important;
}

.modal-content.bg-dark .table.table-dark .text-gold {
    color: var(--gold-primary) !important;
}

/* Order details specific styling */
#orderDetailsModal .bg-dark {
    background-color: var(--dark-card) !important;
}

#orderDetailsModal .table-dark {
    --bs-table-bg: var(--dark-card) !important;
    background-color: var(--dark-card) !important;
}

#orderDetailsModal .table-dark td,
#orderDetailsModal .table-dark th {
    background-color: var(--dark-card) !important;
    border-color: rgba(255, 215, 0, 0.2) !important;
}
