/* ==========================================================================
   Beyza Altuner — Ana sayfa (savior.pl bölüm akışı)
   Ortak bileşenler (.marquee, .review-card, .team-list, .price-list, .insta-post, .stars)
   burada tanımlıdır; iç sayfalar da bu dosyayı yükleyebilir.
   ========================================================================== */

/* ---------- Ortak: yıldızlar ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars__i { display: inline-grid; color: var(--line-strong); }
.stars__i.is-on { color: #f5b518; }

/* ---------- Ortak: bölüm başlığı (savior: ortalı, büyük harf, kalın) ---------- */
.s-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); padding-inline: var(--gutter); }
.s-head__title { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 14px; }
.s-head__title--lg { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.2; }
.s-head__text { color: var(--text-soft); margin: 0 auto; max-width: 620px; }

/* ==========================================================================
   1. Giriş videosu — tam ekran, metin sol altta
   ========================================================================== */
.s-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg-soft);
}
.s-hero__media { position: absolute; inset: 0; z-index: -2; }
.s-hero__video, .s-hero__media .is-poster { width: 100%; height: 100%; object-fit: cover; }
/* Aydınlık video üzerinde koyu metnin okunması için sol altta yumuşak ışık (koyu modda koyu) */
.s-hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(120% 90% at 0% 100%, color-mix(in srgb, var(--bg) 88%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 38%, transparent 70%);
}
.s-hero__text { padding: clamp(24px, 4vw, 50px); padding-bottom: clamp(56px, 7vw, 50px); max-width: 560px; color: var(--heading); }
.s-hero__title {
    font-size: clamp(.8rem, .74rem + .2vw, .9rem);
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    margin: 0 0 14px;
}
.s-hero__lead { font-family: var(--font-head); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); font-weight: 400; line-height: 1.55; color: var(--text); margin: 0 0 22px; max-width: 460px; }
.s-hero__scroll { position: absolute; right: clamp(20px, 4vw, 50px); bottom: clamp(24px, 4vw, 50px); width: 26px; height: 44px; border: 1.5px solid currentColor; border-radius: 14px; color: var(--heading); opacity: .75; display: none; }
.s-hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: heroScroll 1.8s var(--ease) infinite; }
@keyframes heroScroll { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 768px) { .s-hero__scroll { display: block; } }
@media (max-width: 767px) {
    .s-hero { min-height: 92svh; }
    .s-hero__veil { background: linear-gradient(to top, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 60%, transparent) 38%, transparent 64%); }
    .s-hero__text .btn-row .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   2. Koyu bant — "TWOJE STUDIO PIĘKNA"
   ========================================================================== */
.s-band { background: var(--ink); color: var(--ink-text); min-height: clamp(120px, 14vw, 200px); display: grid; place-items: center; padding: 40px var(--gutter); text-align: center; }
.s-band__title { color: #fff; font-size: clamp(1rem, .9rem + .6vw, 1.375rem); font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; line-height: 1.3; margin: 0; }

/* ==========================================================================
   3. Video + Hakkımızda kartı
   ========================================================================== */
.s-about { position: relative; display: grid; background: var(--bg); }
.s-about__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-muted); }
.s-about__video, .s-about__media .is-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-about__card { padding: clamp(32px, 6vw, 50px) var(--gutter); background: var(--bg); }
.s-about__title { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.75rem); margin-bottom: 18px; }
.s-about__text { color: var(--text-soft); font-size: .95rem; line-height: 1.75; }
@media (min-width: 900px) {
    .s-about { grid-template-columns: minmax(0, 1fr) 360px; align-items: end; min-height: 700px; }
    .s-about__media { aspect-ratio: auto; height: 100%; min-height: 700px; }
    .s-about__card { padding: 50px; margin-bottom: 60px; }
}
@media (min-width: 1300px) { .s-about { grid-template-columns: minmax(0, 1fr) 420px; } }

/* ==========================================================================
   4. Yorumlar — sonsuz kayan kartlar
   ========================================================================== */
.s-reviews { padding-block: clamp(60px, 8vw, 96px); background: var(--bg); }
.s-reviews__score { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: .85rem; color: var(--text-muted); }
.s-reviews__score strong { color: var(--heading); font-weight: 600; }

.marquee { position: relative; width: 100%; overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 8vw, 120px); z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 32s) linear infinite; }
.marquee__group { display: flex; flex-shrink: 0; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .marquee { overflow-x: auto; scroll-snap-type: x mandatory; }
    .marquee__track { animation: none; }
    .marquee__group[aria-hidden="true"] { display: none; }
}

.review-card {
    flex: 0 0 auto;
    width: min(340px, 80vw);
    min-height: 260px;
    margin: 0 24px 0 0;
    padding: 32px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.review-card__text { margin: 0; }
.review-card__text p { font-family: var(--font-head); font-size: .95rem; line-height: 1.6; color: var(--text); margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-card__author { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.review-card__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-card__avatar--initial { display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.review-card__who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.review-card__name { font-family: var(--font-head); font-weight: 600; color: var(--heading); font-size: .9rem; }

/* ==========================================================================
   5. Ekibimiz — büyük grup fotoğrafı + savior ekip listesi
   ========================================================================== */
.s-team { background: var(--bg-soft); }
.s-team__hero { position: relative; overflow: hidden; }
.s-team__photo { position: relative; aspect-ratio: 4 / 3; background: var(--bg-muted); }
.s-team__img { width: 100%; height: 100%; object-fit: cover; }
.s-team__grid { display: grid; gap: 28px; padding-block: 36px 12px; }
.s-team__title { font-size: clamp(1.1rem, 1rem + .5vw, 1.375rem); font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; line-height: 1.35; margin-bottom: 16px; }
.s-team__subtitle { font-size: 1.1rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.s-team__intro p, .s-team__aside p { color: var(--text-soft); font-size: .92rem; line-height: 1.75; }
@media (min-width: 900px) {
    /* Metin sade zeminde solda, fotoğraf sağda tam yükseklikte (savior'daki okunabilirlik) */
    .s-team__hero { display: grid; grid-template-columns: minmax(360px, 36%) minmax(0, 1fr); min-height: 760px; }
    .s-team__photo { grid-column: 2; grid-row: 1; aspect-ratio: auto; height: 100%; }
    .s-team__img { position: absolute; inset: 0; }
    .s-team__grid { grid-column: 1; grid-row: 1; max-width: none; margin: 0; align-content: space-between; gap: 48px; padding: 90px clamp(32px, 4vw, 70px); }
}
.s-team__list { padding-block: clamp(40px, 6vw, 90px); }

.team-list { position: relative; }
.team-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 12px;
    border-bottom: 1px solid var(--line);
    transition: background-color .4s ease;
}
.team-row:first-of-type { border-top: 1px solid var(--line); }
.team-row__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.team-row__name, .team-row__role { font-family: var(--font-head); font-size: clamp(.82rem, .7rem + .6vw, 1.375rem); font-weight: 600; letter-spacing: clamp(1px, .15vw, 2.2px); text-transform: uppercase; color: var(--text-soft); margin: 0; line-height: 1.5; }
.team-row__name { flex: 1 1 auto; min-width: 0; }
.team-row__role { text-align: right; flex: 0 1 auto; }
@media (max-width: 767px) {
    .team-row { flex-wrap: wrap; row-gap: 2px; }
    .team-row__name { flex-basis: calc(100% - 72px); }
    .team-row__role { flex-basis: 100%; text-align: left; padding-left: 72px; font-size: .72rem; font-weight: 500; color: var(--text-muted); }
}
@media (min-width: 768px) {
    .team-row { padding: 50px 12px; }
    .team-row__avatar { display: none; }
    .team-row.is-active { background: var(--accent-soft); }
    .team-row.is-active .team-row__name, .team-row.is-active .team-row__role { color: #161310; }
    [data-theme="dark"] .team-row.is-active .team-row__name, [data-theme="dark"] .team-row.is-active .team-row__role { color: var(--heading); }
}
.team-list__float {
    position: absolute;
    top: 0;
    left: 50%;
    width: 280px;
    height: 340px;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
    transition: opacity .45s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
    will-change: transform, opacity, top, left;
    display: none;
}
.team-list__float img { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: var(--shadow); }
.team-list__float.is-visible { opacity: 1; transform: translate(-50%, -50%) rotate(9deg); }
@media (hover: hover) and (pointer: fine) and (min-width: 768px) { .team-list__float { display: block; } }

/* ==========================================================================
   6. Fiyat listesi — akordeon
   ========================================================================== */
.s-prices { padding-block: clamp(60px, 8vw, 100px); background: var(--bg); }
.s-prices__title { text-align: center; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.75rem); margin: 0; }
.s-prices__rule { margin: 28px 0 32px; border-top-color: var(--line-strong); }
.s-prices__note { margin: 22px 0 0; font-size: .8rem; color: var(--text-muted); text-align: center; }

.price-list .acc:first-of-type { border-top: 0; }
.price-acc__lead { color: var(--text-muted); font-size: .9rem; margin: 0 0 10px; }
.price-rows { list-style: none; margin: 0; padding: 0; }
.price-row { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row__main { flex: 1 1 auto; min-width: 0; }
.price-row__name { font-family: var(--font-head); font-size: .92rem; font-weight: 600; letter-spacing: .03em; text-transform: none; margin: 0; color: var(--heading); }
.price-row__desc { font-size: .83rem; color: var(--text-muted); margin: 4px 0 0; line-height: 1.55; }
.price-row__meta { font-size: .75rem; color: var(--text-muted); margin: 4px 0 0; letter-spacing: .02em; }
.price-row__price { flex-shrink: 0; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--heading); white-space: nowrap; }
.price-acc__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }

/* ==========================================================================
   7. Gelinlik vitrini
   ========================================================================== */
.s-bridal { padding-block: clamp(60px, 8vw, 100px); background: var(--bg-soft); overflow: hidden; }
.s-bridal__grid { display: grid; gap: 32px; }
.s-bridal__title { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.75rem); }
.s-bridal__text { color: var(--text-soft); margin-bottom: 24px; }
.s-bridal__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(70vw, 300px);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
}
.s-bridal__rail.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.s-bridal__rail.is-dragging .bridal-card { pointer-events: none; }
.bridal-card { scroll-snap-align: start; display: flex; flex-direction: column; color: var(--heading); }
.bridal-card__media { position: relative; aspect-ratio: 3 / 4.1; overflow: hidden; background: var(--bg-muted); }
.bridal-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.bridal-card:hover .bridal-card__img { transform: scale(1.05); }
.bridal-card__body { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; min-width: 0; }
.bridal-card__name { font-family: var(--font-head); font-size: .95rem; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; }
.bridal-card__meta { font-size: .8rem; color: var(--text-muted); }
@media (min-width: 1000px) {
    .s-bridal__grid { grid-template-columns: 340px minmax(0, 1fr); align-items: center; gap: 56px; }
    .s-bridal__rail { margin-inline: 0 calc(var(--gutter) * -1); padding-inline: 0 var(--gutter); }
}

/* ==========================================================================
   8. Video + İletişim formu
   ========================================================================== */
.s-contact { padding-block: clamp(40px, 7vw, 80px); background: var(--bg-muted); }
.s-contact__grid { display: grid; gap: 24px; }
.s-contact__media { position: relative; aspect-ratio: 9 / 14; max-height: 78vh; overflow: hidden; background: #161310; }
.s-contact__video, .s-contact__media .is-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-contact__quote { position: absolute; left: 0; right: 0; bottom: 12%; margin: 0; padding: 0 24px; text-align: center; color: #fff; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }
.s-contact__card { background: var(--bg); padding: clamp(24px, 4vw, 40px); }
.s-contact__title { font-size: 1.25rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.s-contact__text { color: var(--text-soft); font-size: .9rem; margin-bottom: 26px; }
.s-contact__form .check { margin: 18px 0 8px; }
.s-contact__form .btn { margin-top: 10px; }
@media (min-width: 900px) {
    .s-contact__grid { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 16px; align-items: stretch; max-width: 1060px; }
    .s-contact__media { max-height: none; aspect-ratio: auto; min-height: 620px; }
}

/* ==========================================================================
   9. Instagram bandı
   ========================================================================== */
.s-insta { padding-block: clamp(60px, 8vw, 90px) 0; background: var(--bg); }
.s-insta__handle { margin: 22px 0 0; }
.s-insta__handle a { font-family: var(--font-head); font-size: clamp(1.05rem, 1rem + .4vw, 1.375rem); font-weight: 600; letter-spacing: .02em; color: var(--heading); }
.s-insta__handle a:hover { color: var(--accent); }
.insta-marquee { padding-bottom: 0; }
.insta-marquee .marquee__group { gap: 16px; padding-right: 16px; }
.insta-post { position: relative; flex: 0 0 auto; width: clamp(200px, 22vw, 280px); aspect-ratio: 1; overflow: hidden; display: block; border-radius: var(--radius-sm); background: var(--bg-muted); }
.insta-post__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.insta-post:hover .insta-post__img { transform: scale(1.05); }
.insta-post__icon { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(22, 19, 16, .35); opacity: 0; transition: opacity .3s; }
.insta-post:hover .insta-post__icon, .insta-post:focus-visible .insta-post__icon { opacity: 1; }

/* ==========================================================================
   10. Harita
   ========================================================================== */
.s-map { margin-top: clamp(40px, 6vw, 80px); line-height: 0; background: var(--bg-muted); }
.s-map__frame { width: 100%; height: clamp(320px, 42vw, 520px); border: 0; display: block; }
[data-theme="dark"] .s-map__frame { filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }
