/* =========================================================
   Dermoscope Case Study Page
   Brand vibe: dermatology / skincare = elegant, premium, clinical
   Note: Playfair Display & Lato are loaded via <link> in the view
   for full Turkish (latin-ext) glyph support (Ý, Þ, Ð ...).
   ========================================================= */

:root {
    --dm-ink: #1A1F2E;          /* deep navy ink */
    --dm-ink-soft: #3C4256;
    --dm-gold: #B8956A;         /* champagne gold */
    --dm-gold-dark: #8E6F4A;
    --dm-ivory: #FBF6F0;        /* warm ivory */
    --dm-cream: #F3EBE0;
    --dm-text-muted: #6B6F7C;
    --dm-display-font: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
    --dm-body-font: 'Inter', 'Segoe UI', Tahoma, sans-serif;
}

/* ---------- 1. HERO (full-bleed video) ---------- */
.dermoscope-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 480px;
    overflow: hidden;
    background: var(--dm-ink);
}

.dermoscope-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.dermoscope-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(2.5rem, 7vw, 7rem);
    background:
        radial-gradient(circle at 76% 18%, rgba(184,149,106,0.22) 0%, transparent 36%),
        linear-gradient(180deg, rgba(26,31,46,0.04) 30%, rgba(26,31,46,0.76) 100%);
    color: #fff;
}

.dermoscope-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 1rem;
    border: 1px solid rgba(184,149,106,0.7);
    border-radius: 999px;
    font-family: var(--dm-body-font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    color: #fff;
    background: rgba(184,149,106,0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.dermoscope-hero__logo {
    display: block;
    max-width: 100%;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.dermoscope-hero__brand-card {
    width: clamp(170px, 22vw, 280px);
    min-height: clamp(78px, 10vw, 112px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    border-radius: 10px;
    background: rgba(255,255,255,0.93);
    box-shadow: 0 16px 42px rgba(0,0,0,0.28);
    margin-bottom: 1.3rem;
}

.dermoscope-hero h1 {
    color: #fff;
    font-family: var(--dm-display-font);
    font-size: clamp(3.2rem, 8vw, 7rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.045em;
    margin: 0 0 1rem;
    text-shadow: 0 12px 32px rgba(26,31,46,0.42);
}

.dermoscope-hero__subtitle {
    font-family: var(--dm-display-font);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.05rem, 1.8vw, 1.5rem);
    color: rgba(255,255,255,0.88);
    margin: 0;
    letter-spacing: 0.01em;
    max-width: 640px;
}

@media (max-width: 768px) {
    .dermoscope-hero { height: 72vh; min-height: 470px; }
    .dermoscope-hero__overlay { padding-bottom: 2.5rem; }
    .dermoscope-hero__badge { font-size: 0.7rem; letter-spacing: 0.22em; padding: 0.35rem 0.95rem; }
    .dermoscope-hero__logo { padding: 10px 16px; }
}

/* ---------- 2. INTRO ---------- */
.dermoscope-intro {
    background: var(--dm-ivory);
    color: var(--dm-ink);
    padding: clamp(3.5rem, 7vw, 7rem) 0;
    position: relative;
    overflow: hidden;
}

.dermoscope-intro::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -160px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(184,149,106,0.16) 0%, rgba(184,149,106,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dermoscope-intro__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .dermoscope-intro__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }

    .dermoscope-intro {
        padding: 3.2rem 0 3.6rem;
        background: linear-gradient(180deg, var(--dm-ivory) 0%, #fff 100%);
    }

    .dermoscope-intro__text {
        max-width: 92%;
        margin: 0 auto;
        font-size: clamp(1.02rem, 4.5vw, 1.28rem);
        line-height: 1.78;
    }

    .dermoscope-intro__logo-container {
        display: none;
    }
}

.dermoscope-intro__text {
    font-family: var(--dm-body-font);
    font-weight: 300;
    font-size: clamp(1.05rem, 1.7vw, 1.45rem);
    line-height: 1.75;
    color: var(--dm-ink-soft);
}

.dermoscope-intro__highlight {
    font-family: var(--dm-display-font);
    font-weight: 600;
    color: var(--dm-gold-dark);
    letter-spacing: 0.02em;
}

.dermoscope-intro__logo-container { text-align: right; }

.dermoscope-intro__logo {
    max-width: 100%;
    width: clamp(160px, 16vw, 260px);
    height: auto;
}

/* ---------- Section spacing helper ---------- */
.dermoscope-intro,
.dermoscope-social,
.dermoscope-videos,
.dermoscope-catalog,
.dermoscope-photos,
.dermoscope-rollup,
.dermoscope-other-brands {
    margin-top: 0;
}

/* ---------- Section titles (elegant serif) ---------- */
.dermoscope-section-title {
    position: relative;
    z-index: 2;
    font-family: var(--dm-display-font);
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--dm-ink);
    letter-spacing: 0.005em;
    margin-bottom: 0.6rem;
    line-height: 1.1;
    text-align: center;
}

.dermoscope-section-title--light { color: #fff; }
.dermoscope-section-title--left { text-align: left; }

.dermoscope-section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: var(--dm-gold);
    margin: 1rem auto 0;
}
.dermoscope-section-title--left::after { margin-left: 0; }

.dermoscope-section-sub {
    font-family: var(--dm-body-font);
    font-weight: 300;
    font-size: clamp(0.95rem, 1.3vw, 1.15rem);
    color: var(--dm-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 3rem;
}

.dermoscope-section-sub--light { color: rgba(255,255,255,0.7); }

/* ---------- 3. SOSYAL MEDYA ---------- */
.dermoscope-social {
    position: relative;
    background-color: #FFFFFF;
    padding: clamp(5rem, 8vw, 9rem) 0 clamp(4rem, 6vw, 6rem);
    overflow: hidden;
}

.dermoscope-social-masonry {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 clamp(15px, 3vw, 30px);
    max-width: 1500px;
    margin: 0 auto;
}

.dermoscope-social-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 240px;
}

.dermoscope-social-col img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(26,31,46,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dermoscope-social-col img:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(26,31,46,0.18);
}

@media (max-width: 600px) {
    .dermoscope-social,
    .dermoscope-videos,
    .dermoscope-catalog,
    .dermoscope-photos,
    .dermoscope-rollup {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .dermoscope-section-title {
        font-size: 2.25rem;
    }

    .dermoscope-section-sub {
        margin-bottom: 2rem;
        font-size: 0.78rem;
        letter-spacing: 0.08em;
    }

    .dermoscope-social-masonry { gap: 12px; }
    .dermoscope-social-col { min-width: 100%; gap: 12px; }

    .dermoscope-social-col img,
    .dermoscope-video-card,
    .dermoscope-catalog-item,
    .dermoscope-photo-card,
    .dermoscope-rollup__image img {
        border-radius: 14px;
    }
}

/* ---------- 4. VIDEOLAR ---------- */
.dermoscope-videos {
    position: relative;
    background: linear-gradient(180deg, var(--dm-ink) 0%, #0F1320 100%);
    padding: clamp(5rem, 8vw, 9rem) 0;
    overflow: hidden;
}

.dermoscope-videos::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184,149,106,0.10) 0%, rgba(184,149,106,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dermoscope-video-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(14px, 1.8vw, 22px);
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 30px);
}

@media (max-width: 1100px) {
    .dermoscope-video-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .dermoscope-video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .dermoscope-video-grid { grid-template-columns: 1fr; }
}

.dermoscope-video-card {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #000;
    border-radius: 4px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
    border: 1px solid rgba(184,149,106,0.22);
    transition: transform .35s ease, box-shadow .35s ease;
}

.dermoscope-video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.5);
}

.dermoscope-video-card--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {
    .dermoscope-video-card--wide { grid-column: 1 / -1; }
}

/* ---------- 5. KATALOG ---------- */
.dermoscope-catalog {
    position: relative;
    background: var(--dm-cream);
    padding: clamp(5rem, 8vw, 9rem) 0;
    overflow: hidden;
}

.dermoscope-catalog-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2vw, 28px);
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 30px);
}

@media (max-width: 900px) {
    .dermoscope-catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .dermoscope-catalog-grid { grid-template-columns: 1fr; }
}

.dermoscope-catalog-item {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(26,31,46,0.10);
    transition: transform .4s ease, box-shadow .4s ease;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 2vw, 22px);
}

.dermoscope-catalog-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.dermoscope-catalog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 44px rgba(26,31,46,0.18);
}

/* ---------- 6. FOTOGRAFLAR (lookbook masonry) ---------- */
.dermoscope-photos {
    position: relative;
    background: #FFFFFF;
    padding: clamp(5rem, 8vw, 9rem) 0;
}

.dermoscope-photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: clamp(12px, 1.5vw, 20px);
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 30px);
}

@media (max-width: 1024px) {
    .dermoscope-photos-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 700px) {
    .dermoscope-photos-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 460px) {
    .dermoscope-photos-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
}

.dermoscope-photo-card {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(26,31,46,0.08);
    transition: box-shadow .25s ease;
    display: block;
    background: #f5f5f5;
    contain: layout paint;
}

.dermoscope-photo-card--tall { grid-row: span 2; }

@media (max-width: 460px) {
    .dermoscope-photo-card--tall { grid-row: auto; }
}

.dermoscope-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dermoscope-photo-card:hover {
    box-shadow: 0 18px 36px rgba(26,31,46,0.18);
}

/* ---------- 7. ROLL UP & BASILI ISLER ---------- */
.dermoscope-rollup {
    position: relative;
    background: var(--dm-ivory);
    padding: clamp(5rem, 8vw, 9rem) 0;
    overflow: hidden;
}

.dermoscope-rollup::before {
    content: "";
    position: absolute;
    bottom: -180px;
    left: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(184,149,106,0.18) 0%, rgba(184,149,106,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dermoscope-rollup__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

@media (max-width: 900px) {
    .dermoscope-rollup__grid { grid-template-columns: 1fr; text-align: center; }
}

.dermoscope-rollup__desc {
    font-family: var(--dm-body-font);
    font-weight: 300;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.8;
    color: var(--dm-ink-soft);
    margin-top: 1.5rem;
    max-width: 520px;
}

@media (max-width: 900px) {
    .dermoscope-rollup__desc { margin-left: auto; margin-right: auto; }
}

.dermoscope-rollup__image {
    text-align: center;
}

.dermoscope-rollup__image img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 18px 40px rgba(26,31,46,0.18);
}

/* ---------- 8. DIGER MARKALARIMIZ ---------- */
.dermoscope-other-brands {
    background: #FFFFFF;
    padding: clamp(5rem, 8vw, 10rem) 0;
}

.dermoscope-other-title {
    font-family: var(--dm-display-font);
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3.4rem);
    color: var(--dm-ink);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.dermoscope-other-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: var(--dm-gold);
    margin: 1rem auto 0;
}

.dermoscope-other-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FCFCFC;
    border: 1px solid #ECE6DC;
    height: clamp(180px, 26vw, 260px);
    border-radius: 4px;
    text-decoration: none;
    color: var(--dm-text-muted);
    font-family: var(--dm-body-font);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.25em;
    transition: all 0.35s ease;
}

.dermoscope-other-card:hover {
    background: #FFFFFF;
    transform: translateY(-6px);
    color: var(--dm-gold-dark);
    border-color: var(--dm-gold);
    box-shadow: 0 14px 30px rgba(184,149,106,0.15);
}

.dermoscope-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border-radius: 0;
    background: var(--dm-ink);
    color: #fff;
    text-decoration: none;
    font-family: var(--dm-body-font);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 1px solid var(--dm-gold);
    transition: background .25s ease, transform .25s ease, color .25s ease;
}
.dermoscope-back:hover {
    background: var(--dm-gold);
    color: var(--dm-ink);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .dermoscope-social-col img,
    .dermoscope-catalog-item,
    .dermoscope-photo-card img,
    .dermoscope-video-card { transition: none !important; }
}
