﻿/*
 * ============================================================
 * ACADEMY PEAK SITE SHELL
 * Header + Navigation + Footer
 * ============================================================
 */


/*
 * ============================================================
 * SHARED CONTAINER
 * ============================================================
 */

.ap-shell-container {
    width: calc(100% - 48px);
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}


/*
 * ============================================================
 * HEADER
 * ============================================================
 */

.ap-header {
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
    background: #004e73;
}


/*
 * ============================================================
 * TOPBAR
 * ============================================================
 */

.ap-topbar {
    background: #004e73;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}


.ap-topbar__inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 20px;
}


/*
 * CONTACT
 */

.ap-topbar__contact {
    display: flex;
    align-items: center;
    gap: 20px;
}


    .ap-topbar__contact a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #f4f4f4;
        font-size: 0.88rem;
        font-weight: 600;
        text-decoration: none;
    }


        .ap-topbar__contact a:hover {
            color: #ffffff;
        }


    .ap-topbar__contact i {
        width: 18px;
        flex: 0 0 18px;
        color: #33BBED;
        font-size: 16px;
        text-align: center;
    }


.ap-topbar__separator {
    width: 1px;
    height: 22px;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.22);
}


/*
 * UTILITY LINKS
 */

.ap-topbar__utility {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}


    .ap-topbar__utility a {
        color: rgba(255, 255, 255, 0.82);
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease;
    }


        .ap-topbar__utility a:hover,
        .ap-topbar__utility a.is-active {
            color: #ffffff;
        }


/*
 * SOCIAL
 */

.ap-topbar__social {
    display: flex;
    gap: 10px;
    margin-left: 4px;
}


    .ap-topbar__social a {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
        font-size: 0.86rem;
        font-weight: 800;
        text-decoration: none;
        transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    }


        .ap-topbar__social a:hover {
            color: #33BBED;
            border-color: rgba(51, 187, 237, 0.55);
            background: rgba(51, 187, 237, 0.08);
        }


    .ap-topbar__social i {
        font-size: 16px;
        line-height: 1;
    }

    .ap-topbar__social a {
        transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

        .ap-topbar__social a:hover {
            color: #ffffff;
            background: rgba(51, 187, 237, 0.18);
            border-color: rgba(51, 187, 237, 0.55);
            transform: translateY(-2px);
        }

/*
 * ============================================================
 * NAVBAR
 * ============================================================
 */

.ap-navbar {
    background: #004e73;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}


.ap-navbar__inner {
    min-height: 94px;
    display: flex;
    align-items: center;
}


/*
 * ============================================================
 * LOGO
 * ============================================================
 */

.ap-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}


    .ap-logo img {
        display: block;
        width: auto;
        height: 72px;
        object-fit: contain;
    }


/*
 * ============================================================
 * MAIN NAVIGATION
 * ============================================================
 */

.ap-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}


    /*
 * ÖNEMLİ:
 * CTA burada özellikle hariç tutuluyor.
 */

    .ap-nav > a:not(.ap-nav-cta),
    .ap-nav-dropdown__button {
        min-height: 52px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        padding-left: 16px;
        padding-right: 16px;
        border: 1px solid transparent;
        border-radius: 12px;
        background: transparent;
        color: #f4f4f4;
        font-family: "Roboto", Arial, sans-serif;
        font-size: 0.91rem;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
        transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
    }


        .ap-nav > a:not(.ap-nav-cta):hover,
        .ap-nav-dropdown__button:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.06);
        }


        /*
 * ACTIVE ITEM
 */

        .ap-nav > a:not(.ap-nav-cta).ap-nav__active,
        .ap-nav-dropdown__button.ap-nav__active {
            border-color: rgba(51, 187, 237, 0.46);
            background: rgba(51, 187, 237, 0.12);
            color: #ffffff;
        }


/*
 * ============================================================
 * CHEVRON
 * ============================================================
 */

.ap-chevron {
    width: 7px;
    height: 7px;
    display: inline-block;
    margin-left: 1px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.85);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.85);
    transform: translateY(-2px) rotate(45deg);
    opacity: 0.8;
}


/*
 * ============================================================
 * DROPDOWN
 * ============================================================
 */

.ap-nav-dropdown {
    position: relative;
}


.ap-nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    z-index: 20;
    min-width: 225px;
    padding: 10px 0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 30, 45, 0.20);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}


.ap-nav-dropdown:hover
.ap-nav-dropdown__menu,
.ap-nav-dropdown:focus-within
.ap-nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.ap-nav-dropdown__menu a {
    display: block;
    min-width: 200px;
    padding: 11px 20px;
    color: #383838;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}


    .ap-nav-dropdown__menu a:hover {
        background: #004e73;
        color: #ffffff;
    }


/*
 * ============================================================
 * KURUMSAL TEKLİF CTA
 * ============================================================
 */

.ap-nav > .ap-nav-cta {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-left: 8px;
    padding: 0 20px;
    border: 1px solid #FF5100;
    border-radius: 9px;
    background: #FF5100;
    color: #ffffff;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(255, 81, 0, 0.24);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}


    .ap-nav > .ap-nav-cta:hover {
        border-color: #e94800;
        background: #e94800;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 11px 28px rgba(255, 81, 0, 0.34);
    }


    .ap-nav > .ap-nav-cta:focus-visible {
        outline: 3px solid rgba(255, 81, 0, 0.30);
        outline-offset: 3px;
    }


.ap-nav-cta span {
    display: inline-block;
    font-size: 16px;
    transition: transform 0.2s ease;
}


.ap-nav-cta:hover span {
    transform: translateX(3px);
}


/*
 * ============================================================
 * SEARCH
 * ============================================================
 */

.ap-nav-search {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: color 0.2s ease;
}


    .ap-nav-search svg {
        width: 27px;
        height: 27px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        pointer-events: none;
    }


    .ap-nav-search:hover {
        color: #33BBED;
    }


/*
 * ============================================================
 * MOBILE TOGGLE
 * ============================================================
 */

.mobile-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}


    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        margin: 5px 0;
        border-radius: 20px;
        background: #ffffff;
    }


/*
 * Desktop'ta utility linkleri drawer içinde gösterme.
 */

.ap-nav-mobile-utility {
    display: none;
}


/*
 * ============================================================
 * DESKTOP NAV COMPRESSION
 * ============================================================
 */

@media (max-width: 1350px) {

    .ap-nav {
        gap: 4px;
    }


        .ap-nav > a:not(.ap-nav-cta),
        .ap-nav-dropdown__button {
            padding-left: 12px;
            padding-right: 12px;
        }


        .ap-nav > .ap-nav-cta {
            padding-left: 15px;
            padding-right: 15px;
        }
}


/*
 * ============================================================
 * MOBILE / TABLET HEADER
 * ============================================================
 */

@media (max-width: 1279px) {

    .ap-shell-container {
        width: calc(100% - 40px);
    }


    .ap-topbar {
        display: none;
    }


    .ap-navbar__inner {
        min-height: 80px;
    }


    .ap-logo img {
        height: 62px;
    }


    .mobile-menu-toggle {
        display: block;
    }


    /*
     * DRAWER
     */

    .ap-nav {
        position: fixed;
        top: 0;
        right: -420px;
        bottom: 0;
        z-index: 999;
        width: min(400px, 92vw);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 70px 20px 30px;
        overflow-y: auto;
        background: rgba(0, 35, 52, 0.98);
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.22);
        transition: right 220ms ease;
    }


        .ap-nav.site-nav--open {
            right: 0;
        }


        /*
     * Mobil normal linkler
     */

        .ap-nav > a:not(.ap-nav-cta),
        .ap-nav-dropdown__button {
            width: 100%;
            min-height: 48px;
            justify-content: space-between;
            padding: 0 12px;
            border-radius: 7px;
            color: #ffffff;
        }


        /*
     * Mobil CTA
     */

        .ap-nav > .ap-nav-cta {
            width: 100%;
            min-height: 50px;
            margin: 10px 0 4px;
            padding: 0 18px;
            border-color: #FF5100;
            border-radius: 8px;
            background: #FF5100;
            color: #ffffff;
            box-shadow: none;
        }


            .ap-nav > .ap-nav-cta:hover {
                background: #e94800;
                transform: none;
                box-shadow: none;
            }


    /*
     * MOBILE DROPDOWN
     */

    .ap-nav-dropdown__menu {
        position: static;
        display: none;
        min-width: 0;
        margin: 3px 12px 8px;
        padding: 8px;
        background: rgba(255, 255, 255, 0.07);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }


    .ap-nav-dropdown.ap-nav-dropdown--open
    .ap-nav-dropdown__menu {
        display: block;
    }


    .ap-nav-dropdown__menu a {
        color: rgba(255, 255, 255, 0.82);
    }


        .ap-nav-dropdown__menu a:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #ffffff;
        }


    /*
     * SEARCH desktop button mobile drawer'da gizli
     */

    .ap-nav-search {
        display: none !important;
    }


    /*
     * MOBILE UTILITY
     */

    .ap-nav-mobile-utility {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }


        .ap-nav-mobile-utility a {
            width: 100%;
            padding: 12px;
            border-radius: 7px;
            color: rgba(255, 255, 255, 0.82);
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
        }


            .ap-nav-mobile-utility a:hover {
                color: #ffffff;
                background: rgba(255, 255, 255, 0.06);
            }
}


/*
 * ============================================================
 * SMALL MOBILE HEADER
 * ============================================================
 */

@media (max-width: 650px) {

    .ap-shell-container {
        width: calc(100% - 28px);
    }


    .ap-navbar__inner {
        min-height: 72px;
    }


    .ap-logo img {
        height: 54px;
    }
}


/*
 * ============================================================
 * FOOTER
 * ============================================================
 */

.ap-footer {
    margin: 0;
    padding: 0;
    background: #004a6b;
    color: #ffffff;
}


/*
 * MAIN FOOTER GRID
 */

.ap-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 1fr 0.9fr;
    gap: 72px;
    padding-top: 72px;
    padding-bottom: 62px;
}


/*
 * ============================================================
 * FOOTER BRAND
 * ============================================================
 */

.ap-footer__brand {
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.ap-footer__logo {
    display: inline-flex;
    margin-bottom: 28px;
}


    .ap-footer__logo img {
        display: block;
        width: auto;
        height: 88px;
        object-fit: contain;
    }


.ap-footer__brand p {
    max-width: 340px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.7;
}


/*
 * ============================================================
 * FOOTER SOCIAL
 * ============================================================
 */

.ap-footer__social {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
}


    .ap-footer__social a {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: rgba(0, 28, 42, 0.55);
        color: #ffffff;
        font-size: 0.8rem;
        font-weight: 800;
        text-decoration: none;
        transition: background-color 150ms ease, transform 150ms ease;
    }


        .ap-footer__social a:hover {
            background: #33BBED;
            transform: translateY(-2px);
        }

    .ap-footer__social i {
        font-size: 16px;
        line-height: 1;
    }


/*
 * ============================================================
 * FOOTER COLUMNS
 * ============================================================
 */

.ap-footer__column h3 {
    margin: 3px 0 24px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}


.ap-footer__column ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}


.ap-footer__column li,
.ap-footer__column a {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    line-height: 1.5;
    text-decoration: none;
}


    .ap-footer__column a:hover {
        color: #ffffff;
    }


.ap-footer__contact a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
}

    .ap-footer__contact a:hover {
        color: #ffffff;
    }

.ap-footer__contact-list li {
    align-items: flex-start;
}

    .ap-footer__contact-list li i {
        margin-top: 4px;
    }


/*
 * ============================================================
 * FOOTER BOTTOM
 * ============================================================
 */

.ap-footer__bottom {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}


.ap-footer__bottom-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.875rem;
}


    .ap-footer__bottom-inner > div {
        display: flex;
        gap: 20px;
    }


    .ap-footer__bottom-inner a {
        color: rgba(255, 255, 255, 0.65);
        text-decoration: none;
    }


        .ap-footer__bottom-inner a:hover {
            color: #ffffff;
        }

.ap-footer__contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

    .ap-footer__contact-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255,255,255,0.88);
        font-size: 0.95rem;
        line-height: 1.5;
    }

        .ap-footer__contact-list li i {
            width: 18px;
            flex: 0 0 18px;
            color: #33BBED;
            font-size: 0.95rem;
            text-align: center;
        }

        .ap-footer__contact-list li a,
        .ap-footer__contact-list li span {
            color: rgba(255,255,255,0.88);
            text-decoration: none;
        }

            .ap-footer__contact-list li a:hover {
                color: #ffffff;
            }
/*
 * ============================================================
 * FOOTER RESPONSIVE
 * ============================================================
 */

@media (max-width: 1000px) {

    .ap-footer__grid {
        grid-template-columns: repeat( 2, minmax(0, 1fr) );
        gap: 48px 60px;
    }
}


@media (max-width: 650px) {

    .ap-footer__grid {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 50px;
        padding-bottom: 45px;
    }


    .ap-footer__bottom-inner {
        display: grid;
        padding-top: 18px;
        padding-bottom: 18px;
    }


        .ap-footer__bottom-inner > div {
            flex-wrap: wrap;
            gap: 10px 18px;
        }
}
