/* Reservation Page Styles */

.reservation-page {
    background: var(--bg-light);
    min-height: 100vh;
}

.reservation-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
}

.reservation-header .header-content {
    justify-content: space-between;
}

.btn-phone-icon {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-phone-icon:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

.reservation-main {
    padding: 120px 0 3rem;
}

.reservation-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--border-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.progress-step.active .step-number {
    background: var(--secondary-color);
    color: var(--bg-white);
}

.progress-step.completed .step-number {
    background: var(--success-color);
    color: var(--bg-white);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--primary-color);
}

.progress-line {
    width: 60px;
    height: 3px;
    background: var(--border-color);
    margin: 0 1rem;
    border-radius: 3px;
    transition: var(--transition);
}

.progress-line.active {
    background: var(--secondary-color);
}

/* Form Steps */
.reservation-form {
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Vehicles Grid */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.vehicle-option {
    cursor: pointer;
}

.vehicle-option input {
    display: none;
}

.vehicle-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-white);
}

.vehicle-option input:checked + .vehicle-card {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.vehicle-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.vehicle-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.vehicle-info {
    padding: 1rem;
}

.vehicle-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.vehicle-category.suv {
    background: var(--secondary-color);
}

.vehicle-category.sport {
    background: var(--sport-color);
}

.vehicle-category.premium {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.vehicle-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.vehicle-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.vehicle-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    cursor: pointer;
}

.option-card input {
    display: none;
}

.option-content {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition);
    background: var(--bg-white);
}

.option-card input:checked + .option-content {
    border-color: var(--secondary-color);
    background: rgba(37, 99, 235, 0.05);
}

.option-content:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.option-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--secondary-color);
}

.option-card input:checked + .option-content .option-icon {
    background: var(--secondary-color);
    color: var(--bg-white);
}

.option-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.option-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.option-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.btn-back {
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reservation Footer */
.reservation-footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 1.5rem 0;
    text-align: center;
}

.reservation-footer a {
    color: var(--accent-light);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .reservation-main {
        padding: 100px 0 2rem;
    }
    
    .progress-bar {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .progress-line {
        width: 30px;
        margin: 0 0.5rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
    
    .reservation-form {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-step h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .progress-line {
        display: none;
    }
    
    .progress-bar {
        justify-content: space-between;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicle-card img {
        height: 140px;
    }
}
