/* Booking Page Styles - Luxury Gold Tone */
:root {
    --primary-color: #edd5b3;
    --primary-dark: #d4b896;
    --primary-light: #f5e8d8;
    --accent-color: #c9a875;
    --text-dark: #4a4a4a;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: rgba(237, 213, 179, 0.3);
}

.booking-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero {
    text-align: center;
    background: linear-gradient(135deg, #e4f1fe 0%, #8dc6ff 100%);
    color: var(--text-dark);
    padding: 60px 20px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: spin 15s linear infinite;
}

.hero::after {
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: spinReverse 25s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes spinReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Alert Messages */
.alert {
    padding: 18px 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 500;
    animation: slideDown 0.5s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 5px solid #28a745;
    color: #155724;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 5px solid #dc3545;
    color: #721c24;
}

/* Booking Container */
.booking-container {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 50px;
    position: relative;
    border: 1px solid var(--primary-light);
}

/* Steps */
.booking-step {
    display: none;
    animation: fadeInUp 0.6s ease;
}

.booking-step.active {
    display: block;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.booking-step h2 {
    color: var(--text-dark);
    margin-bottom: 35px;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.booking-step h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--primary-light);
    border-radius: 10px;
    font-size: 16px;
    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(237, 213, 179, 0.15);
    background: transparent;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.service-item {
    border: 3px solid var(--primary-light);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px var(--shadow);
}

.service-item.selected {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    box-shadow: 0 10px 30px var(--shadow);
    transform: scale(1.03);
}

.service-item.selected::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    animation: checkmark 0.5s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.service-item > * {
    position: relative;
    z-index: 1;
}

.service-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;
    transition: transform 0.4s ease;
}

.service-item:hover img {
    transform: scale(1.05);
}

.service-item h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 700;
}

.service-item p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-item .price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.service-item .duration {
    color: var(--text-light);
    font-size: 0.9rem;
    background: var(--primary-light);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.staff-item {
    border: 3px solid var(--primary-light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.staff-item::before {
    content: '👩‍💼';
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 120px;
    opacity: 0.05;
    transition: all 0.4s ease;
}

.staff-item:hover::before {
    top: -20px;
    right: -20px;
    opacity: 0.1;
}

.staff-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow);
}

.staff-item.selected {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    box-shadow: 0 10px 30px var(--shadow);
}

.staff-item.selected::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    animation: checkmark 0.5s ease;
}

.staff-item h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.staff-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.staff-contact {
    margin-top: 10px;
    color: var(--accent-color);
    font-weight: 600;
}

/* DateTime Selection */
.datetime-selection {
    max-width: 550px;
    margin: 0 auto;
}

.datetime-selection .form-group {
    margin-bottom: 30px;
}

.time-note {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-top: 8px;
    display: block;
    font-style: italic;
}

/* Booking Summary */
.booking-summary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 35px;
    border: 2px solid var(--primary-color);
}

.summary-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px dashed var(--primary-color);
}

.summary-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-section h3 {
    color: var(--text-dark);
    margin-bottom: 18px;
    font-size: 1.4rem;
    font-weight: 700;
}

.summary-section p {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
}

.summary-section p strong {
    color: var(--accent-color);
    font-weight: 700;
    display: inline-block;
    min-width: 130px;
}

.booking-note {
    background: linear-gradient(135deg, #fff9f0 0%, var(--primary-light) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
}

.booking-note p {
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.booking-note ul {
    margin: 15px 0;
    padding-left: 25px;
}

.booking-note li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Buttons */
.step-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-prev {
    background: #8a8a8a;
    color: white;
    box-shadow: 0 4px 15px rgba(138, 138, 138, 0.3);
}

.btn-prev:hover {
    background: #6a6a6a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 138, 138, 0.4);
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-dark);
    box-shadow: 0 6px 20px var(--shadow);
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px var(--shadow);
}

.btn-submit {
    background: linear-gradient(135deg, #c9a875 0%, #a8864f 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(201, 168, 117, 0.4);
    font-size: 18px;
    padding: 16px 45px;
}

.btn-submit:hover {
    box-shadow: 0 10px 35px rgba(201, 168, 117, 0.5);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loading State */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-page {
        padding: 15px;
    }
    
    .booking-container {
        padding: 30px 20px;
    }
    
    .hero {
        padding: 45px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .booking-step h2 {
        font-size: 1.6rem;
    }
    
    .services-grid,
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
    }

    .summary-section p strong {
        min-width: 100px;
        display: block;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .booking-step h2 {
        font-size: 1.4rem;
    }

    .booking-container {
        padding: 25px 15px;
    }

    .service-item,
    .staff-item {
        padding: 20px;
    }
}