/* ============================================================
   Han Hakkımızda Widget — v1.2
   ============================================================ */

.han-hakkimizda-wrapper {
    display: flex;
    align-items: center;
    gap: 48px;
    background-color: #EEF4FB;
    box-sizing: border-box;
    overflow: hidden;
    /* Padding: Elementor'un Gelişmiş > İç Boşluk ayarını kullanın */
}
.han-hakkimizda-wrapper.han-image-left  { flex-direction: row-reverse; }
.han-hakkimizda-wrapper.han-image-right { flex-direction: row; }

/* ── İçerik ── */
.han-content-col {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
}

/* ── Rozet ── */
.han-badge {
    display: inline-block;
    background-color: #F5E642;
    color: #1A2B3C;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    width: fit-content;
}

/* ── Başlık ── */
.han-title {
    color: #0D2137;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px 0;
    padding: 0;
}

/* ── Açıklama ── */
.han-desc {
    color: #4A5568;
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 32px 0;
    max-width: 520px;
}

/* ── Butonlar ── */
.han-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.han-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s, transform .15s;
    white-space: nowrap;
}
.han-btn:hover { transform: translateY(-1px); }
.han-btn-outline { background-color: transparent; color: #0D2137; border: 2px solid #0D2137; padding: 12px 28px; border-radius: 50px; }
.han-btn-outline:hover { background-color: #0D2137; color: #fff; }
.han-btn-filled  { background-color: #0D2137; color: #fff; border: 2px solid transparent; padding: 12px 28px; border-radius: 50px; }
.han-btn-filled:hover { background-color: #1a3a5c; }

/* ── Görsel ── */
.han-hero-image {
    flex: 1 1 45%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
.han-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ════════════════════════════════
   HOVER EFEKTLERİ
   JS tarafından data-han-hover attr ile kontrol edilir.
   CSS sadece transition base'i sağlar.
   ════════════════════════════════ */

/* zoom-in */
.han-hero-image[data-han-hover="zoom-in"] img      { transform: scale(1); }
.han-hero-image[data-han-hover="zoom-in"]:hover img { transform: scale(var(--han-scale, 1.07)); }

/* zoom-out */
.han-hero-image[data-han-hover="zoom-out"] img      { transform: scale(var(--han-scale, 1.07)); }
.han-hero-image[data-han-hover="zoom-out"]:hover img { transform: scale(1); }

/* float-up */
.han-hero-image[data-han-hover="float-up"] img       { transform: translateY(0); }
.han-hero-image[data-han-hover="float-up"]:hover img { transform: translateY(calc(var(--han-px, 12px) * -1)); }

/* float-down */
.han-hero-image[data-han-hover="float-down"] img       { transform: translateY(0); }
.han-hero-image[data-han-hover="float-down"]:hover img { transform: translateY(var(--han-px, 12px)); }

/* tilt-left */
.han-hero-image[data-han-hover="tilt-left"] img       { transform: rotate(0deg); }
.han-hero-image[data-han-hover="tilt-left"]:hover img { transform: rotate(calc(var(--han-px, 12px) * -0.3deg)); }

/* tilt-right */
.han-hero-image[data-han-hover="tilt-right"] img       { transform: rotate(0deg); }
.han-hero-image[data-han-hover="tilt-right"]:hover img { transform: rotate(calc(var(--han-px, 12px) * 0.3deg)); }

/* brightness */
.han-hero-image[data-han-hover="brightness"] img       { filter: brightness(1); }
.han-hero-image[data-han-hover="brightness"]:hover img { filter: brightness(1.2); }

/* grayscale */
.han-hero-image[data-han-hover="grayscale"] img       { filter: grayscale(100%); }
.han-hero-image[data-han-hover="grayscale"]:hover img { filter: grayscale(0%); }

/* blur-in */
.han-hero-image[data-han-hover="blur-in"] img       { filter: blur(4px); opacity: 0.7; }
.han-hero-image[data-han-hover="blur-in"]:hover img { filter: blur(0); opacity: 1; }

/* shadow-grow */
.han-hero-image[data-han-hover="shadow-grow"] img       { filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
.han-hero-image[data-han-hover="shadow-grow"]:hover img { filter: drop-shadow(0 12px 28px rgba(0,0,0,0.22)); }

/* shake — CSS keyframe, JS ile class eklenir */
@keyframes han-shake {
    0%,100% { transform: translateX(0); }
    15%  { transform: translateX(-6px) rotate(-1deg); }
    30%  { transform: translateX(6px)  rotate(1deg); }
    45%  { transform: translateX(-4px) rotate(-0.5deg); }
    60%  { transform: translateX(4px)  rotate(0.5deg); }
    75%  { transform: translateX(-2px); }
    90%  { transform: translateX(2px); }
}
.han-hero-image[data-han-hover="shake"]:hover img {
    animation: han-shake 0.55s ease;
}

/* ── Giriş animasyonu ── */
.han-hakkimizda-wrapper[data-han-anim="yes"] .han-anim-item {
    opacity: 0;
    transform: translateY(22px);
}
.han-hakkimizda-wrapper[data-han-anim="yes"] .han-anim-item.han-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mobil gizle ── */
@media (max-width: 768px) {
    .han-hide-mobile { display: none !important; }
}

/* ════════════════════════════════
   MOBİL
   ════════════════════════════════ */
@media (max-width: 1024px) {
    .han-hakkimizda-wrapper { gap: 32px; }
}

@media (max-width: 768px) {
    .han-hakkimizda-wrapper,
    .han-hakkimizda-wrapper.han-image-left,
    .han-hakkimizda-wrapper.han-image-right {
        flex-direction: column !important;
        gap: 32px;
    }
    .han-content-col { flex: 1 1 100%; width: 100%; }
    .han-hero-image  { flex: 1 1 100%; width: 100%; order: -1; }
    .han-hero-image img { max-height: 320px; }
    .han-title  { font-size: 30px; }
    .han-desc   { font-size: 15px; }
    .han-buttons { flex-direction: column; }
    .han-btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .han-title { font-size: 26px; }
    .han-badge { font-size: 10px; }
}
