/* ==========================================================================
   Dolomites Auto Garage — luxury dark theme
   ========================================================================== */

:root {
    --bg: #0b0b0c;
    --bg-elevated: #141414;
    --bg-elevated-2: #1b1b1b;
    --gold: #c9a227;
    --gold-light: #e8c766;
    --divider: rgba(201, 162, 39, 0.35);
    --text-primary: #f5f3ee;
    --text-secondary: #b9b6ae;
    --text-faint: #7c7a74;

    --font-display: Georgia, 'Times New Roman', Times, serif;
    --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;

    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--bg);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.5;
}

img {
    max-width: 100%;
}

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

a:hover {
    color: var(--gold-light);
}

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--text-primary);
    margin: 0;
    font-weight: normal;
}

p {
    margin: 0 0 18px;
    line-height: 1.8;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.rule {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 26px auto;
    border: none;
}

.rule.left {
    margin: 26px 0;
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: rgba(11, 11, 12, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--divider);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.brand {
    font-family: var(--font-sans);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
}

.brand:hover {
    color: var(--text-primary);
}

.brand-sub {
    display: block;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: normal;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    padding-bottom: 6px;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 78vh;
    padding: 60px 24px;
}

.hero--compact {
    min-height: 42vh;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.8) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-title {
    font-size: clamp(34px, 6vw, 64px);
    letter-spacing: 2px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.hero-tagline {
    color: var(--text-secondary);
    font-size: 16px;
    letter-spacing: 1px;
    margin-top: 18px;
}

/* ---------- Section shell ---------- */
section.content {
    max-width: var(--container);
    margin: 0 auto;
    padding: 100px 30px;
}

/* ---------- Split (Chi siamo / Vision) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 60px;
}

.split-divider {
    background: var(--divider);
}

.split-col h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 20px;
}

.split-col p {
    text-align: justify;
}

.quote-attribution {
    display: block;
    margin-top: 20px;
    color: var(--gold);
    font-style: italic;
}

/* ---------- Services menu list (homepage-style link list) ---------- */
.menu-list {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    text-align: left;
}

.menu-list li {
    border-bottom: 1px solid var(--divider);
}

.menu-list a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 18px 4px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 20px;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.menu-list a:hover {
    color: var(--gold-light);
    padding-left: 14px;
}

.menu-list .num {
    color: var(--gold);
    font-size: 14px;
    font-family: var(--font-sans);
    letter-spacing: 1px;
    min-width: 26px;
}

/* ---------- Service detail rows ---------- */
.service-rows {
    display: flex;
    flex-direction: column;
}

.service-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 36px 0;
    border-bottom: 1px solid var(--divider);
}

.service-row:last-child {
    border-bottom: none;
}

.service-row .num {
    font-family: var(--font-display);
    font-size: 40px;
    color: var(--gold);
    line-height: 1;
}

.service-row h3 {
    font-size: 22px;
    margin-top: 6px;
}

.service-row p {
    margin: 0;
}

.intro-text {
    max-width: 700px;
    margin-bottom: 20px;
}

/* ---------- About ---------- */
.about-copy {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-copy .body-text {
    text-align: justify;
    margin-top: 40px;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--divider);
    background-color: var(--bg);
    padding: 50px 24px 36px;
    text-align: center;
}

.site-footer .brand {
    display: block;
    margin-bottom: 16px;
    font-size: 14px;
}

.site-footer p {
    margin: 0;
    font-size: 13px;
    color: var(--text-faint);
    line-height: 1.8;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 860px) {
    .split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-divider {
        display: none;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    section.content {
        padding: 70px 24px;
    }
}

@media screen and (max-width: 600px) {
    .nav-inner {
        justify-content: center;
        text-align: center;
    }

    .nav-links {
        gap: 22px;
        justify-content: center;
        width: 100%;
    }

    .hero {
        min-height: 60vh;
    }
}
