/* 
 * Altitude Website Custom CSS
 * This file contains consolidated styles from inline styles previously in HTML files
 */

/* =================== */
/* COMMON STYLES       */
/* =================== */

:root {
    --light-blue: #cfdaff;
    --dark-blue: #1f1f30;
    --medium-blue: #7795fa;
    --white: #fff;
}

/* Lenis smooth scroll library styles */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* =================== */
/* MOBILE MENU STYLES  */
/* =================== */

.mobile-menu-button {
    display: none;
    cursor: pointer;
    z-index: 1000;
    margin-left: auto;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 30px;
}

.mobile-menu-icon {
    width: 24px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-line {
    width: 100%;
    height: 2px;
    background-color: #1f1f30;
    transition: all 0.3s ease;
}

.mobile-menu-button.active .menu-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-button.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active .menu-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 998;
}

body.menu-open .menu-overlay {
    display: block;
}

/* =================== */
/* LEGAL PAGES STYLES  */
/* =================== */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.legal-content h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p,
.legal-content li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.legal-content .last-updated {
    font-style: italic;
    margin-top: 40px;
    font-size: 14px;
}

/* =================== */
/* RESPONSIVE STYLES   */
/* =================== */

@media screen and (max-width: 767px) {
    /* Mobile menu responsive styles */
    .mobile-menu-button {
        display: block;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 4px;
        position: relative;
        top: 0;
        right: 0;
    }

    .space-between {
        align-items: center;
    }

    .center-part {
        position: absolute;
        top: 85px;
        right: 20px;
        width: auto;
        min-width: 200px;
        max-width: 250px;
        height: auto;
        background-color: white;
        flex-direction: column;
        padding: 12px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 999;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .center-part.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
        right: 20px;
    }

    .center-part-2 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 0;
        width: 100%;
    }

    .link-menu {
        margin-left: 0;
        padding: 8px 12px;
        width: 100%;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }

    .link-menu:hover {
        background-color: rgba(207, 218, 255, 0.3);
    }

    /* Contact button mobile styles */
    .center-part > .contact {
        margin: 8px 0 0 0;
        width: 100%;
        text-align: left;
        padding: 8px 16px;
        background-color: var(--light-blue);
        border-radius: 20px;
        transition: background-color 0.2s ease;
        border: none;
        display: block;
        box-sizing: border-box;
    }

    .center-part > .contact.w-inline-block {
        max-width: 100%;
        margin-left: 0;
    }

    .center-part > .contact:hover {
        background-color: #bfceff;
    }

    .center-part > .contact .xsmall-text {
        color: var(--dark-blue) !important;
        text-align: left;
        font-weight: 500;
    }

    /* Footer responsive styles */
    .footer-right-low-part {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-right-low-part a {
        margin-left: 0 !important;
        margin-top: 10px;
    }

    .list-footer li {
        margin-bottom: 4px !important;
    }

    .footer-right-part-top {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .footer-bloc {
        margin-bottom: 0;
    }

    body.menu-open {
        overflow: initial;
    }

    .frame-2147223259 {
        padding: 0 15px;
    }

    .frame-2147223259 .xsmall-text {
        font-size: 16px;
        line-height: 1.4;
        max-width: 90%;
    }

    .frame-2147223285 {
        margin: 0 auto;
    }

    .vectors-wrapper-4 {
        width: 16px;
        height: 16px;
    }

    .banner {
        text-align: center;
    }
}
