/* EdenFleet Frontend Styles */
.edenfleet-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.edenfleet-slider {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

/* Basic swiper wrapper */
.edenfleet-slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

/* All slides should be visible initially, Swiper will handle visibility */
.edenfleet-slider .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
}

/* Fallback: Show first slide if JavaScript fails */
.edenfleet-slider .swiper-slide:first-child {
    display: flex;
}

.edenfleet-slider .swiper-slide:not(:first-child) {
    display: none;
}

/* When Swiper is initialized, it will override these styles */
.edenfleet-slider.swiper-initialized .swiper-slide {
    display: flex;
}

/* Let Swiper handle slide visibility - don't force hide slides */
.edenfleet-slider .swiper-slide-active {
    z-index: 2;
}

/* Fade effect specific styles */
.edenfleet-slider.swiper-fade .swiper-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Cube effect specific styles */
.edenfleet-slider.swiper-cube {
    overflow: visible;
}

.edenfleet-slider.swiper-cube .swiper-wrapper {
    perspective: 1200px;
}

/* Prevent content bleeding */
.edenfleet-slider .fleet-slide {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

/* ===== STYLE 1: CLASSIC OVERLAY (Default) ===== */
.edenfleet-style1 .fleet-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    padding: 0 50px;
}

.edenfleet-style1 .fleet-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    pointer-events: none;
}

.edenfleet-style1 .fleet-image {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: 1;
    overflow: visible;
}

.edenfleet-style1 .fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center right;
    transform: scale(1.3);
    max-width: none;
    max-height: none;
}

.edenfleet-style1 .fleet-content {
    position: relative;
    z-index: 10;
    text-align: left;
    padding: 40px 30px;
    background: rgb(181 181 181 / 6%);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    max-width: 450px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== STYLE 2: SPLIT LAYOUT ===== */
.edenfleet-style2 .fleet-slide {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    overflow: visible;
}

.edenfleet-style2 .fleet-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
}

.edenfleet-style2 .fleet-split-container {
    display: flex;
    height: 100%;
    align-items: center;
    position: relative;
    z-index: 3;
}

.edenfleet-style2 .fleet-image-section {
    flex: 1;
    height: 120%;
    position: relative;
    overflow: visible;
}

.edenfleet-style2 .fleet-image {
    width: 120%;
    height: 120%;
    position: absolute;
    top: -10%;
    left: -10%;
}

.edenfleet-style2 .fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1.2);
    max-width: none;
    max-height: none;
}

.edenfleet-style2 .fleet-content-section {
    flex: 1;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
}

.edenfleet-style2 .fleet-content {
    width: 100%;
    text-align: left;
    background: transparent;
    padding: 0;
    backdrop-filter: none;
}

.edenfleet-style2 .fleet-title {
    color: #2c3e50 !important;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.edenfleet-style2 .fleet-description {
    color: #34495e !important;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.edenfleet-style2 .fleet-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.edenfleet-style2 .fleet-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.edenfleet-style2 .fleet-detail-icon {
    font-size: 24px !important;
    color: #ffffff !important;
}

.edenfleet-style2 .fleet-detail-text {
    display: flex;
    flex-direction: column;
}

.edenfleet-style2 .fleet-detail-title {
    font-size: 14px !important;
    opacity: 0.9;
    margin-bottom: 5px;
    color: #ffffff !important;
}

.edenfleet-style2 .fleet-detail-value {
    font-size: 18px !important;
    font-weight: 700;
    color: #ffcc00 !important;
}

.edenfleet-style2 .fleet-button {
    background: linear-gradient(45deg, #667eea, #764ba2) !important;
    color: #ffffff !important;
}

/* ===== STYLE 3: CARD DESIGN ===== */
.edenfleet-style3 .fleet-slide {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.edenfleet-style3 .fleet-card-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.edenfleet-style3 .fleet-image {
    position: relative;
    height: 300px;
    overflow: visible;
}

.edenfleet-style3 .fleet-image img {
    width: 120%;
    height: 120%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    transform: scale(1.2);
    position: absolute;
    top: -10%;
    left: -10%;
    max-width: none;
    max-height: none;
}

.edenfleet-style3 .fleet-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.edenfleet-style3 .fleet-card-content {
    padding: 40px;
    text-align: center;
}

.edenfleet-style3 .fleet-title {
    color: #2c3e50 !important;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.edenfleet-style3 .fleet-description {
    color: #7f8c8d !important;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.edenfleet-style3 .fleet-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.edenfleet-style3 .fleet-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    color: white;
    min-width: 120px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.edenfleet-style3 .fleet-detail-item:hover {
    transform: translateY(-5px);
}

.edenfleet-style3 .fleet-detail-icon {
    font-size: 28px !important;
    margin-bottom: 10px;
    color: #ffcc00 !important;
}

.edenfleet-style3 .fleet-detail-content {
    text-align: center;
}

.edenfleet-style3 .fleet-detail-value {
    font-size: 24px !important;
    font-weight: 700;
    color: #ffffff !important;
    display: block;
    margin-bottom: 5px;
}

.edenfleet-style3 .fleet-detail-title {
    font-size: 12px !important;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;
}

.edenfleet-style3 .fleet-button {
    background: linear-gradient(45deg, #4facfe, #00f2fe) !important;
    color: #ffffff !important;
}

/* ===== STYLE 4: MINIMAL CLEAN ===== */
.edenfleet-style4 .fleet-slide {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 0;
    overflow: visible;
}

.edenfleet-style4 .fleet-minimal-container {
    display: flex;
    height: 100%;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
}

.edenfleet-style4 .fleet-minimal-content {
    flex: 1;
    padding: 60px 50px;
    order: 1;
    position: relative;
    z-index: 3;
}

.edenfleet-style4 .fleet-image {
    flex: 1;
    height: 120%;
    order: 2;
    position: relative;
    overflow: visible;
}

.edenfleet-style4 .fleet-image img {
    width: 120%;
    height: 120%;
    object-fit: contain;
    object-position: center;
    transform: scale(1.2);
    position: absolute;
    top: -10%;
    left: -10%;
    max-width: none;
    max-height: none;
}

.edenfleet-style4 .fleet-title {
    color: #2c3e50 !important;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.2;
}

.edenfleet-style4 .fleet-description {
    color: #7f8c8d !important;
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 300;
}

.edenfleet-style4 .fleet-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 40px 0;
}

.edenfleet-style4 .fleet-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.edenfleet-style4 .fleet-detail-icon {
    font-size: 20px !important;
    color: #e74c3c !important;
    min-width: 30px;
}

.edenfleet-style4 .fleet-detail-title {
    color: #2c3e50 !important;
    font-size: 16px;
    font-weight: 400;
    flex: 1;
}

.edenfleet-style4 .fleet-detail-value {
    color: #e74c3c !important;
    font-size: 18px;
    font-weight: 600;
}

.edenfleet-style4 .fleet-button {
    background: linear-gradient(45deg, #24df86, #61ce70) !important;
    color: #ffffff !important;
}

/* ===== COMMON STYLES FOR ALL DESIGNS ===== */
.fleet-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 0.8s ease-out;
    line-height: 1.2;
    z-index: 15;
    position: relative;
}

.fleet-description {
    font-size: 1.1rem;
    color: #ffffff !important;
    margin: 0 0 25px 0;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
    z-index: 15;
    position: relative;
}

.fleet-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(45deg, #24df86, #61ce70);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    animation: fadeInUp 0.8s ease-out 0.6s both;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 15;
    position: relative;
}

.fleet-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.5);
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
    color: #ffffff !important;
    text-decoration: none;
}

.button-icon {
    font-size: 18px;
}

/* Default fleet details for Style 1 */
.edenfleet-style1 .fleet-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
    margin: 25px 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.edenfleet-style1 .fleet-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 18px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.edenfleet-style1 .fleet-detail-item:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.edenfleet-style1 .fleet-detail-icon {
    color: #ffcc00 !important;
    font-size: 18px;
    min-width: 20px;
    text-align: center;
}

.edenfleet-style1 .fleet-detail-title {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 14px;
}

.edenfleet-style1 .fleet-detail-separator {
    color: #cccccc !important;
    font-weight: 300;
}

.edenfleet-style1 .fleet-detail-value {
    color: #ffcc00 !important;
    font-weight: 700;
    font-size: 16px;
}

/* Swiper Navigation Styles */
.edenfleet-slider .swiper-button-next,
.edenfleet-slider .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.edenfleet-slider .swiper-button-next:hover,
.edenfleet-slider .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.edenfleet-slider .swiper-button-next:after,
.edenfleet-slider .swiper-button-prev:after {
    font-size: 20px;
    font-weight: 700;
}

/* Swiper Pagination Styles */
.edenfleet-slider .swiper-pagination {
    bottom: 20px;
}

.edenfleet-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.edenfleet-slider .swiper-pagination-bullet-active {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.fleet-slide[data-animation="fade"] .fleet-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.fleet-slide[data-animation="slide"] .fleet-content > * {
    animation: slideInLeft 0.8s ease-out;
}

.fleet-slide[data-animation="zoom"] .fleet-content > * {
    animation: zoomIn 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .edenfleet-slider {
        height: 450px;
    }
    
    /* Style 1 Responsive */
    .edenfleet-style1 .fleet-content {
        padding: 30px 15px;
        max-width: 500px;
    }
    
    /* Style 2 Responsive */
    .edenfleet-style2 .fleet-content-section {
        padding: 40px 30px;
    }
    
    .edenfleet-style2 .fleet-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Style 3 Responsive */
    .edenfleet-style3 .fleet-card-content {
        padding: 30px;
    }
    
    .edenfleet-style3 .fleet-image {
        height: 250px;
    }
    
    /* Style 4 Responsive */
    .edenfleet-style4 .fleet-minimal-content {
        padding: 40px 30px;
    }
    
    .fleet-title {
        font-size: 2rem;
    }
    
    .fleet-details {
        gap: 15px;
    }
    
    .fleet-detail-item {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .edenfleet-slider {
        height: 400px;
    }
    
    /* Style 1 Mobile */
    .edenfleet-style1 .fleet-slide {
        padding: 0 20px;
        justify-content: center;
    }
    
    .edenfleet-style1 .fleet-content {
        padding: 25px 20px;
        max-width: 90%;
        text-align: center;
    }
    
    .edenfleet-style1 .fleet-image img {
        object-position: center;
        transform: scale(1.1);
    }
    
    /* Style 2 Mobile */
    .edenfleet-style2 .fleet-split-container {
        flex-direction: column;
    }
    
    .edenfleet-style2 .fleet-image-section {
        height: 200px;
    }
    
    .edenfleet-style2 .fleet-content-section {
        padding: 30px 20px;
    }
    
    /* Style 3 Mobile */
    .edenfleet-style3 .fleet-slide {
        padding: 20px;
    }
    
    .edenfleet-style3 .fleet-card-content {
        padding: 25px 20px;
    }
    
    .edenfleet-style3 .fleet-image {
        height: 200px;
    }
    
    .edenfleet-style3 .fleet-details {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .edenfleet-style3 .fleet-detail-item {
        min-width: 100px;
        padding: 15px;
    }
    
    /* Style 4 Mobile */
    .edenfleet-style4 .fleet-minimal-container {
        flex-direction: column-reverse;
    }
    
    .edenfleet-style4 .fleet-image {
        height: 200px;
    }
    
    .edenfleet-style4 .fleet-minimal-content {
        padding: 30px 20px;
    }
    
    .edenfleet-style4 .fleet-title {
        font-size: 2rem;
    }
    
    /* Common Mobile Styles */
    .fleet-title {
        font-size: 2rem !important;
        margin-bottom: 10px;
    }
    
    .fleet-description {
        font-size: 1rem !important;
        margin-bottom: 20px;
    }
    
    .edenfleet-style1 .fleet-details {
        justify-content: center;
        gap: 10px;
    }
    
    .fleet-detail-item {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .fleet-button {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .edenfleet-slider .swiper-button-next,
    .edenfleet-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .edenfleet-slider .swiper-button-next:after,
    .edenfleet-slider .swiper-button-prev:after {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .edenfleet-slider {
        height: 350px;
    }
    
    /* Style 1 Small Mobile */
    .edenfleet-style1 .fleet-content {
        padding: 20px 10px;
    }
    
    /* Style 2 Small Mobile */
    .edenfleet-style2 .fleet-image-section {
        height: 150px;
    }
    
    .edenfleet-style2 .fleet-content-section {
        padding: 20px 15px;
    }
    
    /* Style 3 Small Mobile */
    .edenfleet-style3 .fleet-slide {
        padding: 15px;
    }
    
    .edenfleet-style3 .fleet-card-content {
        padding: 20px 15px;
    }
    
    .edenfleet-style3 .fleet-image {
        height: 150px;
    }
    
    /* Style 4 Small Mobile */
    .edenfleet-style4 .fleet-image {
        height: 150px;
    }
    
    .edenfleet-style4 .fleet-minimal-content {
        padding: 20px 15px;
    }
    
    /* Common Small Mobile Styles */
    .fleet-title {
        font-size: 1.5rem;
    }
    
    .fleet-description {
        font-size: 0.9rem;
    }
    
    .fleet-details {
        margin: 15px 0;
    }
    
    .fleet-detail-item {
        width: 100%;
        justify-content: center;
        max-width: 200px;
    }
    
    .fleet-button {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* RTL Support */
[dir="rtl"] .fleet-details {
    direction: rtl;
}

[dir="rtl"] .fleet-detail-item {
    flex-direction: row-reverse;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .fleet-content {
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid #ffffff;
    }
    
    .fleet-detail-item {
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid #ffffff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .fleet-slide[data-animation] .fleet-content > *,
    .fleet-detail-item,
    .fleet-button {
        animation: none;
        transition: none;
    }
    
    .fleet-detail-item:hover,
    .fleet-button:hover {
        transform: none;
    }
}