/* ==========================================================================
   ANASAYFA SEÇİLİ ÜRÜNLER (KATALOG BAZLI SİBER TEMA - FİYATSIZ/YILDIZSIZ)
   ========================================================================== */

/* İZOLE KUTU MODELİ */
.ae-sur-section,
.ae-sur-section *,
.ae-sur-section *::before,
.ae-sur-section *::after {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
}

.ae-sur-section {
    position: relative;
    width: 100%;
    background-color: #f8fafc;
    padding: 70px 0 90px 0;
    overflow: hidden;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   SİBER, SPİRAL VE GEOMETRİK ARKA PLAN KATMANLARI
   -------------------------------------------------------------------------- */

/* 1. Izgara Zemin */
.ae-sur-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(2, 132, 199, 0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(2, 132, 199, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* 2. Kayan Işık Taraması */
.ae-sur-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(56, 189, 248, 0.06) 50%, transparent 100%);
    background-size: 100% 200%;
    animation: ae-sur-scanline 9s linear infinite;
    pointer-events: none;
}

@keyframes ae-sur-scanline {
    0% { background-position: 0 -100%; }
    100% { background-position: 0 100%; }
}

/* 3. Nefes Alan Parlak Işıklar */
.ae-sur-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    animation: ae-sur-glow-pulse 7s ease-in-out infinite alternate;
}

.ae-sur-glow-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
}

.ae-sur-glow-2 {
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.18) 0%, transparent 70%);
    animation-delay: 3.5s;
}

@keyframes ae-sur-glow-pulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
    100% { transform: scale(1.2) translate(30px, -20px); opacity: 1; }
}

/* 4. VEKTÖREL SVG DESENLER (İÇ İÇE HALKALAR & AKIŞKAN ÇİZGİLER) */
.ae-sur-svg-patterns {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.ae-svg-rings {
    position: absolute;
    left: -150px;
    top: -100px;
    width: 750px;
    height: 750px;
    opacity: 0.85;
    animation: ae-sur-svg-spin 50s linear infinite;
}

.ae-svg-waves {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
}

@keyframes ae-sur-svg-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   SAYFA EN SAĞINA YASLI BÜYÜK OK / SLOGAN GÖRSELİ (ok.png)
   -------------------------------------------------------------------------- */
.ae-sur-ok-wrapper {
    position: absolute;
    right: 25px;            /* Masaüstünde en sağa sabitler */
    top: 40px;
    width: 150px;
    max-width: 20vw;
    pointer-events: none;
    z-index: 10;
    transition: all 0.3s ease;
}

.ae-sur-ok-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 25px rgba(2, 132, 199, 0.22));
}

/* --------------------------------------------------------------------------
   ANA KONTEYNER VE DÜZEN
   -------------------------------------------------------------------------- */
.ae-sur-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* --------------------------------------------------------------------------
   ÜST BAŞLIK ALANI
   -------------------------------------------------------------------------- */
.ae-sur-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    position: relative;
}

.ae-sur-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.3);
    color: #0284c7;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    box-shadow: 0 0 15px rgba(2, 132, 199, 0.12);
}

.ae-sur-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
    animation: ae-sur-dot-blink 1.5s infinite alternate;
}

@keyframes ae-sur-dot-blink {
    0% { opacity: 0.4; }
    100% { opacity: 1; transform: scale(1.2); }
}

.ae-sur-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.ae-sur-blue {
    color: #0284c7;
    text-shadow: 0 0 20px rgba(2, 132, 199, 0.2);
}

.ae-sur-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   ÜRÜN KARTLARI IZGARASI (GRID DÜZENİ)
   -------------------------------------------------------------------------- */
.ae-sur-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 45px;
}

/* KATALOG ÜRÜN KARTI */
.ae-sur-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.ae-sur-card:hover {
    transform: translateY(-6px);
    border-color: rgba(2, 132, 199, 0.4);
    box-shadow: 0 16px 35px rgba(2, 132, 199, 0.15), 0 0 15px rgba(0, 240, 255, 0.1);
}

/* GÖRSEL ALANI (DİK FORMAT İÇİN GÜNCELLENDİ) */
.ae-sur-thumb {
    position: relative;
    width: 100%;
    padding-top: 133%; /* 70%'den 133%'e çıkarılarak dik formata getirildi */
    background: #f1f5f9;
    overflow: hidden;
}

.ae-sur-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Görseli kırpmadan alana tamamen sığdırır */
    transition: transform 0.5s ease;
}

.ae-sur-card:hover .ae-sur-thumb img {
    transform: scale(1.08);
}

/* HIZLI AKSİYON BUTONLARI */
.ae-sur-quick-actions {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 6;
}

.ae-sur-card:hover .ae-sur-quick-actions {
    opacity: 1;
}

.ae-sur-quick-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.25s ease;
}

.ae-sur-quick-btn:hover {
    background: #0284c7;
    color: #ffffff;
    transform: scale(1.1);
}

.ae-sur-quick-btn.ae-wa-btn:hover {
    background: #25d366;
    color: #ffffff;
}

/* KATALOG KART İÇERİK GOVDESİ */
.ae-sur-body {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ae-sur-cat {
    font-size: 0.65rem;
    font-weight: 800;
    color: #0284c7;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.ae-sur-name {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.ae-sur-name a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ae-sur-name a:hover {
    color: #0284c7;
}

/* DİKEY FORMATI DESTEKLEMEK İÇİN SATIR SAYISI GÜNCELLENDİ */
.ae-sur-desc {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 2'den 3'e çıkarılarak kart boyuna destek verildi */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* DETAYLI İNCELE / AKSİYON SATIRI */
.ae-sur-action-row {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ae-sur-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #0284c7;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.06);
    border: 1px solid rgba(2, 132, 199, 0.18);
    transition: all 0.25s ease;
}

.ae-sur-card:hover .ae-sur-detail-link,
.ae-sur-detail-link:hover {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.ae-sur-detail-link i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.ae-sur-detail-link:hover i {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   ALT KATALOG BUTONU
   -------------------------------------------------------------------------- */
.ae-sur-action {
    display: flex;
    justify-content: center;
    width: 100%;
}

.ae-sur-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 38px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ae-sur-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(2, 132, 199, 0.45);
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    color: #ffffff;
}

.ae-sur-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.ae-sur-btn:hover i {
    transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE UYUMLULUK & MOBİLDE GÖRSELİ GİZLEME
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {
    .ae-sur-ok-wrapper {
        width: 220px;
        right: 15px;
    }
}

/* TABLET VE MOBİL EKRANLARDA SLOGAN/OK GÖRSELİNİ GİZLE */
@media (max-width: 1100px) {
    .ae-sur-ok-wrapper {
        display: none !important; /* Mobil ve dar ekranlarda tamamen kaldırır */
    }

    .ae-sur-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .ae-sur-section {
        padding: 50px 0 70px 0;
    }

    .ae-sur-title {
        font-size: 1.75rem;
    }

    /* MOBİLDE YAN YANA İKİ ÜRÜN IZGARASI */
    .ae-sur-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .ae-sur-body {
        padding: 12px 10px;
    }

    .ae-sur-name {
        font-size: 0.82rem;
        margin-bottom: 4px;
    }

    .ae-sur-desc {
        display: none;
    }

    .ae-sur-action-row {
        padding-top: 8px;
    }

    .ae-sur-detail-link {
        width: 100%;
        justify-content: center;
        padding: 6px 8px;
        font-size: 0.75rem;
    }

    .ae-sur-btn {
        padding: 12px 24px;
        font-size: 0.82rem;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .ae-sur-container {
        padding: 0 12px;
    }

    .ae-sur-grid {
        gap: 8px !important;
    }

    .ae-sur-body {
        padding: 10px 8px;
    }
}