﻿/* --SECTION BANNER-- */

.ay-slider-section {
    position: relative;
    width: 100%;
    margin: 20px auto 0 auto;
    overflow: hidden;
    border-radius: 8px;
    /*background-image: url('/umaydin/image/default/background_mmm.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
}

/* Kapsayıcıyı 1200px yapıp ekranın ortasına hizalıyoruz */
.ay-slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 768;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    box-sizing: border-box;
    overflow: hidden;
}

/* YENİ EKLENEN KAPSAYICI: Tüm slider öğelerini aynı grid hücresinde üst üste bindiriyoruz */
.ay-slide-item {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
}


    /* Aktif olan slayt katmanı görünür olur */
    .ay-slide-item.ay-slide-active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

/* İçteki link etiketi */
.ay-slide {
    width: 100%;
    display: block;
    text-decoration: none;
}

/*    .ay-slide img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }*/

.ay-slide-item img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: fill;
}

/* Sol Yan Dikey Noktalar (Wrapper 1200px ortalandığı için noktaları wrapper'a göre veya section'a göre hizalayabilirsin) */
.ay-slider-dots {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.ay-dot {
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.35);
    border: 2px solid #dc3545;
    border-radius: 50%;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

    .ay-dot:hover {
        background-color: rgba(220, 53, 69, 0.4);
        transform: scale(1.15);
    }

    .ay-dot.ay-dot-active {
        background-color: #dc3545;
        border-color: #dc3545;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        box-shadow: 0 0 6px rgba(220, 53, 69, 0.6);
    }

/* Mobil Ekran Özelleştirmesi */
@media (max-width: 768px) {
    .ay-slider-section {
        margin-top: 10px;
        border-radius: 0;
    }

    .ay-slider-wrapper {
        height: auto;
    }

    .ay-slider-dots {
        left: 10px;
        gap: 10px;
    }

    .ay-dot, .ay-dot.ay-dot-active {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
}

/* --/SECTION BANNER-- */


/* --SECTION HAKKIMIZDA-- */

.ay-hkk-section {
    position: relative;
    padding: 60px 0; /* Masaüstünde üstte ve altta 60px boşluk */
    margin-top: 20px; /* Banner ile arasında ekstra nefes payı */
    background-color: #ffffff;
}

    .ay-hkk-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/umaydin/default/background.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        opacity: 0.1;
        z-index: 1;
    }

/* Sayfada içeriği 1200px genişlikte ortalar */
.ay-hkk-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Her iki kenardan 20px güvenli alan */
    box-sizing: border-box;
    background-color: rgba(255,255,255,0.7);
}

/* Başlık Stili (Ortalı) */
.ay-hkk-header h1 {
    color: #dc3545;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    text-align: center;
}

    /* Ortalı Başlık Altındaki Kırmızı Flat Çizgi */
    .ay-hkk-header h1::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background-color: #dc3545;
    }

/* Paragraf Stili (Daha Dar ve Ortalı) */
.ay-hkk-content p {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    color: #444444;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    box-sizing: border-box;
}

.ay-hkk-content h2 {
    text-align: center;
    color: #dc3545;
    font-family: 'Caecilia',sans-serif;
}

/* Mobil Ekran Özelleştirmesi (768px ve altı) */
@media (max-width: 768px) {
    .ay-hkk-section {
        padding: 40px 0; /* Mobilde dikey boşluk 40px */
        margin-top: 15px; /* Mobilde banner ile arasında 15px boşluk */
    }

    .ay-hkk-header h2 {
        font-size: 26px;
    }

    .ay-hkk-content p {
        padding: 0 20px; /* Mobilde kenar yapışmalarını önleyen boşluk */
        font-size: 15px;
        text-align: center;
    }
}

/* --/SECTION HAKKIMIZDA-- */


/* --SECTION ÜRÜNLER-- */

/* ============================================
           ÜRÜN LİSTE BÖLÜMÜ
============================================ */

.ay-urn-section {
    width: 100%;
    padding: 60px 0;
    background-color: #ffffff; /* Soft Gri Zemin */
    box-sizing: border-box;
}

.ay-urn-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.ay-urn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* ========================================================
           GÖRÜNMEZ KAPSAYICI KART (Border, Shadow ve Background Yok)
======================================================== */
.ay-urn-card {
    position: relative;
    background: transparent; /* Arka plan yok */
    border: none; /* Kenarlık yok */
    box-shadow: none; /* Gölge yok */
    padding: 20px 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

/* ========================================================
           İÇERİK STİLLERİ
======================================================== */

/* 1. Ürün Adı ve Kırmızı Alt Çizgi */
.ay-urn-title {
    position: relative;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 20px;
    padding-bottom: 8px;
    z-index: 3;
}

    /* Kırmızı Alt Çizgi (Başlangıçta Sıfır Eninde) */
    .ay-urn-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: #dc3545; /* Kurumsal Kırmızı */
        transition: width 0.35s ease, left 0.35s ease;
    }

/* Kapsayıcı Div Hover Olduğunda: Kırmızı Çizgi Ortadan İki Yana Açılır */
.ay-urn-card:hover .ay-urn-title::after {
    width: 100%;
    left: 0;
}

/* 2. Ürün Resmi (Kesilmeyen ve Büyüyen Resim) */
.ay-urn-image {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    z-index: 3;
}

    .ay-urn-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.35s ease;
        filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.06));
    }

/* Kapsayıcı Div Hover Olduğunda: Resim Hafifçe Büyür */
.ay-urn-card:hover .ay-urn-image img {
    transform: scale(1.08);
}

/* 3. İncele Butonu */
.ay-urn-action {
    width: 100%;
    margin-top: auto;
    z-index: 3;
}

.ay-urn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background-color: #dc3545;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    transition: all 0.3s ease;
}

    .ay-urn-btn span {
        transition: transform 0.2s ease;
    }

/* Kapsayıcı Div Hover Olduğunda: Buton Otomatik Olarak Hover Efektine Geçer */
.ay-urn-card:hover .ay-urn-btn {
    background-color: #bb2d3b;
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.35);
    transform: scale(1.05);
}

    .ay-urn-card:hover .ay-urn-btn span {
        transform: translateX(4px); /* Ok işareti sağa kayar */
    }

/* ========================================================
           RESPONSIVE (DUYARLI) DÜZEN
======================================================== */
@media (max-width: 992px) {
    .ay-urn-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .ay-urn-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ay-urn-title {
        font-size: 18px;
    }
}

/* --/SECTION ÜRÜNLER-- */
