/* ===================================
   AmeriCars - Main Stylesheet
   Color Palette:
   - Deep Blue: #23377a
   - Dark Gray: #1a1a1a
   - Burgundy: #800000
   =================================== */

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

:root {
    --deep-blue: #23377a;
    --dark-gray: #1a1a1a;
    --burgundy: #800000;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Navbar Styles
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(128, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(128, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: transform 0.3s ease;
    letter-spacing: -0.5px;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    color: var(--burgundy);
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(128, 0, 0, 0.2));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.6rem 0;
    letter-spacing: 0.3px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy), #a00000);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--burgundy);
}

.nav-links a.vin-btn {
    background: linear-gradient(135deg, var(--burgundy), #a00000);
    padding: 0.7rem 1.8rem;
    border-radius: 25px;
    color: white;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.25);
    font-weight: 600;
}

.nav-links a.vin-btn::after {
    display: none;
}

.nav-links a.vin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.35);
    background: linear-gradient(135deg, #a00000, var(--burgundy));
    color: white;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(35, 55, 122, 0.9), rgba(26, 26, 26, 0.8)),
                url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=2070') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(35, 55, 122, 0.85), rgba(128, 0, 0, 0.3));
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--burgundy), #a00000);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(128, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(128, 0, 0, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--deep-blue);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy), var(--deep-blue));
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--shadow);
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--burgundy);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--deep-blue), var(--burgundy));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--deep-blue), var(--burgundy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--deep-blue), var(--burgundy));
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===================================
   Page Header (for internal pages)
   =================================== */
.page-header {
    height: 40vh;
    background: linear-gradient(135deg, rgba(35, 55, 122, 0.9), rgba(128, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=2083') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 70px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.5);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--white);
    z-index: 2;
    position: relative;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.page-header p {
    color: var(--white);
    font-size: 1.2rem;
    z-index: 2;
    position: relative;
    margin-top: 0.5rem;
}

/* ===================================
   Services Page Styles
   =================================== */
.services-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.services-intro h2 {
    font-size: 2.5rem;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.services-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 15px var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--deep-blue), var(--burgundy));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--deep-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: var(--burgundy);
    font-size: 0.9rem;
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--burgundy), #a00000);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--deep-blue), var(--burgundy));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 15px var(--shadow);
}

.process-step h3 {
    color: var(--deep-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===================================
   VIN Lookup Page Styles
   =================================== */
.vin-lookup-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
    min-height: calc(100vh - 70px);
}

.vin-search-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.vin-search-container h2 {
    color: var(--deep-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.vin-search-container > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.vin-form .input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    background-color: var(--light-gray);
    padding: 0.5rem;
    border-radius: 30px;
    margin-bottom: 1rem;
}

.vin-form .input-group i {
    font-size: 1.5rem;
    color: var(--deep-blue);
    margin-left: 1rem;
}

.vin-form input {
    flex: 1;
    border: none;
    background: none;
    padding: 0.8rem;
    font-size: 1rem;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.vin-form button {
    white-space: nowrap;
}

.form-help {
    text-align: left;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-help i {
    color: var(--deep-blue);
    margin-right: 0.5rem;
}

.sample-vins {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.sample-vins p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.sample-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.sample-vin-btn {
    background-color: var(--light-gray);
    border: 2px solid var(--deep-blue);
    color: var(--deep-blue);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.sample-vin-btn:hover {
    background-color: var(--deep-blue);
    color: var(--white);
}

/* Loading Animation */
.loading-container {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    color: var(--deep-blue);
    animation: float 3s ease-in-out infinite;
}

.loading-container p {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Error Message */
.error-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.error-container i {
    font-size: 4rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.error-container h3 {
    color: var(--deep-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.error-container p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Vehicle Results */
.vehicle-results {
    animation: fadeIn 0.5s ease;
}

.vehicle-header {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.vehicle-title h2 {
    color: var(--deep-blue);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.vin-badge {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: monospace;
}

.status-badge {
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
}

.status-badge.in-transit {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: var(--white);
}

.status-badge.arrived {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: var(--white);
}

.status-badge.customs {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: var(--white);
}

/* Vehicle Photos */
.vehicle-photos {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 2rem;
}

.main-photo {
    width: 100%;
    height: 500px;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-thumbnails {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 150px;
    height: 100px;
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail:hover {
    border-color: var(--deep-blue);
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Vehicle Info Grid */
.vehicle-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.info-card h3 {
    color: var(--deep-blue);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.info-label {
    color: var(--text-light);
    font-weight: 500;
}

.info-value {
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
}

.info-value.highlight {
    color: var(--burgundy);
    font-size: 1.1rem;
}

/* Shipping Timeline */
.shipping-timeline {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 2rem;
}

.shipping-timeline h3 {
    color: var(--deep-blue);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--light-gray);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0;
    width: 15px;
    height: 15px;
    background-color: var(--white);
    border: 3px solid var(--deep-blue);
    border-radius: 50%;
}

.timeline-item.completed::before {
    background-color: var(--burgundy);
    border-color: var(--burgundy);
}

.timeline-item.active::before {
    background-color: var(--deep-blue);
    border-color: var(--deep-blue);
    box-shadow: 0 0 0 5px rgba(35, 55, 122, 0.2);
}

.timeline-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.timeline-title {
    color: var(--deep-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.timeline-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Results Contact */
.results-contact {
    background: linear-gradient(135deg, var(--deep-blue), var(--burgundy));
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
}

.results-contact i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.results-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.results-contact p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* ===================================
   Contact Page Styles
   =================================== */
.contact-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info h2 {
    color: var(--deep-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--deep-blue), var(--burgundy));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--deep-blue);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.contact-details p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-details a {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.business-hours {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
}

.business-hours h3 {
    color: var(--deep-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

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

/* Contact Form */
.contact-form-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-form-container h2 {
    color: var(--deep-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--deep-blue);
    box-shadow: 0 0 0 3px rgba(35, 55, 122, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    color: var(--burgundy);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: block;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-success i {
    font-size: 1.5rem;
}

/* Map Section */
.map-section {
    margin-top: 4rem;
}

.map-section h2 {
    text-align: center;
    color: var(--deep-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

/* ===================================
   Footer Styles
   =================================== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
    color: var(--white);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--burgundy), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--white);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy), transparent);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--burgundy);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--burgundy);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--burgundy), #a00000);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(128, 0, 0, 0.4);
    border-color: var(--burgundy);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

.fade-in {
    animation: fadeInUp 1s ease;
}

.fade-in-delay {
    animation: fadeInUp 1s ease 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeInUp 1s ease 0.6s backwards;
}

/* ===================================
   Responsive Design
   =================================== */
@media screen and (max-width: 968px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .burger {
        display: block;
    }

    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .vehicle-info-grid {
        grid-template-columns: 1fr;
    }

    .vin-form .input-group {
        flex-direction: column;
    }

    .sample-buttons {
        flex-direction: column;
    }

    .sample-vin-btn {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .vin-search-container {
        padding: 2rem 1.5rem;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .vehicle-header {
        padding: 1.5rem;
    }

    .vehicle-title h2 {
        font-size: 1.5rem;
    }

    .main-photo {
        height: 300px;
    }

    .thumbnail {
        width: 100px;
        height: 70px;
    }
}
