* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    background: #f4f7fb;
    color: #1e2b3c;
    line-height: 1.5;
}

/* Navbar */
.navbar {
    background: #0b1a2e;
    color: white;
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.7rem;
    font-weight: 700;
}
.logo i { color: #ffb347; font-size: 2rem; }
.nav-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.nav-links a {
    color: #eef3fc;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}
.nav-links a:hover, .nav-links a.active {
    color: #ffb347;
    border-bottom-color: #ffb347;
}

/* Hero */
.hero {
    background: linear-gradient(105deg, #0b1a2e 0%, #1d3a5c 100%);
    color: white;
    padding: 4rem 2rem 5rem;
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 2.5rem;
}
.hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 0.8rem; }
.hero h1 i { color: #ffb347; margin-right: 12px; }
.hero p { font-size: 1.2rem; max-width: 720px; margin: 0 auto 2rem; opacity: 0.9; }

/* Search box */
.search-box {
    background: white;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    border-radius: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    justify-content: center;
    box-shadow: 0 18px 35px rgba(0,0,0,0.25);
    color: #1e2b3c;
}
.search-box .input-group {
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.search-box label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4f6b8a;
    margin-bottom: 0.3rem;
    padding-left: 8px;
}
.search-box input {
    padding: 0.9rem 1rem;
    border: 1px solid #d4e0ec;
    border-radius: 40px;
    font-size: 1rem;
    background: #f9fcff;
    outline: none;
}
.search-box input:focus {
    border-color: #ffb347;
    box-shadow: 0 0 0 4px rgba(255,180,71,0.2);
}
.search-box button {
    background: #ffb347;
    border: none;
    border-radius: 40px;
    padding: 0.9rem 2.2rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0b1a2e;
    cursor: pointer;
    transition: 0.2s;
}
.search-box button:hover { background: #ffa51a; transform: translateY(-2px); }

/* Fleet */
.fleet-section { max-width: 1300px; margin: 0 auto 4rem; padding: 0 2rem; }
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #0b1a2e;
    border-left: 8px solid #ffb347;
    padding-left: 22px;
}
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.car-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 28px rgba(0,0,0,0.06);
    transition: 0.25s;
    border: 1px solid #e2ebf4;
    display: flex;
    flex-direction: column;
}
.car-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px rgba(0,0,0,0.1); }
.car-img {
    background: #dce7f3;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.8rem;
    color: #2a4e77;
    position: relative;
}
.car-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #ffb347;
    color: #0b1a2e;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
}
.car-info { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.car-info h3 { font-size: 1.4rem; color: #0b1a2e; margin-bottom: 0.3rem; }
.car-specs {
    display: flex;
    gap: 1rem;
    margin: 0.8rem 0 1.2rem;
    color: #567190;
    font-size: 0.9rem;
    flex-wrap: wrap;
}
.car-specs i { color: #ffb347; margin-right: 4px; }
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid #e4edf7;
    padding-top: 1.2rem;
}
.price { font-size: 1.7rem; font-weight: 800; color: #0b1a2e; }
.price small { font-size: 0.9rem; font-weight: 500; color: #5f7996; }
.btn-book {
    background: #0b1a2e;
    color: white;
    padding: 0.75rem 1.4rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-book:hover { background: #ffb347; color: #0b1a2e; }




/* ===== Car card image (was icon) ===== */
.car-img {
    padding: 0;          /* remove padding */
}
.car-img img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;   /* fills area, may crop */
}

.car-card:hover .car-img img {
    transform: scale(1.08);
}

/* Badge stays the same */
.car-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #ffb347;
    color: #0b1a2e;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* ===== Booking page summary image (was icon) ===== */
.summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #dce7f3;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    height: 220px;              /* keep the block same size as before */
}

.summary-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;        /* show full image */
    display: block;
}


/* Footer */
.footer {
    background: #0b1a2e;
    color: #b6c9df;
    padding: 2rem;
    text-align: center;
    border-radius: 40px 40px 0 0;
}

@media (max-width: 700px) {
    .hero h1 { font-size: 2rem; }
    .search-box { border-radius: 30px; padding: 1.5rem; }
    .navbar { flex-direction: column; gap: 0.8rem; }
}