/* =========================================================
   Dr. Ercüment Tekin Case Study Page
   Brand vibe: clinical / trusted / modern health communication
   ========================================================= */

:root {
    --et-ink: #101827;
    --et-navy: #102A43;
    --et-blue: #176B87;
    --et-teal: #2BB3A3;
    --et-mint: #E7F7F4;
    --et-ice: #F5FAFC;
    --et-card: #FFFFFF;
    --et-muted: #687586;
    --et-coral: #E85D75;
    --et-line: rgba(16, 42, 67, 0.10);
    --et-font: 'Inter', 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    --et-display-font: 'Playfair Display', Georgia, serif;
}

.ercument-hero,
.ercument-intro,
.ercument-feature-video,
.ercument-social,
.ercument-videos,
.ercument-other-brands {
    font-family: var(--et-font);
}

/* ---------- 1. HERO ---------- */
.ercument-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 540px;
    overflow: hidden;
    background: var(--et-ink);
}

.ercument-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.ercument-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(2.8rem, 7vw, 7rem);
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(43,179,163,0.22) 0%, transparent 34%),
        linear-gradient(180deg, rgba(16,24,39,0.08) 22%, rgba(16,24,39,0.86) 100%);
}

.ercument-hero__brand-card {
    width: clamp(170px, 19vw, 250px);
    min-height: clamp(80px, 9vw, 112px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    border-radius: 18px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 18px 48px rgba(0,0,0,0.30);
    margin-bottom: 1.25rem;
}

.ercument-hero__logo {
    max-width: 100%;
    max-height: 68px;
    object-fit: contain;
    display: block;
}

.ercument-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.52rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.20);
    background: rgba(43,179,163,0.16);
    color: rgba(255,255,255,0.86);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    backdrop-filter: blur(10px);
}

.ercument-hero h1 {
    color: #fff;
    font-family: var(--et-display-font);
    font-size: clamp(3.1rem, 7.7vw, 7rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin: 0 0 1rem;
    text-shadow: 0 14px 36px rgba(0,0,0,0.32);
}

.ercument-hero__subtitle {
    color: rgba(255,255,255,0.82);
    font-size: clamp(1rem, 1.55vw, 1.32rem);
    line-height: 1.72;
    max-width: 720px;
    margin: 0;
}

@media (max-width: 768px) {
    .ercument-hero { height: 74vh; min-height: 500px; }
    .ercument-hero__overlay { padding-bottom: 2.7rem; }
}

/* ---------- 2. INTRO ---------- */
.ercument-intro {
    position: relative;
    background: var(--et-ice);
    color: var(--et-ink);
    padding: clamp(4rem, 7vw, 7rem) 0;
    overflow: hidden;
}

.ercument-intro::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -120px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43,179,163,0.16), transparent 70%);
    pointer-events: none;
}

.ercument-intro__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.ercument-intro__text {
    max-width: 980px;
    font-size: clamp(1.1rem, 2vw, 1.65rem);
    line-height: 1.72;
    color: #26364A;
    font-weight: 500;
}

.ercument-intro__text span {
    display: inline;
    color: var(--et-blue);
    font-weight: 900;
}

.ercument-intro__stats {
    display: grid;
    gap: 14px;
}

.ercument-intro__stats div {
    padding: 22px 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--et-line);
    box-shadow: 0 14px 34px rgba(16,42,67,0.06);
}

.ercument-intro__stats strong {
    display: block;
    color: var(--et-blue);
    font-size: clamp(1.5rem, 2.6vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 7px;
}

.ercument-intro__stats small {
    color: var(--et-muted);
    font-weight: 700;
}

@media (max-width: 850px) {
    .ercument-intro__grid { grid-template-columns: 1fr; }
}

/* ---------- Section headers ---------- */
.ercument-section-head {
    max-width: 780px;
    margin: 0 auto clamp(2rem, 4vw, 3.5rem);
    text-align: center;
}

.ercument-section-head span {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(43,179,163,0.12);
    color: var(--et-blue);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ercument-section-head h2 {
    color: var(--et-ink);
    font-family: var(--et-display-font);
    font-size: clamp(2.15rem, 5vw, 4.65rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    margin-bottom: 1rem;
}

.ercument-section-head p {
    color: var(--et-muted);
    line-height: 1.75;
    margin: 0;
}

.ercument-section-head--light span {
    background: rgba(43,179,163,0.17);
    color: #B8FFF4;
}

.ercument-section-head--light h2,
.ercument-section-head--light p {
    color: #fff;
}

.ercument-section-head--light p {
    color: rgba(255,255,255,0.70);
}

/* ---------- 3. FEATURE VIDEO ---------- */
.ercument-feature-video {
    position: relative;
    background:
        radial-gradient(circle at 80% 8%, rgba(43,179,163,0.22), transparent 32%),
        linear-gradient(180deg, var(--et-ink) 0%, #07111F 100%);
    padding: clamp(5rem, 8vw, 9rem) 0;
    overflow: hidden;
}

.ercument-feature-video__frame {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 30px 82px rgba(0,0,0,0.44);
    background: #000;
}

.ercument-feature-video__frame video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* ---------- 4. SOCIAL ---------- */
.ercument-social {
    background: #fff;
    padding: clamp(5rem, 8vw, 9rem) 0;
}

.ercument-social-masonry {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 30px);
}

.ercument-social-col {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ercument-social-col img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    background: var(--et-ice);
    box-shadow: 0 8px 22px rgba(16,42,67,0.07);
    transition: transform .35s ease, box-shadow .35s ease;
}

.ercument-social-col img:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 44px rgba(16,42,67,0.16);
}

@media (max-width: 600px) {
    .ercument-social-col { min-width: 100%; }
}

/* ---------- 5. VIDEOS ---------- */
.ercument-videos {
    position: relative;
    background:
        radial-gradient(circle at 15% 0%, rgba(43,179,163,0.18), transparent 30%),
        linear-gradient(180deg, #102A43 0%, #07111F 100%);
    padding: clamp(5rem, 8vw, 9rem) 0;
    overflow: hidden;
}

.ercument-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 1.8vw, 22px);
}

.ercument-video-card {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 16px 40px rgba(0,0,0,0.36);
    transition: transform .35s ease, box-shadow .35s ease;
}

.ercument-video-card--wide {
    grid-column: span 3;
    aspect-ratio: 16 / 9;
}

.ercument-video-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 56px rgba(0,0,0,0.50);
}

@media (max-width: 900px) {
    .ercument-video-grid { grid-template-columns: repeat(2, 1fr); }
    .ercument-video-card--wide { grid-column: span 2; }
}

@media (max-width: 520px) {
    .ercument-video-grid { grid-template-columns: 1fr; }
    .ercument-video-card--wide { grid-column: span 1; }
}

/* ---------- 6. OTHER BRANDS ---------- */
.ercument-other-brands {
    background: var(--et-ice);
    padding: clamp(5rem, 8vw, 10rem) 0;
}

.ercument-other-title {
    color: var(--et-ink);
    font-family: var(--et-display-font);
    font-weight: 800;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    letter-spacing: -0.045em;
    margin-bottom: 1rem;
}

.ercument-other-card {
    min-height: clamp(140px, 18vw, 210px);
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--et-line);
    color: var(--et-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.10em;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, color .3s ease;
}

.ercument-other-card:hover {
    transform: translateY(-7px);
    color: var(--et-blue);
    border-color: rgba(43,179,163,0.34);
    box-shadow: 0 18px 42px rgba(16,42,67,0.10);
}

.ercument-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.9rem;
    border-radius: 999px;
    background: var(--et-ink);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.ercument-back:hover {
    background: var(--et-teal);
    color: var(--et-ink);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .ercument-social-col img,
    .ercument-video-card,
    .ercument-other-card {
        transition: none !important;
    }
}
