/* ========== STYLE.CSS - TAM GÜNCEL VERSİYON ========== */
/* Son Güncelleme: 2026-05-29 */

/* ========== RESET & VARIABLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.bg-light   { background: #f9f9f9; }
.bg-dark    { background: #1a1a1a; }
.bg-primary { background: #ff6b6b; }

.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

.p-20 { padding: 20px; }
.p-40 { padding: 40px; }

.fs-12 { font-size: 12px; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-24 { font-size: 24px; }
.fs-32 { font-size: 32px; }

.text-primary { color: #ff6b6b; }
.text-white   { color: #fff; }
.text-dark    { color: #333; }
.text-gray    { color: #666; }

/* ============================================================
   HERO SLIDER
   Tüm classlar "hs-" prefixli; baska CSS ile cakismaz.
   Genislik ve yukseklik ayarlari asagidaki CSS degiskenlerinden yapilir.
============================================================ */

.hs-section {
    --hs-desktop-width: 1200px;
    --hs-desktop-aspect-ratio: 12 / 5;
    --hs-tablet-width: 100%;
    --hs-tablet-aspect-ratio: 12 / 5;
    --hs-mobile-width: 100%;
    --hs-mobile-aspect-ratio: 12 / 5;
    --hs-small-mobile-aspect-ratio: 12 / 5;
    --hs-bg-size: contain;
    --hs-bg-position: center center;
    --hs-current-width: var(--hs-desktop-width);
    --hs-current-aspect-ratio: var(--hs-desktop-aspect-ratio);
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
    line-height: 0;
}

.hs-container {
    position: relative;
    width: 100%;
    max-width: var(--hs-current-width);
    aspect-ratio: var(--hs-current-aspect-ratio);
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

/* ---- Slide ---- */
.hs-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-size: var(--hs-bg-size);
    background-position: var(--hs-bg-position);
    background-repeat: no-repeat;
    background-color: transparent;
    overflow: hidden;
    animation: hsFadeIn 0.5s ease-in-out;
}

.hs-active {
    display: block;
}

@keyframes hsFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---- İçerik overlay ---- */
.hs-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 800px;
    z-index: 10;
    padding: 20px 30px;
    line-height: 1.5;
}

/* ---- Başlık ---- */
.hs-title {
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    word-break: break-word;
    margin-bottom: 15px;
    font-size: 42px;
}

/* ---- Açıklama ---- */
.hs-desc {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    word-break: break-word;
    margin-bottom: 20px;
    font-size: 18px;
}

/* ---- Buton ---- */
.hs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ff6b6b;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.hs-btn i               { transition: transform 0.3s ease; }
.hs-btn:hover           { background: #ff5252; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,107,107,0.4); }
.hs-btn:hover i         { transform: translateX(5px); }

/* ---- Önceki / Sonraki ---- */
.hs-prev,
.hs-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hs-prev               { left: 20px; }
.hs-next               { right: 20px; }
.hs-prev:hover,
.hs-next:hover         { background: rgba(255,107,107,0.85); }

/* ---- Dots ---- */
.hs-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
    line-height: 0;
}

.hs-dot {
    display: block;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hs-dot.hs-active {
    width: 30px;
    background: #ff6b6b;
    border-radius: 10px;
}

.hs-dot:hover          { background: #ff6b6b; transform: scale(1.2); }

/* ---- Responsive ---- */

@media (max-width: 991px) {
    .hs-section {
        --hs-current-width: var(--hs-tablet-width);
        --hs-current-aspect-ratio: var(--hs-tablet-aspect-ratio);
    }
}

@media (max-width: 576px) {
    .hs-section {
        --hs-current-width: var(--hs-mobile-width);
        --hs-current-aspect-ratio: var(--hs-mobile-aspect-ratio);
    }
}

@media (max-width: 375px) {
    .hs-section {
        --hs-current-aspect-ratio: var(--hs-small-mobile-aspect-ratio);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hs-content         { padding: 20px 30px; }
    .hs-title           { font-size: 30px; }
    .hs-desc            { font-size: 15px; }
    .hs-btn             { padding: 10px 24px; font-size: 14px; }
    .hs-prev,
    .hs-next            { width: 40px; height: 40px; font-size: 17px; }
    .hs-dot             { width: 10px; height: 10px; }
    .hs-dot.hs-active   { width: 26px; }
}

@media (min-width: 577px) and (max-width: 767px) {
    .hs-content         { padding: 14px 18px; }
    .hs-title           { font-size: 22px; margin-bottom: 8px; }
    .hs-desc            { font-size: 13px; margin-bottom: 10px; }
    .hs-btn             { padding: 8px 18px; font-size: 13px; }
    .hs-prev,
    .hs-next            { width: 34px; height: 34px; font-size: 14px; }
    .hs-prev            { left: 8px; }
    .hs-next            { right: 8px; }
    .hs-dot             { width: 9px; height: 9px; }
    .hs-dot.hs-active   { width: 22px; }
    .hs-dots            { bottom: 10px; gap: 7px; }
}

@media (min-width: 376px) and (max-width: 576px) {
    .hs-content         { padding: 10px 12px; }
    .hs-title           { font-size: 16px; margin-bottom: 5px; }
    .hs-desc            { font-size: 11px; margin-bottom: 7px; }
    .hs-btn             { padding: 6px 14px; font-size: 11px; gap: 5px; }
    .hs-prev,
    .hs-next            { width: 28px; height: 28px; font-size: 12px; }
    .hs-prev            { left: 6px; }
    .hs-next            { right: 6px; }
    .hs-dot             { width: 7px; height: 7px; }
    .hs-dot.hs-active   { width: 18px; }
    .hs-dots            { bottom: 8px; gap: 6px; }
}

@media (max-width: 375px) {
    .hs-content         { padding: 7px 9px; width: 95%; }
    .hs-title           { font-size: 13px; margin-bottom: 3px; }
    .hs-desc            { font-size: 10px; margin-bottom: 5px; }
    .hs-btn             { padding: 5px 11px; font-size: 10px; gap: 4px; }
    .hs-prev,
    .hs-next            { width: 24px; height: 24px; font-size: 10px; }
    .hs-prev            { left: 4px; }
    .hs-next            { right: 4px; }
    .hs-dot             { width: 6px; height: 6px; }
    .hs-dot.hs-active   { width: 15px; }
    .hs-dots            { bottom: 6px; gap: 5px; }
}

@media print {
    .hs-section { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hs-slide { animation: none; }
}
