/* SLIDER DİNAMİK STİLLERİ */
.slider-section {
    background-color: <?php echo $slider_bg; ?> !important;
    margin-top: 0 !important;
}

/* Başlık ve Alt Başlık */
.slider-title {
    color: #000000 !important;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
}

.slider-subtitle {
    color: #000000 !important;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

/* Slider Button */
.slider-button {
    background-color: #ffffff !important;
    color: #000000 !important;
    display: inline-block;
    padding: 0.5rem 1.25rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 2px solid #000000;
}

.slider-button:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Slider Controls (Sağ Sol Oklar) */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 0.5rem;
    z-index: 10;
    pointer-events: auto;
}

.slider-controls button {
    background-color: rgba(255,255,255,0.8);
    color: #000000 !important;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slider-controls button:hover {
    background-color: rgba(0,0,0,0.8);
    color: #fff !important;
    transform: scale(1.1);
}

/* Slider Indicators - Resim içinde alt orta */
.slider-indicators {
    position: absolute;
    bottom: 5%; /* resim alanı içinde alt orta */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 10;
    pointer-events: auto;
}

/* Noktalar */
.indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #ffffff !important;
    border: 1px solid #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.indicator.active {
    background-color: #000000 !important;
    opacity: 1;
    transform: scale(1.2);
}

/* Hero Section (Slider yoksa) */
.hero-section {
    background: linear-gradient(135deg, <?php echo $slider_button; ?> 0%, <?php echo $features_icon2; ?> 100%) !important;
}

.hero-section h1 { color: <?php echo $newsletter_text; ?> !important; }
.hero-section p { color: <?php echo $newsletter_text; ?> !important; }
.hero-section a:first-child { background-color: <?php echo $newsletter_text; ?> !important; color: <?php echo $slider_button; ?> !important; }
.hero-section a:first-child:hover { background-color: <?php echo $newsletter_text; ?> !important; opacity: 0.9; transform: translateY(-2px); }
.hero-section a:last-child { border-color: <?php echo $newsletter_text; ?> !important; color: <?php echo $newsletter_text; ?> !important; }
.hero-section a:last-child:hover { background-color: <?php echo $newsletter_text; ?> !important; color: <?php echo $slider_button; ?> !important; }

/* Mobilde slider margin düzeltmesi */
.slider-section { margin-top: 0 !important; }

/* SLIDER TEMEL STİLLERİ - TAŞMA YOK */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 0 !important;
    max-width: 100vw;
}

/* Slider Slide */
.slider-slide {
    display: none;
    width: 100%;
    height: auto;
    position: relative;
}

.slider-slide.active { display: block; }

/* Slider Image */
.slider-image {
    width: 100%;
    height: auto;
    object-fit: contain; /* Kırpma yok, tüm resim görünür */
    object-position: center;
    display: block;
    max-height: 90vh;
}

/* Slider Content */
.slider-content-container {
    position: absolute;
    bottom: 10%; /* Alt orta */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    max-width: 90%;
    z-index: 2;
}

/* ===== SLIDER RESPONSIVE AYARLAR ===== */
@media (max-width: 1024px) {
    .slider-title { font-size: 1.5rem; }
    .slider-subtitle { font-size: 0.9rem; }
    .slider-button { padding: 0.4rem 1rem; font-size: 0.85rem; }
    .slider-controls button { padding: 0.7rem; font-size: 1.2rem; }
}

@media (max-width: 768px) {
    .slider-title { font-size: 1.25rem; }
    .slider-subtitle { font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .slider-title { font-size: 1rem; }
    .slider-subtitle { font-size: 0.7rem; }
    .slider-button { padding: 0.3rem 0.8rem; font-size: 0.75rem; }
}

/* Erişilebilirlik için */
@media (prefers-reduced-motion: reduce) {
    .slider-content-container,
    .slider-controls button,
    .slider-indicators,
    .slider-button {
        transition: none;
    }
}

/* Touch optimizasyonu */
.slider-controls button,
.slider-indicators { touch-action: manipulation; }
