/* Marinex homepage hero slider redesign. Extracted from anasayfa.blade.php inline <style>. */

#homeslider, .sliderheight {
    overflow: visible !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

/* Slide caption: title / explain / CTA button, brand-consistent with the quote widget below */
.slidercontent {
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 4;
}

.marinex-slide-caption {
    max-width: 720px;
    margin: 0 auto 28px;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(15, 52, 80, 0.55);
}

.marinex-slide-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.marinex-slide-explain {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    opacity: 0.95;
}

@media (max-width: 767.98px) {
    .marinex-slide-title {
        font-size: 22px;
        margin-bottom: 8px;
    }
    .marinex-slide-explain {
        font-size: 13px;
    }
}

/* Dot navigation, brand palette */
.dotsalld {
    z-index: 5;
    position: relative;
    margin-top: -34px;
    padding-bottom: 6px;
}
.dotbnt {
    background-color: rgba(255, 255, 255, 0.55);
}
.dotbnt:hover,
.dotbnt.dotactive {
    background-color: #00772d;
}

/* Handoff into the DSV-style quote widget directly beneath the slider */
.marinex-hero-widget-container {
    margin-top: -46px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}
@media (max-width: 991.98px) {
    .marinex-hero-widget-container {
        margin-top: 15px;
        padding-left: 12px;
        padding-right: 12px;
    }
}
.marinex-hero-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(15, 52, 80, 0.12);
    box-shadow: 0 20px 50px rgba(15, 52, 80, 0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.marinex-card-header {
    background: #0f3450;
    color: #ffffff;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}
.marinex-card-body {
    padding: 22px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.marinex-btn-navy {
    background: #0f3450 !important;
    color: #ffffff !important;
    border: none !important;
    height: 48px;
    padding: 0 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.marinex-btn-navy:hover {
    background: #00772d !important;
    box-shadow: 0 6px 18px rgba(0, 119, 45, 0.3);
    transform: translateY(-1px);
}
.marinex-btn-cyan {
    background: transparent !important;
    color: #00a1e4 !important;
    border: 1.5px solid #00a1e4 !important;
    height: 44px;
    padding: 0 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.marinex-btn-cyan:hover {
    background: #00a1e4 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 161, 228, 0.3);
}

/* Mobile Hero - Flat Marinex Design */
.marinex-mobile-hero {
    background: #0f3450;
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: 0 4px 20px rgba(15, 52, 80, 0.25);
}
.marinex-mobile-hero-heading {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: center;
}
.marinex-mobile-mode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.marinex-mobile-mode-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 4px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 2px solid transparent;
}
.marinex-mobile-mode-item:active {
    border-color: #00772d;
    transform: scale(0.95);
}
.marinex-mobile-mode-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.marinex-mobile-mode-item span {
    font-size: 9px;
    font-weight: 700;
    color: #0f3450;
    text-align: center;
    line-height: 1.2;
}
.marinex-mobile-hero-cta {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    background: #00772d;
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.marinex-mobile-hero-cta:active {
    opacity: 0.9;
    transform: scale(0.98);
}
.marinex-mobile-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.marinex-mobile-action-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}
.marinex-mobile-action-link.track {
    background: #ffffff;
    border: 1.5px solid #00a1e4;
    color: #00a1e4;
}
.marinex-mobile-action-link.login {
    background: #ffffff;
    border: 1.5px solid #0f3450;
    color: #0f3450;
}
.marinex-mobile-info-card {
    background: #ffffff;
    border: 1px solid rgba(15, 52, 80, 0.12);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 12px;
    box-shadow: 0 4px 15px rgba(15, 52, 80, 0.06);
}
