* {
    box-sizing: border-box;
}

:root {
    /* Bold Taxi Theme Palette */
    --primary-yellow: #FFCC00;
    --dark-bg: #111111;
    --text-white: #FFFFFF;
    --text-dark: #222222;
    --gray-light: #F8F9FA;
    --top-bar-bg: #1A1A1A;
    --transition: all 0.3s ease;
}

html, body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Base Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--dark-bg);
    padding: 12px 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid var(--primary-yellow);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-yellow);
}

.btn-outline-yellow {
    display: inline-block;
    background-color: transparent;
    color: var(--text-white);
    padding: 12px 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid var(--primary-yellow);
}

.btn-outline-yellow:hover {
    background-color: var(--primary-yellow);
    color: var(--dark-bg);
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--dark-bg);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-yellow);
}

/* ========== Top Bar ========== */
.top-bar {
    background-color: var(--top-bar-bg);
    color: #ccc;
    font-size: 0.85rem;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-icon {
    background-color: var(--primary-yellow);
    color: var(--dark-bg);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.top-bar a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--primary-yellow);
}

/* ========== White Navbar ========== */
.navbar {
    background-color: #ffffff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 50px;
}

.navbar-center {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-nav {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.navbar-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--primary-yellow);
}

.nav-icons {
    display: flex;
    gap: 20px;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-left: 20px;
}

.nav-icons i {
    cursor: pointer;
    transition: var(--transition);
}

.nav-icons i:hover {
    color: var(--primary-yellow);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.emergency-call {
    display: flex;
    align-items: center;
    gap: 15px;
}

.emergency-icon {
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.emergency-text {
    line-height: 1.2;
}

.emergency-text span {
    display: block;
    color: #777;
    font-size: 0.8rem;
    text-transform: none;
}

.emergency-text strong {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 800;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary-yellow);
}

/* ========== Hero Section Split View ========== */
.hero-split {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    background-color: var(--dark-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 17, 17, 0.85); /* Dark overlay */
    z-index: 1;
}

/* The Massive Yellow Curve on the Right */
.hero-curve {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 65%;
    height: 140%;
    background-color: var(--primary-yellow);
    border-top-left-radius: 100%;
    border-bottom-left-radius: 100%;
    z-index: 2;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text-block {
    flex: 1;
    max-width: 650px;
    color: var(--text-white);
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle-icon {
    display: flex;
    gap: 3px;
}

.hero-subtitle-icon span {
    width: 8px;
    height: 12px;
    background-color: var(--primary-yellow);
    display: block;
    transform: skewX(-20deg);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: capitalize;
}

.hero-image-block {
    flex: 1;
    position: relative;
    z-index: 4;
}

.hero-car {
    max-width: 120%;
    margin-left: -10%;
    filter: drop-shadow(-15px 25px 25px rgba(0,0,0,0.5));
    animation: floatCar 3s ease-in-out infinite alternate;
}

@keyframes floatCar {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-15px); }
}

/* Floating Social Icons */
.floating-socials {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 5;
}

.floating-socials a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.floating-socials a:hover {
    background: var(--primary-yellow);
    color: var(--dark-bg);
}

/* Desktop Slider Nav placeholder */
.hero-slider-nav {
    position: absolute;
    bottom: 50px;
    right: 25%;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-slider-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    transform: skewX(-15deg);
}

.hero-slider-btn i {
    transform: skewX(15deg);
}

.hero-slider-btn:hover {
    background: var(--dark-bg);
}

/* Reusing some old classes mapping to new theme */
.glass-card {
    background: #fff;
    border-radius: 4px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #eee;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-yellow);
}

.route-card {
    padding: 40px 30px;
    border-top: 4px solid var(--primary-yellow);
}

.route-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.route-card-title h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.route-card-title i {
    color: var(--primary-yellow);
    font-size: 1.4rem;
}

@media (max-width: 400px) {
    .route-card {
        padding: 25px 15px;
    }
    .route-card-title h3 {
        font-size: 1.1rem;
    }
    .route-card-title {
        gap: 8px;
    }
}

.glass-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--primary-yellow);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.glass-card h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.glass-card p {
    color: #666;
    font-size: 1rem;
}

.vehicle-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-yellow);
}

.vehicle-img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.vehicle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-yellow);
    color: var(--dark-bg);
    padding: 8px 15px;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 2;
}

.vehicle-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.vehicle-info h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.vehicle-info p {
    color: #666;
    margin-bottom: 20px;
    flex: 1;
}

.contact-section {
    padding: 80px 20px;
    background-color: #fff;
    color: var(--text-dark);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.contact-info-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-yellow);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info-text h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-info-text p, .contact-info-text a {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-info-text a:hover {
    color: var(--primary-yellow);
}

.map-card {
    border-radius: 4px;
    overflow: hidden;
    height: 400px;
    border: 1px solid #eee;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ========== Homepage Services Mini Grid ========== */
.services-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.service-mini-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    text-align: left;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-mini-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-mini-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-mini-card:hover .service-mini-img-wrapper img {
    transform: scale(1.08);
}

.service-mini-content {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-mini-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 204, 0, 0.15);
    color: var(--primary-yellow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.service-mini-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

/* ========== Services Page Cards ========== */
.service-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: left;
    transition: var(--transition);
    border: 1px solid #eaeaea;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.service-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.08); /* subtle zoom */
}

.service-card-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon-wrap {
    width: 55px;
    height: 55px;
    background: rgba(255, 204, 0, 0.15); /* Light modern yellow bg */
    color: var(--primary-yellow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: var(--primary-yellow);
    color: var(--dark-bg);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 800;
}

.service-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

/* ========== Isotope Grid (Gallery & Vehicles) ========== */
.isotope-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.isotope-grid::after {
    content: '';
    display: block;
    clear: both;
}

.gallery-grid .isotope-item {
    width: calc(33.333% - 20px);
    margin: 10px;
    float: left;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0;
}

.vehicles-grid .isotope-item {
    width: 100%;
    margin: 0;
    float: none;
}

.gallery-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 25px 15px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

footer {
    background-color: var(--top-bar-bg);
    color: #ccc;
    text-align: center;
    padding: 25px;
    border-top: 3px solid var(--primary-yellow);
}

/* ========== Responsive Design ========== */
@media (max-width: 992px) {
    .top-bar {
        display: none; 
    }

    .mobile-menu-btn {
        display: block; 
    }

    .navbar {
        padding: 10px 20px;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap; /* Important to keep the menu below */
    }
    
    .navbar-brand {
        margin-bottom: 0;
    }

    .navbar-brand img {
        height: 40px;
    }
    
    .navbar-right {
        order: 2;
        display: flex;
        align-items: center;
    }
    
    .navbar-center {
        display: none; 
        order: 3;
        width: 100%;
        margin-top: 15px;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 4px;
        padding: 10px 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    .navbar-center.active {
        display: block; 
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin: 0;
    }

    .navbar-nav li {
        width: 100%;
        text-align: left;
    }

    .navbar-nav a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
    }

    .navbar-nav li:last-child a {
        border-bottom: none;
    }
    
    .emergency-call {
        display: none;
    }

    .hero-split {
        height: auto;
        padding: 60px 0;
    }

    .hero-curve {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }

    .hero-text-block {
        max-width: 100%;
    }

    .hero-subtitle {
        justify-content: center;
    }

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

    .hero-car {
        margin-left: 0;
        max-width: 100%;
        width: 100%;
    }

    .hero-slider-nav {
        display: none; 
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
    
    section[style*="padding: 100px"] {
        padding: 60px 20px !important;
    }

    /* Services mini grid - 3 columns on tablet */
    .services-home-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .service-mini-card {
        padding: 25px 12px;
    }

    /* Isotope grid - 2 columns on tablet */
    .gallery-grid .isotope-item {
        width: calc(50% - 20px);
    }

    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vehicles-grid .isotope-item {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .floating-socials {
        display: none;
    }
    
    section[style*="padding: 100px"] {
        padding: 40px 15px !important;
    }

    /* Services mini grid - 2 columns on mobile */
    .services-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-mini-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .service-mini-card h4 {
        font-size: 0.82rem;
    }

    /* Isotope grid - single column on mobile */
    .gallery-grid .isotope-item {
        width: calc(100% - 20px);
    }

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

    .vehicles-grid .isotope-item {
        width: 100%;
    }
}
