﻿/* =========================================================
   THE WED FRAME - ANASAYFA
========================================================= */


/* =========================================================
   HERO
========================================================= */

.twf-hero {
    position: relative;
    height: 100svh;
    min-height: 680px;
    overflow: hidden;
    background: var(--twf-dark);
}

.twf-hero-slider {
    position: absolute;
    inset: 0;
}


/* SLIDE */

.twf-hero-slide {
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1.1s ease, visibility 1.1s ease;
}

    .twf-hero-slide.active {
        z-index: 2;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }


/* IMAGE */

.twf-hero-image {
    object-fit: cover;
    transform: scale(1.08);
    will-change: transform;
}

.twf-hero-slide.active .twf-hero-image {
    animation: twfHeroZoom 7.5s cubic-bezier(.2,.6,.3,1) forwards;
}

@keyframes twfHeroZoom {

    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}


/* OVERLAY */

.twf-hero-overlay {
    z-index: 1;
    background: linear-gradient( 90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.26) 48%, rgba(0,0,0,.06) 100% ), linear-gradient( 0deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 58% );
}


/* CONTENT */

.twf-hero-content {
    z-index: 3;
    left: 0;
    bottom: 13vh;
    width: min(950px,85%);
    color: #fff;
}

.twf-hero-kicker {
    margin-bottom: 22px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .23em;
}

.twf-hero-title {
    max-width: 950px;
    margin: 0;
    font-family: var(--twf-serif);
    font-size: 60px;
    font-weight: 400;
    line-height: .859;
    letter-spacing: -.05em;
}

.twf-hero-text {
    max-width: 530px;
    color: rgba(255,255,255,.84);
    font-size: 16px;
    line-height: 1.85;
}

    .twf-hero-text p {
        margin: 0;
    }


/* =========================================================
   HERO TEXT ANIMATION
========================================================= */

.twf-hero-kicker,
.twf-hero-title,
.twf-hero-text,
.twf-hero-actions {
    opacity: 0;
    transform: translateX(60px);
}

.twf-hero-slide.active .twf-hero-kicker {
    animation: twfHeroContentIn .85s .12s forwards;
}

.twf-hero-slide.active .twf-hero-title {
    animation: twfHeroContentIn 1s .25s forwards;
}

.twf-hero-slide.active .twf-hero-text {
    animation: twfHeroContentIn .9s .42s forwards;
}

.twf-hero-slide.active .twf-hero-actions {
    animation: twfHeroContentIn .9s .58s forwards;
}

@keyframes twfHeroContentIn {

    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================================================
   HERO NAVIGATION
========================================================= */

.twf-hero-ui {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
}


/* DOTS */

.twf-hero-dot {
    width: 32px;
    height: 2px;
    padding: 0;
    border: 0;
    background: rgba(255,255,255,.32);
    cursor: pointer;
    transition: width .35s ease, background .35s ease;
}

    .twf-hero-dot.active {
        width: 60px;
        background: #fff;
    }


/* ARROWS */

.twf-hero-arrow {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    background: rgba(0,0,0,.12);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease;
}

    .twf-hero-arrow:hover {
        color: var(--twf-dark);
        background: var(--twf-bg);
        border-color: var(--twf-bg);
    }

#twfHeroPrev:hover {
    transform: translateX(-3px);
}

#twfHeroNext:hover {
    transform: translateX(3px);
}


/* =========================================================
   SERVICES
========================================================= */

.twf-service-image {
    height: 250px;
    background: #ddd5ca;
}

    .twf-service-image img {
        transition: transform .8s cubic-bezier(.2,.65,.3,1);
        object-fit: cover;
        width: 100% !important;
    }

.twf-service-card .twf-card-title,
.twf-service-card .twf-arrow-link {
    transform-origin: left center;
    transition: color .3s ease, transform .3s ease;
}

.twf-service-card:hover .twf-service-image img {
    transform: scale(1.035);
}

.twf-service-card:hover .twf-card-title {
    color: var(--twf-muted);
    transform: scale(1.015);
}

.twf-service-card:hover .twf-arrow-link {
    color: var(--twf-muted);
    transform: scale(1.02);
}

    .twf-service-card:hover .twf-arrow-link > span {
        transform: translate(4px,-4px);
    }

.twf-service-number {
    z-index: 2;
    color: #fff;
    font-size: 9px;
    letter-spacing: .2em;
}


/* =========================================================
   MARQUEE
========================================================= */

.twf-marquee-section {
    overflow: hidden;
    color: #fff;
    background: var(--twf-dark);
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.twf-marquee {
    overflow: hidden;
    padding: 38px 0;
}

.twf-marquee__track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: twfMarquee 25s linear infinite;
}

    .twf-marquee__track span {
        font-family: var(--twf-serif);
        font-size: 43px;
        font-style: italic;
        white-space: nowrap;
    }

    .twf-marquee__track i {
        font-size: 16px;
    }

@keyframes twfMarquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   PHILOSOPHY
========================================================= */

.twf-philosophy {
    padding: 170px 40px;
    color: #fff;
    background: var(--twf-dark);
    text-align: center;
}

.twf-philosophy__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.twf-philosophy__small {
    display: block;
    margin-bottom: 45px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .22em;
}

.twf-philosophy blockquote {
    margin: 0;
    font-family: var(--twf-serif);
    font-size: 50px;
    font-weight: 400;
    line-height: .91;
}

    .twf-philosophy blockquote em {
        font-weight: 400;
    }

.twf-philosophy__brand {
    display: block;
    margin-top: 45px;
    font-size: 10px;
    letter-spacing: .16em;
    opacity: .55;
}


/* =========================================================
   TESTIMONIAL SLIDER
========================================================= */

.twf-testimonial-slider {
    display: grid;
}

.twf-testimonial {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(25px);
    pointer-events: none;
    transition: opacity .6s ease, transform .6s ease, visibility .6s ease;
}

    .twf-testimonial.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }


/* =========================================================
   FINAL CTA
========================================================= */

.twf-final-cta {
    height: min(850px,85vh);
    min-height: 680px;
    background: var(--twf-dark);
}

    .twf-final-cta > img {
        z-index: 0;
        transition: transform 1.2s cubic-bezier(.2,.65,.3,1);
    }

    .twf-final-cta:hover > img {
        transform: scale(1.025);
    }

    .twf-final-cta .container {
        z-index: 2;
    }


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:767.98px) {

    /* HERO */

    .twf-hero {
        min-height: 700px;
    }

    .twf-hero-content {
        left: 0;
        right: 0;
        bottom: 120px;
        width: 100%;
    }

    .twf-hero-kicker {
        margin-bottom: 17px;
        font-size: 8px;
    }

    .twf-hero-title {
        font-size: clamp(52px,15vw,75px);
        line-height: .82;
    }

    .twf-hero-text {
        max-width: 100%;
        font-size: 12px;
    }

    .twf-hero-ui {
        bottom: 25px;
    }

    .twf-hero-dot {
        width: 20px;
    }

        .twf-hero-dot.active {
            width: 38px;
        }

    .twf-hero-arrow {
        width: 42px;
        height: 42px;
    }


    /* SERVICES */

    .twf-service-image {
        height: 520px;
    }


    /* MARQUEE */

    .twf-marquee {
        padding: 28px 0;
    }

    .twf-marquee__track {
        gap: 28px;
    }

        .twf-marquee__track span {
            font-size: 34px;
        }


    /* PHILOSOPHY */

    .twf-philosophy {
        padding: 110px 20px;
    }


    /* FINAL CTA */

    .twf-final-cta {
        height: 720px;
        min-height: 720px;
    }
}
/* =========================================================
   FOOTER
========================================================= */

.twf-footer {
    background: var(--twf-dark);
    color: #fff;
    padding: 110px 5vw 30px;
}

.twf-footer__top {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 80px;
    padding-bottom: 100px;
}

.twf-footer__brand h2 {
    margin: 35px 0;
    font-family: var(--twf-serif);
    font-size: clamp(60px,6vw,95px);
    font-weight: 400;
    line-height: .86;
}

.twf-big-link {
    display: inline-flex;
    align-items: center;
    gap: 35px;
    margin-top: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    border-bottom: 1px solid rgba(255,255,255,.6);
    padding-bottom: 10px;
}

    .twf-big-link span {
        font-size: 20px;
    }

.twf-footer__columns {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
    align-self: end;
}

    .twf-footer__columns > div {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

.twf-footer-title {
    margin-bottom: 13px;
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}

.twf-footer__columns a,
.twf-footer__columns span {
    font-size: 11px;
    line-height: 1.7;
    color: rgba(255,255,255,.73);
}

    .twf-footer__columns a:hover {
        color: #fff;
    }

.twf-footer__bottom {
    border-top: 1px solid var(--twf-light-line);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: rgba(255,255,255,.4);
}


/* =========================================================
   WHATSAPP
========================================================= */

.twf-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--twf-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.2);
    font-size: 19px;
    transition: transform .3s ease;
}

    .twf-whatsapp:hover {
        transform: translateY(-4px);
    }


/* =========================================================
   LIGHTBOX
========================================================= */

.twf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(12,11,10,.97);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
}

    .twf-lightbox.open {
        opacity: 1;
        visibility: visible;
    }

    .twf-lightbox img {
        max-width: 92vw;
        max-height: 88vh;
        object-fit: contain;
    }

.twf-lightbox__close {
    position: absolute;
    right: 30px;
    top: 20px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 48px;
    cursor: pointer;
}




/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .twf-container {
        width: min(100% - 50px, 1380px);
    }

    .twf-header__inner {
        width: calc(100% - 45px);
        grid-template-columns: 1fr auto;
    }

    .twf-nav,
    .twf-header-contact {
        display: none;
    }

    .twf-menu-button {
        display: block;
    }

    .twf-intro__grid {
        grid-template-columns: 1fr;
    }

    .twf-intro__content p,
    .twf-intro__content .twf-arrow-link {
        margin-left: 0;
    }

    .twf-service-card__image {
        height: 470px;
    }

    .twf-story {
        gap: 5vw;
    }

    .twf-footer__top {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 767px) {

    .twf-container {
        width: calc(100% - 36px);
    }

    .twf-section {
        padding: 90px 0;
    }

    .twf-header__inner {
        height: 78px;
        width: calc(100% - 30px);
    }

    .twf-logo img {
        max-width: 120px;
        max-height: 45px;
    }

    .twf-hero {
        min-height: 700px;
    }

    .twf-hero-content {
        left: 22px;
        right: 22px;
        bottom: 100px;
        width: auto;
    }

    .twf-hero-title {
        font-size: clamp(57px,17vw,85px);
    }

    .twf-hero-text {
        font-size: 12px;
    }

    .twf-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .twf-hero-scroll {
        display: none;
    }

    .twf-hero-pagination {
        left: 22px;
        right: auto;
        bottom: 35px;
    }

    .twf-intro__content h2 {
        font-size: 53px;
    }

    .twf-editorial-pair {
        grid-template-columns: 1fr;
        padding: 0 18px 90px;
        gap: 55px;
    }

    .twf-editorial-pair__left,
    .twf-editorial-pair__right {
        margin: 0;
    }

    .twf-editorial-pair__right {
        width: 75%;
        margin-left: auto;
    }

    .twf-section-head {
        display: block;
        margin-bottom: 50px;
    }

        .twf-section-head .twf-arrow-link {
            margin-top: 30px;
        }

        .twf-section-head h2,
        .twf-gallery-head h2,
        .twf-package-intro h2,
        .twf-extras__head h2 {
            font-size: 53px;
        }

    .twf-service-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .twf-service-card:nth-child(2) {
        margin-top: 0;
    }

    .twf-service-card__image {
        height: 530px;
    }

    .twf-story-list {
        gap: 85px;
    }

    .twf-story,
    .twf-story--reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

        .twf-story--reverse .twf-story__image,
        .twf-story--reverse .twf-story__content {
            order: initial;
        }

    .twf-philosophy {
        padding: 110px 20px;
    }

        .twf-philosophy blockquote {
            font-size: 51px;
        }

    .twf-gallery-grid {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
    }

    .twf-gallery-item--1,
    .twf-gallery-item--2,
    .twf-gallery-item--3,
    .twf-gallery-item--4,
    .twf-gallery-item--5 {
        grid-column: auto;
        height: 330px;
        margin: 0;
    }

    .twf-gallery-item:nth-child(3n+1) {
        grid-column: span 2;
        height: 460px;
    }

    .twf-package-row {
        grid-template-columns: 45px 1fr 35px;
    }

    .twf-package-row__desc {
        display: none;
    }

    .twf-package-row__title {
        font-size: 29px;
    }

    .twf-extras__grid {
        grid-template-columns: 1fr;
    }

    .twf-extra,
    .twf-extra:nth-child(3n) {
        border-right: 0;
    }

    .twf-testimonials {
        min-height: 670px;
        padding: 95px 0;
    }

    .twf-testimonial blockquote {
        font-size: 38px;
    }

    .twf-blog-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .twf-blog-card__image {
        height: 470px;
    }

    .twf-final-cta {
        min-height: 700px;
    }

    .twf-final-cta__content {
        left: 22px;
        right: 22px;
        bottom: 75px;
    }

    .twf-final-cta h2 {
        font-size: 65px;
    }

    .twf-footer {
        padding: 85px 20px 25px;
    }

    .twf-footer__columns {
        grid-template-columns: 1fr 1fr;
        row-gap: 45px;
    }

    .twf-footer__bottom {
        flex-direction: column;
        gap: 10px;
    }

    .twf-mobile-menu {
        padding: 25px 22px;
    }

    .twf-mobile-menu__footer {
        left: 22px;
        right: 22px;
        flex-direction: column;
        gap: 10px;
    }
}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* Language selector shares the header's light/dark color on desktop and mobile. */
.twf-language-switch a {
    color: inherit;
    text-decoration: none;
    font-size: 12px;
    padding: 6px 2px;
    opacity: .65;
}
.twf-language-switch a[aria-current="true"],
.twf-language-switch a:hover,
.twf-language-switch a:focus-visible {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
}
