/**
 * ATM Hero Slider - Kusursuz & Kurumsal CSS Mimarisi (Nihai & Orijinal Efekt)
 */

/* ===================================================
   1. SLIDER ALANI: SABİT YÜKSEKLİK (RESİM ASLA TAŞAMAZ)
   =================================================== */
.atm-hero-slider-section {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100vh;
    max-height: 880px;
    min-height: 650px;
    background-color: #151514 !important;
}

.atm-hero-slider-section .atm-hero-main-slider,
.atm-hero-slider-section .atm-swiper-main,
.atm-hero-slider-section .atm-swiper-main > .swiper-wrapper,
.atm-hero-slider-section .atm-swiper-main > .swiper-wrapper > .swiper-slide,
.atm-slide-item {
    height: 100% !important;
}

.atm-slide-inner {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    min-height: unset !important;
    padding-top: 110px !important;
    padding-bottom: 140px !important;
    box-sizing: border-box !important;
}

/* Farklı boyutlardaki resimleri sabitleyen katman */
.atm-slide-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
    overflow: hidden !important;
    background-color: #151514 !important;
}

/* 2. ORİJİNAL DAİRESEL EFEKT (BİREBİR İLK HALİ) */
.atm-slide-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Son hal: resim her zaman görünür; animasyon yalnızca başlangıcı tanımlar */
    clip-path: circle(60.6% at 75% 50%);
}

.atm-hero-slider-section .swiper-slide-active .atm-slide-bg-img {
    animation: atmRevealCircle 1.6s cubic-bezier(0.77, 0, 0.175, 1) both;
}

@keyframes atmRevealCircle {
    from {
        clip-path: circle(20% at 70% 50%);
        transform: translateY(12%);
    }
    to {
        clip-path: circle(60.6% at 75% 50%);
        transform: translateY(0);
    }
}

.atm-bg-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.atm-slider-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg, rgba(12, 13, 30, 0.85) 0%, rgba(12, 13, 30, 0.50) 45%, rgba(12, 13, 30, 0.15) 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* ===================================================
   3. İÇERİK & KURUMSAL ALTIN BUTON
   =================================================== */
.atm-slide-content {
    position: relative !important;
    z-index: 3 !important;
    max-width: 880px !important;
}

/* Masaüstünde boyut/renk temadan (.lw-hero-2-slider-item-content .hero-title/.hero-disc)
   ve Elementor Stil sekmesinden gelir; burada zorlanmaz. */
.atm-slide-content .atm-hero-title {
    color: #FFFFFF;
}

/* Önizleme listesi: temadaki 160px'lik pencerede 3 başlık görünsün */
.atm-preview-wrap {
    min-width: 300px;
}
.atm-preview-wrap .atm-swiper-preview {
    height: 160px;
    overflow: hidden;
}

.atm-hero-btn-wrap {
    margin-top: 26px;
    display: block;
}

/* Not: renk/boyut/boşluk özellikleri bilerek !important içermez; Elementor "Buton Stili" kontrolleri bunları değiştirir. */
.atm-hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px;
    background-color: #c6a266;
    color: #0c0d1e;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 13px 28px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(198, 162, 102, 0.25);
    line-height: 1;
    cursor: pointer;
    border: none;
}

.atm-hero-btn .atm-btn-text {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    display: inline-block;
    line-height: 1.2;
}

.atm-hero-btn .atm-btn-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.3s ease;
}

.atm-hero-btn .atm-btn-icon svg {
    stroke: currentColor;
    display: block;
}

.atm-hero-btn:hover {
    background-color: #FFFFFF;
    color: #0c0d1e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.atm-hero-btn:hover .atm-btn-icon {
    transform: translateX(4px);
}

/* ===================================================
   4. ALT BAR DÜZENİ (HER ZAMAN GÖRÜNÜR YERDE)
   =================================================== */
.atm-bottom-bar-wrap {
    position: absolute !important;
    bottom: 45px !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

.atm-bottom-bar-wrap .container {
    pointer-events: auto !important;
}

.atm-bottom-bar-inner {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 25px !important;
    width: 100% !important;
}

/* Alt çubuğun sol kenarı, içerik/butonla aynı hizada olsun (tema: .lw-hero-2-slider-item-content margin-left) */
.atm-bottom-nav-col { margin-left: -240px; }
@media only screen and (min-width: 1600px) and (max-width: 1799px) {
    .atm-bottom-nav-col { margin-left: -140px; }
}
@media (max-width: 1599px) {
    .atm-bottom-nav-col { margin-left: 0; }
}

.atm-bottom-bar-inner { flex-wrap: nowrap !important; }
.atm-bottom-actions-col { flex-shrink: 0 !important; flex-wrap: nowrap !important; margin-left: auto !important; }
.atm-bottom-nav-col { min-width: 0 !important; flex: 1 1 auto !important; }
.atm-bottom-nav-col {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

.atm-bottom-actions-col {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

/* ===================================================
   5. GEZİNME OKLARI (PREV / NEXT SVG ARROWS)
   =================================================== */
.atm-slider-arrows {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.atm-arrow {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(198, 162, 102, 0.45) !important;
    background: rgba(12, 13, 30, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    padding: 0 !important;
}

.atm-arrow svg {
    stroke: #c6a266 !important;
    transition: stroke 0.3s ease !important;
    display: block !important;
}

.atm-arrow:hover {
    background: #c6a266 !important;
    border-color: #c6a266 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 4px 15px rgba(198, 162, 102, 0.4) !important;
}

.atm-arrow:hover svg {
    stroke: #0c0d1e !important;
}

/* ===================================================
   6. DOLAN KAPSÜL NOKTALAR (PROGRESS CAPSULES)
   =================================================== */
.atm-dots-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 6px 0 !important;
}

.atm-dot {
    position: relative !important;
    width: 10px !important;
    height: 8px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.35) !important;
    cursor: pointer !important;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.atm-dot:hover {
    background: rgba(255, 255, 255, 0.65) !important;
}

.atm-dot.active {
    width: 44px !important;
    background: rgba(255, 255, 255, 0.20) !important;
}

.atm-dot-fill {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 0%;
    background-color: #c6a266 !important;
    border-radius: 6px !important;
}

@keyframes atmDotProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* ===================================================
   7. BİZE ULAŞIN KUTUSU
   =================================================== */
.atm-contact-box {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: rgba(12, 13, 30, 0.75) !important;
    border: 1px solid rgba(198, 162, 102, 0.35) !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.atm-contact-box .atm-contact-icon {
    font-size: 20px !important;
    color: #c6a266 !important;
}

.atm-contact-box .atm-contact-text {
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #FFFFFF !important;
}

.atm-contact-box:hover {
    border-color: #c6a266 !important;
    background: rgba(12, 13, 30, 0.95) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

/* ===================================================
   8. RESPONSIVE DÜZENLEMELER & MOBİL OPTİMİZASYON
   =================================================== */
@media (max-width: 991px) {
    .atm-preview-wrap,
    .lw-hero-2-slider-preview {
        display: none !important;
    }
    .atm-hero-slider-section {
        height: 640px;
        min-height: 600px;
        max-height: none;
    }
    .atm-slide-inner {
        height: 100% !important;
        min-height: 0 !important;
        padding-top: 100px !important;
        padding-bottom: 120px !important;
    }
    .atm-hero-title {
        font-size: 42px !important;
    }
    .atm-hero-desc {
        font-size: 16px !important;
    }
    .atm-hide-tablet {
        display: none !important;
    }
    .atm-bottom-bar-wrap {
        bottom: 25px !important;
    }
}

@media (max-width: 767px) {
    .atm-hero-slider-section {
        height: 560px;
        min-height: 540px;
        padding-bottom: 0 !important; /* tema .lw-hero-2-area mobil padding'i siyah şerit yapıyordu */
        padding-top: 0 !important;
    }
    .atm-slide-inner {
        min-height: 0 !important;
        padding-top: 80px !important;
        padding-bottom: 85px !important;
    }
    .atm-slide-content {
        margin-left: 0 !important;
    }
    .atm-hero-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }
    .atm-hero-desc {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
        max-width: 100% !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .atm-hero-btn-wrap {
        margin-top: 14px;
    }
    .atm-hero-btn {
        padding: 10px 18px;
        font-size: 13px;
        gap: 8px;
    }

    /* Mobilde alt bar: Sol tarafta dotlar, sağ tarafta oklar */
    .atm-bottom-bar-wrap {
        bottom: 18px !important;
    }
    .atm-bottom-bar-inner {
        align-items: center !important;
        justify-content: space-between !important;
        gap: 15px !important;
    }
    .atm-arrow {
        width: 38px !important;
        height: 38px !important;
    }
    .atm-arrow svg {
        width: 15px !important;
        height: 15px !important;
    }
    .atm-hide-mobile {
        display: none !important;
    }
    .atm-show-mobile-only {
        display: inline-flex !important;
    }
}

@media (min-width: 768px) {
    .atm-show-mobile-only {
        display: none !important;
    }
}

/* ===================================================
   9. ELEMENTOR DÜZENLEME EKRANI
   =================================================== */
.elementor-editor-active .atm-hero-slider-section,
.elementor-editor-active .atm-slide-inner {
    overflow: visible !important;
}

.elementor-editor-active .atm-hero-title,
.elementor-editor-active .atm-hero-desc {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.elementor-editor-active .atm-slide-bg-img {
    animation: none !important;
    transform: none !important;
    clip-path: circle(60.6% at 75% 50%) !important;
}

/* ===================================================
   10. BUTON TASARIM SEÇENEKLERİ (Elementor: Stil > Slayt Butonu > Buton Tasarımı)
   Sınıflar widget kapsayıcısına eklenir: atm-btnstyle-{değer} / -tablet- / -mobile-
   =================================================== */
.atm-btnstyle-solid .atm-hero-btn { background-color:#c6a266; color:#0c0d1e; border:0; backdrop-filter:none; box-shadow:0 4px 15px rgba(198,162,102,.25); }
.atm-btnstyle-solid .atm-hero-btn:hover { background-color:#fff; color:#0c0d1e; }
.atm-btnstyle-glass .atm-hero-btn { background-color:rgba(12,13,30,.35); color:#fff; border:1px solid rgba(198,162,102,.65); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); box-shadow:none; }
.atm-btnstyle-glass .atm-hero-btn:hover { background-color:rgba(198,162,102,.92); color:#0c0d1e; }
.atm-btnstyle-outline .atm-hero-btn { background-color:transparent; color:#c6a266; border:1.5px solid #c6a266; backdrop-filter:none; box-shadow:none; }
.atm-btnstyle-outline .atm-hero-btn:hover { background-color:#c6a266; color:#0c0d1e; }
.atm-btnstyle-text .atm-hero-btn { background-color:transparent; color:#fff; border:0; backdrop-filter:none; box-shadow:none; padding-left:0; padding-right:0; }
.atm-btnstyle-text .atm-hero-btn:hover { background-color:transparent; color:#c6a266; transform:none; box-shadow:none; }
@media (max-width: 1024px) {
    .atm-btnstyle-tablet-solid .atm-hero-btn { background-color:#c6a266; color:#0c0d1e; border:0; backdrop-filter:none; box-shadow:0 4px 15px rgba(198,162,102,.25); }
    .atm-btnstyle-tablet-solid .atm-hero-btn:hover { background-color:#fff; color:#0c0d1e; }
    .atm-btnstyle-tablet-glass .atm-hero-btn { background-color:rgba(12,13,30,.35); color:#fff; border:1px solid rgba(198,162,102,.65); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); box-shadow:none; }
    .atm-btnstyle-tablet-glass .atm-hero-btn:hover { background-color:rgba(198,162,102,.92); color:#0c0d1e; }
    .atm-btnstyle-tablet-outline .atm-hero-btn { background-color:transparent; color:#c6a266; border:1.5px solid #c6a266; backdrop-filter:none; box-shadow:none; }
    .atm-btnstyle-tablet-outline .atm-hero-btn:hover { background-color:#c6a266; color:#0c0d1e; }
    .atm-btnstyle-tablet-text .atm-hero-btn { background-color:transparent; color:#fff; border:0; backdrop-filter:none; box-shadow:none; padding-left:0; padding-right:0; }
    .atm-btnstyle-tablet-text .atm-hero-btn:hover { background-color:transparent; color:#c6a266; transform:none; box-shadow:none; }
}
@media (max-width: 767px) {
    .atm-btnstyle-mobile-solid .atm-hero-btn { background-color:#c6a266; color:#0c0d1e; border:0; backdrop-filter:none; box-shadow:0 4px 15px rgba(198,162,102,.25); }
    .atm-btnstyle-mobile-solid .atm-hero-btn:hover { background-color:#fff; color:#0c0d1e; }
    .atm-btnstyle-mobile-glass .atm-hero-btn { background-color:rgba(12,13,30,.35); color:#fff; border:1px solid rgba(198,162,102,.65); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); box-shadow:none; }
    .atm-btnstyle-mobile-glass .atm-hero-btn:hover { background-color:rgba(198,162,102,.92); color:#0c0d1e; }
    .atm-btnstyle-mobile-outline .atm-hero-btn { background-color:transparent; color:#c6a266; border:1.5px solid #c6a266; backdrop-filter:none; box-shadow:none; }
    .atm-btnstyle-mobile-outline .atm-hero-btn:hover { background-color:#c6a266; color:#0c0d1e; }
    .atm-btnstyle-mobile-text .atm-hero-btn { background-color:transparent; color:#fff; border:0; backdrop-filter:none; box-shadow:none; padding-left:0; padding-right:0; }
    .atm-btnstyle-mobile-text .atm-hero-btn:hover { background-color:transparent; color:#c6a266; transform:none; box-shadow:none; }
}
