@font-face {
    font-family: "Gotham";
    src: url(../font/Gotham-Light/Gotham-Light.otf) format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Chopard";
    src: url(../font/chopard/Chopard-Light.otf) format("opentype");
    font-weight: 300;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header-wrapper {
    max-width: 1909px;
    margin: 0 auto;
    position: relative;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 20px 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.header-cta-btn {
    background: transparent;
    border: none;
}

.header-cta-btn a {
    border: 1px solid rgba(255, 255, 255, 1);
    color: #fff;
    padding: 8px 20px;
    background: transparent;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;

}

.header-cta-btn:hover a {
    background: rgba(3, 176, 179, 1);
    border-color: rgba(3, 176, 179, 1);
}

.background-overlay-temp {
    width: 100%;
    height: 100vh;
    background-image: url('../images/Hero-Banner-Web.webp');
    background-size: cover;
    background-repeat: no-repeat;
}

.main-nav {
    position: relative;
}

.menu {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
}

.menu li {
    position: relative;
}

.menu h3,
.menu a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    color: #fff;
    cursor: pointer;
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    background: #fff;
    gap: 0px 24px;
    padding: 30px 40px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index: 99;
}

.mega-menu ul {
    list-style: none;
}

.plastic-surgery-menu {
    display: grid;
    grid-template-columns: repeat(3, 200px);
}

.aesthetic-menu ul {
    display: grid;
    grid-template-columns: repeat(2, 200px);
    gap: 0px 24px;
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu h4 {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 15px;
    color: rgba(3, 176, 179, 1);
    font-family: 'Chopard', Georgia, 'Times New Roman', serif;
}

.mega-menu a {
    display: block;
    font-size: 16px;
    color: #000;
    font-weight: 300;
    margin-bottom: 10px;
    text-decoration: none;
}

.main-nav a:hover {
    color: rgba(3, 176, 179, 1);
}

.burger,
.header-bg-overlay {
    display: none;
}

@media (max-width: 1440px) {
    .header {
        padding-left: 40px;
        padding-right: 40px;
    }
}


@media (max-width: 1380px) {
    .header-logo img {
        height: 60px;
    }

    .header {
        padding-left: 20px;
        padding-right: 20px;
        gap: 16px;
    }

    .menu {
        gap: 16px;
    }
}

@media (max-width: 1280px) {
    .header-logo img {
        height: 60px;
    }

    .menu h3,
    .menu a {
        font-size: 13px;
    }

    .mega-menu a {
        font-size: 14px;
    }

    .header-cta-btn a {
        font-size: 16px;
    }
}

@media (max-width: 1160px) {

    /* Burger */
    .burger {
        width: 32px;
        height: 22px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .header-logo {
        position: relative;
        z-index: 1001;
    }

    .btn-wrapper {
        display: flex;
        gap: 20px;
    }

    .burger span {
        height: 3px;
        width: 100%;
        background: #fff;
        border-radius: 2px;
        transition: 0.3s;
    }

    .header-bg-overlay {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1002;
        background: #fff;
        height: 120px;
        width: 100%;
        transition: right 0.4s ease, opacity 0.3s ease;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        padding-top: 120px;
        z-index: 1000;
        opacity: 0;
        overflow-y: auto;
        transition: right 0.4s ease, opacity 0.3s ease;
    }

    .main-nav.active {
        opacity: 1;
        right: 0;
    }

    .header-bg-overlay.active {
        right: 0;
    }

    /* Vertical menu */
    .menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
        gap: 0;
    }

    .menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 16px 0;
    }

    .menu ul li:last-child {
        border: none;
    }

    .menu h3,
    .menu a {
        color: #000;
        font-size: 16px;
        display: block;
        width: 100%;
    }

    /* Hide mega menus by default */
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 15px 0 0;
        display: none;
        background: transparent;
    }

    /* Accordion open */
    .has-mega.active .mega-menu {
        display: grid;
    }

    .plastic-surgery-menu {
        grid-template-columns: 1fr;
    }

    .aesthetic-menu ul {
        grid-template-columns: 1fr;
    }

    .mega-menu a {
        font-size: 14px;
        padding-left: 10px;
        margin-bottom: 0;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 5px);
        background: #000;
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -6px);
        background: #000;
    }

    .burger span {
        transition: all 0.3s ease;
    }

    .main-nav {
        height: 100vh;
        padding-bottom: 40px;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .mega-menu {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    .has-mega.active .mega-menu {
        max-height: 3000px;
        opacity: 1;
    }

    .mega-col h4 {
        cursor: pointer;
        margin-bottom: 5px;
    }

    .mega-col ul {
        list-style: none;
        padding-left: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .mega-col.active ul {
        max-height: 1400px;
    }

}

@media (max-width: 600px) {
    .header-cta-btn {
        display: none;
    }
}