@import url("https://use.typekit.net/dgn4kjx.css");

@font-face {
    font-family: "Termina Test";
    src: url("https://db.onlinewebfonts.com/t/2f49770b35d9cc1a527beef9feb36ec8.eot");
    src: url("https://db.onlinewebfonts.com/t/2f49770b35d9cc1a527beef9feb36ec8.eot?#iefix") format("embedded-opentype"), url("https://db.onlinewebfonts.com/t/2f49770b35d9cc1a527beef9feb36ec8.woff2") format("woff2"), url("https://db.onlinewebfonts.com/t/2f49770b35d9cc1a527beef9feb36ec8.woff") format("woff"), url("https://db.onlinewebfonts.com/t/2f49770b35d9cc1a527beef9feb36ec8.ttf") format("truetype"), url("https://db.onlinewebfonts.com/t/2f49770b35d9cc1a527beef9feb36ec8.svg#Termina Test") format("svg");
}


@font-face {
    font-family: 'Gotham Book';
    src: url('/fonts/Gotham-Book.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Baskerville';
    src: url('/fonts/Baskerville.ttc') format('truetype-collection');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

.content-wrapper h2 {
    font-size: 24px;
    margin: 30px 0;
    text-align: center;
}

.content-wrapper p {
    font-size: 16.3px;
    line-height: 1.6;
    margin: 10px 0 30px;
    padding: 0 10px;
}

.section {
    font-family: "Gotham Book",sans-serif;
    min-height: 100vh;
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.stacked-image-section {
    position: relative;
    width: 100%;
    height: 180vh;
    overflow: hidden;
}

    .stacked-image-section img {
        position: absolute;
        top: 0vh;
        left: 0;
        width: 100%;
        height: auto;
        min-height: auto;
        object-fit: cover;
    }

.bg-base {
    z-index: 0;
}

.bg-overlay {
    z-index: 1;
    pointer-events: none;
}

.text-overlay {
    position: absolute;
    z-index: 2;
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.description-content {
    font-family: "Gotham Book",sans-serif;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about {
    font-family: "Gotham Book",sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 20px;
    color: #000;
}

.about-container {
    position: relative;
    justify-items:center;
}

.about h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
    text-transform: uppercase;
    padding-left: 10px;
    justify-self:flex-start;
}

.about-content {
    display: flex;
    gap: 40px;
    position: relative;
}

.about-content-wrapper {
    position: relative;
    width: 100%;
}

.about-content-inner {
    display: flex;
    gap: 40px;
}

.about-column {
    flex: 1;
}

    .about-column p {
        font-size: 14px;
        line-height: 24px;
        font-weight: 400;
        margin-bottom: 20px;
        text-align: justify;
    }

.more-detail-button {
    background: none;
    border: none;
    color: #000;
    font-family: "Gotham Book",sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin-top: 20px;
    text-align: left;
    display: none;
}

@media (max-width: 768px) {
    .about {
        padding: 30px 15px;
        text-align: left;
    }

        .about h2 {
            font-size: 1.8rem;
            margin-bottom: 30px;
            text-align: left;
            padding-left: 10px;
        }

    .about-column p {
        font-size: 1.1rem;
        line-height: 1.8;
        text-align: justify;
        margin-bottom: 15px;
    }

    .more-detail-button {
        display: block;
        font-size: 1rem;
        margin: 25px 0 0;
        text-align: left;
        width: auto;
    }

    .about-content-inner {
        flex-direction: column;
        gap: 20px;
        max-height: 180px;
        transition: max-height 0.4s ease;
        overflow: hidden;
        position: relative;
    }

        .about-content-inner.expanded {
            max-height: none;
        }

        .about-content-inner::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: linear-gradient(to bottom, transparent, white);
        }

    .about-content.expanded::after {
        opacity: 0;
    }

    .stacked-image-section {
        height: 120vh; /* Mobilde fazla taşmasın */
    }

        .stacked-image-section img {
            top: 0vh;
            height: 120vh; /* Daha küçük yap */
        }

    .text-overlay {
        font-size: 16px;
        padding: 10px;
        line-height: 1.5;
        width: 90%;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 30px 15px;
        text-align: center;
    }

        .about h2 {
            font-size: 1.8rem;
            margin-bottom: 30px;
            text-align: center;
            padding-left: 10px;
        }

    .about-content {
        flex-direction: column;
        gap: 15px;
        max-width: 600px;
        margin: 0 auto;
    }

    .about-column {
        width: 100%;
    }

        .about-column p {
            font-size: 1.1rem;
            line-height: 1.8;
            text-align: justify;
            margin-bottom: 15px;
        }

    .more-detail-button {
        display: block;
        font-size: 1rem;
        margin: 25px auto 0;
        text-align: center;
    }

    .about-content-inner {
        max-height: 300px;
        overflow: hidden;
        position: relative;
    }

        .about-content-inner::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: linear-gradient(to bottom, transparent, white);
        }

        .about-content-inner.expanded {
            max-height: none;
        }

            .about-content-inner.expanded::after {
                display: none;
            }

    .description {
        padding-top: 20px !important;
        padding-left: 20px;
        padding-right: 20px;
        text-align: left;
    }

        .description h2 {
            font-size: 18px;
            line-height: 1.4;
            padding-left: 10px;
            text-align: left;
        }

    .description-content p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 18px;
        text-align: left;
    }

    .description-content::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        pointer-events: none;
    }

    .description-content.expanded {
        max-height: none;
    }

        .description-content.expanded::after {
            opacity: 0;
        }

    .description .more-detail-button {
        display: block;
    }

    .more-detail-button {
        font-size: 1rem;
        text-align: left;
    }

    .description-text-container {
        max-height: 180px;
        overflow: hidden;
        mask-image: linear-gradient( to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100% );
        -webkit-mask-image: linear-gradient( to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100% );
    }

        .description-text-container.expanded {
            max-height: none;
            mask-image: none;
            -webkit-mask-image: none;
        }

    .description .more-detail-button {
        display: block;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .about {
        text-align: left;
    }

        .about h2 {
            font-size: 1.5rem;
            text-align: left;
            padding-left: 10px;
        }

    .about-column p {
        font-size: 1rem;
        line-height: 1.7;
        text-align: justify;
    }

    .more-detail-button {
        font-size: 0.9rem;
        text-align: left;
    }

    .about h2 {
        font-size: 1.5rem;
        padding-left: 10px;
    }


    .description {
        padding-top: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: left;
    }

        .description h2 {
            font-size: 18px;
            line-height: 1.4;
            text-align: left;
            padding-left: 5px;
        }

    .description-content p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
        text-align: left;
    }

    .more-detail-button {
        font-size: 0.9rem;
        text-align: left;
    }

    .description .more-detail-button {
        font-size: 13px;
    }

    .description-text-container {
        max-height: 180px;
        overflow: hidden;
        mask-image: linear-gradient( to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100% );
        -webkit-mask-image: linear-gradient( to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100% );
    }

        .description-text-container.expanded {
            max-height: none;
            mask-image: none;
            -webkit-mask-image: none;
        }

    .description .more-detail-button {
        display: block;
        margin-top: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1280px) {
    .stacked-image-section {
        height: 120vh;
        position: relative;
        overflow: hidden;
    }

        .stacked-image-section img {
            top: 0;
            left: 0;
            width: 100%;
            height: 120vh;
            object-fit: cover;
        }

    .text-overlay {
        font-size: 18px;
        padding: 15px;
        width: 90%;
        line-height: 1.5;
    }
}
