/** Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    color-scheme: light;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;

    --primary-900: #1D1E3B;
    --primary-800: #242E4A;
    --primary-700: #2C4158;
    --primary-600: #355766;
    --primary-500: #3D6E73;
    --primary-400: #639088;
    --primary-300: #89AD9C;
    --primary-200: #B0C9B6;
    --primary-100: #D7E4D7;

    --neutral-900: #000000;
    --neutral-800: #373737;
    --neutral-700: #8F8F8F;
    --neutral-600: #A6A6A6;
    --neutral-500: #DDDDDD;
    --neutral-400: #E6E6E6;
    --neutral-300: #EEEEEE;
    --neutral-200: #F1F1F1;
    --neutral-100: #FFFFFF;
}

/** GENERAL */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 900;
}

p,
li {
    margin: 8px 0;
    line-height: 2rem;
}

img {
    width: auto;
    height: 100%;
}

a {
    text-decoration: none;
}

/** COMPONENTS */
.big-title {
    font-size: 3rem;
    margin: 0 0 24px 0;
}

.subtitle {
    font-size: 1.25rem;
}

.link-btn {
    display: inline-block;
    height: 48px;
    width: 160px;
    text-align: center;
    background-color: var(--neutral-900);
    color: var(--neutral-100);
    padding: 12px 32px;
    border-radius: 4px;

    &:hover {
        background-color: var(--neutral-800);
    }
}

a.primary {
    background-color: var(--neutral-100);
    color: var(--primary-500);

    &:hover {
        color: var(--neutral-100);
        background-color: var(--neutral-900);
    }
}

.section {
    max-width: 1240px;
    margin: auto;
    padding: 80px 8%;
}

.section-container--primary {
    background-color: var(--primary-500);
    color: var(--neutral-100);
}

.section-container--alt {
    background-color: var(--neutral-200);
}

.section__title {
    color: var(--primary-500);
    margin: 0 0 24px 0;
    text-align: center;
}

.columns {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.aligned-columns {
    align-items: center;
}

.column {
    width: 100%;
}

.card,
.img-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    border-radius: 16px;

    &:hover {
        scale: 1.01;
    }
}

.card {
    background-color: var(--neutral-100);
    padding: 32px;
}

.card h3 {
    margin: 0 0 8px 0;
}

.partner-logo {
    height: auto;
    width: 100%;
}

.card a,
.img-card a {
    color: inherit;
    text-decoration: none;
}

.img-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.card__content {
    text-align: center;
}

.img-card__content {
    padding: 24px;
    border-radius: 0 0 16px 16px;
}

.custom-list {
    margin: 16px 0 0 0;
    padding: 0 0 0 24px;
}

.check-list {
    list-style-type: "✓";

    & li {
        padding: 0 0 0 12px;
    }
}

.empty-list {
    list-style: none;
}

/** BURGER */
.burger {
    cursor: pointer;
    position: relative;
    display: none;
    width: 30px;
    height: 20px;
    background-color: transparent;
}

.burger input {
    display: none;
}

.burger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--neutral-100);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}

.burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
}

.burger input:checked~span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 5px;
}

.burger input:checked~span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
}

.burger input:checked~span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 22px;
    left: 5px;
}

.menu {
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 16px;
}

.menu__element a {
    color: var(--neutral-100);

    &:hover {
        color: var(--neutral-500);
    }
}

/** HEADER */
.header {
    background-color: var(--primary-500);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1480px;
    margin: auto;
    padding: 0 8%;
    height: 72px;
    gap: 24px;
}

.logo {
    height: 24px;
}

/** HERO */
.hero {
    position: relative;
    width: 100%;
    height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./images/archeological_site.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__content {
    max-width: 1480px;
    margin: auto;
    padding: 8%;
}

.hero__links {
    display: flex;
    align-items: center;
    margin: 24px 0 0 0;
    gap: 16px;
}

/** PROJECT SECTION */
.project-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
}

/** FEATURES SECTION */
.store-btns {
    margin: 24px 0 0 0;
}

.store-btns {
    margin: 24px 0 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-btns a {
    height: 48px;
}

.dashboard-link {
    margin: 16px 0 0 0;
    width: fit-content;
    color: white !important;
}

.features-columns {
    gap: 96px;
}

.feature-mobile-columns {
    margin: 0 0 160px 0;
}

.inverted-columns {
    flex-direction: row-reverse;
}

.screenshot {
    width: 100%;
}

.mobile-screenshot {
    height: 400px;
    width: auto;
}

.mobile-screenshots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/** PARTNER LOGOS */
.partner-logos {
    padding: 80px 0;
    text-align: center;
}

.partner-logos__gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    margin: 24px 0 0 0;
}

/** FOOTER SECTION */
footer .section .columns .column {
    padding: 80px;
}

footer h4 {
    margin: 0 0 16px 0;
}

.footer-list li {
    margin: 4px 0;
    line-height: 1.5rem;
}

.footer-list li a {
    color: var(--neutral-100);

    &:hover {
        color: var(--primary-100);
    }
}

.credits {
    margin: 40px 0 0 0;
    text-align: center;
}

/** TABLET */
@media screen and (max-width: 992px) {
    .burger {
        display: block;
    }

    .menu {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        z-index: 1;
        width: 100%;
        background-color: var(--primary-500);
        flex-direction: column;
        justify-content: center;
        padding: 4% 8%;
    }

    .menu--visible {
        display: flex;
    }

    .columns {
        flex-direction: column;
    }

    .features-columns {
        margin: 0 0 40px 0;
    }

    .inverted-columns {
        flex-direction: column;
    }

    .store-btns {
        justify-content: center;
    }

    .partner-logos__gallery {
        height: fit-content;
        flex-direction: column;
        max-width: 350px;
        margin: 24px auto;
    }

    .partner-logos__gallery img {
        width: 100%;
    }

    .partner-logos__gallery .square-logo {
        width: 80px;
    }

    footer .section .columns .column {
        padding: 0;
    }
}

/** MOBILE */
@media screen and (max-width: 576px) {
    .hero {
        min-height: calc(100dvh - 72px);
    }

    .big-title {
        font-size: 2rem;
    }

    .link-btn {
        width: 100%;
    }

    .hero__links {
        flex-direction: column;
        gap: 8px;
    }

    .mobile-screenshot {
        height: auto;
        width: 180px;
    }
}