/* ================================================
   Booking Form Professional Styles
   ================================================ */

/* ================================================
   Page Header
   ================================================ */
.page-header {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #2d7d32, #1b5e20);
    color: white;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/booking-bg.jpg') center/cover;
    opacity: 0.2;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 125, 50, 0.8), rgba(27, 94, 32, 0.9));
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* ================================================
   Booking Section
   ================================================ */
.booking-section {
    background: #f8f9fa;
    min-height: 100vh;
}

.booking-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.booking-header {
    padding: 40px 40px 20px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-bottom: 1px solid #e9ecef;
}

.booking-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d7d32;
    margin-bottom: 10px;
}

.booking-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* ================================================
   Progress Bar
   ================================================ */
.progress-container {
    padding: 0 40px;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 30px 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid #e9ecef;
}

.progress-step.active .step-circle {
    background: #2d7d32;
    color: white;
    border-color: #2d7d32;
    transform: scale(1.1);
}

.progress-step.completed .step-circle {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.step-label {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    text-align: center;
}

.progress-step.active .step-label {
    color: #2d7d32;
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #e9ecef;
    margin: 0 20px;
    position: relative;
    top: -20px;
}

.progress-line.completed {
    background: #28a745;
}

/* ================================================
   Complete Form Styles (Single Page)
   ================================================ */
.complete-form {
    padding: 40px;
}

.form-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 4px solid #2d7d32;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d7d32;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.section-title i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.form-section .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.form-section .form-control,
.form-section .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-section .form-control:focus,
.form-section .form-select:focus {
    border-color: #2d7d32;
    box-shadow: 0 0 0 0.2rem rgba(45, 125, 50, 0.15);
}

/* Payment Options Styling */
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.payment-options .form-check {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
}

.payment-options .form-check:hover {
    border-color: #2d7d32;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.payment-options .form-check-input:checked + .form-check-label {
    color: #2d7d32;
    font-weight: 600;
}

.payment-options .form-check-input:checked ~ * {
    border-color: #2d7d32;
}

.payment-options .form-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

.payment-options .form-check-label i {
    font-size: 1.1rem;
}

/* Terms Section */
.terms-section {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    margin-bottom: 30px;
}

.terms-section .form-check {
    background: transparent;
    border: none;
    padding: 5px 0;
    margin: 0;
}

.terms-section .form-check-label {
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
}

/* Submit Button Styling */
.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .complete-form {
        padding: 20px;
    }
    
    .form-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   Payment Options
   ================================================ */
.payment-methods {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #ff9800;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-check {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-check:hover {
    border-color: #2d7d32;
    box-shadow: 0 2px 10px rgba(45, 125, 50, 0.1);
}

.form-check-input:checked + .form-check-label {
    color: #2d7d32;
    font-weight: 600;
}

.form-check-input:checked ~ .form-check {
    border-color: #2d7d32;
    background: rgba(45, 125, 50, 0.05);
}

.form-check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    margin-bottom: 0;
    cursor: pointer;
}

.form-check-label i {
    font-size: 1.2rem;
    width: 20px;
}

/* ================================================
   Booking Summary
   ================================================ */
.booking-summary {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.summary-card {
    padding: 25px;
}

.summary-card h5 {
    color: #2d7d32;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 500;
    color: #495057;
}

.summary-value {
    font-weight: 600;
    color: #2d7d32;
}

/* ================================================
   Form Navigation
   ================================================ */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0 0;
    margin-top: 30px;
    border-top: 2px solid #e9ecef;
}

.form-navigation .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.form-navigation .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #2d7d32, #1b5e20);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
}

.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
}

/* ================================================
   Support Card
   ================================================ */
.support-card {
    background: linear-gradient(135deg, #2d7d32, #1b5e20);
    color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(45, 125, 50, 0.3);
}

.support-card h5 {
    color: white;
    font-weight: 600;
}

.support-card .btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 8px 20px;
}

.btn-outline-primary {
    border-color: white;
    color: white;
}

.btn-outline-primary:hover {
    background: white;
    color: #2d7d32;
}

/* ================================================
   Terms Section
   ================================================ */
.terms-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
}

.terms-section .form-check {
    background: transparent;
    border: none;
    padding: 5px 0;
}

.terms-section .form-check-label {
    font-size: 0.95rem;
    line-height: 1.5;
}

.text-primary {
    color: #2d7d32 !important;
    text-decoration: none;
}

.text-primary:hover {
    text-decoration: underline;
}

/* ================================================
   Loading States
   ================================================ */
.form-loading {
    position: relative;
    overflow: hidden;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 991.98px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .booking-container {
        margin-top: -30px;
        border-radius: 15px;
    }
    
    .booking-header,
    .modern-form {
        padding: 30px 25px;
    }
    
    .progress-container {
        padding: 0 25px;
    }
    
    .progress-bar {
        flex-direction: column;
        gap: 20px;
    }
    
    .progress-line {
        display: none;
    }
    
    .step-circle {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .booking-title {
        font-size: 2rem;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .page-title {
        font-size: 2rem;
    }
    
    .booking-header,
    .modern-form {
        padding: 20px 15px;
    }
    
    .progress-container {
        padding: 0 15px;
    }
    
    .info-section {
        padding: 20px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-navigation .btn {
        width: 100%;
    }
    
    .support-card {
        text-align: center;
    }
    
    .support-card .col-md-4 {
        margin-top: 20px;
    }
}

@media (max-width: 575.98px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .booking-title {
        font-size: 1.8rem;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
    
    .progress-step {
        flex-direction: row;
        gap: 10px;
    }
    
    .step-label {
        margin-top: 0;
        font-size: 0.8rem;
    }
    
    .support-card .btn {
        display: block;
        margin: 5px 0;
    }
}

/* ================================================
   Custom Animations
   ================================================ */
.bounce-in {
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-up {
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   Success States
   ================================================ */
.form-success {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    animation: bounceIn 0.8s ease;
}

.success-title {
    font-size: 2rem;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 15px;
}

.success-message {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
}