500 lines
9.9 KiB
CSS
500 lines
9.9 KiB
CSS
:root {
|
|
--primary-color: #d4af37; /* Gold */
|
|
--secondary-color: #1a1a1a; /* Dark Gray */
|
|
--bg-color: #0b0b0b;
|
|
--card-bg: rgba(255, 255, 255, 0.05);
|
|
--glass-border: rgba(255, 255, 255, 0.1);
|
|
--text-primary: #ffffff;
|
|
--text-secondary: #a0a0a0;
|
|
--transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
--sidebar-width: 260px;
|
|
--danger: #ff4757;
|
|
--success: #2ed573;
|
|
--warning: #ffa502;
|
|
--info: #1e90ff;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
|
background-color: var(--bg-color);
|
|
color: var(--text-primary);
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Glassmorphism utility */
|
|
.glass {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
backdrop-filter: blur(15px);
|
|
-webkit-backdrop-filter: blur(15px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: 20px;
|
|
box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.glass:hover {
|
|
border-color: rgba(212, 175, 55, 0.3);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
/* Navbar */
|
|
nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1.2rem 6%;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
background: rgba(11, 11, 11, 0.8);
|
|
backdrop-filter: blur(20px);
|
|
border-bottom: 1px solid var(--glass-border);
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.6rem;
|
|
font-weight: 900;
|
|
color: var(--primary-color);
|
|
text-transform: uppercase;
|
|
letter-spacing: 3px;
|
|
text-decoration: none;
|
|
background: linear-gradient(45deg, var(--primary-color), #fff);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 3rem;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
transition: var(--transition);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--primary-color);
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero {
|
|
height: 85vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: 0 10%;
|
|
background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg') center/cover no-repeat fixed;
|
|
border-bottom: 1px solid var(--glass-border);
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 5.5rem;
|
|
margin-bottom: 1.5rem;
|
|
font-weight: 900;
|
|
letter-spacing: -2px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1.2rem;
|
|
color: var(--text-secondary);
|
|
max-width: 600px;
|
|
margin-bottom: 3.5rem;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
padding: 0.9rem 2.2rem;
|
|
border-radius: 12px;
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
border: 1px solid transparent;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary-color);
|
|
color: #000;
|
|
box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
|
|
background: #e5be48;
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
border: 1px solid var(--glass-border);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: var(--primary-color);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.btn-auth {
|
|
padding: 0.6rem 1.4rem;
|
|
border-radius: 10px;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
font-size: 0.85rem;
|
|
transition: var(--transition);
|
|
border: 1px solid var(--glass-border);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.btn-auth:hover {
|
|
background: var(--primary-color);
|
|
color: #000;
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
/* Grid & Layout */
|
|
.container {
|
|
padding: 5rem 6%;
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2.8rem;
|
|
margin-bottom: 4rem;
|
|
text-align: center;
|
|
font-weight: 900;
|
|
letter-spacing: -1px;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
|
gap: 3rem;
|
|
}
|
|
|
|
/* Admin Dashboard Layout */
|
|
.dashboard-container {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.sidebar {
|
|
width: var(--sidebar-width);
|
|
background: rgba(15, 15, 15, 0.9);
|
|
border-right: 1px solid var(--glass-border);
|
|
padding: 2rem 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: fixed;
|
|
height: 100vh;
|
|
z-index: 100;
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
margin-left: var(--sidebar-width);
|
|
padding: 2.5rem;
|
|
}
|
|
|
|
.sidebar-brand {
|
|
font-size: 1.4rem;
|
|
font-weight: 900;
|
|
color: var(--primary-color);
|
|
margin-bottom: 3rem;
|
|
padding-left: 1rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sidebar-menu {
|
|
list-style: none;
|
|
flex: 1;
|
|
}
|
|
|
|
.sidebar-menu li {
|
|
margin-bottom: 0.8rem;
|
|
}
|
|
|
|
.sidebar-menu a {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0.8rem 1.2rem;
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
border-radius: 12px;
|
|
transition: var(--transition);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sidebar-menu a:hover, .sidebar-menu a.active {
|
|
background: rgba(212, 175, 55, 0.1);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.sidebar-footer {
|
|
padding-top: 2rem;
|
|
border-top: 1px solid var(--glass-border);
|
|
}
|
|
|
|
/* Dashboard Stats Card */
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 1.5rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.stat-card {
|
|
padding: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 2.2rem;
|
|
font-weight: 900;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.stat-label {
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
/* Tables */
|
|
.table-container {
|
|
overflow-x: auto;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
}
|
|
|
|
th {
|
|
padding: 1.2rem;
|
|
border-bottom: 1px solid var(--glass-border);
|
|
color: var(--text-secondary);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
font-size: 0.8rem;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
td {
|
|
padding: 1.2rem;
|
|
border-bottom: 1px solid rgba(255,255,255,0.03);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
tr:hover td {
|
|
background: rgba(255,255,255,0.02);
|
|
}
|
|
|
|
.badge {
|
|
padding: 0.4rem 0.8rem;
|
|
border-radius: 6px;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.badge-success { background: rgba(46, 213, 115, 0.1); color: var(--success); }
|
|
.badge-warning { background: rgba(255, 165, 2, 0.1); color: var(--warning); }
|
|
.badge-danger { background: rgba(255, 71, 87, 0.1); color: var(--danger); }
|
|
|
|
/* Alerts */
|
|
.alert {
|
|
padding: 1rem 1.5rem;
|
|
border-radius: 12px;
|
|
margin-bottom: 2rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.alert-success {
|
|
background: rgba(46, 213, 115, 0.1);
|
|
color: var(--success);
|
|
border: 1px solid rgba(46, 213, 115, 0.2);
|
|
}
|
|
|
|
/* Car Card Enhancement */
|
|
.car-card {
|
|
overflow: hidden;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.car-info {
|
|
padding: 1.8rem;
|
|
}
|
|
|
|
.car-price {
|
|
color: var(--primary-color);
|
|
font-size: 1.6rem;
|
|
font-weight: 900;
|
|
}
|
|
|
|
/* Forms */
|
|
.form-group {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.form-control {
|
|
width: 100%;
|
|
padding: 0.9rem 1.2rem;
|
|
background: rgba(255,255,255,0.03);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: 12px;
|
|
color: #fff;
|
|
font-size: 0.95rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.form-control:focus {
|
|
border-color: var(--primary-color);
|
|
background: rgba(255,255,255,0.06);
|
|
outline: none;
|
|
box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
|
|
}
|
|
|
|
/* Specialized Box Component */
|
|
.box {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: 24px;
|
|
padding: 2.5rem;
|
|
transition: var(--transition);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.box::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.box:hover {
|
|
transform: translateY(-5px);
|
|
border-color: rgba(212, 175, 55, 0.2);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.sidebar { width: 80px; padding: 2rem 0.5rem; }
|
|
.sidebar-brand, .sidebar-menu span { display: none; }
|
|
.main-content { margin-left: 80px; }
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero h1 { font-size: 3.5rem; }
|
|
.nav-links { display: none; }
|
|
}
|
|
|
|
/* Footer Styles */
|
|
footer {
|
|
background: rgba(11, 11, 11, 0.8);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border-top: 1px solid var(--glass-border);
|
|
padding: 6rem 6% 3rem;
|
|
margin-top: 5rem;
|
|
}
|
|
|
|
.footer-grid {
|
|
display: grid;
|
|
grid-template-columns: 2fr 1fr 1fr 1.5fr;
|
|
gap: 4rem;
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.footer-col h4 {
|
|
color: var(--primary-color);
|
|
font-size: 1.1rem;
|
|
font-weight: 800;
|
|
margin-bottom: 2rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.footer-col ul {
|
|
list-style: none;
|
|
}
|
|
|
|
.footer-col ul li {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.footer-col ul li a {
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
transition: var(--transition);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.footer-col ul li a:hover {
|
|
color: var(--primary-color);
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.footer-bottom {
|
|
margin-top: 6rem;
|
|
padding-top: 3rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-bottom p {
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.footer-grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.footer-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 3rem;
|
|
}
|
|
} |