/* ============================================
   Victory Auto Collision Center — Styles
   Bold Editorial · Deep Navy + Warm Gold
   ============================================ */

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

:root {
    --navy-950: #060e1f;
    --navy-900: #0a1f3f;
    --navy-800: #0f2d5c;
    --navy-700: #153a72;
    --gold-500: #c8a45a;
    --gold-400: #d4b36a;
    --gold-300: #e0c47e;
    --gold-200: #f0dbb0;
    --cream-50: #faf8f4;
    --cream-100: #f5f0e8;
    --cream-200: #ebe4d6;
    --warm-gray-50: #f7f6f3;
    --warm-gray-100: #eeebe5;
    --warm-gray-200: #ddd8cf;
    --warm-gray-600: #5c564e;
    --warm-gray-700: #3d3832;
    --warm-gray-800: #2a2520;
    --warm-gray-900: #1a1714;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--warm-gray-800);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.accent-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    color: var(--gold-500);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-eyebrow--dark {
    color: var(--navy-800);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy-900);
    margin-bottom: 20px;
}

.section-title--dark {
    color: var(--navy-950);
}

.section-italic--dark {
    color: var(--navy-700);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray-600);
    max-width: 560px;
    line-height: 1.7;
}

.section-header--center {
    text-align: center;
}

.section-header--center .section-subtitle {
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
    text-align: center;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn--gold {
    background: var(--gold-500);
    color: var(--navy-950);
    border-color: var(--gold-500);
}

.btn--gold:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 164, 90, 0.35);
}

.btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn--outline-dark {
    background: transparent;
    color: var(--navy-900);
    border-color: var(--navy-900);
}

.btn--outline-dark:hover {
    background: var(--navy-900);
    color: #fff;
    transform: translateY(-2px);
}

.btn--dark {
    background: var(--navy-900);
    color: #fff;
    border-color: var(--navy-900);
}

.btn--dark:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 31, 63, 0.3);
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1rem;
}

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

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 31, 63, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 164, 90, 0.15);
    transition: background 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-mark {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--gold-500);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold-500);
    border-radius: 8px;
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    display: none;
}

@media (min-width: 640px) {
    .nav-logo-text {
        display: block;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.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: rotate(-45deg) translate(5px, -5px);
}

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

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--navy-900);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-top: 1px solid rgba(200, 164, 90, 0.15);
        transform: translateY(-110%);
        opacity: 0;
        transition: all 0.4s var(--ease-out);
        pointer-events: none;
    }

    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy-950);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(15, 45, 92, 0.9) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(200, 164, 90, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(200, 164, 90, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(200, 164, 90, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 164, 90, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-headline .accent-italic {
    color: var(--gold-400);
    font-style: italic;
    font-weight: 600;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 44px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(200, 164, 90, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

.section--dark {
    background: var(--warm-gray-100);
}

.section--navy {
    background: var(--navy-900);
}

.section--light {
    background: var(--cream-50);
}

.section--gold {
    background: var(--gold-500);
}

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px;
    transition: all 0.4s var(--ease-out);
    border: 1px solid var(--warm-gray-200);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(10, 31, 63, 0.1);
    border-color: var(--gold-200);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    color: var(--gold-500);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.3rem;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--warm-gray-600);
    line-height: 1.7;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(10, 31, 63, 0.15);
}

.about-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold-500);
    border-radius: 12px;
    z-index: -1;
}

@media (min-width: 900px) {
    .about-image-accent {
        top: -24px;
        right: -24px;
        width: 160px;
        height: 160px;
    }
}

.about-content {
    padding: 8px 0;
}

.about-text {
    font-size: 1rem;
    color: var(--warm-gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.value-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-500);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.7;
}

.value-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.value-desc {
    font-size: 0.9rem;
    color: var(--warm-gray-600);
    line-height: 1.6;
}

/* ---------- Why Us / Stats ---------- */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 60px 0;
    padding: 48px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(10, 31, 63, 0.06);
}

.stat-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 0 24px;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--warm-gray-600);
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--warm-gray-200);
    flex-shrink: 0;
}

.cta-banner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    background: var(--navy-900);
    border-radius: 16px;
    padding: 48px 40px;
}

@media (min-width: 768px) {
    .cta-banner {
        grid-template-columns: 1fr auto;
        padding: 56px 56px;
    }
}

.cta-banner-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 12px;
}

.cta-banner-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 480px;
}

.cta-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- Location ---------- */
.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 60px;
}

@media (min-width: 900px) {
    .location-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.location-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.location-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: var(--gold-500);
}

.location-icon svg {
    width: 100%;
    height: 100%;
}

.location-label {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 4px;
}

.location-value {
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
}

.location-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.location-link:hover {
    color: var(--gold-400);
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.location-cta {
    display: flex;
    align-items: stretch;
}

.location-cta-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 164, 90, 0.2);
    border-radius: 16px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.location-cta-title {
    font-size: 1.5rem;
    color: #fff;
}

.location-cta-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    flex: 1;
}

.location-cta-card .btn--full {
    margin-top: 8px;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.contact-desc {
    font-size: 1rem;
    color: var(--navy-800);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-direct-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-direct-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy-700);
}

.contact-direct-value {
    font-size: 1.05rem;
    color: var(--navy-950);
    font-weight: 500;
}

.contact-direct-value a {
    color: var(--navy-950);
    border-bottom: 1px solid var(--gold-500);
    transition: color 0.2s ease;
}

.contact-direct-value a:hover {
    color: var(--navy-700);
}

.contact-form-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 8px 32px rgba(10, 31, 63, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy-800);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--warm-gray-800);
    background: var(--cream-50);
    border: 1.5px solid var(--warm-gray-200);
    border-radius: 8px;
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--gold-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 164, 90, 0.15);
}

.form-input::placeholder {
    color: var(--warm-gray-600);
    opacity: 0.6;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c564e' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(200, 164, 90, 0.1);
    border: 1px solid var(--gold-500);
    border-radius: 8px;
    color: var(--navy-900);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-success svg {
    width: 20px;
    height: 20px;
    color: var(--gold-500);
    flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-950);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--gold-500);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold-500);
    border-radius: 6px;
    flex-shrink: 0;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-contact span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
}
