@import url('global.css');
@import url('header.css');

html{
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    padding: var(--md);
}

.p-0 {
    padding: 0;
}

img {
    max-width: 100%;
}

.logo-full {
    width: 100%;
    padding-inline-start: var(--sm);
}

.logo-small {
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
}

header{
    position: relative;
}

header ul {
    display: flex;
    gap: 10px;
}


header ul img {
    height: var(--logo-height);
}

header li {
    height: var(--header-height);
    background-color: var(--white-color);
    display: flex;
    align-items: center;
    text-align: center;
    border-radius: var(--small-border-radius);
}

header a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 2px;
    padding-inline: 2rem;
    width: fit-content;
    white-space: nowrap;
    color: var(--dark-gray-color);
}

.btn {
    padding: 15px 20px;
    line-height: 1.4;
    color: var(--white-color);
    text-align: center;
    border-radius: var(--small-border-radius);
}

.btn-red {
    background-color: var(--red-color);
    color: white;
    border-radius: var(--small-border-radius);
}

.btn-gray {
    background-color: var(--dark-gray-color);
    color: white;
    border-radius: var(--small-border-radius);
}

/*hero start*/

.hero {
    height: calc(100vh - var(--header-height) - var(--md) - var(--md));
    display: flex;
    padding-top: var(--sm);
    gap: var(--xs);
}

.hero>div {
    width: 50%;
    border-radius: var(--section-border-radius);
}

.hero-text {
    background-color: var(--dark-gray-color);
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: var(--xl);
}

.hero-image {
    background-color: var(--dark-gray-color);
    overflow: hidden;
}

.hero-image img {
    transform: scale(1.1);
    object-fit: cover;
    height: 100%;
    width: 100%;
}

section {
    border-radius: var(--section-border-radius);
    margin-top: var(--md);
    padding: var(--xxl) var(--xl);
    background-color: var(--light-gray-color);
}

.twoColumns {
    display: flex;
    gap: 20%;
}

.twoColumns>div {
    width: 50%;
}

.list-year {
    padding-top: var(--xl);
}

.list-year li {
    display: flex;
    justify-content: space-between;
    padding-block: var(--sm);
    border-bottom: 1px solid #B3B6B9;
    align-items: center;
}

.list-year li:last-of-type {
    border: none;
}

.list-year li p:first-child {
    font-size: var(--h3);
    font-weight: 500;
    color: var(--red-color)
}

.full-image {
    overflow: hidden;
    padding: 0;
    aspect-ratio: 21/9;

}

.full-image img,
.image-card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.sticky-section {
    padding: 0;
    display: flex;
    gap: var(--sm);
    height: 100%;

}

.sticky-section>div {
    width: 50%;
    border-radius: var(--section-border-radius);
}

.sticky-box>div {
    background-color: var(--dark-gray-color);
    padding: var(--xl);
    border-radius: var(--section-border-radius);
    height: calc(100vh - var(--sm)*2);
    position: sticky;
    top: var(--sm);
}

.sticky-box>div h3 {
    font-weight: 400;
    color: var(--white-color);
}

.image-list {
    display: flex;
    flex-direction: column;
    gap: var(--sm);
}

.image-card {
    border-radius: var(--section-border-radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 21/9;
    filter: contrast(130%);
}


.image-card h3 {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #dbdbdb;
    background-color: hsla(0, 0%, 0%, 0.40);
    font-weight: 400;
    width: 100%;
    height: 100%;
    z-index: 2;
    top: 0;
    left: 0;
}


.image-section {
    display: flex;
    gap: var(--sm);
    height: 60vh;
}

.image-section .text-inner {
    padding: var(--xxl) var(--lg);
    gap: var(--sm);
    border-radius: var(--section-border-radius);
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.image-section .image-card {
    width: 30%;
}

.text-inner>* {
    width: 60%;
}

.list-section {
    display: flex;
    gap: var(--xs);

}

.list-section ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: var(--xs);
}

.list-section li {
    padding: var(--sm);
    border: 1px solid #B3B6B9;
    border-radius: var(--small-border-radius);
}

.list-section li h3 {
    font-weight: 400;
    color: var(--section-color);
}

.list-section .list-title {
    width: 20%;
}

.list-section .list-title p {
    padding: 10px;
    color: var(--white-color);
    background-color: var(--section-color);
    text-align: center;
    border-radius: var(--small-border-radius);
    position: sticky;
    top: var(--sm);
}


/*footer*/

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: var(--section-border-radius);
    margin-top: var(--md);
    padding: calc(var(--xxl)*2) var(--xl) 0 var(--xl);
    background-color: var(--light-gray-color);
}

.inner-footer img {
    width: 33vw;
    padding-bottom: var(--xxl);
}

.inner-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--xxl);
    padding-bottom: calc(var(--xxl)*2);
}

.footer-links {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.footer-links a,
.footer-privacy a {
    font-size: var(--fs);
    color: #1F1F1F;
    text-align: center;
    line-height: 2;
    font-weight: 400;
    gap: 0;
}

.footer-privacy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: var(--sm);
}

.footer-privacy>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--xs);

}





@media(width < 1600px) {

    .text-inner>* {
        width: 80%;
    }

}

@media(width < 1400px) {
    .text-inner>* {
        width: 100%;
    }

}

@media(width < 1200px) {
    .mobile-none {
        display: none;
    }

    .hero {
        flex-direction: column-reverse;
        height: 87svh;
        padding-top: var(--xs);
        justify-content: start;
    }

    .hero>div {
        width: 100%;
        border-radius: var(--section-border-radius);
    }

    .hero-image {
        background-color: var(--dark-gray-color);
        overflow: hidden;
        height: 60%;
    }

    .hero-text {
        height: 40%;
        padding: var(--lg);
    }

    .twoColumns {
        flex-direction: column;
        gap: calc(var(--xxl)*3) ;
    }

    .twoColumns>div {
        width: 100%;
    }

    section {
        padding: var(--xxl) var(--lg);
    }
    .list-year li {
        flex-direction: column;
        gap:var(--xs);
        align-items: start;
        padding-block: var(--md);
    }

    .list-year li p:first-child {
        line-height: 1;
    }

    .full-image {
       aspect-ratio: 1/1;
    }

    .sticky-section {
       flex-direction: column;
    }

    .sticky-section>div {
        width: 100%;
    }
    .sticky-box>div {
        height: 50vh;
    }

    header a {
        padding-inline: 0;
    }

    .image-section {
        flex-direction: column;
    }
    .image-section .text-inner {
        width: 100%;
        gap: calc(var(--xxl)*2) ;
    }
    .image-section .image-card {
        width: 100%;
        aspect-ratio: 1/1;
    }
    .image-section {
        height: auto;
    }
    .list-section {
        flex-direction: column;
    }
    .list-section .list-title {
        width: 100%;
    border-radius: var(--small-border-radius);
    text-align: center;
    }
    .list-section .list-title p {
        padding: var(--md);
    }
    .inner-footer img {
        width: 50vw;
        padding-bottom: var(--xxl);
    }
    .footer-privacy {flex-direction: column;  gap: var(--sm);}
    .footer-privacy>div {flex-direction: column; gap: 5px;}

    footer {
        margin-top: var(--xxl);
    }

    .nav-item{
        display: flex;
      }
}

@media(width < 992px) {}

@media(width < 768px) {}


@media(width < 576px) {
    .sticky-box>div {
        height: auto;
        padding: var(--xxl) var(--lg);
    }
    .full-image img, .image-card img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        aspect-ratio: 16/9;
    }
    .hero-text {
        height: 40%;
        padding: var(--xl) var(--lg);
    }

}

@media(width < 481px) {}