/*
 * Dark & Gold Premium Theme for Tuningservice Vest
 *
 * Variables
 */
 :root {
    --bg-color: #0d0d0d;
    --fg-color: #f0f0f0;
    --accent-color: #d4af37; /* classic gold */
    --secondary-color: #1a1a1a;
    --border-radius: 8px;
    --max-width: 1200px;
    --transition-speed: 0.3s;
 }

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-color);
    color: var(--fg-color);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}
a:hover {
    color: #fff;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: var(--secondary-color);
    border-bottom: 1px solid #333;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo img {
    height: 50px;
}
.nav__list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.nav__list li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.nav__list li a:hover,
.nav__list li a:focus {
    color: #fff;
}

/* Hero */
.hero {
    background-size: cover;
    background-position: center;
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
}
.overlay {
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero__content {
    max-width: 600px;
}
.hero__content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}
.hero__content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: background var(--transition-speed), color var(--transition-speed);
}
.btn:hover,
.btn:focus {
    background: #fff;
    color: var(--bg-color);
}

/* Sections */
.section {
    padding: 4rem 0;
}
.section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
}

/* Services Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.card {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform var(--transition-speed);
}
.card:hover {
    transform: translateY(-5px);
}
.card h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}
.card p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* About */
.about__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
.about__image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.about__content {
    flex: 1;
}
.about__content h2 {
    text-align: left;
}

/* Gallery */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.gallery__item img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Contact */
.contact__form {
    max-width: 600px;
    margin: 0 auto;
}
.form__group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.form__group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.form__group input,
.form__group textarea {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    color: var(--fg-color);
    font-size: 1rem;
}
.form__group input:focus,
.form__group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.contact__inner p {
    margin-bottom: 1rem;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid #333;
}
.footer p {
    font-size: 0.8rem;
    color: #aaa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero__content h1 {
        font-size: 2rem;
    }
    .nav__list {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .about__inner {
        flex-direction: column;
    }
}