/* Hero Slider Styles */
.splide__slide {
    background-image: url('../images/hero-ship.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    height: 70vh;
    min-height: 500px;
}

.hero-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 36, 77, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    color: white;
}

/* Splide Navigation Styles */
.splide__arrow {
    background: rgba(255, 255, 255, 0.3) !important;
    width: 44px !important;
    height: 44px !important;
    transition: all 0.3s ease;
}

.splide__arrow:hover {
    background: rgba(255, 255, 255, 0.5) !important;
}

.splide__arrow svg {
    fill: white !important;
}

.splide__pagination__page {
    background: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease;
}

.splide__pagination__page.is-active {
    background: white !important;
}

/* Service Section Customization */
.service-section {
    position: relative;
    overflow: hidden;
}

.service-section::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('/themes/king-oceana-theme/assets/images/world-map.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.service-card-main,
.service-card-secondary {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-card-main:hover,
.service-card-secondary:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Stats Section Background */
#stats-section {
    background-image: url('/themes/king-oceana-theme/assets/images/general-supplier.jpg');
}

/* Mobile Navigation Styles */
@media (max-width: 1024px) {
    #mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 50;
        padding: 1rem;
    }

    #mobile-menu.flex {
        display: flex !important;
    }
}

/* Responsive adjustments for hero section */
@media (max-width: 1024px) {
    .hero-slide-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 2rem;
    }

    .splide__arrow {
        width: 36px !important;
        height: 36px !important;
    }
}

@media (max-width: 768px) {
    .splide__slide {
        height: 60vh;
        min-height: 400px;
    }

    .hero-slide-content {
        padding: 1rem;
    }

    .service-card-main,
    .service-card-secondary {
        margin-bottom: 2rem;
    }

    .splide__arrow {
        width: 32px !important;
        height: 32px !important;
    }
}

@media (max-width: 640px) {
    .service-section::before {
        opacity: 0.05;
    }

    .service-card-main img,
    .service-card-secondary img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .splide__slide {
        height: 50vh;
        min-height: 350px;
    }

    .hero-slide-content {
        padding: 0.5rem;
    }

    .splide__arrow {
        width: 28px !important;
        height: 28px !important;
    }

    .service-card-main,
    .service-card-secondary {
        padding: 1rem;
    }

    .service-card-main img,
    .service-card-secondary img {
        height: 120px;
    }
}

/* Additional responsive utilities */
@media (max-width: 375px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-slide-content {
        padding: 0.75rem;
    }
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #FDC100;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .splide__arrow,
    .splide__pagination,
    #mobile-menu-btn {
        display: none !important;
    }

    .hero-slide-content {
        background-color: rgba(10, 36, 77, 0.9) !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
}
