/* CSS Reset & Variables */
:root {
    --primary-color: #e63946;    /* Vibrant automotive red */
    --secondary-color: #1d3557;  /* Deep trustworthy blue/navy */
    --dark-color: #1e293b;       /* Dark charcoal for text and headers */
    --light-bg: #f8fafc;         /* Soft off-white */
    --card-bg: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

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

/* Reusable Components */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #cc2a36;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #132237;
    transform: translateY(-2px);
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--secondary-color);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Header */
header {
    background-color: var(--dark-color);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--primary-color);
}

.btn-phone {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: white;
    padding: 8px 18px;
    font-size: 0.9rem;
}

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

/* Hero Section */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1486006920555-c77dce18193b?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    background-color: #111; /* fallback */
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.9), rgba(30, 41, 59, 0.85));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Features */
.features {
    padding: 60px 0;
    background-color: white;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services */
.services {
    padding: 80px 0;
}

.service-item {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    display: flex;
    gap: 15px;
    align-items: flex-start;
    border-left: 4px solid var(--primary-color);
}

.service-check {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 50%;
    font-size: 0.9rem;
}

.service-item h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.service-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background-color: var(--secondary-color);
    color: white;
    padding: 70px 0;
}

.contact h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: white;
}

.contact-info > p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.5rem;
}

.contact-detail a {
    color: white;
    text-decoration: underline;
}

.contact-cta-box {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-cta-box h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
}

.contact-cta-box p {
    text-align: center;
    margin-bottom: 25px;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #94a3b8;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content p {
    margin-bottom: 5px;
}

.footer-subtext {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
    .header-container {
        justify-content: center;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero {
        padding: 60px 0;
    }
}
