/* ==================== BOOKING PAGE STYLES ==================== */

/* Main Booking Container */
.booking-container {
    position: relative;
    min-height: 100vh;
    padding: 120px 2rem 60px;
    z-index: 1;
}

.booking-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.booking-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.booking-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* ==================== STEP CONTAINER ==================== */
.step-container {
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.back-button {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.back-button:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    transform: translateX(-5px);
}

.step-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-light);
}

/* ==================== LOCATION/BARBER GRIDS ==================== */
.selection-grid,
.barber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Location Cards */
.selection-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    cursor: default;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.selection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.selection-card:hover::before {
    opacity: 1;
}

.selection-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.selection-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.selection-card .address,
.selection-card .city {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0;
    position: relative;
    z-index: 1;
}

.select-button {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: none;
    border-radius: 12px;
    color: var(--navy-dark);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
}

.select-button:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ==================== BARBER CARDS ==================== */
.barber-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.barber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.barber-card:hover::before {
    opacity: 1;
}

.barber-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow:
        0 25px 70px rgba(212, 175, 55, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.barber-image-container {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.5), rgba(45, 90, 143, 0.5));
}

.barber-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, rgba(10, 22, 40, 1), transparent);
    z-index: 1;
}

.barber-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.barber-card:hover .barber-photo {
    transform: scale(1.15);
}

.barber-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.barber-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.barber-experience {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.experience-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

.barber-bio {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
}

.barber-specialties {
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.specialties-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.specialty-tag {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-light);
    padding: 0.6rem 1.1rem;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.specialty-tag:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.select-barber-button {
    width: 100%;
    padding: 1.3rem;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: none;
    border-radius: 14px;
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.select-barber-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.select-barber-button:hover::before {
    width: 400px;
    height: 400px;
}

.select-barber-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5);
}

.select-barber-button span {
    position: relative;
    z-index: 1;
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.error-toast,
.success-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(20px);
    border: 1px solid;
    z-index: 10000;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.4s ease;
    font-weight: 500;
}

.error-toast {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.success-toast {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.error-toast.show,
.success-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .booking-container {
        padding: 100px 1rem 40px;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .selection-grid,
    .barber-grid {
        grid-template-columns: 1fr;
    }

    .barber-name {
        font-size: 1.7rem;
    }
}