/* =========================================================
   TEMEL SAYFA AYARLARI
   ========================================================= */

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 0;
}


/* =========================================================
   FORM / ODAK AYARLARI
   ========================================================= */

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow:
        0 0 0 0.1rem white,
        0 0 0 0.25rem #1976b9;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* =========================================================
   HEADER + FOOTER LOGO STANDARDI
   ========================================================= */

.brand-logo,
.footer-brand-logo {
    display: block;
    width: 200px;
    height: 50px;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
}


/* =========================================================
   PREMIUM WHITE FOOTER
   ========================================================= */

.site-footer {
    padding: 56px 0 0;
    background: #ffffff;
    color: #334155;
    border-top: 1px solid #e5eaf0;
    font-size: 13px;
    line-height: 1.65;
    overflow: hidden;
}


/* =========================================================
   FOOTER GRID
   ========================================================= */

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}


/* =========================================================
   LOGO / KURUMSAL ALAN
   ========================================================= */

.site-footer .footer-brand {
    max-width: 300px;
}

.site-footer .footer-brand-link {
    display: block;
    width: 200px;
    height: 50px;
    margin-bottom: 18px;
}

.site-footer .footer-brand-logo {
    display: block;
    width: 200px;
    height: 50px;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
}

.site-footer .footer-brand-description {
    max-width: 290px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER BAŞLIKLARI
   ========================================================= */

.site-footer .footer-title {
    margin: 4px 0 18px;
    color: #1479bd;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}


/* =========================================================
   FOOTER MENÜLER
   ========================================================= */

.site-footer .footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-links li {
    margin: 0 0 10px;
}

.site-footer .footer-links a {
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .footer-links a:hover {
    color: #1479bd;
}


/* =========================================================
   SOSYAL MEDYA
   ========================================================= */

.site-footer .footer-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 20px;
}

.site-footer .footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;

    flex: 0 0 28px !important;

    padding: 0 !important;
    margin: 0;

    border: 0;
    border-radius: 50%;

    color: #ffffff;
    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.site-footer .footer-social .social-icon svg {
    display: block !important;

    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    max-width: 13px !important;
    min-height: 13px !important;
    max-height: 13px !important;

    padding: 0 !important;
    margin: 0 !important;

    fill: currentColor !important;
}

.site-footer .social-icon.instagram {
    background: linear-gradient(
        135deg,
        #833ab4 0%,
        #e1306c 50%,
        #f77737 100%
    );
}

.site-footer .social-icon.facebook {
    background: #1877f2;
}

.site-footer .social-icon.linkedin {
    background: #0a66c2;
}

.site-footer .social-icon:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(15, 40, 65, 0.15);
}

.site-footer .social-icon:focus-visible {
    outline: 2px solid #1479bd;
    outline-offset: 3px;
}


/* =========================================================
   FOOTER İLETİŞİM
   ========================================================= */

.site-footer .footer-contact {
    margin: 0;
    min-width: 0;
    font-style: normal;
}

.site-footer .footer-contact-row {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    margin-bottom: 12px;
}

.site-footer .footer-contact-row p,
.site-footer .footer-contact-row a {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.65;
    text-decoration: none;
}

.site-footer .footer-contact-row a:hover {
    color: #1479bd;
}

.site-footer .footer-contact-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;

    padding: 0 !important;
    margin: 2px 0 0 !important;

    color: #1479bd;
    line-height: 1;
}

.site-footer .footer-contact-icon svg {
    display: block !important;

    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    max-width: 13px !important;
    min-height: 13px !important;
    max-height: 13px !important;

    padding: 0 !important;
    margin: 0 !important;

    fill: currentColor !important;
}


/* =========================================================
   FOOTER ALT SATIR
   ========================================================= */

.site-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    margin-top: 44px;
    padding: 20px 0 24px;

    border-top: 1px solid #e5eaf0;
}

.site-footer .footer-bottom p,
.site-footer .footer-bottom a {
    margin: 0;
    color: #7b8794;
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
}

.site-footer .footer-bottom a:hover {
    color: #1479bd;
}


/* =========================================================
   EKRAN OKUYUCU
   ========================================================= */

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);
    white-space: nowrap;

    border: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 50px;
    }
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 600px) {

    .site-footer {
        padding-top: 44px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer .footer-brand {
        max-width: 100%;
    }

    .brand-logo,
    .footer-brand-logo,
    .site-footer .footer-brand-logo {
        width: 180px;
        height: 45px;
        max-width: 180px;
    }

    .site-footer .footer-brand-link {
        width: 180px;
        height: 45px;
    }

    .site-footer .footer-social {
        flex-direction: row;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 38px;
    }
}