/* Booking System Styles */
.booking-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
}

.booking-header {
    text-align: center;
    margin-bottom: 60px;
}

.booking-header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.booking-header p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

.booking-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Booking Steps */
.booking-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.booking-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.booking-step h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

/* Package Selection */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.package-card {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b35;
}

.package-card:hover::before {
    opacity: 0.1;
}

.package-card.selected {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

.package-card.selected::before {
    opacity: 0.2;
}

.package-card h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.package-price {
    font-size: 2rem;
    font-weight: 800;
    color: #ff6b35;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-card li {
    color: #cccccc;
    padding: 5px 0;
    font-size: 0.9rem;
}

.package-card li::before {
    content: '✓';
    color: #ff6b35;
    font-weight: bold;
    margin-right: 8px;
}

/* Calendar Styles */
.date-selector {
    max-width: 500px;
    margin: 0 auto 40px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.calendar-header h4 {
    font-family: 'Orbitron', monospace;
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
}

.calendar-nav {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid #ff6b35;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: #ff6b35;
    transform: scale(1.1);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.calendar-day.header {
    color: #ff6b35;
    font-weight: 700;
    cursor: default;
    font-size: 0.9rem;
}

.calendar-day.available {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.calendar-day.available:hover {
    background: #ff6b35;
    transform: scale(1.1);
}

.calendar-day.selected {
    background: #ff6b35;
    color: #ffffff;
    transform: scale(1.1);
}

.calendar-day.unavailable {
    color: #666666;
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-day.today {
    border: 2px solid #ff6b35;
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.time-slot {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    font-weight: 500;
}

.time-slot:hover {
    border-color: #ff6b35;
    transform: translateY(-2px);
}

.time-slot.selected {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.2);
}

.time-slot.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    color: #666666;
}

.time-slot.unavailable:hover {
    border-color: transparent;
    transform: none;
}

/* Form Styles */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Booking Summary */
.booking-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-summary h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
}

.summary-item.total {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #ff6b35;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

/* Confirmation */
.confirmation-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0 auto 30px;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.confirmation-content h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
}

.confirmation-content p {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.confirmation-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    text-align: left;
}

.confirmation-details h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
}

.confirmation-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Loading States */
.loading {
    text-align: center;
    color: #cccccc;
    font-style: italic;
    padding: 40px;
}

/* Service Requirements */
.service-requirements {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-requirements h4 {
    color: #ff6b35;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
    text-align: center;
    font-size: 1.3rem;
}

.requirement-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.requirement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    color: #ffffff;
}

.requirement-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #ff6b35;
    margin: 0;
}

.requirement-text {
    flex: 1;
}

.requirement-text strong {
    color: #ffffff;
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.requirement-text small {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Referral System */
.referral-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.referral-section h4 {
    color: #ff6b35;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
    text-align: center;
    font-size: 1.3rem;
}

.referral-info {
    margin-bottom: 20px;
}

.referral-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.referral-icon {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.referral-text {
    color: #ffffff;
}

.referral-text strong {
    color: #ff6b35;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.referral-text small {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Distance Fee Notice */
.distance-fee-notice {
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid #ff6b35;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
}

.distance-fee-notice strong {
    color: #ff6b35;
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.distance-fee-notice small {
    color: #ffffff;
    font-size: 0.9rem;
}

/* Enhanced Form Styling */
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .booking-header h1 {
        font-size: 2rem;
    }
    
    .package-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .calendar-grid {
        gap: 3px;
        padding: 15px;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .booking-header h1 {
        font-size: 1.5rem;
    }
    
    .booking-step h3 {
        font-size: 1.4rem;
    }
    
    .package-card {
        padding: 20px;
    }
    
    .calendar-day {
        font-size: 0.9rem;
    }
}
