/* ============================================================
   Akkaya — Footer
   Verilen footer tasarımının birebir uyarlaması.
   Sınıf adları ve yapı korundu; yalnızca renkler Akkaya paletine
   çevrildi ve E-Bülten sütunu Hakkımızda ile değiştirildi.
   ============================================================ */
.footer-field {
    --theme-color: #15161b;   /* footer ana rengi (Akkaya koyu) */
    --accent-color: #e22a2a;  /* Akkaya kırmızısı */
    --accent-dark: #b81f1f;
    --white-color: #fff;
    --icon-font: "Font Awesome 6 Pro", "Font Awesome 6 Free", "FontAwesome";

    position: relative;
    z-index: 10;
    max-width: 1920px;
    margin: 90px auto 0;
    padding-top: 20px;
}

.footer-field a {
    text-decoration: none;
}

.footer-field::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: calc(100vw - 40px);
    height: 100%;
    transform: translateX(-50%);
    border-radius: 20px;
    background: var(--theme-color);
    z-index: 0;
}

.footer-top-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.footer-top-logo img {
    display: block;
    height: 100%;
    width: auto;
}

.desktop-logo {
    top: -18px;
    height: 79px;
    aspect-ratio: 22 / 5;
}

.mobile-logo {
    display: none;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: 2;
    height: 45px;
    margin: 0 auto 25px;
    aspect-ratio: 15 / 4;
}

.footer-mask {
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: -1px;
    width: 100%;
    height: 80px;
    transform: translateX(-50%);
    z-index: 1;
}

.footer-mask img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-bg {
    position: relative;
    z-index: 2;
    margin: 60px 30px 20px;
    border-radius: 12px;
    background: var(--theme-color);
}

.footer-container {
    width: 100%;
    max-width: 1640px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-top-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 100px;
    padding: 100px 0 60px;
}

/* ---------- Hakkımızda sütunu (E-Bülten'in yerine) ---------- */
.about-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 35px;
}

.about-mini {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, .4);
}

.about-title {
    margin: 0;
    color: #fff;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 600;
    letter-spacing: -.6px;
    line-height: 1.2;
}

.about-text {
    margin: 0;
    max-width: 46ch;
    color: rgba(255, 255, 255, .68);
    font-size: 15.5px;
    line-height: 1.72;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding: 0 30px;
    border-radius: 999px;
    background: var(--accent-color);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: .35s;
}

.about-link:hover {
    background: var(--accent-dark);
    color: #fff;
}

/* ---------- Sekmeli menü ---------- */
.footer-menu-desktop {
    display: flex;
    align-items: center;
    gap: 27px;
    height: 100%;
}

.menu-tabs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 180px;
}

.menu-tab {
    padding: 0;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 27px;
    color: rgba(255, 255, 255, .3);
    font-family: inherit;
    font-size: clamp(16px, 1.2vw, 20px);
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: .35s;
}

.menu-tab i {
    opacity: 0;
    transform: rotate(-90deg);
    transition: .35s;
}

.menu-tab.active {
    color: #fff;
}

.menu-tab.active i {
    opacity: 1;
    color: var(--accent-color);
}

/* Header'da alt menüsü olmayan maddeler (Referanslarımız, İletişim):
   sekme değil, doğrudan sayfaya giden link. */
.menu-tab-link {
    text-decoration: none;
}

.menu-tab-link i {
    transform: none;
}

.menu-tab-link:hover {
    color: #fff;
}

.menu-tab-link:hover i {
    opacity: 1;
    color: var(--accent-color);
}

.menu-panels {
    position: relative;
    flex: 1;
    min-height: 220px;
}

.menu-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .35s;
}

.menu-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.menu-panel a {
    color: rgb(255 255 255 / 68%);
    font-size: 17px;
    font-weight: 600;
    transition: .35s;
}

.menu-panel a:hover {
    color: #fff;
}

/* ---------- İletişim sütunu ---------- */
.contact-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.contact-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.contact-box span {
    font-size: 16px;
    color: rgba(255, 255, 255, .4);
}

.contact-box a {
    color: #fff;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -1.1px;
    transition: .35s;
}

.contact-box a:hover {
    color: var(--accent-color);
}

/* ---------- Alt şerit ---------- */
.footer-bottom {
    position: relative;
    z-index: 2;
    padding: 10px 0 30px;
}

.footer-bottom-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-brand-line {
    display: flex;
    align-items: center;
    gap: 20px;
}

.socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.socials a {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    transition: .35s;
}

.socials a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.footer-bottom-left p {
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 500;
}

.footer-signature a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: .5;
    transition: .35s;
}

.footer-signature a:hover {
    opacity: 1;
}

.footer-signature span {
    font-size: 18px;
    color: #ffffff;
    white-space: nowrap;
}

.footer-signature img {
    height: 25px;
    width: auto;
    /* stick.svg koyu renkli; koyu zeminde okunmuyordu */
    filter: brightness(0) invert(1);
}

/* ---------- Akordiyon menü ---------- */
.footer-menu-mobile {
    display: none;
}

.mobile-item {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.mobile-trigger {
    width: 100%;
    padding: 18px 0;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
}

.mobile-trigger i {
    transition: .3s;
}

.mobile-item.active .mobile-trigger i {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.mobile-trigger-link {
    text-decoration: none;
}

.mobile-trigger-link i {
    font-size: 14px;
    opacity: .45;
}

.mobile-trigger-link:hover i {
    opacity: 1;
    color: var(--accent-color);
}

.mobile-content {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: max-height .35s ease;
}

.mobile-content a {
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    padding-bottom: 4px;
}

.mobile-content a:last-child {
    padding-bottom: 18px;
}

@media (max-width: 1200px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-menu-desktop { display: none; }
    .footer-menu-mobile { display: block; }
    .contact-col {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }
    .contact-box { width: auto; }
}

@media (max-width: 768px) {
    .footer-field::before {
        width: calc(100vw - 20px);
    }
    .desktop-logo { display: none; }
    .mobile-logo { display: block; }
    .footer-mask { display: none; }
    .footer-bg { margin: 0 10px 15px; }
    .footer-container { padding: 0 20px; }
    .footer-top-grid { padding: 0 0 40px; }
    .contact-col {
        flex-direction: column;
        align-items: center;
    }
    .contact-box {
        align-items: center;
        text-align: center;
    }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        text-align: center;
        padding: 20px 0;
    }
    .footer-bottom-left { align-items: center; }
    .footer-brand-line {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .mobile-logo {
        height: 38px;
        margin-bottom: 25px;
    }
    .about-link {
        height: 52px;
        padding: 0 24px;
    }
}

/* ========== SCROLL TOP ========== */
/* Temanın kendi .backtotop-wrap butonu DOM'da kalıyor (main.js ona
   null kontrolü olmadan eriştiği için silinemez), yalnızca gizleniyor. */
.backtotop-wrap {
    display: none !important;
}

.scroll-top {
    /* Bu buton .footer-field'in kardeşi, içinde değil; değişkenler oradan
       miras alınmıyordu. Bu yüzden burada yeniden tanımlanıyor. */
    --accent-color: #e22a2a;
    --white-color: #fff;
    --icon-font: "Font Awesome 6 Pro", "Font Awesome 6 Free", "Font Awesome 5 Pro", "FontAwesome";

    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    z-index: 10000;
    opacity: 1;
    visibility: hidden;
    transform: translateY(45px);
    transition: all 300ms linear;
}

.scroll-top:after {
    content: "\f062";
    font-family: var(--icon-font);
    font-weight: 900;
    position: absolute;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    color: var(--accent-color);
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    z-index: 1;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
}

.scroll-top svg {
    color: var(--accent-color);
    border-radius: 50%;
    background: var(--white-color);
}

.scroll-top svg path { fill: none; }

.scroll-top .progress-circle path {
    stroke: var(--accent-color);
    stroke-width: 20px;
    box-sizing: border-box;
    transition: all 400ms linear;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .footer-field *,
    .footer-field *::before,
    .footer-field *::after,
    .scroll-top {
        transition-duration: 0.01ms !important;
    }
}

/* KVKK popup */
.akk-kvkk-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: clamp(16px, 3vw, 40px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.akk-kvkk-modal.is-open {
    opacity: 1;
    visibility: visible;
    overscroll-behavior: contain;
}

.akk-kvkk-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 12, 16, 0.72);
}

.akk-kvkk-modal__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: min(86vh, 860px);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transform: translateY(12px);
    transition: transform 0.28s ease;
}

.akk-kvkk-modal.is-open .akk-kvkk-modal__panel {
    transform: translateY(0);
}

.akk-kvkk-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: clamp(18px, 2.4vw, 24px) clamp(20px, 2.8vw, 28px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.akk-kvkk-modal__title {
    margin: 0;
    color: #111;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.2;
}

.akk-kvkk-modal__close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: #111;
    cursor: pointer;
    transition: background 0.2s ease;
}

.akk-kvkk-modal__close:hover {
    background: rgba(0, 0, 0, 0.12);
}

.akk-kvkk-modal__close svg {
    width: 20px;
    height: 20px;
}

.akk-kvkk-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: clamp(18px, 2.4vw, 28px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    color: rgba(0, 0, 0, 0.72);
    font-size: 15px;
    line-height: 1.7;
}

.akk-kvkk-modal__body h3 {
    margin: 1.4em 0 0.45em;
    color: #111;
    font-size: 17px;
    font-weight: 700;
}

.akk-kvkk-modal__body p {
    margin: 0 0 0.9em;
}

.akk-kvkk-modal__body a {
    color: #c7282f;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.akk-kvkk-modal__body a:hover {
    color: #a61f25;
}

/* --- Ön yüz form anti-bot alanları (App\Http\Support\FormGuard) --- */
.akk-form-robot { margin: 4px 0 8px; }
.akk-form-robot__label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 11px 18px 11px 12px;
    background: #fff;
    border: 1px solid #e7e8ec;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 24px rgba(16, 24, 40, 0.06);
    color: #1c1c1c;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.akk-form-robot__label:hover {
    border-color: #f3b7bb;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 28px rgba(227, 6, 19, 0.1);
}
.akk-form-robot__label input[type="checkbox"] {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    appearance: none;
    -webkit-appearance: none;
}
.akk-form-robot__box {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1.5px solid #cfd3d8;
    border-radius: 7px;
    background: #fff;
    color: #fff;
    flex: 0 0 auto;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.akk-form-robot__box svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.akk-form-robot__label input:checked + .akk-form-robot__box {
    background: #e30613;
    border-color: #e30613;
}
.akk-form-robot__label input:checked + .akk-form-robot__box svg {
    opacity: 1;
    transform: none;
}
.akk-form-robot__label:has(input:checked) {
    border-color: rgba(227, 6, 19, 0.35);
}
.akk-form-robot__label input:focus-visible + .akk-form-robot__box {
    outline: 2px solid #e30613;
    outline-offset: 3px;
}
.akk-form-robot__text { padding-inline-end: 2px; }
.akk-form-recaptcha { margin: 4px 0 8px; min-height: 78px; }
.akk-form-recaptcha.is-error .g-recaptcha { outline: 2px solid #e22a2a; outline-offset: 3px; }
.akk-form-robot.is-error .akk-form-robot__label {
    border-color: #e22a2a;
    box-shadow: 0 0 0 4px rgba(226, 42, 42, 0.12);
}

/* Form geri bildirim kutusu */
.akk-form-feedback { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 14px; display: none; }
.akk-form-feedback.is-visible { display: block; }
.akk-form-feedback.is-success { background: rgba(34,160,80,.12); color: #1b7a3d; border: 1px solid rgba(34,160,80,.3); }
.akk-form-feedback.is-error { background: rgba(226,42,42,.10); color: #c22; border: 1px solid rgba(226,42,42,.28); }

/* --- Footer e-bülten --- */
.footer-newsletter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer-newsletter__text { display: flex; flex-direction: column; gap: 4px; }
.footer-newsletter__title { font-size: 17px; font-weight: 600; }
.footer-newsletter__desc { font-size: 14px; opacity: .7; }
.footer-newsletter__form { flex: 1 1 320px; max-width: 460px; }
.footer-newsletter__row { display: flex; gap: 10px; }
.footer-newsletter__row input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    color: inherit;
    font-size: 14px;
}
.footer-newsletter__row input::placeholder { color: currentColor; opacity: .5; }
.footer-newsletter__row button {
    padding: 12px 22px;
    border: 0;
    border-radius: 10px;
    background: #e22a2a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s ease;
}
.footer-newsletter__row button:hover { opacity: .88; }
.footer-newsletter__row button:disabled { opacity: .55; cursor: default; }
@media (max-width: 575px) {
    .footer-newsletter__row { flex-direction: column; }
}
