/* ============================================
   Eiler Tire & Brake — Stylesheet
   Palette: Plum (#6B2F4F) + Amber (#C8963E)
   Fonts: Playfair Display + Inter
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: #2D2D2D;
    background-color: #FDFBF8;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #6B2F4F;
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 0 0 6px 6px;
    z-index: 9999;
    font-size: .875rem;
}
.skip-link:focus {
    top: 0;
}

/* ---------- CONTAINER ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- SECTION LABEL ---------- */
.section-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #C8963E;
    margin-bottom: .75rem;
}

.section-label--light {
    color: #C8963E;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: #6B2F4F;
    margin-bottom: 1rem;
}

.section-title--light {
    color: #FDFBF8;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: #5A5A5A;
    line-height: 1.7;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(107, 47, 79, 0.08);
    transition: box-shadow .3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 24px rgba(107, 47, 79, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

/* ---------- LOGO ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #6B2F4F;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.logo--footer .logo-text {
    color: #FDFBF8;
    font-size: 1rem;
}

/* ---------- NAV ---------- */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list a {
    font-size: .875rem;
    font-weight: 500;
    color: #5A5A5A;
    letter-spacing: 0.01em;
    transition: color .2s ease;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #C8963E;
    transition: width .25s ease;
}

.nav-list a:hover {
    color: #6B2F4F;
}

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

.nav-cta {
    background: #6B2F4F;
    color: #FDFBF8 !important;
    padding: .5rem 1.125rem;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background .2s ease, transform .15s ease !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #55243F;
    color: #FDFBF8 !important;
    transform: translateY(-1px);
}

/* ---------- NAV TOGGLE ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #6B2F4F;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(107, 47, 79, 0.88) 0%,
        rgba(75, 30, 55, 0.82) 50%,
        rgba(50, 20, 35, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    max-width: 780px;
}

.hero-badge {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #C8963E;
    background: rgba(200, 150, 62, 0.12);
    border: 1px solid rgba(200, 150, 62, 0.3);
    padding: .4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: #FDFBF8;
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: #C8963E;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: rgba(253, 251, 248, 0.78);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8125rem;
    color: rgba(253, 251, 248, 0.7);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(253, 251, 248, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Inter', sans-serif;
    font-size: .9375rem;
    font-weight: 600;
    padding: .8125rem 1.75rem;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}

.btn-primary {
    background: #C8963E;
    color: #6B2F4F;
    border-color: #C8963E;
}

.btn-primary:hover {
    background: #D4A54A;
    border-color: #D4A54A;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 150, 62, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FDFBF8;
    border-color: rgba(253, 251, 248, 0.4);
}

.btn-secondary:hover {
    background: rgba(253, 251, 248, 0.1);
    border-color: #FDFBF8;
}

.btn-outline {
    background: transparent;
    color: #6B2F4F;
    border-color: #6B2F4F;
}

.btn-outline:hover {
    background: #6B2F4F;
    color: #FDFBF8;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 6rem 0;
    background: #FDFBF8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(107, 47, 79, 0.07);
    border-radius: 12px;
    padding: 2rem;
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(107, 47, 79, 0.1);
}

.service-icon {
    margin-bottom: 1.25rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 150, 62, 0.08);
    border-radius: 12px;
}

.service-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #6B2F4F;
    margin-bottom: .625rem;
}

.service-desc {
    font-size: .9375rem;
    color: #5A5A5A;
    line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 6rem 0;
    background: #F5F0EB;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(107, 47, 79, 0.15);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -2rem;
    right: -1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(107, 47, 79, 0.18);
    border: 4px solid #F5F0EB;
}

.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 120px;
    height: 120px;
    background: #C8963E;
    border-radius: 12px;
    z-index: -1;
    opacity: 0.25;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-body {
    font-size: 1rem;
    color: #5A5A5A;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(107, 47, 79, 0.1);
    border-bottom: 1px solid rgba(107, 47, 79, 0.1);
}

.stat {
    flex: 1;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #6B2F4F;
}

.stat-label {
    font-size: .8125rem;
    color: #7A7A7A;
}

.stat-divider {
    width: 1px;
    background: rgba(107, 47, 79, 0.12);
    align-self: stretch;
}

.about-content .btn {
    margin-top: .5rem;
}

/* ---------- WHY US ---------- */
.why-us {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.why-bg {
    position: absolute;
    inset: 0;
}

.why-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(107, 47, 79, 0.92) 0%,
        rgba(75, 30, 55, 0.90) 100%
    );
}

.why-us .container {
    position: relative;
    z-index: 1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.why-card {
    background: rgba(253, 251, 248, 0.06);
    border: 1px solid rgba(253, 251, 248, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: background .2s ease;
}

.why-card:hover {
    background: rgba(253, 251, 248, 0.1);
}

.why-card-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #C8963E;
    line-height: 1;
    margin-bottom: .75rem;
    opacity: 0.6;
}

.why-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #FDFBF8;
    margin-bottom: .625rem;
}

.why-card-desc {
    font-size: .9375rem;
    color: rgba(253, 251, 248, 0.7);
    line-height: 1.7;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 6rem 0;
    background: #FDFBF8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-subtitle {
    font-size: 1rem;
    color: #5A5A5A;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 150, 62, 0.08);
    border-radius: 10px;
}

.contact-item strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: #6B2F4F;
    margin-bottom: .25rem;
}

.contact-item p {
    font-size: .9375rem;
    color: #5A5A5A;
    line-height: 1.6;
}

.contact-item a {
    color: #6B2F4F;
    font-weight: 500;
    transition: color .2s ease;
}

.contact-item a:hover {
    color: #C8963E;
}

/* ---------- FORM ---------- */
.contact-form-wrap {
    background: #fff;
    border: 1px solid rgba(107, 47, 79, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(107, 47, 79, 0.06);
}

.form-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6B2F4F;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: #6B2F4F;
    margin-bottom: .375rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: .9375rem;
    color: #2D2D2D;
    background: #FDFBF8;
    border: 1.5px solid rgba(107, 47, 79, 0.15);
    border-radius: 8px;
    padding: .6875rem .875rem;
    transition: border-color .2s ease, box-shadow .2s ease;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0A0A0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C8963E;
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B2F4F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .875rem center;
    padding-right: 2.5rem;
}

.form-success {
    display: flex;
    align-items: center;
    gap: .625rem;
    margin-top: 1rem;
    padding: .875rem 1rem;
    background: rgba(200, 150, 62, 0.08);
    border: 1px solid rgba(200, 150, 62, 0.25);
    border-radius: 8px;
    color: #6B2F4F;
    font-size: .9375rem;
    font-weight: 500;
}

.form-success svg {
    flex-shrink: 0;
    color: #C8963E;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #3A1A2C;
    padding: 3.5rem 0 2rem;
    color: rgba(253, 251, 248, 0.65);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-tagline {
    font-size: .875rem;
    line-height: 1.7;
    margin-top: .75rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    font-size: .875rem;
    font-weight: 500;
    color: rgba(253, 251, 248, 0.65);
    transition: color .2s ease;
    display: inline-flex;
    align-items: center;
    gap: .375rem;
}

.footer-links a:hover {
    color: #C8963E;
}

.footer-address {
    font-size: .8125rem;
    display: flex;
    align-items: center;
    gap: .375rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(253, 251, 248, 0.08);
    width: 100%;
    text-align: center;
}

.footer-bottom p {
    font-size: .75rem;
    color: rgba(253, 251, 248, 0.35);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #FDFBF8;
        box-shadow: -8px 0 32px rgba(107, 47, 79, 0.12);
        padding: 5rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform .3s ease;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .nav-list a {
        font-size: 1rem;
    }

    .nav-cta {
        margin-top: .5rem;
    }

    .hero-content {
        padding: 7rem 1.5rem 3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-images {
        max-width: 480px;
    }

    .about-content .section-label,
    .about-content .section-title {
        text-align: center;
    }

    .about-body {
        text-align: center;
    }

    .about-content .btn {
        display: inline-flex;
    }

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

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

    .contact-form-wrap {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.125rem;
    }

    .hero-title {
        font-size: 2.125rem;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: .75rem;
    }

    .about-img-secondary {
        right: -.5rem;
        bottom: -1.25rem;
    }

    .about-img-main img {
        height: 320px;
    }
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
