/* ============================
   SCOOTER BOOKING PAGE - MODERN REDESIGN
   Unique, Attractive, Premium.
============================ */

:root {
    --primary-color: #f53d2d;
    /* Red-Orange Mix */
    --primary-gradient: linear-gradient(135deg, #f53d2d 0%, #ff6f00 100%);
    /* Red to Orange Gradient */
    --secondary-color: #00796b;
    /* Darker Teal for nature vibe */
    --dark-bg: #121212;
    --card-bg: #ffffff;
    /* Solid White for maximum readability */
    --glass-border: #e0e0e0;
    --text-main: #222;
    /* Darker black */
    --text-light: #444;
    /* Darker gray for better contrast */
    --hero-height: 60vh;
    /* Increased height for breathing space */
}

body {
    background-color: #f7f9fc;
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
}

/* ============================
   HERO SECTION
============================ */
.scooter-hero {
    width: 100%;
    height: 60vh;
    min-height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    color: white;
}

.scooter-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-gradient);
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(245, 61, 45, 0.4);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ============================
   MAIN LAYOUT
============================ */
.scooter-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px 80px;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* Wider left column for info */
    gap: 40px;
}

/* ============================
   LEFT COLUMN (INFORMATIONAL)
============================ */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-block {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e1e1e1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-title i {
    color: var(--primary-color);
}

.info-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    background: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.location-box {
    background: #f0f7f6;
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.location-title {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
    display: block;
}

/* ============================
   RIGHT COLUMN (STICKY WIDGET)
============================ */
.sidebar {
    position: relative;
}

.booking-widget {
    position: sticky;
    top: 100px;
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.widget-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
}

.widget-price-preview {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-top: 8px;
    line-height: 1;
    /* Add this to reduce the natural gap */
    margin-bottom: 2px;
}

.widget-header small {
    display: block;
    color: #777;
    font-size: 0.85rem;
}

.widget-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: block;
}

/* Rate Selection in Widget */
.widget-rates {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.rate-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.rate-option:hover {
    border-color: #ccc;
    background: #fafafa;
}

.rate-option.active {
    border-color: var(--primary-color);
    background: #fff8f5;
}

.rate-option-name {
    font-weight: 600;
    color: #333;
}

.rate-option-row {
    display: flex;
    flex-direction: column;
}

.rate-option-tag {
    font-size: 0.7rem;
    color: white;
    background: var(--primary-color);
    padding: 2px 6px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 2px;
}

.rate-option-price {
    font-weight: 700;
    color: var(--primary-color);
}

.rate-card.highlight::before {
    content: 'BEST VALUE';
    position: absolute;
    top: 15px;
    right: -32px;
    background: var(--primary-gradient);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 4px 35px;
    transform: rotate(45deg);
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.book-now-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(245, 61, 45, 0.3);
    margin-top: 20px;
}

.book-now-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 61, 45, 0.4);
}

.book-now-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============================
   MODAL (CONTACT FORM)
============================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #000;
}

/* Form Styles Reuse */
.styled-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 1rem;
    color: #333;
}

.styled-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Responsive */
@media (max-width: 900px) {
    .scooter-container {
        grid-template-columns: 1fr;
    }

    .booking-widget {
        position: static;
        margin-top: 30px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}