﻿/* Ana Section */
.ay-tss-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    margin-bottom: 50px;
}

/* ------------------------------------
           ÜST MENÜ ALANI (BANNER ÜSTÜ SAĞDA)
        ------------------------------------ */
.ay-tss-top-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
    padding: 0;
}

.ay-tss-menu-wrapper {
    position: relative;
    z-index: 10;
}

/* Main Menu Trigger Link */
.ay-tss-menu-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: normal;
    color: #0f172a;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

    /* Ana Başlık Altı Kırmızı Çizgi */
    .ay-tss-menu-trigger::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: #ef4444;
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

.ay-tss-menu-wrapper:hover .ay-tss-menu-trigger::after {
    transform: scaleX(1);
}

.ay-tss-menu-trigger .ay-tss-arrow-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.ay-tss-menu-wrapper:hover .ay-tss-arrow-icon {
    transform: rotate(180deg);
}

/* Dropdown Menü Kutusu */
.ay-tss-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    width: 230px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    z-index: 20;
}

.ay-tss-menu-wrapper:hover .ay-tss-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Öğeleri (Alt Menü) */
.ay-tss-dropdown-item {
    position: relative;
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: normal;
    color: #334155;
    text-decoration: none;
    overflow: hidden;
    background-color: #ffffff;
    transition: color 0.25s ease, padding-left 0.25s ease, background-color 0.25s ease;
}

    .ay-tss-dropdown-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background-color: #ef4444;
        transform: translateX(-100%);
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .ay-tss-dropdown-item:hover {
        color: #ef4444;
        background-color: #f8fafc;
        padding-left: 20px;
    }

        .ay-tss-dropdown-item:hover::before {
            transform: translateX(0);
        }

/* ------------------------------------
           ÜST BANNER & SADE KONUM İKONU
        ------------------------------------ */
.ay-tss-hero-banner {
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
    position: relative;
}

.ay-tss-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Temiz Sade Konum Butonu */
.ay-tss-map-pin {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #1e293b;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 2;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .ay-tss-map-pin svg {
        stroke: #ef4444;
        transition: stroke 0.25s ease, transform 0.25s ease;
    }

    /* Hover Durumu (Zarif Renk Değişimi) */
    .ay-tss-map-pin:hover {
        background-color: #ef4444;
        color: #ffffff;
        border-color: #ef4444;
        box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
    }

        .ay-tss-map-pin:hover svg {
            stroke: #ffffff;
            transform: scale(1.1);
        }

/* ------------------------------------
           ALT İÇERİK DÜZENİ (YAZI & SLIDER)
        ------------------------------------ */
.ay-tss-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
    padding: 0;
}

.ay-tss-content {
    flex: 1.3;
}

.ay-tss-title {
    font-family: 'Caecilia-Heavy',sans-serif;
    font-size: 28px;
    color: #c10230;
    /* Başlık kırmızı renk yapıldı */
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ay-tss-text {
    font-family: 'Caecilia-Light',sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 16px;
}

.ay-tss-slider-wrapper {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.ay-tss-main-image-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background-color: #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ay-tss-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
    display: block;
}

.ay-tss-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.ay-tss-thumb {
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.25s ease;
    opacity: 0.65;
    background-color: #cbd5e1;
}

    .ay-tss-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .ay-tss-thumb:hover {
        opacity: 1;
        transform: translateY(-2px);
    }

    .ay-tss-thumb.ay-tss-active {
        border-color: #ef4444;
        opacity: 1;
        box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
    }

@media (max-width: 868px) {
    .ay-tss-section {
        width: 98%;
    }

    .ay-tss-container {
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }

    .ay-tss-hero-banner {
        height: 150px;
    }

    .ay-tss-slider-wrapper {
        width: 100%;
    }

    .ay-tss-title {
    }
}
