/* Premium Full Width Slider Style */
.ych-slider {
    position: relative;
    width: var(--ych-slider-width, 100%);
    max-width: var(--ych-slider-max-width, 100%);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    margin-bottom: 0;
}

.ych-slider-inner {
    position: relative;
    width: 100%;
    height: var(--ych-slider-height-desktop, 480px);
    cursor: grab;
}

.ych-slider-inner:active {
    cursor: grabbing;
}

.ych-slider-slide {
    display: none;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: opacity 0.5s ease-in-out;
}

a.ych-slider-slide {
    text-decoration: none;
    cursor: pointer;
}

/* Flexbox to center text vertically and align left */
.ych-slide-overlay-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
    z-index: 10;
    text-align: left;
}

/* Slide Typography */
.ych-slide-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: #212529;
    margin: 0 0 10px 0;
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.ych-slide-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #495057;
    margin: 0 0 30px 0;
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
}

/* Call to Action Button */
.ych-slide-button {
    display: inline-block;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 700;
    color: #333e48 !important;
    background-color: #fed700;
    border-radius: 30px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(254, 215, 0, 0.2);
    border: none;
    cursor: pointer;
}

.ych-slide-button:hover {
    background-color: #e5c100;
    color: #333e48 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 215, 0, 0.35);
}

/* Slider Navigation (Dots) */
.ych-slider-nav {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 12;
}

.ych-slider-nav .ych-nav-item {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.ych-slider-nav .ych-nav-item:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.2);
}

/* Pill shape active indicator matching theme style */
.ych-slider-nav .ych-nav-item.active {
    width: 28px;
    height: 8px;
    border-radius: 4px;
    background: #fed700;
}

/* Arrow Navigation */
.ych-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 12;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.85);
    color: #333e48;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    opacity: 0; /* Hidden by default, shown on hover */
}

.ych-slider:hover .ych-arrow {
    opacity: 1;
}

.ych-arrow:hover {
    background: #fed700;
    color: #333e48;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 15px rgba(254, 215, 0, 0.3);
}

.ych-arrow-left {
    left: 20px;
}

.ych-arrow-right {
    right: 20px;
}

/* Responsive Scaling */
@media (max-width: 992px) {
    .ych-slider-inner {
        height: var(--ych-slider-height-tablet, 380px);
    }
    .ych-slide-title {
        font-size: 38px;
    }
    .ych-slide-subtitle {
        font-size: 18px;
        margin-bottom: 20px;
    }
    .ych-slide-overlay-content {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .ych-slider-inner {
        height: var(--ych-slider-height-mobile, 300px);
    }
    .ych-slide-title {
        font-size: 28px;
    }
    .ych-slide-subtitle {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .ych-slide-overlay-content {
        width: 85%;
        left: 5%;
    }
    .ych-slide-button {
        padding: 10px 24px;
        font-size: 13px;
    }
    .ych-arrow {
        display: none; /* Hide arrows on mobile */
    }
}
