/* Car Sales in Afghanistan - Premium Master Styles University Final-Year Project 2026 No Bootstrap - 100% Custom CSS */ :root { --bg-dark: #0f0f12; --bg-surface: #1a1a22; --bg-card: rgba(255, 255, 255, 0.05); --accent-gold: #d4af37; --accent-gold-hover: #b8962d; --text-main: #ffffff; --text-muted: #a0a0a5; --glass-border: rgba(255, 255, 255, 0.1); --shadow-main: 0 8px 32px 0 rgba(0, 0, 0, 0.8); --radius-lg: 16px; --radius-md: 12px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-dark); color: var(--text-main); line-height: 1.6; overflow-x: hidden; } /* Custom Responsive Grid System */ .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .row { display: flex; flex-wrap: wrap; margin: 0 -15px; } .col-3 { flex: 0 0 25%; padding: 15px; } .col-4 { flex: 0 0 33.333%; padding: 15px; } .col-6 { flex: 0 0 50%; padding: 15px; } .col-12 { flex: 0 0 100%; padding: 15px; } @media (max-width: 992px) { .col-4, .col-6 { flex: 0 0 50%; } } @media (max-width: 768px) { .col-3, .col-4, .col-6 { flex: 0 0 100%; } } /* Glassmorphism Components */ .glass-card { background: var(--bg-card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 25px; box-shadow: var(--shadow-main); position: relative; } /* Header & Nav */ header { background: rgba(15, 15, 18, 0.9); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--glass-border); } nav { display: flex; justify-content: space-between; align-items: center; height: 80px; } .logo { font-size: 24px; font-weight: 800; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 2px; text-decoration: none; } .nav-links { display: flex; gap: 30px; list-style: none; } .nav-links a { color: var(--text-main); text-decoration: none; font-weight: 500; transition: color 0.3s; } .nav-links a:hover { color: var(--accent-gold); } /* Buttons */ .btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius-md); text-decoration: none; font-weight: 600; transition: all 0.3s ease; cursor: pointer; border: none; text-align: center; } .btn-primary { background: linear-gradient(135deg, var(--accent-gold), #b8962d); color: #000; } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); } .btn-outline { background: transparent; border: 1px solid var(--accent-gold); color: var(--accent-gold); } .btn-outline:hover { background: var(--accent-gold); color: #000; } /* Hero Section */ .hero { position: relative; padding: 160px 0; text-align: center; background: linear-gradient(rgba(15, 15, 18, 0.7), rgba(15, 15, 18, 0.7)), url('../images/hero-bg.jpg'); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; min-height: 80vh; } .hero::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 150px; background: linear-gradient(to top, var(--bg-dark), transparent); } .hero h1 { font-size: 4rem; margin-bottom: 20px; font-weight: 900; line-height: 1.1; text-shadow: 0 4px 20px rgba(0,0,0,0.5); } .hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; } /* Car Cards */ .car-grid { padding: 60px 0; } .section-title { margin-bottom: 40px; font-size: 2rem; border-left: 4px solid var(--accent-gold); padding-left: 15px; } .car-card { transition: transform 0.3s ease; } .car-card:hover { transform: translateY(-10px); } .car-img-container { width: 100%; height: 200px; background: #333; border-radius: var(--radius-md); margin-bottom: 15px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #666; } .car-img { width: 100%; height: 100%; object-fit: cover; } .car-info h3 { margin-bottom: 5px; font-size: 1.25rem; } .car-details { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 15px; } .car-price { font-size: 1.5rem; font-weight: 700; color: var(--accent-gold); } .badge-hot { background: #ff4d4d; color: white; padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; position: absolute; top: 15px; right: 15px; z-index: 10; } /* Footer */ footer { padding: 60px 0 20px; background: var(--bg-surface); border-top: 1px solid var(--glass-border); margin-top: 100px; } .footer-content { display: flex; justify-content: space-between; margin-bottom: 40px; } .footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid var(--glass-border); padding-top: 20px; } /* Utility classes */ .text-gold { color: var(--accent-gold); } .mt-4 { margin-top: 1.5rem; } .mb-4 { margin-bottom: 1.5rem; } .d-flex { display: flex; } .justify-between { justify-content: space-between; } .align-center { align-items: center; } .text-center { text-align: center; } .w-100 { width: 100%; }