/* ================================== */
/* BOOKING.CSS - COMPLETE BOOKING PAGE STYLES */
/* assets/css/booking.css */
/* ================================== */

/* Page Hero Enhancement */
.page-hero {
    background: linear-gradient(135deg, #E91E63 0%, #FF6B9D 100%);
    padding: 8rem 0 4rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,80 1000,100 0,100"/></svg>');
    background-size: cover;
    background-position: bottom;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Booking Section */
.booking-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-light) 0%, #fff 100%);
}

.booking-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Service Selection */
.service-selection {
    margin-bottom: 5rem;
    text-align: center;
}

.service-selection h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.service-selection h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-option {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.1);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.05), transparent);
    transition: left 0.6s ease;
}

.service-option:hover::before {
    left: 100%;
}

.service-option:hover,
.service-option.selected {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.2);
}

.service-option.selected {
    background: linear-gradient(135deg, var(--background-light), var(--white));
}

.service-option.selected .option-icon {
    background: var(--gradient);
    transform: scale(1.1);
}

.service-option.selected .option-icon i {
    color: var(--white);
}

.option-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary-color), #FFE4E1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.option-icon i {
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-option h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
}

.service-option p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-light);
}

.option-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--background-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
}

/* Booking Form Container */
.booking-form-container {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.1);
    position: relative;
    overflow: hidden;
}

.booking-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
}

.booking-form h2 {
    margin-bottom: 3rem;
    color: var(--text-dark);
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    position: relative;
}

.booking-form h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Form Sections */
.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
    position: relative;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3::before {
    content: '';
    width: 20px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group label span {
    color: var(--primary-color);
}

/* Form Inputs */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(233, 30, 99, 0.1);
    border-radius: var(--border-radius-small);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
    transform: translateY(-2px);
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #4CAF50;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

/* Select dropdown styling */
.form-group select {
    cursor: pointer;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23E91E63" stroke-width="2"><polyline points="6,9 12,15 18,9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    appearance: none;
}

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    line-height: 1.6;
    font-size: 1rem;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(233, 30, 99, 0.3);
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
    background: var(--white);
}

.checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px;
    height: 8px;
    border: 2px solid var(--white);
    border-top: none;
    border-right: none;
    border-radius: 1px;
    transform-origin: center;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    transform: translate(-50%, -60%) scale(1) rotate(-45deg);
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-color);
    background: rgba(233, 30, 99, 0.05);
}

/* Links in checkbox labels */
.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.checkbox-label a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Submit Button */
.booking-form .btn {
    width: 100%;
    max-width: 400px;
    margin: 3rem auto 0;
    display: block;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
    position: relative;
    overflow: hidden;
}

.booking-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.booking-form .btn:hover::before {
    left: 100%;
}

.booking-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(233, 30, 99, 0.4);
}

.booking-form .btn:active {
    transform: translateY(-1px);
}

.booking-form .btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.05);
}

.field-error {
    color: #f44336;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
    animation: errorShake 0.3s ease;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Next Steps Section */
.next-steps {
    padding: 6rem 0;
    background: var(--background-light);
}

.next-steps .section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.step-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.15);
    border-color: var(--primary-color);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 2rem;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
}

.step-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
}

.step-card p {
    line-height: 1.6;
    color: var(--text-light);
}

/* Progress Indicator */
.form-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.progress-step {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(233, 30, 99, 0.2);
    transition: all 0.3s ease;
}

.progress-step.active {
    background: var(--gradient);
    transform: scale(1.2);
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }

    .booking-section {
        padding: 4rem 0;
    }

    .service-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .service-option {
        padding: 2.5rem 2rem;
    }

    .booking-form-container {
        padding: 3rem 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .next-steps {
        padding: 4rem 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .step-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .booking-form-container {
        padding: 2rem 1.5rem;
    }

    .service-option {
        padding: 2rem 1.5rem;
    }

    .option-icon {
        width: 70px;
        height: 70px;
    }

    .option-icon i {
        font-size: 1.8rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .checkbox-label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
    }
}

/* Print Styles */
@media print {
    .booking-form-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .service-option {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .page-hero {
        background: none !important;
        color: black !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        border-width: 3px;
    }
    
    .checkmark {
        border-width: 3px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .service-option,
    .step-card,
    .form-group input,
    .form-group select,
    .form-group textarea {
        transition: none;
    }
    
    .booking-form .btn:hover {
        transform: none;
    }
}