/* SafiVolt — Main Stylesheet */
:root {
    --safi-green: #00E676;
    --safi-dark: #009624;
    --safi-deep: #007a1e;
    --primary: #00E676;
    --primary-dark: #009624;
    --secondary: #1d1d1f;
    --dark: #1d1d1f;
    --light: #f5f5f7;
    --white: #ffffff;
    --off-white: #f5f5f7;
    --light-gray: #e8e8ed;
    --mid-gray: #86868b;
    --text: #1d1d1f;
    --text-light: #86868b;
    --radius-sm: 12px;
    --radius-md: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --max-width: 1400px;
}

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

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0.75rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.navbar-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--safi-green);
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    color: var(--safi-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--mid-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

/* Hero Section */
.hero {
    background: var(--off-white);
    color: var(--text);
    padding: 100px 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #00E676, #009624);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: var(--mid-gray);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: #00E676;
    color: var(--text);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 230, 118, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--text);
    border: 2px solid var(--light-gray);
}

.btn-secondary:hover {
    border-color: var(--safi-green);
    background: var(--white);
}

/* Section Styles */
.section {
    padding: 80px 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Brand Filter */
.brand-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.brand-btn {
    padding: 10px 25px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.brand-btn:hover,
.brand-btn.active {
    background: var(--safi-green);
    color: var(--text);
    border-color: var(--safi-green);
}

/* Car Grid */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.car-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.car-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 230, 118, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.car-image {
    width: 100%;
    height: 240px;
    object-fit: contain;
    padding: 0.5rem;
    background: #f8f9fa;
}

.car-info {
    padding: 25px;
}

.car-brand {
    color: var(--mid-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.car-model {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.car-specs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.car-spec {
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.2);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--safi-dark);
    font-weight: 600;
}

.car-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00E676, #009624);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.view-btn {
    background: var(--dark);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.view-btn:hover {
    background: var(--safi-dark);
}

/* Features Section */
.features {
    background: var(--dark);
    color: #fff;
}

.features .section-title h2 {
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 230, 118, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00E676, #009624);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--safi-green);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    background: var(--dark);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
}

.contact-info h3 {
    color: var(--safi-green);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--light-gray);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(0, 230, 118, 0.5);
    background: var(--off-white);
}

/* Footer */
.footer {
    background: var(--off-white);
    border-top: 1px solid var(--light-gray);
    padding: 60px 2rem 30px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--mid-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--safi-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid var(--light-gray);
    color: var(--mid-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .car-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 1rem;
    }
}
