﻿
/* =========================================================
   FINEASTRA · Brochure Showcase — Light
   ========================================================= */
:root {
    --ct-bg: #fbfaf7;
    --ct-bg-2: #f4f1eb;
    --ct-surface: #ffffff;
    --ct-ink: #1a1f24;
    --ct-text: #2a3138;
    --ct-muted: #7b848d;
    --ct-line: rgba(26, 31, 36, .10);
    --ct-line-2: rgba(26, 31, 36, .06);
    --ct-accent: #b8863b; /* refined gold */
    --ct-accent-2: #d4a659;
    --ct-teal: #2b5c66;
    --ct-teal-soft: #e6eff0;
    --ct-radius: 20px;
    --ct-shadow: 0 24px 50px -20px rgba(26, 31, 36, .18);
    --ct-shadow-lg: 0 40px 80px -30px rgba(26, 31, 36, .28);
    --ct-ease: cubic-bezier(.22, 1, .36, 1);
    --footer-border: rgba(0, 61, 122, 0.10);
}

body {
    margin: 0px;
    padding: 0px;
}

/* =========================================================
       MAIN FOOTER
       ========================================================= */

.fineastra-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient( 135deg, #ffffff 0%, #ffffff 34%, #f8fbfe 58%, #f2f7fb 100% );
    border-top: 1px solid var(--footer-border);
}

    /*
        Soft architectural glow.
        Pure CSS — no images, no additional HTTP requests.
    */

    .fineastra-footer::before {
        content: "";
        position: absolute;
        z-index: -3;
        width: 760px;
        height: 760px;
        top: -420px;
        right: -180px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(0, 61, 122, 0.055) 0%, rgba(0, 61, 122, 0.025) 38%, transparent 72% );
        pointer-events: none;
    }

    .fineastra-footer::after {
        content: "";
        position: absolute;
        z-index: -3;
        width: 620px;
        height: 620px;
        bottom: -430px;
        left: -160px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(11, 111, 184, 0.045) 0%, rgba(11, 111, 184, 0.018) 40%, transparent 72% );
        pointer-events: none;
    }


/* =========================================================
       DIAGONAL WAVE SYSTEM
       ========================================================= */

.fineastra-footer__waves {
    position: absolute;
    z-index: -2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.fineastra-footer__wave {
    position: absolute;
    width: 145%;
    left: -22%;
    height: 180px;
    transform: rotate(-7deg);
    border-radius: 50%;
}

.fineastra-footer__wave--one {
    top: 38%;
    background: linear-gradient( 90deg, transparent 0%, rgba(0, 61, 122, 0.018) 22%, rgba(0, 61, 122, 0.045) 50%, rgba(0, 61, 122, 0.018) 78%, transparent 100% );
}

.fineastra-footer__wave--two {
    top: 43%;
    height: 145px;
    transform: rotate(-7deg) translateY(25px);
    background: linear-gradient( 90deg, transparent 0%, rgba(11, 111, 184, 0.018) 20%, rgba(11, 111, 184, 0.035) 50%, rgba(11, 111, 184, 0.018) 80%, transparent 100% );
}

.fineastra-footer__wave--three {
    top: 47%;
    height: 110px;
    transform: rotate(-7deg) translateY(48px);
    background: linear-gradient( 90deg, transparent 0%, rgba(0, 61, 122, 0.012) 30%, rgba(0, 61, 122, 0.025) 50%, rgba(0, 61, 122, 0.012) 70%, transparent 100% );
}




/* ---------- Section shell ---------- */
.ct {
    position: relative;
    isolation: isolate;
    padding: clamp(1.5rem, 4vw, 3.5rem) clamp(.75rem, 3vw, 2rem) clamp(3rem, 7vw, 6rem);
    color: var(--ct-text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    overflow: clip;
    -webkit-font-smoothing: antialiased;
}

.ct__grain {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(26,31,36,.035) 1px, transparent 1px);
    background-size: 3px 3px;
    pointer-events: none;
    z-index: -1;
    opacity: .55;
}

/* =========================================================
   HERO
   ========================================================= */
.ct-hero {
    position: relative;
    max-width: 1240px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
}

@media (min-width: 960px) {
    .ct-hero {
        grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    }
}

.ct-hero__glow {
    position: absolute;
    top: 5%;
    right: -10%;
    width: 55%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(184,134,59,.14), transparent 65%);
    filter: blur(30px);
    pointer-events: none;
    z-index: -1;
}

/* ---------- Copy ---------- */
.ct-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1.1rem;
    padding: .4rem .9rem;
    border: 1px solid var(--ct-line);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ct-accent);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(26,31,36,.04);
}

.ct-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ct-accent);
    box-shadow: 0 0 0 0 rgba(184,134,59,.55);
    animation: ct-pulse 2.4s infinite;
}

@keyframes ct-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(184,134,59,.55);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(184,134,59,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(184,134,59,0);
    }
}

.ct-hero__title {
    margin: 0 0 1.25rem;
    font-weight: 400;
    font-size: clamp(2.4rem, 6.5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -.01em;
    color: var(--ct-ink);
    font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

    .ct-hero__title span {
        display: block;
        color: var(--ct-ink);
    }

    .ct-hero__title em {
        display: block;
        font-style: normal;
        font-family: inherit;
        font-size: .38em;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: var(--ct-muted);
        margin-top: .75rem;
        font-weight: 400;
    }

.ct-hero__lead {
    margin: 0 0 2rem;
    max-width: 52ch;
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    line-height: 1.75;
    color: #4a545c;
}

.ct-hero__stats {
    display: flex;
    gap: clamp(1.25rem, 4vw, 2.5rem);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    border-top: 1px solid var(--ct-line);
    border-bottom: 1px solid var(--ct-line);
}

    .ct-hero__stats > div {
        display: flex;
        flex-direction: column;
        gap: .15rem;
    }

    .ct-hero__stats strong {
        font-size: clamp(1.4rem, 2.5vw, 1.75rem);
        font-weight: 500;
        color: var(--ct-ink);
        letter-spacing: -.01em;
    }

    .ct-hero__stats span {
        font-size: .7rem;
        letter-spacing: .16em;
        text-transform: uppercase;
        color: var(--ct-muted);
    }

.ct-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* ---------- Buttons ---------- */
.ct-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 52px;
    padding: .85rem 1.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform .3s var(--ct-ease), background .25s, color .25s, border-color .25s, box-shadow .3s;
    -webkit-tap-highlight-color: transparent;
}

.ct-btn--solid {
    background: var(--ct-ink);
    color: #fff;
    box-shadow: 0 12px 30px -12px rgba(26,31,36,.4);
}

    .ct-btn--solid:hover {
        background: #000;
        transform: translateY(-2px);
        box-shadow: 0 16px 34px -12px rgba(26,31,36,.5);
    }

.ct-btn--ghost {
    background: #ffffff;
    color: var(--ct-ink);
    border-color: var(--ct-line);
}

    .ct-btn--ghost:hover {
        border-color: var(--ct-accent);
        color: var(--ct-accent);
        transform: translateY(-2px);
    }

.ct-btn:focus-visible {
    outline: 3px solid var(--ct-accent);
    outline-offset: 3px;
}

@media (max-width: 479.98px) {
    .ct-hero__actions .ct-btn {
        flex: 1 1 100%;
    }
}

/* ---------- Hero book ---------- */
.ct-hero__stage {
    perspective: 1600px;
    display: grid;
    place-items: center;
}

.ct-hero__bookwrap {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.ct-hero__book {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 4px 10px 10px 4px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: rotateY(-14deg) rotateX(4deg);
    transition: transform .8s var(--ct-ease), box-shadow .8s var(--ct-ease);
    box-shadow: 0 0 0 1px rgba(26,31,36,.06), var(--ct-shadow-lg);
    animation: ct-float 6s ease-in-out infinite;
}

@keyframes ct-float {
    0%,100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -10px;
    }
}

.ct-hero__book:hover,
.ct-hero__book:focus-visible {
    transform: rotateY(-4deg) rotateX(1deg) translateY(-6px) scale(1.015);
    animation-play-state: paused;
}

.ct-hero__book img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}

.ct-hero__spine {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4%;
    background: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(255,255,255,.35) 45%, rgba(0,0,0,.08) 100%);
    z-index: 2;
    pointer-events: none;
}

.ct-hero__sheen {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 1.2s var(--ct-ease);
    pointer-events: none;
    mix-blend-mode: screen;
}

.ct-hero__book:hover .ct-hero__sheen,
.ct-hero__book:focus-visible .ct-hero__sheen {
    transform: translateX(100%);
}

.ct-hero__shadow {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -26px;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(26,31,36,.28), transparent 70%);
    filter: blur(8px);
    z-index: -1;
}

.ct-hero__tap {
    position: absolute;
    left: 50%;
    bottom: -66px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ct-muted);
    white-space: nowrap;
}

    .ct-hero__tap i {
        color: var(--ct-accent);
    }

/* =========================================================
   COLLECTION GRID
   ========================================================= */
.ct-collection {
    max-width: 1240px;
    margin: clamp(4rem, 9vw, 7rem) auto 0;
    padding-inline: clamp(.5rem, 2vw, 1rem);
}

.ct-collection__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ct-line);
}

.ct-collection__title {
    margin: 0;
    font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--ct-ink);
    letter-spacing: .02em;
}

.ct-collection__sub {
    margin: 0;
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ct-muted);
}

.ct-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.ct-card {
    position: relative;
}

.ct-card__btn {
    all: unset;
    display: block;
    width: 100%;
    cursor: pointer;
    border-radius: var(--ct-radius);
    background: var(--ct-surface);
    border: 1px solid var(--ct-line);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(26,31,36,.04);
    transition: transform .5s var(--ct-ease), border-color .3s, box-shadow .5s;
    -webkit-tap-highlight-color: transparent;
}

    .ct-card__btn:hover,
    .ct-card__btn:focus-visible {
        transform: translateY(-6px);
        border-color: rgba(184,134,59,.35);
        box-shadow: 0 24px 45px -22px rgba(26,31,36,.28);
    }

    .ct-card__btn:focus-visible {
        outline: 3px solid var(--ct-accent);
        outline-offset: 4px;
    }

.ct-card__media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--ct-teal-soft);
}

    .ct-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .8s var(--ct-ease);
    }

.ct-card__btn:hover .ct-card__media img,
.ct-card__btn:focus-visible .ct-card__media img {
    transform: scale(1.05);
}

.ct-card__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(26,31,36,.10) 100%);
    pointer-events: none;
}

.ct-card__arrow {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ct-ink);
    color: #fff;
    font-size: .9rem;
    opacity: 0;
    transform: translate(-6px, 6px) scale(.9);
    transition: opacity .35s, transform .35s var(--ct-ease);
}

.ct-card__btn:hover .ct-card__arrow,
.ct-card__btn:focus-visible .ct-card__arrow {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.ct-card__body {
    display: block;
    padding: 1rem 1.1rem 1.25rem;
    text-align: left;
}

.ct-card__title {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ct-ink);
    margin-bottom: .25rem;
    letter-spacing: -.005em;
}

.ct-card__meta {
    display: block;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ct-muted);
}

.ct-empty, .ct-status {
    max-width: 1240px;
    margin: 2rem auto 0;
    text-align: center;
}

.ct-status {
    min-height: 1.25rem;
    color: #c0392b;
    font-size: .9rem;
}

/* =========================================================
   FULLSCREEN READER — WHITE
   ========================================================= */
body.cr-lock {
    overflow: hidden;
    overscroll-behavior: none;
}

.cr {
    position: fixed;
    inset: 0;
    height: 100dvh;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    background: #ffffff; /* ← beyaz arka plan */
    color: var(--ct-ink, #1a1f24);
    opacity: 0;
    transition: opacity .35s ease;
    overflow: hidden;
}

    .cr[hidden] {
        display: none;
    }

    .cr.is-open {
        opacity: 1;
    }

.cr-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid rgba(26,31,36,.06);
}

.cr-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-family: "Iowan Old Style", Georgia, serif;
    font-size: clamp(.95rem, 2.4vw, 1.2rem);
    font-weight: 400;
    color: var(--ct-ink, #1a1f24);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cr-main {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    padding: .5rem 1rem;
    overflow: hidden;
   /* background: radial-gradient(900px 500px at 50% 30%, #fafaf7 0%, #f2efe9 100%);*/
}

.cr-stage {
    position: relative;
    width: 100%;
    height: 100%;
    touch-action: none;
}

.cr-book {
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform var(--cr-shift-ms, .45s) cubic-bezier(.3,.7,.2,1);
}

.cr-foot {
    padding: .5rem 1rem 1rem;
    border-top: 1px solid rgba(26,31,36,.06);
    background: #ffffff;
}

.cr-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: .5rem;
}

.cr-counter {
    min-width: 6.5rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: var(--ct-muted, #7b848d);
    font-size: .9rem;
}

.cr-btn {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(26,31,36,.12);
    border-radius: 50%;
    background: #ffffff;
    color: var(--ct-ink, #1a1f24);
    font-size: 1.15rem;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
    -webkit-tap-highlight-color: transparent;
}

    .cr-btn:hover:not(:disabled) {
        background: #f6f3ec;
        border-color: rgba(184,134,59,.45);
        color: var(--ct-accent, #b8863b);
    }

    .cr-btn:disabled {
        opacity: .3;
        cursor: default;
    }

    .cr-btn:focus-visible,
    .cr-thumb:focus-visible {
        outline: 2px solid var(--ct-accent, #b8863b);
        outline-offset: 2px;
    }

.cr-thumbs {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: .25rem;
    justify-content: safe center;
    scrollbar-width: thin;
}

.cr-thumb {
    flex: 0 0 auto;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    background: #f6f3ec;
    opacity: .65;
    cursor: pointer;
    transition: opacity .2s, border-color .2s;
}

    .cr-thumb img {
        display: block;
        height: clamp(40px, 6vh, 64px);
        width: auto;
        border-radius: 3px;
    }

    .cr-thumb:hover {
        opacity: 1;
    }

    .cr-thumb[aria-current="true"] {
        border-color: var(--ct-accent, #b8863b);
        opacity: 1;
    }

/* Ghost: cover flying into place */
.cr-ghost {
    position: fixed;
    z-index: 1090;
    border-radius: 6px;
    box-shadow: 0 30px 70px rgba(26,31,36,.35);
    pointer-events: none;
    transition: left .55s var(--ct-ease), top .55s var(--ct-ease), width .55s var(--ct-ease), height .55s var(--ct-ease), opacity .3s ease;
}

@media (min-width: 768px) {
    .cr-bar {
        padding: 1rem 1.5rem;
    }

    .cr-main {
        padding: .75rem 1.75rem;
    }

    .cr-foot {
        padding: .5rem 1.5rem 1.25rem;
    }
}

@media (pointer: coarse) {
    .cr-btn {
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media (max-height: 520px) and (orientation: landscape) {
    .cr-bar {
        padding: .25rem .75rem;
    }

    .cr-thumbs {
        display: none;
    }

    .cr-foot {
        position: absolute;
        inset: 0;
        padding: 0;
        pointer-events: none;
        background: transparent;
        border: 0;
    }

    .cr-pager {
        height: 100%;
        margin: 0;
        justify-content: space-between;
        padding: 0 .5rem;
    }

        .cr-pager .cr-btn {
            pointer-events: auto;
        }

    .cr-counter {
        position: absolute;
        left: 50%;
        bottom: max(.25rem, env(safe-area-inset-bottom, 0px));
        transform: translateX(-50%);
        padding: .1rem .6rem;
        border-radius: 1rem;
        background: rgba(26,31,36,.08);
        color: var(--ct-ink, #1a1f24);
        font-size: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-hero__book {
        animation: none;
    }

    .cr, .cr-ghost, .cr-book,
    .ct-btn, .ct-card__btn, .ct-card__media img {
        transition: none;
    }
}
