* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.bookings-btn {
    padding: 8px 18px;
    border-radius: 20px;
    border: none;
    background: #00c6ff;
    font-weight: bold;
    cursor: pointer;
}

.cars-section {
    padding: 40px;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.car-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    transition: 0.3s;
}

.car-card:hover {
    transform: translateY(-8px);
}

.car-img {
    height: 160px;
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-card button {
    margin-top: 10px;
    padding: 8px 15px;
    border-radius: 15px;
    border: none;
    background: #00ffcc;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1e2a38;
    padding: 30px;
    border-radius: 20px;
    width: 320px;
}

.modal-content input {
    width: 100%;
    margin: 8px 0;
    padding: 10px;
    border-radius: 10px;
    border: none;
}

.primary-btn {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #00c6ff;
    font-weight: bold;
    margin-top: 10px;
}

#totalPrice {
    margin-top: 10px;
    font-weight: bold;
    color: #00ffcc;
}

.booking-item {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
}

.close {
    float: right;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 20px;
    opacity: 0.7;
}
