/*
 * Plugin Name: Elementor Booking Steps
 * Description: Styles for the custom Elementor Booking Steps widget.
 */

/* Main Container for the entire widget */
.elementor-booking-steps-container {
    
    padding: 40px 20px; /* Matches body padding from design */
    box-sizing: border-box;
}

/* Main Title Styling */
.main-title {
    text-align: center;
    font-size: 2.5rem; 
    font-weight: bold; 
    color: white; 
    margin-bottom: 60px; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.3); 
}

/* Steps Container */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
    gap: 30px; 
    flex-wrap: wrap;
}

/* Step Card Link Wrapper */
.step-card-link {
    flex: 1;
    min-width: 300px; 
    text-decoration: none; 
    color: inherit; 
    display: flex; 
    position: relative; 
}

/* Step Card Styling */
.step-card {
    flex: 1; 
    background: white; 
    border-radius: 20px; 
    padding: 40px 30px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
    text-align: center;
    position: relative; 
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-sizing: border-box;
    width: 100%;
}

/* Step Card Hover Effects */
.step-card-link:hover .step-card {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: #1c609d;
}

/* Step Number Styling */
.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px; 
    height: 50px; 
    background: #1c609d;    
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem; 
    font-weight: bold; 
    color: white; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
    z-index: 2; 
}

/* Step Icon Styling */
.step-icon {
    font-size: 4rem; 
    margin: 30px 0 20px 0; 
    color: #000000; 
}

.step-icon i,
.step-icon svg {
    display: block; 
    margin: 0 auto; 
}

/* Step Title Styling */
.step-title {
    font-size: 1.5rem; 
    font-weight: bold; 
    color: #333; 
    margin-bottom: 20px; 
    line-height: 1.3; 
}

/* Step Description Styling */
.step-description {
    color: #666; 
    font-size: 1.1rem; 
    line-height: 1.6; 
}

/* Connecting Line Styling */
.connecting-line {
    position: absolute;
    top: 50%;
    right: -15px; 
    width: 30px; 
    height: 3px; 
    background: 000000;
    z-index: 1;
    transform: translateY(-50%); 
}

/* Hide connecting line for the last step */

.step-card-link:last-child .connecting-line {
    display: none;
}

/* Layout Adjustments based on Elementor's prefix_class */
.elementor-booking-steps-layout-vertical .steps-container {
    flex-direction: column;
    align-items: center; 
}
.ct-trip{       
    background: #f1f1f1;
    margin-top: -34px;
    padding: 5em 0;
}
.trip-enquiry-form-container {
    margin-top: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.form-description {
    background-color: #f7fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.6;
}

.form-description p {
    margin: 0;
}

.form-description strong {
    color: #2d3748;
    font-weight: 600;
}

.trip-enquiry-form-container h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    text-align: center;
}
.trip-enquiry-form .form-group {
    margin-bottom: 1.5rem;
}
.trip-enquiry-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
}
.trip-enquiry-form .form-control {
    width: 100%;
    padding: 0.75rem;
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
}
.trip-enquiry-form .form-control:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}
.trip-enquiry-form .submit-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: #000000;
    color: #ffffff;
    font-weight: 600;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.trip-enquiry-form .submit-button:hover {
    background-color: #2d3748;
}
@media (max-width: 1024px) {
    .ct-trip{
        padding: 2em 2em;
    }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column; 
        align-items: center;
    }
    .step-card-link {
        min-width: 100%; 
        max-width: 400px; 
    }
    .connecting-line {
        display: none; 
    }
    .main-title {
        font-size: 2rem; 
    }
    .ct-trip{
        padding: 2em 1.5em;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem; 
    }
    .step-card {
        padding: 30px 20px; 
    }
    .step-title {
        font-size: 1.3rem; 
    }
}
