/* General Styles */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212; /* Dark background */
    color: #E0E0E0; /* Light gray text */
    line-height: 1.6;
}

a {
    color: #BBBBBB; /* Lighter gray for links */
    text-decoration: none;
}

a:hover {
    color: #FFFFFF; /* White on hover */
}

h1, h2, h3 {
    color: #FFFFFF; /* White headings */
    margin-bottom: 1rem;
}

h2 {
    border-bottom: 2px solid #F0F0F0; /* Light gray underline for section titles */
    padding-bottom: 0.5rem;
    display: inline-block;
}

section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    background-color: #1F1F1F; /* Slightly lighter dark for header */
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

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

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFFFFF; /* White logo text */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-size: 1.1em;
    transition: color 0.3s ease;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1F1F1F; /* Match header background */
    padding-top: 80px; /* Add padding to avoid overlap with sticky header */
    padding-bottom: 80px;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center; /* Center image if container is wider */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 60vh; /* Limit max height */
    object-fit: cover; /* Ensure image covers area */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-buttons {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #F0F0F0; /* Light gray background */
    color: #121212; /* Dark text */
    border-color: #F0F0F0;
}

.btn-primary:hover {
    background-color: #FFFFFF; /* White on hover */
    border-color: #FFFFFF;
    color: #121212;
}

.btn-secondary {
    background-color: transparent;
    color: #F0F0F0; /* Light gray text */
    border: 2px solid #F0F0F0; /* Light gray border */
}

.btn-secondary:hover {
    background-color: #F0F0F0; /* Light gray background on hover */
    color: #121212; /* Dark text on hover */
}

/* About Section */
.about-section {
    background-color: #121212;
}

/* Services Section */
.services-section {
    background-color: #1F1F1F;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background-color: #2a2a2a; /* Slightly lighter card background */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.service-item h3 {
    margin-top: 0;
    color: #FFFFFF;
}

.service-item ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-item li {
    margin-bottom: 8px;
}

/* Tesla Experience Section */
.tesla-experience {
    background-color: #121212;
}

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

.feature-item {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
}

.feature-item h3 {
    margin-top: 0;
    color: #FFFFFF;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #1F1F1F;
    text-align: center;
}

.testimonial-item {
    max-width: 800px;
    margin: 30px auto 0;
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
}

.testimonial-item blockquote {
    font-size: 1.2em;
    font-style: italic;
    margin: 0 0 15px 0;
    border-left: 4px solid #F0F0F0; /* Light gray border */
    padding-left: 15px;
    text-align: left;
}

.testimonial-item cite {
    font-weight: bold;
    color: #FFFFFF;
    display: block;
    margin-top: 10px;
    text-align: right;
}

/* Contact Section */
.contact-section {
    background-color: #121212;
    text-align: center;
}

.contact-section p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.contact-section a {
    color: #FFFFFF; /* White links in contact */
    font-weight: bold;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #1F1F1F;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9em;
    color: #BBBBBB;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none; /* Hide nav links on small screens - consider adding a burger menu later */
    }
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .hero-image {
        margin-top: 30px;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
}



/* Social Links in Footer */
.social-links {
    margin-bottom: 15px;
}

.social-links a {
    color: #BBBBBB;
    margin: 0 10px;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FFFFFF;
}

