/* ================================================
   Midwest Limousine — Modern Style Sheet
   ================================================ */

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

:root {
    --red: #b91c1c;
    --red-dark: #922222;
    --red-light: #d64242;
    --dark-bg: #18181b;
    --navy: #27272a;
    --charcoal: #3f3f46;
    --text-white: #fafafa;
    --text-muted: #a1a1aa;
    --card-bg: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.1);
    --font-main: "Segoe UI", system-ui, -apple-system, sans-serif;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-white);
    background: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--red);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--red-light);
}

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

/* ── Utilities ── */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 0.5em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto 3rem;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 0.9em 2.4em;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--text-white);
    border: 2px solid var(--red);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--red-light), var(--red));
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(185, 28, 28, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}
.btn-outline:hover {
    background: var(--text-white);
    color: var(--navy);
}
.btn-full {
    width: 100%;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(24, 24, 27, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav-logo img {
    background-color: #fff;
    border-radius: 5px;
    height: 60px;
    width: auto;
}
.nav-logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-white);
}
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.nav-link {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-radius: 4px;
    transition: all var(--transition);
}
.nav-link:hover,
.nav-link.active {
    color: var(--red);
}
.nav-cta {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--text-white) !important;
    font-weight: 700;
    border-radius: 4px;
    margin-left: 0.5rem;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(185, 28, 28, 0.3);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url("../assets/DIA\ with\ Mountains.jpg") center/cover no-repeat;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(30, 30, 35, 0.75) 0%,
        rgba(24, 24, 27, 0.65) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}
.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 2.5rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}
.scroll-arrow {
    width: 24px;
    height: 24px;
    margin-top: 0.5rem;
    border-right: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
    transform: rotate(45deg);
}

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

/* ── Services Section ── */
.services {
    background: var(--dark-bg);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--red);
    box-shadow: 0 12px 40px rgba(185, 28, 28, 0.12);
}
.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    color: var(--red);
}
.service-icon svg {
    width: 100%;
    height: 100%;
}
.service-card h3 {
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ── Fleet Section ── */
.fleet {
    background: var(--charcoal);
}
.fleet-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.fleet-card {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition);
}
.fleet-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.fleet-image {
    flex: 1 1 50%;
    min-width: 0;
    overflow: hidden;
}
.fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.fleet-card:hover .fleet-image img {
    transform: scale(1.05);
}
.fleet-info {
    flex: 1 1 40%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--dark-bg);
}
.fleet-info h3 {
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--red);
}
.fleet-info p {
    color: var(--text-muted);
}

/* ── Rates Section ── */
.rates {
    background: var(--dark-bg);
}
.rates-content > * {
    margin-bottom: 3rem;
}
.rates-table-wrapper:last-child {
    margin-bottom: 0;
}
.rates-table-wrapper h3 {
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--red);
}
.rates-table-wrapper table,
.rates-table {
    width: 100%;
    border-collapse: collapse;
}
.rates-table thead th {
    padding: 0.9rem 1.2rem;
    background: rgba(185, 28, 28, 0.1);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--red);
    border-bottom: 2px solid var(--red);
}
.rates-table tbody td {
    padding: 1rem 1.2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
}
.rates-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}
.rates-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── About Section ── */
.about {
    background: var(--charcoal);
}
.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}
.about-text {
    flex: 1 1 50%;
}
.about-image {
    flex: 1 1 45%;
    border-radius: 8px;
    overflow: hidden;
}
.about-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

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

.about-tagline {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--red);
    margin-bottom: 1.5rem;
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* ── Quote Form Section ── */
.quote-section {
    background: var(--navy);
}
.section-title-center {
    text-align: center;
}
.section-subtitle-center {
    text-align: center;
}

.quote-form {
    max-width: 800px;
    margin: 0 auto;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group label {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: var(--text-white);
    font-size: 0.95rem;
    font-family: inherit;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.2);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.form-group select option {
    background: var(--navy);
    color: var(--text-white);
}

/* ── Contact Section ── */
.contact {
    background: var(--dark-bg);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.contact-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    transition: all var(--transition);
}
.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--red);
}
.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--red);
}
.contact-icon svg {
    width: 100%;
    height: 100%;
}
.contact-card h3 {
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-banner {
    border-radius: 8px;
    overflow: hidden;
    max-height: 320px;
}
.contact-banner img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* ── Footer ── */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 0 2rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}
.footer-brand {
    flex: 1 1 280px;
}
.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.75rem;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-brand img {
    background-color: #fff;
    border-radius: 5px;
    height: 60px;
}
.footer-payment {
    margin-top: 0.5rem;
    font-size: 0.8rem !important;
    color: var(--red) !important;
}

.footer-links,
.footer-contact {
    flex: 1 1 160px;
}
.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: var(--red);
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ── Animations ── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mobile Responsive ── */
@media (max-width: 960px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        background: var(--charcoal);
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        transition: right var(--transition);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-link {
        font-size: 1rem;
        width: 100%;
        padding: 0.8rem 0;
    }

    .fleet-card {
        flex-direction: column;
    }
    .fleet-image {
        max-height: 260px;
    }
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    .about-image img {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 70px 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
