/* Main Booking Styles */
.booking-page-header {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
}

.booking-page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.booking-page-header .container {
    position: relative;
    z-index: 1;
}

.booking-page-header h1 {
    font-size: 3rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.booking-process-container {
    padding: 60px 0;
}

/* Booking Steps */
.booking-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.booking-steps:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #eee;
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 30px;
    position: relative;
    z-index: 1;
}

.step span {
    width: 40px;
    height: 40px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.step p {
    margin: 0;
    color: #999;
    font-size: 14px;
    text-align: center;
}

.step.active span {
    background: #bf9456;
    color: white;
}

.step.active p {
    color: #333;
    font-weight: 500;
}

/* Booking Form Wrapper */
.booking-form-wrapper {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
}

/* Category Selection */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #bf9456;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.category-card h4 {
    margin: 0 0 10px;
    color: #333;
}

.category-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Service Selection */
.service-selection-container {
    margin-top: 30px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #bf9456;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-image {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 15px;
}

.service-content h4 {
    margin: 0 0 10px;
    color: #333;
}

.service-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.service-meta i {
    margin-right: 5px;
    color: #bf9456;
}

/* Booking Form */
.modern-booking-form {
    margin-top: 30px;
}

.selected-service-summary {
    background: #00000;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.selected-service-summary h4 {
    margin: 0 0 5px;
    color: #333;
}

.selected-service-summary p {
    margin: 0;
    display: flex;
    gap: 15px;
    color: #666;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #bf9456;
    outline: none;
}

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

.datepicker {
    background: white url('data:image/svg+xml;utf8,<svg fill="%23bf9456" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"/><path d="M0 0h24v24H0z" fill="none"/></svg>') no-repeat right 10px center;
    background-size: 20px;
    cursor: pointer;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.back-button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 12px 0;
    font-size: 16px;
}

.back-button:hover {
    color: #333;
}

.submit-button {
    background: #bf9456;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    background: #a87d45;
}

.submit-button.loading .button-text {
    visibility: hidden;
}

.submit-button.loading .button-loader {
    display: block;
}

.button-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Form Messages */
.form-message {
    padding: 15px;
    margin-top: 20px;
    border-radius: 6px;
    display: none;
}

.form-message.success {
    background: #e6f7ee;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Loading States */
.loading-spinner {
    border: 4px solid rgba(191, 148, 86, 0.2);
    border-radius: 50%;
    border-top: 4px solid #bf9456;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 30px auto;
}

.service-loading {
    text-align: center;
    padding: 30px;
    display: none;
}

.error-message {
    text-align: center;
    padding: 30px;
    color: #c62828;
}

.retry-button {
    background: #bf9456;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    margin-top: 15px;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .booking-steps {
        flex-wrap: wrap;
    }
    
    .step {
        margin: 0 15px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-form-wrapper {
        padding: 20px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
}
.service-meta span {
    background: #bf9456;
    color: #fff;
    padding: 5px 8px;
    border-radius: 7px;
}
