/* ============================================
   Maratha Motors - CSS
   ============================================ */

:root {
    --primary: #111111; /* Dark Charcoal / Black */
    --primary-light: #222222;
    --accent: #d4af37; /* Metallic Gold */
    --accent-hover: #b5952f;
    --bg-dark: #0a0a0a;
    --bg-light: #1a1a1a;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    
    --font-main: 'Montserrat', sans-serif;
    
    --radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-accent { color: var(--accent) !important; }
.bg-accent { background-color: var(--accent) !important; }
.text-center { text-align: center; }
.mt-50 { margin-top: 50px; }
.mt-30 { margin-top: 30px; }

/* Navbar */
.navbar {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brand svg {
    color: var(--accent);
}

.brand span {
    color: var(--text-muted);
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:not(.btn):hover {
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
}

/* Buttons */
.btn {
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border-radius: var(--radius);
}

.btn-primary {
    background: var(--accent);
    color: var(--primary) !important;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent) !important;
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary) !important;
}

.btn-large {
    padding: 18px 35px;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Hero */
.hero {
    height: 100vh;
    background-image: url('https://images.pexels.com/photos/3802510/pexels-photo-3802510.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 0 40px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 20px;
}

.accent-text {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Inventory */
.inventory {
    padding: 100px 0;
    background: var(--bg-dark);
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: white;
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin-top: 10px;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.car-card {
    background: var(--primary-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.car-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.car-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.car-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.car-details {
    padding: 30px;
}

.car-details h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.car-price {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.car-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.car-specs span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.car-specs svg {
    width: 20px;
    color: var(--text-main);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
}

.about-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Hover Pop Animation */
.hover-pop {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.hover-pop:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important;
    border-color: var(--accent) !important;
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.s-card {
    background: var(--primary-light);
    padding: 40px;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

.s-card svg {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.s-card h3 {
    margin-bottom: 10px;
}

.s-card p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--primary);
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    background: var(--primary-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-links a svg {
    stroke: white;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.test-drive-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.test-drive-form input {
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    background: var(--primary-light);
    color: white;
    font-family: var(--font-main);
    color-scheme: dark;
}

.test-drive-form input::placeholder {
    color: var(--text-muted);
}

.test-drive-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Float WA */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    z-index: 100;
    transition: 0.3s;
}

.float-wa:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-actions { flex-direction: column; }
    .car-grid, .services-grid, .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
}
