@import url(../colors.css);

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
}

section {
    padding: 75px 0;
}

.wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

a {
    text-decoration: none;
    color: var(--color-secondary);
}

h2 {
    font-size: 2.6em;
    font-weight: 500;
}

.p {
    font-size: 1.6em;
}

.bold {
    font-weight: bold;
}

.fa-turn-down, .fa-arrow-down, .fa-arrow-rotate-left {
    margin-left: 10px;
}

/* NAVIGATION */

.nav-mobile {
    display: none;
}

nav {
    position: fixed;
    display: flex;
    align-items: center;
    top: 0;
    width: 100%;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--color-primary);
    z-index: 100;
}

.nav-all-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: var(--color-tertiary);
    background-color: var(--color-primary);
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.header-btn:hover {
    color: var(--color-primary);
    background-color: var(--color-secondary);
}

.nav-items > a:first-child {
    margin-left: 0;
}

.nav-items > a:last-child {
    margin-right: 0;
}

.logo {
    width: 300px;
}

nav li {
    display: inline;
}

.nav-items > a {
    position: relative;
    color: var(--color-primary);
    font-size: 1.2em;
    margin: 0 15px;
}

.nav-items > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-items > a:hover::after {
    transform: scaleX(1);
}

.nav-items > a:not(:hover)::after {
    transform-origin: right;
}

/* HEADER */

.header {
    display: flex;
    padding-top: 20vh;
    height: 550px;
}

.hero-img {
    position: relative;
    height: 700px;
    background-color: var(--color-quaternary);
    background-image: url('../../assets/header-img-privacy-policy.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    z-index: 10;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-primary);
    width: 50%;
}

.hero-text > h1 {
    font-size: 4em;
    margin-bottom: 75px;
    font-weight: 600;
    line-height: 1.2;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.icon .fa-lock {
    font-size: 10em;
    color: var(--color-primary);
}

.short-info {
    font-family: 'Poppins', sans-serif;
    color: var(--color-primary);
    line-height: 1.5;
    width: 80%;
}

.hero-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0);
    z-index: -5;
}

/* PRIVACY POLICY */

.privacy-policy ol li h3, .privacy-policy ol li h4, .privacy-policy ol li p {
    margin-bottom: 20px;
}

.inner-list {
    margin: 0 0 20px 40px;
}

/* FOOTER */

footer {
    padding: 50px 0;
    color: var(--color-primary);
    background-color: var(--color-tertiary);
}

.footer-info {
    display: grid;
    grid-template-columns: 35% repeat(3, 1fr);
    gap: 40px;
    border-bottom: 1px solid var(--color-quinary);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    position: relative;
    top: -10px;
    width: 32px;
    height: 32px;
}

.footer-info h3, .footer-info h4 {
    margin-bottom: 20px;
}

.footer-info p, .footer-info a, .footer-column span {
    color: var(--color-quinary);
}

.footer-first-column p {
    max-width: 300px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column a, .footer-column span {
    margin-bottom: 5px;
}

.footer-column a {
    transition: color 0.3s;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    color: var(--color-quinary);
}

.footer-copyright a {
    color: var(--color-quinary);
    transition: color 0.3s;
}

.footer-column a:hover, .footer-copyright a:hover {
    color: var(--color-primary);
}



@media (max-width: 1300px) {

    /* GLOBAL */

    body {
        overflow-x: hidden;
    }

    .wrapper {
        width: 90%;
    }

    section {
        padding: 50px 0;
    }

    h2 {
        font-size: 2em;
        line-height: 1.25;
    }

    /* NAV */

    .nav {
        display: none;
    }

    .nav-mobile {
        display: flex;
    }

    .nav-all-items-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-all-items-mobile img {
        width: 300px;
    }

    .hamburger-btn {
        width: 60px;
        height: 60px;
        border: none;
        background: transparent;
        padding: 15px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .hamburger-btn span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: var(--color-primary);
        border-radius: 3px;
        transition: transform 0.35s ease, opacity 0.25s ease, width 0.35s ease;
    }

    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        background-color: var(--color-primary);
        width: 50%;
        height: 100vh;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s ease, opacity 0.3s ease, visibility 0.4s;
    }

    .mobile-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-items-mobile {
        display: flex;
        flex-direction: column;
    }

    .nav-item-mobile {
        font-size: 1.2em;
        padding: 20px;
        color: var(--color-primary);
        border: 2px solid var(--color-primary);
        background-color: var(--color-secondary);
    }

    .header-btn-mobile {
        font-size: 1.2em;
        padding: 20px;
        color: var(--color-primary);
        border: 2px solid var(--color-primary);
        background-color: var(--color-secondary);
    }

    /* HERO */

    .header {
        height: 400px;
        padding-top: 0;
    }

    .hero-img {
        min-height: 600px;
        height: auto;
        padding-top: 140px;
        padding-bottom: 80px;
        background-position: left;
    }

    .hero-text {
        width: 50%;
        margin-bottom: 50px;
    }

    .hero-text > h1 {
        font-size: 2.5em;
        margin-bottom: 40px;
        line-height: 1.15;
    }

    .short-info {
        width: 90%;
        font-size: 0.9em;
    }

    /* PRIVACY POLICY */
    
    .privacy-policy {
        padding: 0 15px;
    }

    /* FOOTER */

    footer {
        padding: 40px 0;
    }

    .footer-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    .footer-first-column {
        width: 100%;
        order: 1;
    }

    .footer-second-column {
        order: 4;
    }

    .footer-third-column {
        order: 3;
    }

    .footer-fourth-column {
        order: 2;
    }

    .footer-column {
        width: 100%;
    }

    .footer-info h3,
    .footer-info h4 {
        margin-bottom: 12px;
    }

    .footer-copyright {
        gap: 20px;
        font-size: 0.9em;
    }    
}



@media (max-width: 767px) {

    /* NAV */

    .nav-all-items-mobile {
        padding-right: 0;
    }

    .nav-all-items-mobile img {
        width: 200px;
    }

    .mobile-menu {
        width: 75%;
    }

    /* HERO */

    .header {
        display: flex;
        flex-direction: column;
    }

    .hero-text {
        width: 100%;
    }

    /* FOOTER */

    .footer-info {
        display: flex;
        flex-direction: column;
    }

    .footer-first-column {
        order: initial;
    }

    .footer-second-column {
        order: initial;
    }

    .footer-third-column {
        order: initial;
    }

    .footer-fourth-column {
        order: initial;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 10px;
        font-size: 0.8em;
    }
}