@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&family=Montserrat:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6c227b;
    --primary-blue: #594e8f;
    --text-dark: #000000;
    --text-light: #1e1e1e;
    --white: #ffffff;
    --white-soft: #FBFBFB;
    --gray-cool-light: #F5F4F8;
    --gray-light: #f1f1f1;
    --gray-medium: #e2e2e2;
    --purple-light: rgba(108, 34, 123, 0.12);
    --purple-soft: #EDE4EF;
}


/* Exyra Light weight (200) */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham/Gotham-Extra-Light/Gotham-Extra-Light.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

/* Light weight (300) */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Fonts/Gotham-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

/* Regular weight (400) */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Fonts/Gotham-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 706px;
}


.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-wrapper {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-color: rgba(0, 0, 0, 0.38);
    filter: blur(150px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 99;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 70px 70px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-content>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.header-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.header-wrapper>a>img {
    width: 143px;
    height: 130px;
}

.main-nav {
    display: flex;
    gap: 40px;
    align-items: center;
    position: relative;
}

.main-nav a {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: var(--white);
    white-space: nowrap;
    transition: opacity 0.3s;
    text-transform: uppercase;
}

.menu-overlay {
    display: none;
}

.nav-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
}

.submenu {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    opacity: 0;
    visibility: hidden;
}


.submenu-inner {
    display: grid;
    grid-template-columns: 260px 1px 1fr;
    gap: 20px;
    background-color: var(--white);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
}

.submenu-divider {
    display: block;
    width: 1px;
    height: calc(100% + 48px);
    position: relative;
    top: -24px;
    background: rgba(0, 0, 0, 0.39);
}

.flashy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    opacity: 0;
    z-index: 10;
}

/* LEFT PANEL */
.submenu-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.submenu-item {
    background: transparent;
    border: none;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 300;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submenu-item svg path {
    transition: ease all 0.3s;
}

.submenu-item:hover,
.submenu-item.active {
    background: #6f63a6;
    color: var(--white);
}

.submenu-item:hover svg path,
.submenu-item.active svg path {
    fill: var(--white);
}

.submenu-item span {
    font-size: 18px;
}

/* RIGHT PANEL */
.submenu-panel {
    display: none;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 32px;
}

.submenu-panel.active {
    display: grid;
}


.submenu-panel ul,
.submenu-mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu-panel li,
.submenu-panel li a {
    font-size: 16px;
    font-weight: 300;
    padding: 6px 0;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.2s ease;
}

.submenu-panel li:hover {
    color: #6f63a6;
}

.submenu-mobile {
    display: none;
}


.chevron {
    transition: transform 0.2s ease;
}


/* active states */
.submenu.active {
    display: block;
}

.nav-dropdown.active .chevron {
    transform: rotate(180deg);
}

.main-nav a:hover {
    opacity: 0.8;
}

.nav-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown svg {
    width: 24px;
    height: 12px;
}

/* burger hidden on desktop */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 26px;
    height: 2px;
    background: var(--white);
}

.hero-title {
    width: 675px;
    font-weight: 300;
    font-size: 36px;
    line-height: 52px;
    text-align: center;
    color: var(--white);
    text-align: center;
    margin: auto;
}

.hero-btn {
    margin-left: calc(50% - 140px);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 50px;
    background: #594E8F;
    color: var(--white);
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
    transition: all 0.3s ease;
}

/* Arrow wrapper (important) */
.arrow-box {
    width: 30px;
    height: 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: width 0.3s ease, height 0.3s ease;
}

.arrow {
    width: 40px;
    height: 20px;
}

/* Hover */
.btn:hover {
    background: var(--primary-purple);
}

.btn:hover .arrow-box {
    width: 40px;
    height: 20px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: transparent;
    color: var(--white);
}

.btn-outline:hover svg path {
    stroke: var(--white);
}

.menu-close {
    display: none;
}

.hidden {
    overflow: hidden;
}


/* Footer */
.footer {
    padding-top: 70px;
    max-width: 1440px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 410px 121px 248px 265px;
    gap: 80px;
    margin-bottom: 100px;
    padding: 0 70px;
}

.footer-brand img {
    width: 153px;
    height: 138px;
    margin-bottom: 24px;
}

.footer-brand p {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-dark);
}

.footer-links h3,
.footer-treatments h3,
.footer-contact h3 {
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.footer-links ul,
.footer-treatments ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-treatments a {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-dark);
    transition: opacity 0.3s;
}

.footer-links a:hover,
.footer-treatments a:hover {
    opacity: 0.7;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 36px;
}


.contact-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-group a,
.contact-group p {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-dark);
}

.contact-group a {
    transition: opacity 0.3s;
}

.contact-group a:hover {
    opacity: 0.7;
}

.social-icons-wrapper {
    display: flex;
    gap: 16px;
}

.social-icons-wrapper img {
    width: 30px;
    height: auto;
}

.appointment-form p,
.contact-form p {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background-color: var(--primary-blue);
    padding-left: 70px;
    padding-right: 70px;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-bottom-left p,
.footer-designer {
    font-family: Gotham;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1440px) {

    .hero-content,
    .footer-content {
        padding-left: 40px;
        padding-right: 40px;
    }

    .main-nav {
        gap: 26px;
    }

    .hero-btn {
        margin-left: calc(45% - 80px);
    }

    .footer-content {
        grid-template-columns: 1.75fr 1fr 1fr 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

}

@media (max-width: 1200px) {
    .burger {
        display: flex;
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 98;
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 99;
        height: 100vh;
        width: 320px;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 24px;
        transition: right 0.35s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .submenu-left {
        margin-bottom: 20px;
    }

    .main-nav a {
        color: var(--text-dark);
        margin-bottom: 20px;
    }



    .submenu-item:hover,
    .submenu-item.active {
        background: transparent;
        color: var(--text-dark);
    }

    .submenu-item {
        pointer-events: auto;
    }

    .submenu-item.active svg path {
        fill: var(--text-dark);
    }

    .submenu-item {
        padding: 0;
    }

    .main-nav.active {
        right: 0;
        overflow-y: auto;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Close button */
    .menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 26px;
        background: none;
        border: none;
        color: var(--text-dark);
        cursor: pointer;
        display: block;
    }

    .nav-dropdown svg path {
        fill: var(--text-dark);
    }

    .submenu-panel,
    .submenu-panel.active {
        display: none;
    }

    .submenu-mobile {
        display: block;
        height: 0;
        opacity: 0;
        visibility: hidden;
        padding-left: 16px;
    }

    .submenu-item:hover svg path,
    .submenu-item.active svg path {
        fill: var(--text-dark);
    }

    .submenu-mobile li,
    .submenu-mobile li a {
        font-size: 16px;
        font-weight: 300;
        padding: 6px 0;
        color: var(--text-dark);
        cursor: pointer;
        transition: color 0.2s ease;
    }

    .submenu {
        position: static;
        box-shadow: none;
        padding: 0;
        height: 0;
    }

    .submenu-inner {
        grid-template-columns: 1fr;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
    }

    .submenu-divider {
        display: none;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 28px;
        line-height: 40px;
        width: 90%;
    }

    .hero-btn {
        margin-left: calc(42% - 80px);
    }

}


@media (max-width: 768px) {
    .hero-section {
        height: 500px;
    }

    .hero-btn {
        margin: auto;
    }

    .header-wrapper>a>img {
        width: 100px;
        height: 91px;
        top: 20px;
        left: 20px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 32px;
    }

    .footer {
        padding-top: 50px;
    }

    .footer-content {
        display: flex;
        flex-wrap: wrap;
        gap: 30px 20px;
    }

    .footer-brand {
        width: 100%;
    }

    .footer-contact {
        width: 100%;
        gap: 20px;
    }

    .footer-treatments,
    .footer-links {
        width: calc(50% - 20px);
    }

    .footer-links h3,
    .footer-treatments h3,
    .footer-contact h3 {
        margin-bottom: 6px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .hero-content,
    .footer-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-nav {
        width: 100%;
    }

    .hero-title {
        font-size: 20px;
        line-height: 28px;
        width: 90%;
    }

    .btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .footer-brand img,
    .header-wrapper>a>img {
        width: 80px;
        height: auto;
    }

    .footer-links h3,
    .footer-treatments h3,
    .footer-contact h3,
    .footer-links a,
    .footer-treatments a,
    .footer-brand p {
        font-size: 16px;
        line-height: 20px;
    }

    .contact-group a,
    .contact-group p {
        font-size: 14px;
        line-height: 18px;
    }

}