/* ===========================
   Mekniska Verkstaden - Vintage Mercedes Aesthetic
   Color Palette: Burgundy, Chrome Silver, Cream
   =========================== */

:root {
    /* Vintage Mercedes Colors */
    --color-burgundy: #6B1F28;
    --color-burgundy-dark: #4A1419;
    --color-cream: #F4EBD9;
    --color-chrome: #C0C0C0;
    --color-gold: #B8860B;
    --color-charcoal: #2C2C2C;
    --color-silver: #E8E8E8;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-charcoal);
    background: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(44, 44, 44, 0.95), rgba(44, 44, 44, 0.85));
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 2px solid var(--color-gold);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-cream);
    font-weight: 600;
}

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

.nav-links a {
    color: var(--color-cream);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('hero.png') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(107, 31, 40, 0.92) 0%,
            rgba(44, 44, 44, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-lg) var(--spacing-md);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vintage-badge {
    display: inline-block;
    border: 2px solid var(--color-gold);
    padding: 0.5rem 1.5rem;
    margin-bottom: var(--spacing-md);
    background: rgba(184, 134, 11, 0.1);
    animation: fadeIn 1.5s ease;
}

.vintage-badge span {
    font-family: var(--font-serif);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--color-cream);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-silver);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-cream);
    font-size: 1rem;
}

.feature-item svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

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

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-charcoal);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-cream);
    border-color: var(--color-cream);
}

.btn-secondary:hover {
    background: var(--color-cream);
    color: var(--color-charcoal);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-gold);
    border-radius: 25px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {

    0%,
    100% {
        top: 10px;
        opacity: 1;
    }

    50% {
        top: 30px;
        opacity: 0.5;
    }
}

/* ===========================
   Section Styling
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-label {
    display: inline-block;
    color: var(--color-burgundy);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-charcoal);
    margin-bottom: var(--spacing-sm);
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* ===========================
   Specialization Section
   =========================== */
.specialization {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--color-cream), #fff);
}

.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.spec-card {
    background: #fff;
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--color-burgundy);
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(107, 31, 40, 0.15);
}

.spec-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-burgundy), var(--color-burgundy-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.spec-icon svg {
    color: var(--color-gold);
}

.spec-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-charcoal);
}

.spec-card p {
    color: #666;
    line-height: 1.7;
}

/* ===========================
   Gallery Section
   =========================== */
.gallery {
    padding: var(--spacing-xl) 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(107, 31, 40, 0.95), transparent);
    padding: var(--spacing-md);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay h3 {
    font-family: var(--font-serif);
    color: var(--color-cream);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: var(--color-silver);
}

/* ===========================
   Trust Section
   =========================== */
.trust {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, var(--color-burgundy), var(--color-burgundy-dark));
}

.trust-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.trust-badge {
    flex-shrink: 0;
}

.trust-badge svg {
    color: var(--color-gold);
    filter: drop-shadow(0 0 10px rgba(184, 134, 11, 0.3));
}

.trust-text h3 {
    font-family: var(--font-serif);
    color: var(--color-cream);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.trust-text p {
    color: var(--color-silver);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-charcoal);
    margin-bottom: var(--spacing-sm);
}

.contact-lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: var(--spacing-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: var(--color-gold);
}

.contact-item h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--color-charcoal);
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-burgundy);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--color-gold);
}

.expertise-note {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(184, 134, 11, 0.1);
    border-left: 4px solid var(--color-gold);
    border-radius: 4px;
}

.expertise-note svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.expertise-note p {
    color: var(--color-charcoal);
    font-size: 0.95rem;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--color-charcoal);
    color: var(--color-silver);
    padding: var(--spacing-lg) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-family: var(--font-serif);
    color: var(--color-cream);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p,
.footer-contact p {
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--color-gold);
    text-decoration: none;
}

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

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .nav-brand h2 {
        font-size: 1rem;
    }

    .hero-features {
        text-align: center;
    }

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

    .gallery-item.large {
        grid-column: span 1;
    }

    .trust-content {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}