/**
 * Aress Slider - Temel CSS Stilleri
 * Web sitesinde kullanım için basit ve etkili stiller
 */

/* Container */
.aress-slider {
    position: relative;
    width: 100%;
/*    height: 600px;*/
    overflow: hidden;
    background: #000;
}

.aress-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slides */
.aress-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aress-slide.active {
    opacity: 1;
    visibility: visible;
    /*z-index: 2;*/
}

/* Overlay */
.aress-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 100%) !important;
    /*z-index: 1;*/
}

/* Content */
.aress-slide-content {
    position: relative;
    /*z-index: 2;*/
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 20px;
}

/* Title */
.aress-slide-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.active .aress-slide-title[data-animation="fadeInDown"] {
    animation: fadeInDown 1s ease-out;
}

/* Subtitle */
.aress-slide-subtitle {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.active .aress-slide-subtitle[data-animation="fadeInUp"] {
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Description */
.aress-slide-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.active .aress-slide-description[data-animation="fadeIn"] {
    animation: fadeIn 1s ease-out 0.4s both;
}

/* Button */
.aress-slide-button {
    display: inline-block;
    padding: 15px 40px;
    background: #ff6b6b;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.active .aress-slide-button[data-animation="fadeInUp"] {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.aress-slide-button:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    color: #fff;
}

/* Navigation */
.aress-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 1);
    border: none;
    color: #939393;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.aress-slider-nav:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.aress-slider-prev {
    left: 30px;
}

.aress-slider-next {
    right: 30px;
}

/* Pagination */
.aress-slider-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.aress-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.aress-slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.aress-slider-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .aress-slide-title {
        font-size: 48px;
    }
    
    .aress-slide-subtitle {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .aress-slider {
        height: 500px;
    }
    
    .aress-slide-title {
        font-size: 40px;
    }
    
    .aress-slide-subtitle {
        font-size: 24px;
    }
    
    .aress-slide-description {
        font-size: 16px;
    }
    
    .aress-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .aress-slider-prev {
        left: 20px;
    }
    
    .aress-slider-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .aress-slider {
        height: 400px;
    }
    
    .aress-slide-content {
        padding: 15px;
    }
    
    .aress-slide-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .aress-slide-subtitle {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .aress-slide-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .aress-slide-button {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .aress-slider-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .aress-slider-prev {
        left: 10px;
    }
    
    .aress-slider-next {
        right: 10px;
    }
    
    .aress-slider-pagination {
        bottom: 20px;
    }
    
    .aress-slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .aress-slider-dot.active {
        width: 25px;
    }
}

@media (max-width: 576px) {
    .aress-slider {
        height: 300px;
    }
    
    .aress-slide-title {
        font-size: 24px;
    }
    
    .aress-slide-subtitle {
        font-size: 16px;
    }
    
    .aress-slide-description {
        display: none; /* Mobilde açıklama gizlenir */
    }
    
    .aress-slide-button {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/* Dark Theme */
.aress-slider.dark-theme .aress-slide-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
}

/* Light Theme */
.aress-slider.light-theme .aress-slide-overlay {
    background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.5) 100%);
}

.aress-slider.light-theme .aress-slide-content {
    color: #333;
}

.aress-slider.light-theme .aress-slide-title,
.aress-slider.light-theme .aress-slide-subtitle,
.aress-slider.light-theme .aress-slide-description {
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

/* Yükleme animasyonu */
.aress-slider-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 18px;
}

/* Kompakt boyut */
.aress-slider.compact {
    height: 400px;
}

.aress-slider.compact .aress-slide-title {
    font-size: 36px;
}

.aress-slider.compact .aress-slide-subtitle {
    font-size: 24px;
}

/* Full screen */
.aress-slider.fullscreen {
    height: 100vh;
}
