html, body {
    height: 100%;
    margin: 0;
    font-family: 'Outfit', Arial, sans-serif;
    background: #d7d0c6;
}

header {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: start;
}

.logo {
    width: 100px;
    height: 110px;
    margin: 0 30px;
    border-radius: 10px;
    background-color: #241f21;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    will-change: transform, border-radius;
    transform-origin: center center;
}

.bg, .fe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg {
    z-index: 1;
}

.fe {
    z-index: 3;
}

.motto {
    position: absolute;
    left: 50%;
    top: 21%;
    transform: none;
    z-index: 2;
    color: #fff;
    font-family: 'Cal Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(48px, 8vw, 160px);
    letter-spacing: .12em;
    will-change: transform;
    backface-visibility: hidden;
    text-align: center;
}

.motto div {
    margin: -.25em 0;
}

/* SCENE / STAGE */
.scene {
    height: 620vh;
    position: relative;
}

.stage {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.texts, .panels {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* TEXTS */
.texts {
    z-index: 5;
    background: #d7d0c6;
    will-change: transform;
}

.swap-wrap {
    height: 100%;
    display: grid;
    place-items: center;
    position: relative;
    padding: 0 24px;
}

.line {
    position: absolute;
    margin: 0;
    white-space: nowrap;
    font-family: 'Cal Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 6vw, 90px);
    letter-spacing: .12em;
    line-height: 1.05;
    color: #666666;
    will-change: opacity;
}

.char {
    display: inline-block;
    opacity: 1;
}

.char.whitespace {
    width: .35em;
}

/* PANELS */
.panels {
    z-index: 1;
    background: #000;
}

.bg-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flash-text {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: 'Cal Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 5vw, 90px);
    letter-spacing: .08em;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .55);
    opacity: 0;
    transform: translateY(12px);
    z-index: 1;
    pointer-events: none;
    will-change: opacity, transform;
}

.curtains {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 2;
}

.left-panel, .right-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    will-change: transform;
}

.pbg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.left-panel .pbg {
    object-position: left center;
}

.right-panel .pbg {
    object-position: right center;
}

.title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: #fff;
    font-family: 'Cal Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(48px, 7vw, 140px);
    letter-spacing: .06em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .55);
    pointer-events: none;
}

.note {
    position: absolute;
    bottom: 5%;
    max-width: min(520px, 70%);
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 700;
    text-align: center;
    z-index: 3;
    opacity: 0;
    transform: translateY(18px);
    will-change: opacity, transform;
    pointer-events: none;
}

.left-panel .note {
    left: 5%;
}

.right-panel .note {
    right: 5%;
}

.cards {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.card-left, .card-right {
    height: 99vh;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.card-left {
    width: 33%;
}

.card-right {
    width: 66%;
}

.card-content {
    color: #666666;
    font-size: 1.2rem;
    line-height: 1.5;
    letter-spacing: 1px;
    flex-direction: column;
    padding: 170px 70px;
    background: #ffffff;
    background: linear-gradient(125deg, rgb(255 255 255) 0%, rgb(229 229 229) 50%, rgb(213 203 203) 100%);
    height: 100vh;
}

.card-content h3 {
    font-family: 'Cal Sans', sans-serif;
    margin-bottom: 30px;
    font-size: 3rem;
}

.card-content ul {
    margin: 0;
    padding: 0;
}

.card-img {
    position: absolute;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.y-anim {
    position: absolute;
    top: 0;
    left: 0;
}

.video-section {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.video-container {
    width: 50%;
    height: 50%;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    transform-origin: center center;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* PROD */
.prod-section {
    width: 100%;
    padding: 100px 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #f9f9f9;
}

.prod-item {
    width: 23%;
}

.prod-img-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 30px;
}

.prod-img-container img {
    object-fit: cover;
    transform: scale(1);
    transition: transform 550ms ease;
    will-change: transform;
}

.prod-img-container img:hover {
    transform: scale(1.05);
}

.prod-title {
    font-family: 'Cal Sans', sans-serif;
    color: #666666;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 10px 0;
}

.prod-desc {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.prod-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    border-radius: 10px;
    padding: 0 20px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #8b8b8b;
    font-family: 'Cal Sans', sans-serif;
    text-decoration: none;
    background-color: #d7d0c6;
    height: 42px;
    letter-spacing: 1px;
}

.prod-link .link-svg {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8b8b8b;
    margin-left: 5px;
}

/* FOOTER */
.footer {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    will-change: transform, border-radius;
    transform-origin: center center;
}

.footer-bg, .footer-fe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-bg {
    z-index: 1;
}

.footer-fe {
    z-index: 3;
}

.footer-motto {
    position: absolute;
    left: 25%;
    top: 21%;
    transform: none;
    z-index: 2;
    color: #fff;
    font-family: 'Cal Sans', sans-serif;
    font-weight: 900;
    letter-spacing: .12em;
    will-change: transform;
    backface-visibility: hidden;
    text-align: center;
    font-size: 6rem;
}

.footer-motto div {
    margin: -.25em 0;
}

footer {
    width: 98%;
    border-radius: 30px;
    font-family: 'Cal Sans', sans-serif;
    background-color: #2d2d2d;
    display: inline-flex;
    justify-content: space-between;
    padding: 50px 50px 100px 50px;
    box-sizing: border-box;
    margin: 50px auto;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.ftr-logo {
    width: 120px;
    height: auto;
}

.ftr-motto {
    color: #c7c0b3;
    font-size: 1.2rem;
    margin-bottom: 5px;
    letter-spacing: 5px;
}

.ftr-links {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.ftr-links a {
    color: #c7c0b3;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 5px;
    font-size: 3rem;
    text-decoration: none;
}

.ftr-links a:hover {
    color: #9b8c71;
}

.ftr-contact {
    font-size: 2rem;
    color: #9b9b9b;
    font-weight: 500;
    margin-top: 30px;
    letter-spacing: 2px;
    text-align: right;
}

.video-scroll {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-scroll-container {
    width: 50vw;
    height: 50vh;
    max-width: 900px;
    max-height: 520px;

    border-radius: 30px;
    overflow: hidden;
    transform-origin: center center;
}

#frame {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.loader {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 12;
    background: #241f21;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-container {
    width: 250px;
    height: 250px;
    position: relative;
}

.loader-logo {
    z-index: 2;
    width: 250px;
    height: auto;
}

.loader-process {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 0.5%;
    background: #FDE100;
    bottom: 0;
    animation: loader 2s infinite ease-in;
}

.loader {
    opacity: 1;
    transition: opacity 600ms ease;
}

.loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.loader_text {
    color: #fff;
    font-size: 0.8rem;
    font-family: 'Cal Sans', sans-serif;
    text-align: center;
}


.spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .25);
    border-top-color: rgba(255, 255, 255, .95);
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loader {
    0% {
        height: 0.5%;
    }

    25% {
        height: 0.5%;
    }

    50% {
        height: 100%;
    }

    75% {
        height: 100%;
    }

    100% {
        height: 0.5%;
    }
}

.underc {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* FIRE */


.campfire {
    position: relative;
    display: inline-block;
    isolation: isolate;
}

.campfire__img {
    display: block;
    width: 100%;
    height: auto;
}

/* Filter SVG'si: 1x1 olsun, görünmesin ama DOM'da render edilebilir kalsın */
.campfire__filters {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    left: -9999px;
    top: -9999px;
}

/* Bazı tarayıcılarda url(#id) yerine url("#id") şart oluyor */
.campfire__distort {
    position: absolute;
    inset: 0;
    pointer-events: none;
    filter: url(#heat);
    -webkit-filter: url(#heat);
    -webkit-mask-image: radial-gradient(circle at 50% 62%, #000 0 32%, transparent 68%);
    mask-image: radial-gradient(circle at 30% 57%, #fff 0% 10%, transparent 25%);
    opacity: .25;
    animation: heatFloat 12.2s ease-in-out infinite;
    height: 100%;
    z-index: 3;
    bottom: 0;
}

@keyframes heatFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1px);
    }
    100% {
        transform: translateY(0);
    }
}

.campfire__glow {
    position: absolute;
    left: 29%;
    bottom: 5%;
    width: 30%;
    height: 34%;
    transform: translateX(-50%);
    pointer-events: none;

    background: radial-gradient(closest-side, rgba(255, 210, 120, .65), rgba(255, 120, 0, .18) 60%, transparent 78%),
    radial-gradient(closest-side, rgba(255, 245, 210, .35), transparent 70%);

    filter: blur(10px) saturate(1.25);
    mix-blend-mode: screen;
    opacity: .75;
    z-index: 3;
    transform-origin: 50% 100%;
    animation: fireFlicker 1.7s infinite ease-in-out;
}

@keyframes fireFlicker {
    0% {
        opacity: .62;
        transform: translateX(-50%) scale(0.985);
    }
    18% {
        opacity: .82;
        transform: translateX(-50%) scale(1.01);
    }
    45% {
        opacity: .68;
        transform: translateX(-50%) scale(0.995);
    }
    70% {
        opacity: .86;
        transform: translateX(-50%) scale(1.015);
    }
    100% {
        opacity: .62;
        transform: translateX(-50%) scale(0.985);
    }
}

/* erişilebilirlik */
@media (prefers-reduced-motion: reduce) {
    .campfire__glow, .campfire__distort {
        animation: none;
    }
}

@media (min-width: 769px) {

}

@media (max-width: 768px) {
    header {
        top: 10px;
    }

    .logo {
        width: 50px;
        height: 55px;
        margin: 0 10px;
        padding: 0 10px;
    }

    .note {
        display: none;
    }

    .flash-text {
        text-align: center;
    }

    .cards {
        flex-direction: column;
    }

    .card-left, .card-right {
        width: 100%;
        height: 49vh;
    }

    .card-content {
        font-size: 0.9rem;
        padding: 65px 10px 10px 10px;
    }

    .card-img {
        width: 100%;
        height: 100%;
    }

    .card-content h3 {
        font-size: 0.8rem;
        margin: 0;
    }

    .card-content p {
        margin: 10px 0;
    }

    .curtains {
        flex-direction: column;
    }

    .prod-section {
        padding: 50px 0;
        flex-direction: column;
    }

    .prod-item {
        width: 96%;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
    }

    .prod-img-container {
        height: 300px;
    }

    .prod-img-container img {
        width: 100%;
        height: auto;
    }

    .prod-title {
        font-size: 1rem;
    }

    .prod-desc {
        font-size: 0.9rem;
    }

    .footer-motto {
        font-size: 3.5rem;
        left: 30%;
        top: 19%;
    }

    .campfire__img, .campfire__glow {
        display: none;
    }

    footer {
        flex-direction: column;
    }

    .ftr-motto {
        text-align: center;
        margin: 10px 0;
    }

    .ftr-contact {
        font-size: 1rem;
        margin-top: 10px;
        text-align: center;
    }

    .ftr-links {
        align-items: center;
    }

    .ftr-links a {
        font-size: 2rem;
    }
}