/* NAVBAR BASE */

.container-nav {
    width: min(2000px, 100%);
    margin: auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: #004890;
    backdrop-filter: blur(14px);
    color: #fff;
    border-bottom: 1px solid #ffffff12;
}

.navin {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 25px;
}

/*LOGO - DESKTOP */

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 280px;
    height: 72px;
    overflow: visible;
    margin: 0;
}

.logo img {
    display: block;
    width: 260px;
    height: 260px;
    object-fit: contain;
    transform: scale(1.5);
    transform-origin: left center;
}

/* NAVIGATION LINKS - DESKTOP*/

.navlinks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-size: 0.9rem;
}

.navlinks a {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.navlinks a:hover {
    color: #e87010;
    font-weight: 600;
}

/*  BOOK A SERVICE BUTTON*/

.desktop-book,
.mobile-book {
    background: #e87010;
    color: #fff;
    padding: 10px 16px;
    border-radius: 9px;
    border: 0;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.desktop-book {
    display: block;
}

.mobile-book {
    display: none;
}

.btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.primary {
    background:#e87010;
    color: #fff
}

/*HAMBURGER BUTTON - HIDDEN ON DESKTOP*/

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: 1px solid #ffffff50;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transition: 0.3s ease;
}

/* Hamburger transforms into X */

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* TABLET */

@media (max-width: 1028px) {

    .container-nav {
        padding: 0 20px;
    }

    .navin {
        gap: 15px;
    }


    .logo {
        width: 220px;
    }

    .logo img {
        width: 220px;
        height: 100px;
        transform: scale(1.3);
    }

    .navlinks {
        gap: 16px;
        font-size: 0.82rem;
    }

    .desktop-book {
        padding: 9px 12px;
        font-size: 13px;
    }
}

/*MOBILE NAVBAR */

@media (max-width: 768px) {

    .container-nav {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
    }

    .navin {
        width: 100%;
        height: 72px;
        min-height: 72px;
        justify-content: space-between;
        gap: 10px;
        position: relative;
    }

    .logo {
        width: 210px;
        max-width: calc(100% - 55px);
        height: 220px;
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .logo img {
        display: block;
        width: 210px;
        max-width: 100%;
        height: 220px;
        object-fit: contain;
        object-position: left center;
        transform: none;
    }


    .desktop-book {
        display: none;
    }


    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .navlinks {
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 15px 20px 20px;
        box-sizing: border-box;
        background: #004890;
        border-top: 1px solid #ffffff25;
        box-shadow: 0 8px 18px #00000025;
        gap: 0;
        font-size: 16px;
    }

    .navlinks.show {
        display: flex;
    }

    .navlinks a {
        display: block;
        padding: 14px 5px;
        border-bottom: 1px solid #ffffff20;
        font-size: 16px;
        white-space: normal;
    }

    .navlinks a:hover {
        color: #e87010;
    }
    .mobile-book {
        display: block;
        width: 100%;
        margin-top: 15px;
        padding: 12px;
        font-size: 15px;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
    }
}

/*SMALL MOBILE*/

@media (max-width: 380px) {

    .container-nav {
        padding: 0 10px;
    }

    .navin {
        gap: 8px;
    }

    .logo {
        width: 200px;
        flex-shrink: 0;
    }

    .logo img {
        width: 200px;
        height: 200px;
        transform: scale(1.4);
    }

    .hamburger {
        width: 40px;
        height: 40px;
    }

    .navlinks {
        padding: 12px 15px 18px;
    }
}