/* WP AeroQuote Plugin Styles */

/* Font Awesome icon fallbacks and enhancements */
.wp-aeroquote-form i,
.wp-aeroquote-quote-form i,
#wp-aeroquote-quote-form i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome", sans-serif !important;
    font-weight: 900;
    font-style: normal;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure icons are visible */
.fas, .far, .fab {
    font-family: "Font Awesome 6 Free" !important;
}

.fas {
    font-weight: 900 !important;
}

.far {
    font-weight: 400 !important;
}

.fab {
    font-weight: 400 !important;
    font-family: "Font Awesome 6 Brands" !important;
}

/* Icon content mappings for better compatibility */
.fa-plane-departure::before { content: "\f5b0"; }
.fa-plane-arrival::before { content: "\f5af"; }
.fa-calendar-plus::before { content: "\f271"; }
.fa-calendar-check::before { content: "\f274"; }
.fa-calendar-alt::before { content: "\f073"; }
.fa-users::before { content: "\f0c0"; }
.fa-route::before { content: "\f4d7"; }
.fa-arrow-right::before { content: "\f061"; }
.fa-exchange-alt::before { content: "\f362"; }
.fa-search::before { content: "\f002"; }
.fa-user::before { content: "\f007"; }
.fa-user-circle::before { content: "\f2bd"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-phone::before { content: "\f095"; }
.fa-building::before { content: "\f1ad"; }
.fa-clock::before { content: "\f017"; }
.fa-dollar-sign::before { content: "\f155"; }
.fa-star::before { content: "\f005"; }
.fa-comment-dots::before { content: "\f4ad"; }
.fa-utensils::before { content: "\f2e7"; }
.fa-car::before { content: "\f1b9"; }
.fa-wifi::before { content: "\f1eb"; }
.fa-paw::before { content: "\f1b0"; }
.fa-paper-plane::before { content: "\f1d8"; }
.fa-arrow-left::before { content: "\f060"; }

/* Fallback icons if Font Awesome fails to load */
@supports not (font-family: "Font Awesome 6 Free") {
    .fa-plane-departure::before { content: "✈"; }
    .fa-plane-arrival::before { content: "🛬"; }
    .fa-calendar-plus::before { content: "📅"; }
    .fa-calendar-check::before { content: "📅"; }
    .fa-calendar-alt::before { content: "📅"; }
    .fa-users::before { content: "👥"; }
    .fa-route::before { content: "🛣"; }
    .fa-arrow-right::before { content: "→"; }
    .fa-exchange-alt::before { content: "⇄"; }
    .fa-search::before { content: "🔍"; }
    .fa-user::before { content: "👤"; }
    .fa-user-circle::before { content: "👤"; }
    .fa-envelope::before { content: "✉"; }
    .fa-phone::before { content: "📞"; }
    .fa-building::before { content: "🏢"; }
    .fa-clock::before { content: "🕐"; }
    .fa-dollar-sign::before { content: "$"; }
    .fa-star::before { content: "⭐"; }
    .fa-comment-dots::before { content: "💬"; }
    .fa-utensils::before { content: "🍽"; }
    .fa-car::before { content: "🚗"; }
    .fa-wifi::before { content: "📶"; }
    .fa-paw::before { content: "🐾"; }
    .fa-paper-plane::before { content: "📧"; }
    .fa-arrow-left::before { content: "←"; }
}

.wp-aeroquote-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff; /* Default, will be overridden by dynamic CSS */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wp-aeroquote-title {
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

/* Form Styles */
.wp-aeroquote-form {
    margin-bottom: 30px;
}

.wp-aeroquote-form .form-label {
    font-weight: 600;
    color: #34495e; /* Default, will be overridden by dynamic CSS */
    margin-bottom: 8px;
}

.wp-aeroquote-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #ffffff; /* Default, will be overridden by dynamic CSS */
    color: #495057; /* Default, will be overridden by dynamic CSS */
}

.wp-aeroquote-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Enhanced Floating Labels */
.wp-aeroquote-form .form-floating {
    position: relative;
}

.wp-aeroquote-form .form-floating > .form-control,
.wp-aeroquote-form .form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
    padding: 1rem 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.wp-aeroquote-form .form-floating > .form-control:focus,
.wp-aeroquote-form .form-floating > .form-select:focus,
.wp-aeroquote-form .form-floating > .form-control:not(:placeholder-shown),
.wp-aeroquote-form .form-floating > .form-select:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.wp-aeroquote-form .form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
    color: #6c757d;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.wp-aeroquote-form .form-floating > .form-control:focus ~ label,
.wp-aeroquote-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.wp-aeroquote-form .form-floating > .form-select:focus ~ label,
.wp-aeroquote-form .form-floating > .form-select:not([value=""]) ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    color: #007bff;
    font-weight: 600;
}

/* Icon styling in floating labels */
.wp-aeroquote-form .form-floating > label i {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.wp-aeroquote-form .form-floating > .form-control:focus ~ label i,
.wp-aeroquote-form .form-floating > .form-control:not(:placeholder-shown) ~ label i,
.wp-aeroquote-form .form-floating > .form-select:focus ~ label i,
.wp-aeroquote-form .form-floating > .form-select:not([value=""]) ~ label i {
    opacity: 1;
    color: #007bff;
}

/* Enhanced textarea floating labels */
.wp-aeroquote-form .form-floating > textarea.form-control {
    height: auto;
    min-height: calc(3.5rem + 2px);
}

.wp-aeroquote-form .form-floating > textarea.form-control:focus,
.wp-aeroquote-form .form-floating > textarea.form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

/* Card headers with icons */
.card-header h6 i {
    color: #007bff;
    opacity: 0.8;
}

.card-header h6 {
    margin-top: 0;
}

/* Form check enhancements */
.wp-aeroquote-form .form-check-label {
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wp-aeroquote-form .form-check-label i {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.wp-aeroquote-form .form-check-input:checked + .form-check-label {
    color: #007bff;
    font-weight: 600;
}

.wp-aeroquote-form .form-check-input:checked + .form-check-label i {
    opacity: 1;
    color: #007bff;
}

/* Button enhancements with icons */
.wp-aeroquote-form .btn {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.wp-aeroquote-form .btn i {
    opacity: 0.9;
}

.wp-aeroquote-form .btn:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Trip type toggle buttons */
.wp-aeroquote-form .btn-group .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wp-aeroquote-form .btn-group .btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.wp-aeroquote-form .btn-group .btn:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.wp-aeroquote-form .btn-check:checked + .btn {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Airport Autocomplete Styles */
.airport-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.airport-suggestions.show {
    display: block;
}

.airport-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s ease;
}

.airport-suggestion:hover,
.airport-suggestion.active {
    background-color: #f8f9fa;
}

.airport-suggestion:last-child {
    border-bottom: none;
}

.airport-suggestion .airport-name {
    font-weight: 600;
    color: #2c3e50;
}

.airport-suggestion .airport-details {
    font-size: 14px;
    color: #6c757d;
    margin-top: 2px;
}

/* Submit Button */
.wp-aeroquote-form button[type="submit"] {
    background: #007bff; /* Default, will be overridden by dynamic CSS */
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wp-aeroquote-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.wp-aeroquote-form button[type="submit"]:active {
    transform: translateY(0);
}

/* Loading States */
.wp-aeroquote-loading {
    padding: 60px 20px;
}

.wp-aeroquote-loading .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Results Section */
.wp-aeroquote-results-section {
    margin-top: 40px;
}

/* Quote Form Section */
.wp-aeroquote-quote-section {
    margin-top: 40px;
}

.wp-aeroquote-quote-form {
    margin: 0;
}

.wp-aeroquote-quote-form .form-check {
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.wp-aeroquote-quote-form .form-check:hover {
    border-color: #007bff;
    background: #e3f2fd;
}

.aircraft-summary .card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.trip-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #007bff;
}

.quote-success-container {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 12px;
    padding: 60px 40px;
    border: 2px solid #b8daff;
}

.success-icon {
    animation: successPulse 1.5s ease-in-out;
}

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

#back-to-aircraft {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#back-to-aircraft:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    transform: translateX(-5px);
}

.aircraft-results {
    margin-top: 20px;
}

.aircraft-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.aircraft-card:hover {
    border-color: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
}

.aircraft-card .card-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.25rem;
}

.aircraft-card .text-primary {
    color: #007bff !important;
    font-weight: 700;
}

.aircraft-description .description-content {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6c757d;
}

.aircraft-description .description-content p {
    margin-bottom: 0.5rem;
}

.aircraft-description .description-content p:last-child {
    margin-bottom: 0;
}

/* Pricing display styles */
.aircraft-card .pricing-range {
    font-size: 1.1rem;
    font-weight: 700;
    color: #007bff;
}

.aircraft-card .request-quote {
    font-size: 1rem;
    font-weight: 600;
    color: #28a745;
    font-style: italic;
}

/* Admin settings disabled state */
.setting-group.disabled {
    opacity: 0.6;
}

.setting-group.disabled label {
    color: #999 !important;
}

.setting-group.disabled input:disabled,
.setting-group.disabled select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.aircraft-specs {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.spec-item {
    text-align: center;
    padding: 8px 0;
}

.spec-item small {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.spec-item strong {
    font-size: 16px;
    color: #2c3e50;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.amenities-list .badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
}

.btn-select-aircraft {
    background: #28a745; /* Default, will be overridden by dynamic CSS */
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

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

#back-to-form {
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#back-to-form:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wp-aeroquote-container {
        padding: 15px;
        margin: 10px;
    }
    
    .aircraft-specs .row {
        gap: 10px;
    }
    
    .spec-item {
        padding: 6px 0;
    }
    
    .btn-select-aircraft {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .wp-aeroquote-form button[type="submit"] {
        font-size: 16px;
        padding: 12px 24px;
    }
    
    /* Mobile floating label adjustments */
    .wp-aeroquote-form .form-floating > .form-control,
    .wp-aeroquote-form .form-floating > .form-select {
        height: calc(3rem + 2px);
        font-size: 16px;
    }
    
    .wp-aeroquote-form .form-floating > label {
        padding: 0.75rem 0.75rem;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .aircraft-card {
        margin-bottom: 20px;
    }
    
    .spec-item strong {
        font-size: 14px;
    }
    
    .aircraft-card .h4 {
        font-size: 1.2rem;
    }
    
    .wp-aeroquote-form .btn-group {
        flex-direction: column;
    }
    
    .wp-aeroquote-form .btn-group .btn {
        border-radius: 8px !important;
        margin-bottom: 0.5rem;
    }
    
    .wp-aeroquote-form .btn-group .btn:last-child {
        margin-bottom: 0;
    }
}

/* Animation for transitions */
.wp-aeroquote-form-section,
.wp-aeroquote-results-section {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Focus animations for form elements */
.wp-aeroquote-form .form-floating > .form-control:focus,
.wp-aeroquote-form .form-floating > .form-select:focus {
    animation: focusPulse 0.6s ease-in-out;
}

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

/* Icon animations */
.wp-aeroquote-form .btn:hover i,
.wp-aeroquote-form .form-check-input:checked + .form-check-label i {
    animation: iconBounce 0.6s ease-in-out;
}

@keyframes iconBounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-2px) scale(1.1);
    }
    80% {
        transform: translateY(-1px) scale(1.05);
    }
}

/* Alert styles */
.aircraft-results .alert {
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-left: 4px solid #0dcaf0;
}

/* Badge styles */
.badge.bg-secondary {
    background-color: #6c757d !important;
    color: white;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.badge.bg-light {
    background-color: #f8f9fa !important;
    color: #495057 !important;
    border: 1px solid #dee2e6;
}

/* Loading spinner in button */
.btn .spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Aircraft Image Carousel Styles */
.aircraft-image-carousel {
    position: relative;
    border-radius: 0.375rem;
    overflow: hidden;
    width: 100%;
    height: 200px;
}

.aircraft-image-carousel .carousel-inner {
    border-radius: 0.375rem;
    width: 100%;
    height: 100%;
}

.aircraft-image-carousel .carousel-item {
    width: 100%;
    height: 100%;
}

.aircraft-image-carousel .carousel-item img {
    border-radius: 0.375rem;
    transition: transform 0.6s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aircraft-image-carousel:hover .carousel-item img {
    transform: scale(1.05);
}

/* Carousel controls styling */
.aircraft-image-carousel .carousel-control-prev,
.aircraft-image-carousel .carousel-control-next {
    width: 15%;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.aircraft-image-carousel:hover .carousel-control-prev,
.aircraft-image-carousel:hover .carousel-control-next {
    opacity: 1;
}

.aircraft-image-carousel .carousel-control-prev-icon,
.aircraft-image-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100%, 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.aircraft-image-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.aircraft-image-carousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.95);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Carousel indicators styling */
.aircraft-image-carousel .carousel-indicators {
    bottom: 10px;
    margin-bottom: 0;
}

.aircraft-image-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 3px;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.aircraft-image-carousel .carousel-indicators [data-bs-target].active {
    background-color: #ffffff;
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.aircraft-image-carousel .carousel-indicators [data-bs-target]:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

/* Aircraft Summary Carousel (smaller, compact version) */
.aircraft-summary-carousel {
    position: relative;
    border-radius: 0.375rem;
    overflow: hidden;
    width: 100%;
    height: 80px;
}

.aircraft-summary-carousel .carousel-inner {
    border-radius: 0.375rem;
    width: 100%;
    height: 100%;
}

.aircraft-summary-carousel .carousel-item {
    width: 100%;
    height: 100%;
}

.aircraft-summary-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aircraft-summary-carousel .carousel-control-prev,
.aircraft-summary-carousel .carousel-control-next {
    width: 20%;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.aircraft-summary-carousel:hover .carousel-control-prev,
.aircraft-summary-carousel:hover .carousel-control-next {
    opacity: 1;
}

.aircraft-summary-carousel .carousel-control-prev-icon,
.aircraft-summary-carousel .carousel-control-next-icon {
    width: 12px;
    height: 12px;
    background-size: 100%, 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive carousel adjustments */
@media (max-width: 768px) {
    .aircraft-image-carousel .carousel-control-prev,
    .aircraft-image-carousel .carousel-control-next {
        width: 20%;
        opacity: 0.8;
    }
    
    .aircraft-image-carousel .carousel-control-prev-icon,
    .aircraft-image-carousel .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
    
    .aircraft-image-carousel .carousel-indicators [data-bs-target] {
        width: 6px;
        height: 6px;
        margin: 0 2px;
    }
}

@media (max-width: 576px) {
    .aircraft-image-carousel .carousel-indicators {
        bottom: 5px;
    }
    
    .aircraft-image-carousel .carousel-indicators [data-bs-target] {
        width: 5px;
        height: 5px;
        margin: 0 1px;
    }
    
    .aircraft-summary-carousel .carousel-control-prev-icon,
    .aircraft-summary-carousel .carousel-control-next-icon {
        width: 10px;
        height: 10px;
    }
}

/* Smooth carousel transitions */
.aircraft-image-carousel .carousel-item,
.aircraft-summary-carousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Image loading states for carousel */
.aircraft-image-carousel .carousel-item img,
.aircraft-summary-carousel .carousel-item img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.aircraft-image-carousel .carousel-item img.loaded,
.aircraft-summary-carousel .carousel-item img.loaded {
    opacity: 1;
}

/* Hover effects for entire carousel container */
.aircraft-image-carousel:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.aircraft-summary-carousel:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}