/* ============================================================
   HARLEY-DAVIDSON — SERVICES PAGE STYLESHEET
   Color theme matches About page
   ============================================================ */

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

body {
    font-family: 'Barlow', Georgia, serif;
    background-color: #0e0c0a;
    color: #f5f0eb;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-bs {
    background-color: whitesmoke !important;
    padding: 20px 40px !important;
}

.navbar-bs .container-fluid {
    padding: 0;
}

.navbar-bs .bs-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(197, 20, 37) !important;
    text-decoration: none;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-bs .bs-logo:hover {
    color: rgb(197, 20, 37) !important;
}

.navbar-bs .bs-nav {
    gap: 50px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-right: 30px;
    align-items: center;
}

.navbar-bs .bs-link {
    color: black !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0 !important;
    text-decoration: none;
    transition: 0.3s ease;
}

.navbar-bs .bs-link:hover,
.navbar-bs .bs-link:focus {
    background-color: rgb(197, 20, 37) !important;
    color: white !important;
    padding: 10px 15px !important;
}

.navbar-bs .bs-link.active,
.navbar-bs .bs-link:active {
    color: black !important;
    background-color: transparent !important;
}

.navbar-bs .bs-toggler {
    border-color: rgba(0, 0, 0, 0.3) !important;
    padding: 4px 8px;
}

.navbar-bs .bs-toggler:focus {
    box-shadow: 0 0 0 2px rgba(197, 20, 37, 0.3) !important;
}


/* ============================================================
   SERVICE HERO SECTION
   ============================================================ */
.service-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.80),
        rgba(0, 0, 0, 0.45)
    );
}

.service-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 900px;
}

.service-content h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.service-content p {
    font-family: 'Barlow', sans-serif;
    font-size: 1.1rem;
    color: #9a8f85;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.service-text-orange {
    color: rgb(197, 20, 37);
}

/* ============================================================
   SERVICE GRID SECTION
   ============================================================ */
.service-grid,
.service-grid2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 30px;
}

/* ============================================================
   SERVICE CARD
   ============================================================ */
.service-card {
    background: #161310;
    padding: 45px 30px;
    text-align: center;
    border-radius: 3px;
    border: 1px solid #2a2420;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(197, 20, 37, 0.65);
    box-shadow: 0 12px 40px rgba(197, 20, 37, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: rgb(197, 20, 37);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15);
}

.service-card h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #f5f0eb;
}

.service-card p {
    font-family: 'Barlow', sans-serif;
    color: #9a8f85;
    font-size: 0.95rem;
    line-height: 1.75;
    font-weight: 300;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #111;
    color: #ccc;
    font-family: 'Barlow', sans-serif;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer-accent {
    height: 3px;
    background: linear-gradient(90deg, rgb(197, 20, 37) 0%, transparent 60%);
}

footer::before {
    content: 'HD';
    font-family: 'Bebas Neue', sans-serif;
    font-size: 280px;
    color: rgba(255, 255, 255, 0.025);
    position: absolute;
    top: -20px;
    right: -20px;
    line-height: 1;
    pointer-events: none;
    letter-spacing: -8px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 40px 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 50px;
}

.footer-brand .bar {
    width: 4px;
    height: 42px;
    background: rgb(197, 20, 37);
}

.footer-brand-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 3px;
    color: #fff;
    line-height: 1;
}

.footer-brand-tagline {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #666;
    margin-top: 3px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid #2a2a2a;
}

.footer-col h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 3px;
    color: rgb(197, 20, 37);
    margin-bottom: 18px;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
    max-width: 240px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0; /* override Bootstrap default padding-left: 2rem */
}

.footer-col ul li {
    display: block;
    width: 100%;
}

.footer-col ul li a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: block;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.social-btn:hover {
    border-color: rgb(197, 20, 37);
    color: #fff;
    background: rgba(197, 20, 37, 0.1);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
}

.footer-bottom p {
    font-size: 12px;
    color: #444;
    letter-spacing: 1px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: #444;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.25s;
}

.footer-bottom-links a:hover {
    color: rgb(197, 20, 37);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Navbar mobile */
@media (max-width: 992px) {
    .navbar-bs {
        padding: 16px 20px !important;
    }

    .navbar-bs .bs-nav {
        gap: 0;
        padding-right: 0;
    }

    .navbar-bs .bs-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid #ddd;
        display: block;
        width: 100%;
    }

    .navbar-bs .bs-link:hover,
    .navbar-bs .bs-link:focus {
        padding: 12px 15px !important;
    }

    /* Service grid 2 columns */
    .service-grid,
    .service-grid2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-content h1 {
        font-size: 3rem;
    }
}

/* Tablet & mobile */
@media (max-width: 768px) {

    /* Hero */
    .service-section {
        height: 60vh;
        min-height: 380px;
    }

    .service-content h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .service-content p {
        font-size: 1rem;
    }

    /* Footer grid — single column */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col ul {
        flex-direction: column;
        gap: 10px;
        padding-left: 0;
    }

    .footer-col ul li {
        display: block;
        width: 100%;
    }

    .footer-col ul li a {
        display: block;
    }

    .footer-inner {
        padding: 40px 20px 0;
    }
}

/* Small mobile */
@media (max-width: 600px) {

    /* Hero */
    .service-section {
        height: 50vh;
        min-height: 300px;
    }

    .service-content h1 {
        font-size: clamp(2rem, 12vw, 2.5rem);
    }

    /* Service grid single column */
    .service-grid,
    .service-grid2 {
        grid-template-columns: 1fr;
        margin: 3rem auto;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
}