:root {
    --primary-color: #1a5f7a;
    --secondary-color: #f9a826;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
}

* { font-family: 'Poppins', sans-serif; }

body { overflow-x: hidden; }

/* =========================
   NAVBAR
========================= */
.navbar {
    transition: all 0.4s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(26, 95, 122, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover { transform: scale(1.05); }

.navbar-brand i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after { width: 80%; }

.nav-link:hover { color: var(--secondary-color) !important; }

.btn-primary-custom {
    background-color: var(--secondary-color);
    border: none;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #fff;
}

.btn-primary-custom:hover {
    background-color: #e09516;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 168, 38, 0.4);
    color: #fff;
}

/* =========================
   HERO + CAROUSEL (FULL HEIGHT FIX)
========================= */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Force the carousel container + inner to fill screen */
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100vh;
}

/* Each slide must fill height */
.hero-slide {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
}

/* Make slide content readable */
.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.feature-badge {
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    padding: 0.5rem 1.2rem;
    margin: 0.3rem;
    border-radius: 25px;
    color: #fff;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background-color: rgba(249, 168, 38, 0.8);
    transform: translateY(-3px);
}

/* Hero carousel controls + indicators */
.carousel-control-prev,
.carousel-control-next { width: 8%; }

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* (Important) prevent any extra margin/padding from Bootstrap carousel */
.carousel,
.carousel-inner,
.carousel-item { margin: 0; padding: 0; }

/* =========================
   PAGE HERO (Fleet/Details)
========================= */
.page-hero {
    padding-top: 90px; /* navbar fixed */
    background-position: center;
    background-size: cover;
}

/* =========================
   SECTION TITLE
========================= */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* =========================
   SERVICE CARDS
========================= */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
}

/* =========================
   TOUR CARDS
========================= */
.tour-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 350px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.tour-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.tour-card:hover::before {
    background: linear-gradient(to bottom, rgba(26, 95, 122, 0.3) 0%, rgba(0,0,0,0.8) 100%);
}

.tour-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.tour-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
    color: #fff;
}

.tour-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* =========================
   STATS
========================= */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: #fff;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label { font-size: 1.1rem; opacity: 0.9; }

/* =========================
   CAR CARDS
========================= */
.car-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.car-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image { transform: scale(1.1); }

.car-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 2;
}

.car-badge.economy { background-color: #27ae60; }
.car-badge.budget  { background-color: #27ae60; }
.car-badge.luxury  { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.car-badge.popular { background-color: var(--secondary-color); }

.car-details {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.car-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.car-category { color: #7f8c8d; font-size: 0.9rem; margin-bottom: 0; }

.car-rating {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.car-rating i { font-size: 0.85rem; }

.car-specs {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.car-specs span {
    color: #7f8c8d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.car-specs i { color: var(--primary-color); font-size: 1rem; }

.car-features {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.car-features span {
    background-color: #ecf0f1;
    color: var(--dark-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.car-features i { color: #27ae60; font-size: 0.8rem; }

.car-details hr {
    margin: 1.2rem 0;
    border-color: rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.car-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.car-pricing .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.car-pricing .period { color: #7f8c8d; font-size: 0.95rem; }

/* =========================
   FOOTER
========================= */
.footer {
    background-color: var(--dark-color);
    color: rgba(255,255,255,0.8);
    padding: 3rem 0 1rem;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover { color: var(--secondary-color); padding-left: 5px; }

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .page-hero { padding-top: 80px; }

    /* keep hero full height on mobile too */
    #heroCarousel,
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item,
    .hero-slide {
        height: 100vh;
        min-height: 100vh;
    }
}

