/* Taxi-Bart Clean Professional Design */

/* Force Light Mode - Always Applied */

html {
    color-scheme: light only !important;
    -webkit-color-scheme: light only !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

body {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111827 !important;
}

input, textarea, select {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111827 !important;
    border-color: #e5e7eb !important;
    -webkit-appearance: none !important;
}

button {
    -webkit-appearance: none !important;
}

.card, .pricing-card, .contact-card {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111827 !important;
}

.site-header {
    background: #1e3a8a !important;
    background-color: #1e3a8a !important;
}

.site-footer {
    background: #374151 !important;
    background-color: #374151 !important;
}

/* Override any dark mode attempts */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light only !important;
        -webkit-color-scheme: light only !important;
    }
    
    * {
        color-scheme: light only !important;
        -webkit-color-scheme: light only !important;
    }
    
    html, body {
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #111827 !important;
    }
}

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

:root {
    /* Professional Taxi Color Scheme - Force Light Mode */
    color-scheme: light only !important;
    -webkit-color-scheme: light only !important;
    --primary-blue: #1e3a8a;
    --taxi-yellow: #ffd700;
    --taxi-yellow-dark: #e6c200;
    --dark-gray: #374151;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --text-dark: #111827;
    --text-light: #6b7280;
    --border-light: #e5e7eb;
    --success-green: #10b981;
    --error-red: #ef4444;
}

html {
    scroll-behavior: smooth;
    color-scheme: light only !important;
    -webkit-color-scheme: light only !important;
    background-color: #ffffff !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #111827 !important;
    background-color: #ffffff !important;
    color-scheme: light only !important;
    -webkit-color-scheme: light only !important;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

a:hover {
    text-decoration: underline;
}

/* Header and Navigation */
.site-header {
    background: var(--primary-blue);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.taxi-icon {
    width: 40px;
    height: 40px;
    background: var(--taxi-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 10px;
    color: var(--primary-blue);
}

.taxi-icon::before {
    content: 'TAXI';
}

.site-title {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}

/* Navigation Menu */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--white);
    transition: background-color 0.3s ease;
    border-radius: 4px;
    margin: 0 2px;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--taxi-yellow);
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-link.cta-nav {
    background-color: var(--taxi-yellow);
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-link.cta-nav:hover {
    background-color: var(--taxi-yellow-dark);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--taxi-yellow);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2563eb 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

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

.hero-text h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background: var(--taxi-yellow);
    color: var(--primary-blue);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--taxi-yellow);
}

.cta-button:hover {
    background: var(--taxi-yellow-dark);
    border-color: var(--taxi-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Page Sections */
.page-section {
    padding: 4rem 0;
}

.page-section:nth-child(even) {
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--taxi-yellow);
    border-radius: 2px;
}

/* Card Layouts */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.card p {
    margin-bottom: 1.5rem;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--taxi-yellow);
}

.pricing-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

/* Tables */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.pricing-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

.price {
    font-weight: 600;
    color: var(--primary-blue);
    text-align: right;
    font-size: 1.1rem;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-light);
}

.contact-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.contact-item strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: var(--taxi-yellow-dark);
}

/* Map Container */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-light);
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.toggle-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.toggle-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-option input[type="radio"] {
    margin: 0;
}

.submit-btn {
    width: 100%;
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #1e40af;
}

.submit-btn:disabled {
    background: var(--light-gray);
    cursor: not-allowed;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-green);
    color: var(--success-green);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error-red);
    color: var(--error-red);
}

.hidden {
    display: none !important;
}

/* Footer */
.site-footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--taxi-yellow);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: var(--taxi-yellow);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary-blue);
        transition: left 0.3s ease;
        z-index: 999;
        padding: 1rem;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .card-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .page-section {
        padding: 2rem 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .card,
    .pricing-card,
    .contact-info,
    .form-container {
        padding: 1.5rem;
    }
}

/* Autocomplete Dropdown Styles */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: -1px;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: var(--light-gray);
    color: var(--primary-blue);
}

.autocomplete-item.selected {
    font-weight: 500;
}

/* Ensure form groups have proper positioning for dropdown */
.form-group {
    position: relative;
}

/* Loading state for autocomplete */
.autocomplete-loading {
    padding: 12px 16px;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* No results message */
.autocomplete-no-results {
    padding: 12px 16px;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px; /* Fixed height for desktop */
    overflow: hidden;
    border-radius: 10px;
    background: var(--light-gray);
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--light-gray);
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
    display: block !important;
    visibility: visible !important;
}

.slideshow-image.active {
    opacity: 1;
    z-index: 2;
}

.hero-image-container {
    height: 400px; /* Fixed height instead of min-height */
    position: relative;
    display: block;
    width: 100%;
}

/* Dynamic Slideshow Enhancements */
.slideshow-images {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Navigation Arrows */
.slideshow-prev,
.slideshow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
    transition: background 0.3s ease;
    z-index: 10;
}

.slideshow-prev:hover,
.slideshow-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slideshow-prev {
    left: 10px;
}

.slideshow-next {
    right: 10px;
    border-radius: 3px 0 0 3px;
}

/* Navigation Dots */
.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slideshow-dot {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-dot.active,
.slideshow-dot:hover {
    background-color: var(--taxi-yellow);
    border-color: var(--taxi-yellow);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-image-container {
        min-height: 300px;
        width: 100%;
        display: block;
    }
    
    .slideshow-container {
        height: 300px;
    }
}

/* Form styling for dual service system */
.service-selection {
    text-align: center;
    margin-bottom: 2rem;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    border-color: var(--taxi-yellow);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--light-gray);
}

.service-features li:before {
    content: "✓ ";
    color: var(--success-green);
    font-weight: bold;
}

.service-button {
    background: var(--taxi-yellow);
    color: var(--primary-blue);
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-card:hover .service-button {
    background: var(--primary-blue);
    color: var(--white);
}

/* Form container styling */
.form-container {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.form-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.back-button {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1rem;
    cursor: pointer;
    margin-right: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background: var(--light-gray);
}

/* Service-specific form sections */
.service-fields {
    margin-top: 2rem;
}

.form-section-title {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--taxi-yellow);
}

.form-subsection {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.form-subsection-title {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Toggle and checkbox groups */
.toggle-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.toggle-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.toggle-option:hover,
.toggle-option:has(input:checked) {
    border-color: var(--taxi-yellow);
    background: rgba(255, 193, 7, 0.1);
}

.toggle-option input[type="radio"] {
    margin: 0;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--light-gray);
}

.checkbox-option:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--taxi-yellow);
}

.checkbox-option:has(input:checked) {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid var(--taxi-yellow);
}

.checkbox-option:has(input:checked)::before {
    content: "✓";
    position: absolute;
    left: 0.5rem;
    color: var(--taxi-yellow);
    font-weight: bold;
    font-size: 1.2rem;
}

.checkbox-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Hide/show functionality */
.hidden {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .toggle-group {
        flex-direction: column;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .form-subsection {
        padding: 1rem;
    }
}