/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --dark-black: #0a0a0a;
    --surface: #1a1a1a;
    --dark-blue: #1a3a5c;
    --blue: #2d5a87;
    --blue-glow: rgba(45, 90, 135, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--black);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 16px 20px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.header-nav {
    display: none;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 4px 0;
}

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

.nav-link:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
    border-radius: 4px;
}

.book-button {
    background-color: var(--black);
    border: 1px solid var(--border);
    outline: 1px solid rgba(255, 255, 255, 0.3);
    outline-offset: 0;
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.book-button:hover {
    background-color: var(--surface);
    transform: translateY(-1px);
}

.book-button:active {
    transform: translateY(0);
}

.book-button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-blue) 100%);
    background-image: url('istockphoto-1316428138-612x612.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-headline {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subheadline {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
    font-style: italic;
}

.cta-button {
    background-color: var(--black);
    color: var(--text-primary);
    border: 1px solid var(--border);
    outline: 1px solid rgba(255, 255, 255, 0.3);
    outline-offset: 0;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: var(--surface);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* Services Section */
.services-section {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card {
    background-color: var(--black);
    border: 1px solid var(--blue);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(45, 90, 135, 0.3);
}

.service-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(45, 90, 135, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.service-card:active {
    transform: translateY(0);
}

.service-card.active {
    border-color: var(--blue);
    box-shadow: 0 0 30px rgba(45, 90, 135, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.service-card:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* Vehicle Chooser */
.vehicle-chooser {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out, margin 0.4s ease-out;
    margin-top: 0;
    margin-bottom: 0;
}

.vehicle-chooser.open {
    max-height: 200px;
    opacity: 1;
    margin-top: 0;
    margin-bottom: 20px;
}

.vehicle-chooser-content {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.vehicle-button {
    background-color: var(--dark-blue);
    border: 1px solid var(--blue);
    outline: 1px solid rgba(255, 255, 255, 0.3);
    outline-offset: 0;
    color: var(--text-primary);
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-button:hover {
    background-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 135, 0.3);
}

.vehicle-button:active {
    background-color: #1a3a5c;
    transform: translateY(0);
}

.vehicle-button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.vehicle-button.loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.vehicle-label {
    pointer-events: none;
}

/* Footer */
.footer {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    border-top: 1px solid var(--border);
    margin-top: 60px;
}

.footer-contact {
    font-size: 12px;
    margin-top: 8px;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-headline {
        font-size: 56px;
    }

    .hero-subheadline {
        font-size: 20px;
    }

    .services-section {
        max-width: 700px;
        padding: 80px 20px;
    }

    .service-card {
        padding: 28px;
    }

    .service-title {
        font-size: 22px;
    }

    .vehicle-chooser-content {
        flex-direction: row;
        gap: 16px;
    }

    .vehicle-button {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: 70vh;
    }

    .hero-headline {
        font-size: 64px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Content Sections */
.content-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-intro {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    text-align: center;
}

/* Why Section */
.why-section {
    background-color: var(--dark-black);
}

.why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-item {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
}

.why-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
    font-size: 18px;
}

/* Services Detail Section */
.services-detail-section {
    background-color: var(--black);
}

.service-blurbs {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.service-blurb {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.service-blurb:hover {
    border-color: var(--blue);
    box-shadow: 0 0 15px rgba(45, 90, 135, 0.2);
}

.service-blurb p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Service Area Section */
.service-area-section {
    background-color: var(--dark-black);
}

.area-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
}

.area-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background-color: var(--black);
    text-align: center;
}

.cta-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Contact Section */
.contact-section {
    background-color: var(--dark-black);
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-item {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-item strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 18px;
}

.contact-link {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 18px;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.contact-link:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Responsive Design for New Sections */
@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }

    .section-title {
        font-size: 40px;
    }

    .section-subtitle {
        font-size: 24px;
    }

    .section-intro {
        font-size: 18px;
    }

    .why-item {
        font-size: 17px;
    }

    .service-blurbs {
        gap: 32px;
    }

    .service-blurb {
        padding: 32px;
    }

    .service-blurb p {
        font-size: 16px;
    }

    .area-text {
        font-size: 18px;
    }

    .cta-text {
        font-size: 18px;
    }

    .contact-info {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
        flex-wrap: wrap;
    }

    .contact-item {
        font-size: 17px;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 48px;
    }

    .service-blurbs {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
