/* =========================================================
       FINEASTRA — PREMIUM ARCHITECTURAL FOOTER
       ========================================================= */

:root {
    --footer-primary: #003d7a;
    --footer-primary-dark: #002b57;
    --footer-accent: #0b6fb8;
    --footer-text: #475569;
    --footer-muted: #64748b;
    --footer-light: #f8fafc;
    --footer-border: rgba(0, 61, 122, 0.10);
    --footer-white: #ffffff;
    --footer-container: 1440px;
}

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

.fineastra-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient( 135deg, #ffffff 0%, #ffffff 34%, #f8fbfe 58%, #f2f7fb 100% );
    border-top: 1px solid var(--footer-border);
}

    /*
        Soft architectural glow.
        Pure CSS — no images, no additional HTTP requests.
    */

    .fineastra-footer::before {
        content: "";
        position: absolute;
        z-index: -3;
        width: 760px;
        height: 760px;
        top: -420px;
        right: -180px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(0, 61, 122, 0.055) 0%, rgba(0, 61, 122, 0.025) 38%, transparent 72% );
        pointer-events: none;
    }

    .fineastra-footer::after {
        content: "";
        position: absolute;
        z-index: -3;
        width: 620px;
        height: 620px;
        bottom: -430px;
        left: -160px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(11, 111, 184, 0.045) 0%, rgba(11, 111, 184, 0.018) 40%, transparent 72% );
        pointer-events: none;
    }


/* =========================================================
       DIAGONAL WAVE SYSTEM
       ========================================================= */

.fineastra-footer__waves {
    position: absolute;
    z-index: -2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.fineastra-footer__wave {
    position: absolute;
    width: 145%;
    left: -22%;
    height: 180px;
    transform: rotate(-7deg);
    border-radius: 50%;
}

.fineastra-footer__wave--one {
    top: 38%;
    background: linear-gradient( 90deg, transparent 0%, rgba(0, 61, 122, 0.018) 22%, rgba(0, 61, 122, 0.045) 50%, rgba(0, 61, 122, 0.018) 78%, transparent 100% );
}

.fineastra-footer__wave--two {
    top: 43%;
    height: 145px;
    transform: rotate(-7deg) translateY(25px);
    background: linear-gradient( 90deg, transparent 0%, rgba(11, 111, 184, 0.018) 20%, rgba(11, 111, 184, 0.035) 50%, rgba(11, 111, 184, 0.018) 80%, transparent 100% );
}

.fineastra-footer__wave--three {
    top: 47%;
    height: 110px;
    transform: rotate(-7deg) translateY(48px);
    background: linear-gradient( 90deg, transparent 0%, rgba(0, 61, 122, 0.012) 30%, rgba(0, 61, 122, 0.025) 50%, rgba(0, 61, 122, 0.012) 70%, transparent 100% );
}


/* =========================================================
       INNER CONTAINER
       ========================================================= */

.fineastra-footer__inner {
    position: relative;
    max-width: var(--footer-container);
    margin: 0 auto;
    padding: 5.5rem 1.5rem 2rem;
}


/* =========================================================
       TOP CTA
       ========================================================= */

.fineastra-footer__intro {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 3rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--footer-border);
}

.fineastra-footer__intro-content {
    max-width: 760px;
}

.fineastra-footer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: var(--footer-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

    .fineastra-footer__eyebrow::before {
        content: "";
        width: 28px;
        height: 1px;
        background: var(--footer-primary);
    }

.fineastra-footer__intro h2 {
    max-width: 700px;
    margin: 0;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

    .fineastra-footer__intro h2 strong {
        color: var(--footer-primary);
        font-weight: 700;
    }

.fineastra-footer__intro-text {
    max-width: 650px;
    margin: 1.15rem 0 0;
    color: var(--footer-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.fineastra-footer__cta {
    flex: 0 0 auto;
}

.fineastra-footer__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 52px;
    padding: 0.75rem 1.3rem;
    color: #ffffff;
    background: var(--footer-primary);
    border: 1px solid var(--footer-primary);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 61, 122, 0.12);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

    .fineastra-footer__cta-link i {
        transition: transform 0.3s ease;
    }

    .fineastra-footer__cta-link:hover {
        color: #ffffff;
        background: var(--footer-primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 16px 35px rgba(0, 61, 122, 0.18);
    }

        .fineastra-footer__cta-link:hover i {
            transform: translateX(4px);
        }


/* =========================================================
       MAIN GRID
       ========================================================= */

.fineastra-footer__grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.3fr) minmax(150px, 0.75fr) minmax(250px, 1.25fr) minmax(250px, 1.15fr);
    gap: 3.5rem;
}


/* =========================================================
       BRAND
       ========================================================= */

.fineastra-footer__brand {
    min-width: 0;
}

.fineastra-footer__logo {
    display: inline-flex;
    align-items: center;
    max-width: 185px;
    margin-bottom: 1.5rem;
}

    .fineastra-footer__logo img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 58px;
        object-fit: contain;
    }

.fineastra-footer__brand-text {
    max-width: 340px;
    margin: 0;
    color: var(--footer-text);
    font-size: 0.92rem;
    line-height: 1.75;
}


/* =========================================================
       SOCIAL LINKS
       ========================================================= */
/* =========================================================
   SOCIAL LINKS
   ========================================================= */

.fineastra-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.85rem;
}

.fineastra-footer__social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    overflow: hidden;
    color: #ffffff;
    background: var(--footer-primary);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 1.15rem;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.10), 0 2px 4px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

    /* İkon her zaman beyaz ve net */
    .fineastra-footer__social-link i,
    .fineastra-footer__social-link svg {
        color: #ffffff;
        font-size: 1.15rem;
        line-height: 1;
        display: inline-block;
        transition: transform 0.3s ease;
    }

    /* =========================================================
   BRAND GRADIENTS — Resmi marka renkleri
   ========================================================= */



    /* =========================================================
   HOVER
   ========================================================= */

    .fineastra-footer__social-link:hover {
        color: #ffffff;
        transform: translateY(-4px) scale(1.06);
        filter: brightness(1.08);
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18), 0 4px 8px rgba(15, 23, 42, 0.10);
    }

        .fineastra-footer__social-link:hover i,
        .fineastra-footer__social-link:hover svg {
            transform: scale(1.1);
        }

    /* =========================================================
   FOCUS (erişilebilirlik)
   ========================================================= */

    .fineastra-footer__social-link:focus-visible {
        outline: 3px solid var(--footer-primary);
        outline-offset: 4px;
    }


/* =========================================================
       COLUMN HEADINGS
       ========================================================= */

.fineastra-footer__heading {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.35rem;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

    .fineastra-footer__heading::before {
        content: "";
        width: 4px;
        height: 18px;
        border-radius: 999px;
        background: var(--footer-primary);
    }


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

.fineastra-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

    .fineastra-footer__links li {
        margin: 0;
    }

    .fineastra-footer__links a {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.3rem 0;
        color: var(--footer-text);
        font-size: 0.9rem;
        line-height: 1.5;
        text-decoration: none;
        transition: color 0.25s ease, transform 0.25s ease;
    }

        .fineastra-footer__links a::before {
            content: "\279C"; /* ➜ işareti oluşturur. */
            position: absolute;
            left: -18px;
            opacity: 0;
            color: var(--footer-primary);
            transform: translateX(-5px);
            transition: opacity 0.25s ease, transform 0.25s ease;
        }

        .fineastra-footer__links a:hover {
            color: var(--footer-primary);
            transform: translateX(6px);
        }

            .fineastra-footer__links a:hover::before {
                opacity: 1;
                transform: translateX(0);
            }


/* =========================================================
       CONTACT
       ========================================================= */

.fineastra-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fineastra-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 61, 122, 0.06);
}

.fineastra-footer__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: var(--footer-primary);
    background: rgba(0, 61, 122, 0.055);
    border-radius: 10px;
}

.fineastra-footer__contact-content {
    min-width: 0;
}

.fineastra-footer__contact-label {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--footer-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fineastra-footer__contact-content a,
.fineastra-footer__contact-content p {
    margin: 0;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.55;
    text-decoration: none;
}

.fineastra-footer__contact-content a {
    transition: color 0.25s ease;
}

    .fineastra-footer__contact-content a:hover {
        color: var(--footer-primary);
    }

.fineastra-footer__address {
    font-style: normal;
}


/* =========================================================
       BOTTOM BAR
       ========================================================= */

.fineastra-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--footer-border);
}

.fineastra-footer__copyright {
    margin: 0;
    color: var(--footer-muted);
    font-size: 0.78rem;
    line-height: 1.6;
}

.fineastra-footer__legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.85rem;
}

    .fineastra-footer__legal a {
        color: var(--footer-muted);
        font-size: 0.78rem;
        text-decoration: none;
        transition: color 0.25s ease;
    }

        .fineastra-footer__legal a:hover {
            color: var(--footer-primary);
        }

.fineastra-footer__legal-separator {
    width: 3px;
    height: 3px;
    background: #94a3b8;
    border-radius: 50%;
}


/* =========================================================
       ACCESSIBILITY
       ========================================================= */

.fineastra-footer a:focus-visible {
    outline: 2px solid var(--footer-primary);
    outline-offset: 4px;
    border-radius: 4px;
}


/* =========================================================
       RESPONSIVE — TABLET
       ========================================================= */

@media (max-width: 1100px) {

    .fineastra-footer__grid {
        grid-template-columns: minmax(230px, 1fr) minmax(150px, 0.7fr) minmax(220px, 1fr);
    }

    .fineastra-footer__contact-column {
        grid-column: 1 / -1;
    }

    .fineastra-footer__contact {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .fineastra-footer__contact-item {
        border-bottom: 0;
    }
}


/* =========================================================
       RESPONSIVE — MOBILE
       ========================================================= */

@media (max-width: 768px) {

    .fineastra-footer__inner {
        padding: 4rem 1.25rem 1.5rem;
    }

    .fineastra-footer__intro {
        display: block;
        padding-bottom: 2.5rem;
        margin-bottom: 2.75rem;
    }

        .fineastra-footer__intro h2 {
            font-size: clamp(2rem, 9vw, 2.8rem);
        }

    .fineastra-footer__intro-text {
        font-size: 0.92rem;
    }

    .fineastra-footer__cta {
        margin-top: 1.5rem;
    }

    .fineastra-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.75rem 1.75rem;
    }

    .fineastra-footer__brand {
        grid-column: 1 / -1;
    }

    .fineastra-footer__contact-column {
        grid-column: 1 / -1;
    }

    .fineastra-footer__contact {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .fineastra-footer__bottom {
        display: block;
        margin-top: 3rem;
    }

    .fineastra-footer__legal {
        justify-content: flex-start;
        margin-top: 0.8rem;
    }
}


/* =========================================================
       RESPONSIVE — SMALL MOBILE
       ========================================================= */

@media (max-width: 480px) {

    .fineastra-footer__inner {
        padding-top: 3.25rem;
    }

    .fineastra-footer__grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .fineastra-footer__brand {
        grid-column: auto;
    }

    .fineastra-footer__contact-column {
        grid-column: auto;
    }

    .fineastra-footer__logo {
        max-width: 160px;
    }

    .fineastra-footer__intro h2 {
        font-size: 2rem;
    }

    .fineastra-footer__intro-text {
        font-size: 0.88rem;
    }

    .fineastra-footer__wave {
        width: 180%;
        left: -40%;
    }
}


/* =========================================================
       REDUCED MOTION
       ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .fineastra-footer *,
    .fineastra-footer *::before,
    .fineastra-footer *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
       PRINT
       ========================================================= */

@media print {

    .fineastra-footer {
        background: #ffffff;
    }

    .fineastra-footer__waves,
    .fineastra-footer__cta {
        display: none;
    }
}

/* Perf: viewport dışındaki footer render edilmez; scroll sırasında layout/paint maliyeti düşer. */
.fineastra-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 560px;
}
