/* ===============================================
   CUSTOM FONTS
=============================================== */
@font-face {
    font-family: "f1";
    src: url("../fonts/Gilroy-Medium.ttf");
}

@font-face {
    font-family: "f2";
    src: url("../fonts/Gilroy-Medium.ttf");
}

@font-face {
    font-family: "f3";
    src: url("../fonts/Gilroy-SemiBold.ttf");
}

@font-face {
    font-family: "f4";
    src: url("../fonts/Gilroy-Bold.ttf");
}

@font-face {
    font-family: "f5";
    src: url("../fonts/Gilroy-RegularItalic.ttf");
}


/* ===============================================
   GLOBAL RESET
=============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ===============================================
   NAVBAR - MAIN CONTAINER
=============================================== */
.tt-nav {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tt-nav__wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}


/* ===============================================
   BRAND LOGO
=============================================== */
.tt-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111;
    white-space: nowrap;
}

.tt-nav__brand img {
    width: 200px;
    height: auto;
}


/* ===============================================
   NAVIGATION MENU
=============================================== */
.tt-nav__menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tt-nav__links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0;
    margin: 0;
}

.tt-nav__item {
    position: relative;
}


/* ===============================================
   NAVIGATION LINKS
=============================================== */
.tt-nav__link {
    position: relative;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    color: #111;
    font-family: "f3";
    font-size: 13px;
    padding: 10px 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 240ms ease;
}

/* Underline Animation */
.tt-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 2px;
    width: 100%;
    background: #111;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms ease;
}

.tt-nav__link:hover::after,
.tt-nav__link.is-active::after {
    transform: scaleX(1);
}


/* ===============================================
   DROPDOWN MENU
=============================================== */
.tt-nav__dropdown {
    display: inline-flex;
    align-items: center;
}

.tt-nav__chev {
    width: 7px;
    height: 7px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(45deg);
    margin-top: -2px;
    transition: transform 220ms ease;
}

.tt-nav__dropdown.is-open .tt-nav__chev {
    transform: rotate(225deg);
}

/* Dropdown Menu Container */
.tt-nav__dropMenu {
    list-style: none;
    position: absolute;
    top: calc(100% + 10px);
    left: -10px;
    min-width: 190px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 8px;
    margin: 0;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    z-index: 50;
}

.tt-nav__dropdown.is-open .tt-nav__dropMenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Links */
.tt-nav__dropLink {
    display: block;
    padding: 10px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #111;
    font-family: "f3";
    font-size: 13px;
    transition: background 200ms ease;
}

.tt-nav__dropLink:hover {
    background: rgba(0, 0, 0, 0.06);
}


/* ===============================================
   CONTACT CTA BUTTON
=============================================== */
.tt-nav__cta {
    text-decoration: none;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 240ms ease, transform 200ms ease;
}

.tt-nav__cta:hover {
    background: #333;
    transform: translateY(-1px);
}


/* ===============================================
   MOBILE TOGGLE BUTTON
=============================================== */
.tt-nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    transition: background 200ms ease;
}

.tt-nav__toggle:hover {
    background: rgba(0, 0, 0, 0.02);
}

.tt-nav__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #111;
    border-radius: 2px;
    transition: transform 200ms ease;
}


/* ===============================================
   RESPONSIVE - TABLET & MOBILE (≤992px)
=============================================== */
@media (max-width: 992px) {
    
    .tt-nav__menu {
        position: fixed;
        left: 0;
        right: 0;
        top: 70px;
        background: #fff;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding: 14px 18px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
        z-index: 100;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .tt-nav__menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .tt-nav__links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .tt-nav__item {
        width: 100%;
    }

    .tt-nav__link {
        width: 100%;
        justify-content: center;
        padding: 12px 8px;
    }

    .tt-nav__toggle {
        display: inline-flex;
    }

    /* Dropdown Mobile Styles */
    .tt-nav__dropdown {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .tt-nav__dropBtn {
        width: 100%;
        justify-content: center;
    }

    .tt-nav__dropMenu {
        position: static;
        width: 100%;
        min-width: auto;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        padding: 6px 0 0;
        margin: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .tt-nav__dropdown.is-open .tt-nav__dropMenu {
        display: block;
    }

    .tt-nav__dropLink {
        width: 100%;
        text-align: center;
        padding: 10px 8px;
    }

    /* CTA Holder for Mobile */
    .tt-nav__ctaHolder {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 8px;
    }

    .tt-nav__ctaHolder .tt-nav__cta {
        width: 100%;
        text-align: center;
    }
}


/* ===============================================
   RESPONSIVE - MOBILE (≤576px)
=============================================== */
@media (max-width: 576px) {
    
    .tt-nav__wrap {
        padding: 12px 16px;
    }

    .tt-nav__brand img {
        width: 160px;
    }

    .tt-nav__toggle {
        width: 38px;
        height: 38px;
    }

    .tt-nav__toggle span {
        width: 16px;
    }
}
