/* Variables & Reset */
:root {
    --color-fb-white: #fff;
    --color-fb-light-gray: #f3f5f7;
    --color-fb-red: #e80024;
    --color-fb-dark-gray: #222b36;
    --color-fb-black: #000;
    --color-fb-extra-dark-gray: #5e6a78;
    --shadow-card: 0px 0px 50px 0px rgba(0, 0, 0, 0.1);

    --radius-pill: 9999px;
    --radius-card: 40px;
    --radius-small: 24px;

    font-family: inherit, system-ui, -apple-system, sans-serif;
}

@font-face {
    font-family: 'CeraPro';
    src: url('../_app/immutable/assets/CeraPro-Regular.BmPFIs1K.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CeraPro';
    src: url('../_app/immutable/assets/CeraPro-Bold.CuAwJoWg.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'CeraPro';
    src: url('../_app/immutable/assets/CeraPro-Black.Jkj8hn0H.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

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

body {
    background-color: var(--color-fb-white);
    color: var(--color-fb-black);
    font-family: 'CeraPro', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1,
h2,
h3 {
    font-weight: 900;
    line-height: 1.1;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--color-fb-red);
    color: var(--color-fb-white);
    width: 100%;
}

@media (min-width: 768px) {
    .btn-primary {
        width: 412px;
    }
}

.btn-primary:hover {
    background-color: #b50119;
    /* dark red */
}

/* Header */
.header {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 100;
}

@media (min-width: 768px) {
    .header {
        top: 32px;
        left: 32px;
        right: 32px;
    }
}

.header-container {
    background-color: var(--color-fb-red);
    border-radius: var(--radius-pill);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo img {
    height: 24px;
    display: block;
}

.desktop-nav {
    display: none;
    gap: 32px;
    color: var(--color-fb-white);
    font-weight: bold;
    font-size: 18px;
}

.desktop-nav a:hover {
    color: #F38091;
    transition: color 0.3s;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-fb-white);
    border-radius: 1px;
}

/* Hero Section */
.hero {
    background-color: var(--color-fb-light-gray);
    position: relative;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 160px;
        min-height: 80vh;
        justify-content: center;
    }
}

.hero-content {
    z-index: 10;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 100px 20px;
    margin-bottom: 8%;
}

.hero h1 {
    font-size: 48px;
    line-height: 1;

}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 88px;
    }
}

.hero-logo {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero-logo {
        max-width: 534px;
    }
}

.hero p {
    font-size: 24px;
    color: var(--color-fb-black);
}

.hero-bg img {
    margin-top: -64px;
    pointer-events: none;
    user-select: none;
    width: 100%;
    max-width: 100vw;
    margin-top: 10%;
}

@media (min-width: 768px) {
    .hero-bg img {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        margin-top: 0;
    }
}

/* History Section */
.history-section {
    background-color: var(--color-fb-light-gray);
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    position: relative;
    z-index: 20;
    margin-top: -10px;
}

@media (min-width: 768px) {
    .history-section {
        padding-top: 40px;
        padding-bottom: 80px;
    }
}

.history-card {
    background-color: var(--color-fb-white);
    border-radius: var(--radius-card);
    padding: 24px;
    max-width: 343px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
    .history-card {
        max-width: 704px;
        padding: 40px;
        text-align: center;
        align-items: center;
        background-color: transparent;
        box-shadow: none;
    }
}

@media (min-width: 1024px) {
    .history-card {
        max-width: 842px;
        background-color: var(--color-fb-white);
        padding: 48px;
        box-shadow: var(--shadow-card);
    }
}

.history-card h2 {
    font-size: 48px;
}

@media (min-width: 1024px) {
    .history-card h2 {
        font-size: 64px;
    }
}

.history-card p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-fb-black);
}

/* Numbers */
.numbers-section {
    padding: 120px 20px;
    background-color: var(--color-fb-white);
    text-align: center;
}

@media (min-width: 1024px) {
    .numbers-section {
        padding: 160px 20px;
    }
}

.numbers-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

@media (min-width: 1024px) {
    .numbers-header h2 {
        font-size: 64px;
    }
}

.numbers-header span {
    color: var(--color-fb-red);
}

.numbers-header p {
    font-size: 18px;
    margin-bottom: 40px;
}

.numbers-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

@media (min-width: 1024px) {
    .numbers-grid {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.number-card {
    background-color: var(--color-fb-white);
    border-radius: var(--radius-card);
    padding: 24px;
    width: 343px;
    height: auto;
    min-height: 300px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

@media (min-width: 1024px) {
    .number-card {
        width: 305px;
        min-height: 400px;
        justify-content: space-between;
    }
}

.num-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-fb-red);
    margin: 30px 0;
}

.num {
    font-size: 96px;
    font-weight: 500;
    line-height: 1;
}

.currency {
    font-size: 32px;
    font-weight: bold;
}

.number-card p {
    color: var(--color-fb-extra-dark-gray);
    font-size: 18px;
    line-height: 1.4;
}

.more-text {
    position: absolute;
    top: 24px;
    width: 100%;
    left: 0;
}

/* Projects */
.projects-section {
    padding: 0 16px;
    margin-bottom: 60px;
}

.projects-container {
    background-color: var(--color-fb-light-gray);
    border-radius: var(--radius-card);
    padding: 60px 0;
    overflow: hidden;
}

.projects-header-card {
    background-color: var(--color-fb-white);
    border-radius: var(--radius-card);
    width: 343px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

@media (min-width: 768px) {
    .projects-header-card {
        width: 704px;
    }
}

@media (min-width: 1024px) {
    .projects-header-card {
        width: max-content;
        flex-direction: row;
    }
}

.projects-info {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 1024px) {
    .projects-info {
        text-align: left;
        padding: 48px;
        width: 458px;
        justify-content: center;
    }
}

.projects-info h2 {
    font-size: 48px;
}

.projects-info .amount {
    font-size: 40px;
    color: var(--color-fb-red);
    font-weight: 900;
}

@media (min-width: 1024px) {
    .projects-info h2 {
        font-size: 64px;
    }

    .projects-info .amount {
        font-size: 64px;
    }
}

.projects-img-wrapper {
    display: flex;
    justify-content: center;
    background-color: var(--color-fb-white);
    overflow: hidden;
}

.projects-img-wrapper img {
    width: 110%;
    max-width: none;
}

@media (min-width: 768px) {
    .projects-img-wrapper img {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 1024px) {
    .projects-img-wrapper img {
        width: 668px;
    }
}


.projects-carousel {
    display: flex;
    overflow-x: auto;
    padding: 40px 16px;
    gap: 16px;
    scroll-snap-type: x mandatory;
    margin-top: 20px;
}

.projects-carousel::-webkit-scrollbar {
    display: none;
}

.project-card {
    min-width: 343px;
    height: 374px;
    position: relative;
    scroll-snap-align: center;
    cursor: pointer;
}

.proj-bg {
    position: absolute;
    right: 0;
    top: 16px;
    width: 279px;
    height: 288px;
    border-radius: var(--radius-card);
}

.proj-photo {
    position: absolute;
    right: 16px;
    top: 0;
    width: 279px;
    height: 288px;
    border-radius: var(--radius-card);
    object-fit: cover;
}

.proj-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
}

.proj-num {
    height: 130px;
}

.proj-caption h3 {
    margin-left: 15px;
    margin-top: 40px;
    font-size: 18px;
}

.btn-wrap {
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

/* SMI */
.smi-section {
    padding: 60px 20px;
    text-align: center;
}

.smi-section h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

@media (min-width: 1024px) {
    .smi-section h2 {
        font-size: 64px;
        margin-bottom: 40px;
    }
}

.smi-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto;
    max-width: 1267px;
}

@media (min-width: 1024px) {
    .smi-grid {
        flex-direction: row;
        justify-content: center;
    }
}

.smi-card {
    border-radius: var(--radius-small);
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    text-align: left;
    transition: all 0.5s;
}

@media (min-width: 1024px) {
    .smi-card {
        width: 269px;
        height: 412px;
        flex-shrink: 0;
    }

    .smi-card:hover {
        width: 412px;
    }
}

.smi-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-fb-black);
    opacity: 0.35;
}

.smi-card p {
    position: relative;
    z-index: 10;
    color: var(--color-fb-white);
    font-size: 16px;
    font-weight: bold;
}

@media (min-width: 1024px) {
    .smi-card p {
        font-size: 18px;
    }
}

.mt-big {
    margin-top: 40px;
}

/* Responsible */
.responsible-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .responsible-section {
        padding-top: 160px;
    }
}

.resp-card {
    background-color: var(--color-fb-white);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1024px) {
    .resp-card {
        width: 1270px;
        padding: 48px;
        flex-direction: row;
        justify-content: stretch;
        align-items: center;
    }
}

.resp-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

@media (min-width: 1024px) {
    .resp-content {}
}

.resp-content h2 {
    font-size: 40px;
}

@media (min-width: 1024px) {
    .resp-content h2 {
        font-size: 64px;
    }
}

.resp-content p {
    font-size: 18px;
    line-height: 1.5;
}

.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }
}

.mt-small {
    margin-top: 16px;
    margin-bottom: 24px;
    width: 100%;
}

.resp-img-wrapper img {
    width: 654px;
    max-width: 100%;
}

/* Footer */
.footer {
    background-color: var(--color-fb-light-gray);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    padding: 60px 20px 30px;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.footer-container {
    width: 343px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

@media (min-width: 768px) {
    .footer-container {
        width: 688px;
    }
}

@media (min-width: 1024px) {
    .footer-container {
        width: 840px;
    }
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo img {
    width: 100%;
    max-width: 343px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 36px;
    font-size: 16px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .footer-links {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
}

.col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-link {
    color: var(--color-fb-extra-dark-gray);
    font-weight: normal;
}

.resp-content span {
    font-weight: bold;
    color: #e80024;
    font-size: 24px;
}

/* Brand Identity / dllogo section */
.dllogo-section {
    background-color: #1e2329;
    color: var(--color-fb-white);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.dllogo-section h2 {
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (min-width: 1024px) {
    .dllogo-section h2 {
        font-size: 64px;
    }
}

.dllogo-box {
    background-color: var(--color-fb-white);
    border-radius: var(--radius-card);
    padding: 48px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;
}

.dllogo-box img {
    width: 100%;
    max-width: 320px;
    height: auto;
}

.dllogo-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 480px;
}

@media (min-width: 768px) {
    .dllogo-buttons {
        flex-direction: row;
        justify-content: center;
    }
}