/* Booking Page Styles */

/* Hero Section */
.booking-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('https://iili.io/3oemyzb.jpg') center/cover no-repeat;
    margin-top: 80px;
    padding: 80px 0;
}

.booking-hero .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 18, 0.7);
}

.booking-hero .section-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.booking-hero .section-badge {
    background: rgba(255, 224, 68, 0.9);
    color: #0d1b12;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.booking-hero .section-title {
    font-size: 3.5rem;
    margin: 0 0 20px;
}

.booking-hero .section-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Booking Process Section */
.booking-process {
    padding: 60px 20px;
    background: #f9f9f9;
}

.process-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    flex: 1;
    min-width: 220px;
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #ffe044;
    color: #0d1b12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 224, 68, 0.2);
    color: #0d1b12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.process-step h3 {
    font-size: 1.3rem;
    margin: 0 0 15px;
    color: #0d1b12;
}

.process-step p {
    color: #555;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Booking Form Section */
.booking-form-section {
    padding: 80px 20px;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.booking-form-wrapper {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 20px;
    position: relative;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 2rem;
    margin: 0 0 10px;
    color: #0d1b12;
}

.form-header p {
    color: #555;
    margin: 0;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.section-heading {
    font-size: 1.3rem;
    margin: 0 0 20px;
    color: #0d1b12;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .booking-container {
        grid-template-columns: 2fr 1fr;
    }
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-input,
.form-select,
.form-textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    color: #333;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #ffe044;
    box-shadow: 0 0 0 3px rgba(255, 224, 68, 0.3);
    outline: none;
}

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

.form-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: #555;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option input {
    width: 18px;
    height: 18px;
}

.radio-option label {
    font-size: 0.9rem;
    color: #555;
}

.terms-container {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.terms-container a {
    color: #0d1b12;
    text-decoration: underline;
}

.terms-container ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.terms-container li {
    margin-bottom: 5px;
}

.terms-checkbox {
    margin-top: 10px;
}

.form-submit {
    background: #ffe044;
    color: #0d1b12;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit:hover {
    background: #0d1b12;
    color: #fff;
}

.form-success {
    position: fixed; /* Changed to fixed positioning */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 100; /* Ensure it's above other content */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-success.active {
    opacity: 1;
    visibility: visible;
    animation: successPulse 0.5s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(0.95); opacity: 0; }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

/* Animated Checkmark */
.success-animation {
    margin-bottom: 30px;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: 0 0 0 #4bb71b;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
    margin: 0 auto;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0 0 0 50px rgba(75, 183, 27, 0.1);
    }
}

/* Success Content Styles */
.success-title {
    font-size: 2.2rem;
    color: #0d1b12;
    margin: 0 0 20px;
    font-weight: 700;
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.3s;
}

.success-message {
    font-size: 1.1rem;
    color: #555;
    margin: 0 0 30px;
    line-height: 1.6;
    max-width: 600px;
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.5s;
}

.reference-container {
    background: rgba(255, 224, 68, 0.15);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.7s;
    border: 1px dashed rgba(13, 27, 18, 0.2);
    max-width: 350px; /* Added max-width for better visual containment */
    width: 100%; /* Ensure it takes full width up to max-width */
    box-sizing: border-box; /* Include padding in width calculation */
}

.success-actions {
    display: flex;
    gap: 20px; /* Space between buttons */
    margin-top: 20px; /* Add some space above buttons */
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center; /* Center buttons */
}

.reference-label {
    font-size: 0.9rem;
    color: #777;
    margin: 0 0 5px;
}

.reference-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0d1b12;
    margin: 0 0 5px;
    letter-spacing: 1px;
}

.copy-tooltip {
    position: relative;
    display: inline-block;
}

.copy-btn {
    background: transparent;
    border: none;
    color: #0d1b12;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    color: #ffe044;
}

.tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #0d1b12;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #0d1b12 transparent transparent transparent;
}

.copy-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.primary-action, .secondary-action, .whatsapp-action {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-action {
    background: #ffe044;
    color: #0d1b12;
}

.primary-action:hover {
    background: #f5d530;
    transform: translateY(-3px);
}

.secondary-action {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.secondary-action:hover {
    border-color: #0d1b12;
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
/* Additional styling for success elements */
.success-icon i {
    font-size: 2.5rem;
    color: #4bb71b;
}

.form-success h3 {
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: #0d1b12;
}

.form-success p {
    color: #555;
    margin: 0 0 20px;
}

.reference-number {
    background: #f9f9f9;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 600;
}

.reference-number span {
    color: #0d1b12;
}

.back-btn {
    background: #ffe044;
    color: #0d1b12;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.back-btn:hover {
    background: #0d1b12;
    color: #fff;
}

/* Booking Sidebar */
.booking-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.sidebar-section h3 {
    font-size: 1.3rem;
    margin: 0 0 20px;
    color: #0d1b12;
    border-bottom: 2px solid #ffe044;
    padding-bottom: 10px;
}

.tour-summary {
    background: linear-gradient(to bottom right, #f9f9f9, #fff);
}

.empty-selection {
    color: #888;
    font-style: italic;
    text-align: center;
    margin: 20px 0;
}

.tour-details {
    margin-top: 20px;
}

.tour-details h4 {
    font-size: 1.1rem;
    margin: 0 0 10px;
    color: #0d1b12;
}

.tour-details p {
    color: #555;
    margin: 0 0 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-details p i {
    color: #ffe044;
    width: 20px;
}

.tour-price {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}

.price-label {
    font-size: 0.9rem;
    color: #555;
    margin: 0 0 5px;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d1b12;
    margin: 0;
}

.price-note {
    font-size: 0.8rem;
    color: #888;
    margin: 5px 0 0;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #555;
    font-size: 0.9rem;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefits-list li i {
    color: #28a745;
}

.testimonial {
    background: linear-gradient(to bottom right, #f5f5f5, #fff);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(255, 224, 68, 0.3);
    font-size: 2rem;
}

.quote-text {
    color: #555;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 20px;
    padding-top: 20px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #0d1b12;
    margin: 0;
}

.author-location {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

.help-phone,
.help-email {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0d1b12;
    text-decoration: none;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.help-phone:hover,
.help-email:hover {
    color: #ffe044;
}

.help-phone i,
.help-email i {
    color: #ffe044;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.reviews-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-section .section-header h2 {
    font-size: 2.5rem;
    color: #0d1b12;
    margin: 0 0 15px;
}

.reviews-section .section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.reviews-container {
    position: relative;
    padding: 20px 0;
}

.reviews-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 0;
}

.review-card {
    min-width: calc(33.333% - 20px);
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.review-rating {
    display: flex;
    margin-bottom: 15px;
    color: #f39c12;
}

.review-rating i {
    margin-right: 3px;
}

.review-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffe044;
}

.review-author div {
    flex: 1;
}

.review-author h4 {
    font-size: 1rem;
    color: #333;
    margin: 0 0 5px;
}

.review-author p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}

.reviews-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.review-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0d1b12;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-arrow:hover {
    background: #ffe044;
    color: #0d1b12;
}

.write-review-container {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.write-review-container h3 {
    font-size: 1.5rem;
    color: #0d1b12;
    margin: 0 0 15px;
}

.write-review-container p {
    font-size: 1rem;
    color: #666;
    margin: 0 0 25px;
}

.write-review-btn {
    background: #0d1b12;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.write-review-btn:hover {
    background: #ffe044;
    color: #0d1b12;
    transform: translateY(-3px);
}

.write-review-btn::after {
    content: '\f304';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* Review Modal */
.review-form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.review-form-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.review-form-content {
    background: #fff;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.close-review-form {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #777;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-review-form:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}

.review-form-content h3 {
    color: #0d1b12;
    margin: 0 0 25px;
    font-size: 1.5rem;
    text-align: center;
}

.review-form .form-group {
    margin-bottom: 20px;
}

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

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
    border-color: #0d1b12;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 27, 18, 0.1);
}

.rating-select {
    display: flex;
    gap: 10px;
    font-size: 1.5rem;
    color: #ccc;
}

.rating-select i {
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-select i:hover,
.rating-select i.active {
    color: #f39c12;
}

.submit-review-btn {
    background: #0d1b12;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.submit-review-btn:hover {
    background: #ffe044;
    color: #0d1b12;
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .booking-container {
        grid-template-columns: 1fr;
    }
    
    .booking-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .booking-hero .section-title {
        font-size: 2.5rem;
    }
    
    .process-container {
        flex-direction: column;
        max-width: 400px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .booking-form-wrapper {
        padding: 30px 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .booking-hero .section-title {
        font-size: 2rem;
    }
}
