@font-face {
    font-family: 'LexendQRtouch-Medium';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url('../assets/fonts/LexendQRtouch-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'LexendQRtouch-Light';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url('../assets/fonts/LexendQRtouch-Light.ttf') format('truetype');
}

/* ========== RESET & BASE ========== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #7A7A7A;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ========== HEADER ========== */

.header {
    width: 100%;
    padding: 15px 0;
    text-align: center;
}

.header__logo-wrapper {
    display: block;
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
}

.header__logo {
    width: 24%;
    max-width: 360px;
    min-width: 140px;
    display: inline-block;
}

/* ========== HERO SECTION ========== */

.hero {
    position: relative;
    background: linear-gradient(130deg, #E8B92E 0%, #E8CB74 89%);
    min-height: 780px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/bg-homepage.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.15;
    pointer-events: none;
}

.hero__wave-wrapper {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    direction: ltr;
    transform: rotate(180deg);
    pointer-events: none;
    z-index: 1;
}

.hero__wave-svg {
    display: block;
    width: calc(260% + 1.3px);
    height: 120px;
    position: relative;
    left: 50%;
    transform: translateX(-50%) rotateY(180deg);
}

.hero__wave-svg .wave-fill {
    fill: #ffffff;
}

.hero__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero__content {
    flex: 1;
    margin-top: 75px;
}

.hero__title {
    font-family: "LexendQRtouch-Medium", sans-serif;
    font-size: 45px;
    font-weight: 300;
    text-transform: capitalize;
    line-height: 1.2em;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero__text {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 200;
    line-height: 1.4em;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero__text p {
    margin-bottom: 8px;
}

.hero__image-wrapper {
    position: relative;
    z-index: 5;
    margin-bottom: -120px;
}

.hero__image {
    border-radius: 300px 100px 100px 100px;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.12);
}

.hero__cta-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #00dafc;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0px 0px 30px 0px rgba(53, 56, 240, 0.5);
    transition: background-color 0.3s;
    flex-direction: row-reverse;
}

.hero__btn:hover {
    background-color: #4632da;
}

.hero__btn-icon {
    font-size: 14px;
}

/* ========== APP SECTIONS (Toul'Bike, CalcuDose, Orthodoc) ========== */

.app-section {
    position: relative;
    min-height: 830px;
    display: flex;
    align-items: center;
    margin-bottom: 10%;
}

.app-section__bg-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/bg-section.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
}

.app-section__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    width: 100%;
}

.app-section__store-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.app-section__store-badge {
    width: 264px;
    max-width: 100%;
}

.app-section__info-col {
    flex: 1;
    padding: 5% 0 5% 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-section__title {
    font-family: "Montserrat", sans-serif;
    font-size: 50px;
    font-weight: 300;
    text-transform: capitalize;
    margin-bottom: 20px;
    width: 100%;
}

.app-section__subtitle {
    font-family: "Varela Round", sans-serif;
    font-size: 45px;
    font-weight: 300;
    text-transform: capitalize;
    line-height: 1.2em;
    margin-bottom: 20px;
    width: 100%;
}

.app-section__screenshot {
    border-radius: 100px 100px 300px 100px;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.12);
    max-width: 390px;
    margin: 0 auto;
}

/* Toul'Bike colors */
.app-section--toulbike .app-section__title { color: #D48885; }
.app-section--toulbike .app-section__subtitle { color: #207AA7; }

/* CalcuDose colors */
.app-section--calcudose .app-section__title { color: #0F5C53; }
.app-section--calcudose .app-section__subtitle { color: #A7C6C3; }

/* Orthodoc colors */
.app-section--orthodoc .app-section__title { color: #3a82bf; }
.app-section--orthodoc .app-section__subtitle { color: #31B2D0; }

/* ========== ABOUT SECTION ========== */

.about {
    position: relative;
    padding: 200px 0;
    overflow: hidden;
}

.about__bg-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/bg-team.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1;
    pointer-events: none;
}

.about__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    width: 100%;
}

.about__card-col {
    flex: 1;
}

.about__card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.08);
    max-width: 500px;
}

.about__card-image {
    width: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 1.5s;
}

.about__card:hover .about__card-image {
    transform: scale(1.1);
}

.about__card-image-wrapper {
    overflow: hidden;
    min-height: 260px;
}

.about__card-content {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
}

.about__card-name {
    font-family: "Varela Round", sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #00dafc;
    margin-bottom: 10px;
}

.about__card-role {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #3d4459;
}

.about__text-col {
    flex: 1;
    padding: 20px;
}

.about__job-title {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 300;
    text-transform: capitalize;
    color: #3d4459;
    margin-bottom: 20px;
}

.about__description {
    font-family: "Varela Round", sans-serif;
    font-size: 45px;
    font-weight: 300;
    text-transform: capitalize;
    line-height: 1.2em;
    color: #E8B92E;
}

/* ========== CONTACT SECTION ========== */

.contact {
    padding: 30px 0;
    text-align: center;
}

.contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact__heading {
    font-family: "Roboto", sans-serif;
    font-size: 65px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 35px;
}

.contact__card-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 35px;
}

.contact__card-image {
    max-width: 800px;
    width: 100%;
}

/* ========== SOCIAL ICONS ========== */

.social {
    padding: 30px 0;
    text-align: center;
}

.social__icons {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.social__icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    transition: opacity 0.3s;
}

.social__icon-link:hover {
    opacity: 0.8;
}

.social__icon-link--linkedin {
    background-color: #0077b5;
}

.social__icon-link--facebook {
    background-color: #3b5998;
}

.social__icon-link--instagram {
    background-color: #c13584;
}

/* ========== FOOTER ========== */

.footer {
    padding: 20px 0 40px;
    text-align: center;
}

.footer__copyright {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: #7A7A7A;
}

.footer__copyright a {
    color: #7A7A7A;
    text-decoration: none;
}

.footer__copyright a:hover {
    text-decoration: underline;
}

/* ========== PARALLAX & SCROLL ANIMATIONS ========== */

[data-parallax] {
    will-change: transform, opacity;
}

.app-section__screenshot-link {
    display: block;
    position: relative;
    z-index: 3;
}

/* ========== ANCHOR SPACER ========== */

.anchor-spacer {
    margin-top: 6%;
}

/* ========== RESPONSIVE - TABLET (max 1024px) ========== */

@media (max-width: 1024px) {
    .hero {
        min-height: 770px;
        padding: 0 5%;
    }

    .hero__bg-overlay {
        background-position: center right;
    }

    .hero__content {
        padding: 5px;
        margin-top: 0;
    }

    .hero__title {
        font-size: 40px;
    }

    .hero__image-wrapper {
        margin-bottom: -100px;
    }

    .hero__cta-col {
        padding: 5%;
    }

    /* App sections - tablet: stack vertically, reverse order */
    .app-section {
        margin-top: 15%;
        margin-bottom: 0;
    }

    .app-section__bg-overlay {
        background-position: bottom left;
    }

    .app-section__container {
        flex-direction: column-reverse;
    }

    .app-section__info-col {
        padding: 0 35% 0 5%;
        width: 100%;
    }

    .app-section__subtitle {
        font-size: 35px;
    }

    .app-section__screenshot {
        width: 51%;
    }

    .app-section__store-col {
        width: 100%;
        align-items: center;
    }

    /* About section */
    .about {
        padding: 150px 0 100px;
    }

    .about__bg-overlay {
        background-position: 130px 670px;
    }

    .about__container {
        flex-direction: column-reverse;
    }

    .about__card-col {
        padding: 30px;
    }

    .about__card {
        border-radius: 10px;
    }

    .about__text-col {
        text-align: center;
    }

    .about__description {
        font-size: 35px;
    }

    /* Contact */
    .contact {
        padding: 30px 25px;
    }
}

/* ========== RESPONSIVE - MOBILE (max 767px) ========== */

@media (max-width: 767px) {
    .hero {
        padding: 15% 5% 0 5%;
    }

    .hero__container {
        flex-direction: column;
    }

    .hero__title {
        font-size: 30px;
        text-align: center;
    }

    .hero__text {
        text-align: center;
    }

    .hero__image-wrapper {
        margin-bottom: -60px;
    }

    .hero__cta-col {
        margin-top: 10%;
    }

    /* App sections */
    .app-section {
        margin-top: 20%;
        margin-bottom: 0;
    }

    .app-section__bg-overlay {
        background-position: bottom left;
    }

    .app-section__container {
        flex-direction: column-reverse;
    }

    .app-section__info-col {
        padding: 5%;
        text-align: center;
        align-items: center;
    }

    .app-section__title {
        font-size: 18px;
        text-align: center;
    }

    .app-section__subtitle {
        font-size: 30px;
        line-height: 1.4em;
        text-align: center;
    }

    .app-section__screenshot {
        width: 80%;
    }

    .app-section__store-col {
        margin-top: 15%;
        padding: 0;
        align-items: center;
    }

    /* About section */
    .about {
        padding: 150px 0 100px;
    }

    .about__bg-overlay {
        background-position: 0px 0px;
    }

    .about__container {
        flex-direction: column-reverse;
    }

    .about__job-title {
        font-size: 18px;
        text-align: center;
    }

    .about__description {
        font-size: 30px;
        line-height: 1.4em;
        text-align: center;
    }

    /* Contact */
    .contact {
        padding: 20px 20px;
    }
}
