:root {
    --tui-sky-blue: #70cbf4;
    --tui-light-blue: #e2f5fd;
    --tui-deep-blue: #1b115c;
    --tui-red: #d4001e;
    --footer-bg: #c2e6fa;
}

body {
    background-color: var(--tui-light-blue);
    font-family: 'Montserrat', 'Font Awesome 5 Free', sans-serif !important;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Iframe wrapper */
.iframe-wrapper {
    background-color: var(--tui-sky-blue) !important;
    position: relative;
    height: calc(100vh - 80px);
    overflow: hidden;
}

/* Iframe ayarları */
#form-iframe {
    width: 100%;
    height: calc(100% + 64px + 60px);
    margin-top: -64px;
    border: none;
    display: block;
    overflow: hidden;
}

/* Header */
.tui-header {
    background-color: var(--tui-sky-blue);
    height: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(27, 17, 92, 0.1);
}

.lang-btn {
    cursor: pointer;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 8px;
    opacity: 0.5;
    color: var(--tui-deep-blue);
}

.lang-btn.active {
    opacity: 1;
    background-color: white;
}

.loader-container {
    position: absolute;
    inset: 0;
    background-color: var(--tui-light-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

/* =====================
   FOOTER
   ===================== */

.tui-footer {
    background-color: rgb(194, 230, 250);
    flex-shrink: 0;
}

.footer-inner {
    max-width: 1376px;
    margin: 0 auto;
    padding: 48px 48px;
}

.footer-main {
    display: flex;
    align-items: flex-start;
    gap: 36px;
}

/* Logo kolonu */
.footer-logo-col {
    flex-shrink: 0;
}

.footer-logo-img {
    width: 100px;
    height: 100px;
    max-height: 100px;
    max-width: 144px;
    object-fit: contain;
}

/* Linkler kolonu */
.footer-links-col {
    flex: 1 1 auto;
    min-width: 0;
}

.footer-nav-title {
    font-size: 13px;
    font-weight: 400;
    font-family: 'Montserrat', 'Font Awesome 5 Free', sans-serif;
    color: rgb(9, 42, 94);
    margin: 0 0 7px 0;
    line-height: 16px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list li a {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Montserrat', 'Font Awesome 5 Free', sans-serif;
    color: rgb(9, 42, 94);
    text-decoration: none;
    line-height: 24px;
    display: block;
    transition: opacity 0.2s;
}

.footer-nav-list li a:hover {
    text-decoration: underline;
}

/* İletişim kolonu */
.footer-contact-col {
    flex-shrink: 0;
    width: 215px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.footer-cookie-pref {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Montserrat', 'Font Awesome 5 Free', sans-serif;
    color: rgb(9, 42, 94);
    cursor: pointer;
    text-decoration: underline;
    line-height: 24px;
    display: block;
    margin-bottom: 16px;
}

.footer-email {
    margin-bottom: 0;
}

.footer-email a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Montserrat', 'Font Awesome 5 Free', sans-serif;
    color: rgb(9, 42, 94);
    text-decoration: none;
    line-height: 24px;
    transition: opacity 0.2s;
}

.footer-email a:hover {
    opacity: 0.75;
}

.footer-email img {
    width: 17px;
    height: 14px;
    flex-shrink: 0;
}

/* Sosyal medya ikonları */
.footer-social {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: auto;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
}

.footer-social a:hover {
    opacity: 0.6;
}

.footer-social img {
    width: 20px;
    height: 20px;
    margin-right: 14px;
}

.svgIcons {
    fill: rgb(9, 42, 94);
}

/* =====================
   RESPONSIVE — 640px-767px (Küçük Tablet)
   ===================== */

@media (min-width: 640px) and (max-width: 767px) {
    .iframe-wrapper {
        height: 1400px;
        overflow: hidden;
    }

    #form-iframe {
        height: calc(100% + 64px + 60px);
        margin-top: -64px;
        overflow: hidden;
    }
}

/* =====================
   RESPONSIVE — 960px (Tablet Landscape)
   ===================== */

@media (max-width: 960px) {
    .footer-inner {
        padding: 48px 30px;
    }

    .footer-main {
        gap: 24px;
    }

    .footer-contact-col {
        width: 180px;
    }
}

/* =====================
   RESPONSIVE — 639px (Mobil)
   ===================== */

@media (max-width: 639px) {

    /* iframe - sayfa scroll, plumsail footer gizli */
    .iframe-wrapper {
        height: 1400px;
        overflow: hidden;
    }

    #form-iframe {
        height: calc(100% + 64px + 60px);
        margin-top: -64px;
        overflow: hidden;
    }

    /* footer kolonlar dikey */
    .footer-inner {
        padding: 3rem 20px;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .footer-logo-col {
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-logo-img {
        margin: 0 auto;
    }

    .footer-links-col {
        width: 100%;
        padding: 40px 0;
        position: relative;
        text-align: center;
    }

    .footer-links-col::before,
    .footer-links-col::after {
        content: '';
        width: 37px;
        height: 1px;
        display: block;
        background: rgb(9, 42, 94);
        opacity: 0.3;
    }

    .footer-links-col::before {
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -18.5px;
    }

    .footer-links-col::after {
        margin: 35px auto 0 auto;
    }

    .footer-nav-list li a {
        text-align: center;
    }

    .footer-contact-col {
        width: 100%;
        align-items: center;
        align-self: auto;
        text-align: center;
    }

    .footer-contact-col > div {
        margin-bottom: 10px;
    }

    .footer-social {
        margin-top: 20px;
        justify-content: center;
    }
}
