/* C:\Users\redja\Desktop\SELHAMI\assets\css\style.css */
:root {
    --primary: #D4AF37; /* Elite Gold */
    --primary-dark: #B59440;
    --primary-light: #F1D592;
    --bg-white: #FFFFFF;
    --bg-white-rgb: 255, 255, 255;
    --bg-light: #F9F9F9;
    --bg-light-rgb: 249, 249, 249;
    --text-dark: #0A0A0A;
    --text-gray: #4A4A4A;
    --text-light: #888888;
    --border-color: #E0E0E0;
    --shadow-elite: 0 30px 60px rgba(0,0,0,0.12);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --bg-white: #0A0A0A;
    --bg-white-rgb: 10, 10, 10;
    --bg-light: #111111;
    --bg-light-rgb: 17, 17, 17;
    --text-dark: #FFFFFF;
    --text-gray: #A0A0A0;
    --text-light: #666666;
    --border-color: #222222;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body { 
    background-color: var(--bg-white); 
    color: var(--text-dark); 
    font-family: 'Montserrat', sans-serif; 
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4, .font-luxury { 
    font-family: 'Playfair Display', serif; 
    font-weight: 700; 
    letter-spacing: -0.02em;
}

.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }

/* Elite Navigation */
nav {
    height: 100px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0; width: 100%;
    z-index: 2000;
    background: transparent;
    transition: var(--transition);
}

nav.scrolled {
    height: 80px;
    background: rgba(var(--bg-white), 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.logo { 
    font-size: 2.2rem; 
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { 
    color: var(--text-dark); 
    text-decoration: none; 
    font-size: 0.8rem; 
    font-weight: 600;
    text-transform: uppercase; 
    letter-spacing: 2px;
    transition: var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0; height: 1px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

/* Buttons: Elite Style */
.btn {
    padding: 18px 45px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary { background: var(--text-dark); color: var(--bg-white); }
.btn-primary:hover { background: var(--primary); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3); }

.btn-outline { 
    border: 1px solid var(--text-dark); 
    color: var(--text-dark); 
    background: transparent;
}
.btn-outline:hover { background: var(--text-dark); color: var(--bg-white); }

/* Swiper Hero Upgrade */
.hero-slider { width: 100%; height: 100vh; }
.swiper-slide { position: relative; overflow: hidden; }
.slide-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}
.swiper-slide-active .slide-bg { transform: scale(1); }

.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFF;
}

.slide-content h1 { font-size: 7rem; line-height: 0.9; margin-bottom: 30px; }
.slide-content p { font-size: 1.4rem; max-width: 600px; margin-bottom: 50px; opacity: 0.9; font-weight: 300; }

/* Car Gallery Elite */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 60px;
}

.car-card {
    background: var(--bg-white);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    padding: 20px;
}
.car-card:hover { border-color: var(--primary); transform: translateY(-10px); box-shadow: var(--shadow-elite); }

.car-img-wrapper { 
    height: 350px; 
    overflow: hidden; 
    margin-bottom: 30px;
    background: var(--bg-light);
}
.car-img-wrapper img { 
    width: 100%; height: 100%; 
    object-fit: contain; 
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1); 
}
.car-card:hover img { transform: scale(1.05); }

.car-title { font-size: 2.5rem; margin-bottom: 5px; }
.car-price { font-size: 1.8rem; color: var(--primary); font-weight: 700; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .slide-content h1 { font-size: 4rem; }
    .car-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .container { padding: 0 20px; }
}



/* Admin Sidebar Upgrade: Elite Dark */
.admin-sidebar-pro {
    width: 280px;
    background: #050505;
    height: 100vh;
    position: fixed;
    left: 0; top: 0;
    padding: 50px 0;
    color: #FFF;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #1a1a1a;
}

.admin-logo { padding: 0 40px 50px; border-bottom: 1px solid #1a1a1a; margin-bottom: 40px; }
.admin-menu { flex: 1; padding: 0 25px; }
.admin-menu a { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    padding: 16px 20px; 
    color: #777; 
    text-decoration: none; 
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}
.admin-menu a:hover, .admin-menu a.active { color: var(--primary); background: rgba(212, 175, 55, 0.05); }

.admin-body { margin-left: 280px; padding: 80px; background: var(--bg-light); min-height: 100vh; }

/* Stat Cards Elite */
.stat-grid-pro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 60px; }
.stat-card-pro { 
    background: var(--bg-white); 
    padding: 40px; 
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.stat-icon { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.stat-data .label { font-size: 0.65rem; color: var(--text-light); text-transform: uppercase; font-weight: 700; letter-spacing: 2px; }
.stat-data .value { font-size: 2.2rem; font-weight: 900; color: var(--text-dark); font-family: 'Playfair Display', serif; }

/* Data Tables Elite */
.pro-table-container { background: var(--bg-white); border: 1px solid var(--border-color); overflow: hidden; }
.pro-table { width: 100%; border-collapse: collapse; }
.pro-table th { background: var(--bg-light); padding: 25px; text-align: left; font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; font-weight: 700; border-bottom: 1px solid var(--border-color); letter-spacing: 1px; }
.pro-table td { padding: 25px; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; color: var(--text-gray); }

/* Status Badges */
.badge { padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.badge-success { background: #E6FFFA; color: #047481; }
.badge-warning { background: #FFFBEB; color: #92400E; }
.badge-danger { background: #FEF2F2; color: #991B1B; }
.badge-primary { background: #EBF8FF; color: #2B6CB0; }

/* Footer Pro */
footer { background: #0A0A0A; color: #FFF; padding: 100px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 80px; margin-bottom: 80px; }
.footer-logo { font-size: 2rem; color: #FFF; margin-bottom: 30px; display: inline-block; }
.footer-links h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 2px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #999; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom { border-top: 1px solid #1A1A1A; padding-top: 40px; display: flex; justify-content: space-between; align-items: center; color: #666; font-size: 0.85rem; }

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero h1 { font-size: 4rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { text-align: center; }
    .hero h1 { font-size: 3rem; }
    .stat-grid-pro { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr; gap: 40px; }
    .admin-sidebar-pro { display: none; }
    .admin-body { margin-left: 0; padding: 30px; }
}
