/* 
   STYLE CENTRALISÉ - LUXEDRIVE™ 2026
   Design: Alexios (Dark Premium)
   Mobile-First: Aya
   Code Architecture: Ezio
*/

:root {
    /* Palette Alexios - Dark Premium & Gold */
    --bg-dark: #050505;
    --bg-card: #111111;
    --accent: #d4af37; /* Or Premium */
    --accent-glow: rgba(212, 175, 55, 0.3);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border: #222222;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #d4af37 0%, #f1e5ac 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 8rem 0;
}

.bg-card {
    background-color: var(--bg-card);
}

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.title-left { text-align: left; margin-bottom: 1rem; }

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.header-main {
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.btn-contact {
    background: var(--gradient-accent);
    color: #000;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.4), var(--bg-dark)), 
                url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    text-align: center;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-secondary {
    padding: 0.9rem 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

/* Features Section */
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Cars Grid */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.car-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    border-color: var(--accent);
}

.car-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.car-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.car-card:hover .car-img {
    transform: scale(1.1);
}

.car-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.car-category {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.car-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.car-price {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.text-small {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.car-specs {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.car-specs li {
    background: var(--bg-card);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-card {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: var(--transition);
    margin-top: auto;
}

.btn-card:hover {
    background: var(--accent);
    color: #000;
}

/* CTA Banner */
.cta-banner h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3.5rem;
    margin-top: 2rem;
    display: inline-block;
}

/* Footer */
.footer-main {
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--text-muted);
    max-width: 400px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .section-padding { padding: 5rem 0; }
    .hero { height: 70vh; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    .hero-actions { flex-direction: column; }
}
