/*
 * HEMAFOCUS (HUD sempozyumları) — görsel kimlik, Multipl Miyelom Sempozyumu sponsorluk dosyasından.
 * Temel temanın (themes/_base/css/style.css) üzerine en son yüklenir; yalnızca farkları tanımlar.
 * Renkler panelden: --color-primary (HUD kırmızısı #B71917), --color-accent (koyu bordo #6A1102).
 * Yazı tipleri: başlıklar Playfair Display (dosyadaki MADE Mirage'ın açık lisanslı muadili), metin Lato,
 * bölüm başlıkları Luxurious Script (dosyadaki "Davet", "Genel Bilgiler" el yazısı).
 * Görseller: img/paper.jpg (krem kâğıt), img/art-miyelom.webp (kapak çizimi), img/logo-*.png (vektörden).
 */

:root {
    --hf-red: var(--color-primary, #b71917);
    --hf-deep: var(--color-accent, #6a1102);
    --hf-ink: #21211c;
    --hf-gray: #575756;
    --hf-paper: #faf7f0;
    --hf-paper-deep: #f2ece1;
    --hf-line: color-mix(in srgb, var(--hf-red) 38%, transparent);
    --hf-rose: color-mix(in srgb, var(--hf-red) 6%, #fffdf9);
    --hf-script: 'Luxurious Script', cursive;

    --color-highlight: var(--hf-deep);
    --color-dark: var(--hf-ink);
    --color-gray-600: var(--hf-gray);
    --font-primary: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', sans-serif;
    --shadow-sm: 0 1px 3px rgba(74, 14, 8, .08);
    --shadow-md: 0 6px 18px rgba(74, 14, 8, .09);
    --shadow-lg: 0 14px 34px rgba(74, 14, 8, .11);
    --shadow-xl: 0 22px 48px rgba(74, 14, 8, .14);
}

body { color: var(--hf-ink); font-family: var(--font-primary); background: var(--hf-paper) url('../img/paper.jpg') center top / 1400px auto; }

/* ── Logolar (giriş ve ana sayfa) ── */
.hf-logos { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 1.6rem); }
.hf-logo-hud { height: clamp(34px, 4.2vw, 46px); width: auto; }
.hf-logo-focus { height: clamp(52px, 6.6vw, 74px); width: auto; }
.hf-logo-sep { width: 1.5px; align-self: stretch; margin: 6px 0; background: var(--hf-gray); opacity: .7; }
.hf-rule { display: block; width: 72px; height: 3px; border-radius: 2px; background: var(--hf-red); }
.hf-accent { color: var(--hf-red); }

/* ── Menü ── */
.navbar {
    background: rgba(250, 247, 240, .96);
    border-bottom: 1px solid var(--hf-line);
    box-shadow: 0 6px 24px rgba(74, 14, 8, .07);
}
.nav-logo { height: 50px; width: auto; }
.hf-nav-logo { display: inline-flex; }
.nav-title { display: none; } /* başlık girişte büyük yazılıyor; menüde yalnızca logo */
.nav-link { font-weight: 700; color: var(--hf-ink); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--hf-red); }
.nav-link::after { background: var(--hf-red) !important; }
.hf-nav-all { color: var(--hf-red); }

/* ── Giriş: kapaktaki gibi krem zemin, solda başlık, sağda çizim ── */
#anasayfa.hf-hero {
    position: relative;
    min-height: min(94vh, 920px);
    padding: 112px 0 0;
    display: flex;
    align-items: stretch;
    background: transparent;
    color: var(--hf-ink);
    overflow: hidden;
}
.hf-hero::after { display: none; }
/* Solda metin, sağda çizim; çizim alt kenara oturur ve sola doğru kâğıda karışır */
.hf-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 2rem; width: 100%; }
.hf-hero-inner { grid-column: 1; grid-row: 1; align-self: center; padding-bottom: 72px; }
.hf-hero-art {
    grid-column: 2;
    grid-row: 1;
    min-height: 560px;
    margin-right: -6vw;
    background: center bottom / contain no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}
.hf-hero .hf-logos { margin-bottom: clamp(1.2rem, 3.4vh, 2.2rem); }
.hf-hero-title {
    display: flex;
    flex-direction: column;
    margin: 0 0 1.4rem;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 4.9vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -.015em;
    color: var(--hf-ink);
}
.hf-hero .hf-rule { margin-bottom: 1.6rem; }
.hf-hero-meta { display: flex; flex-direction: column; gap: .2rem; margin-bottom: 1.8rem; }
.hf-hero-meta p { margin: 0; }
.hf-hero-date { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: .14em; text-transform: uppercase; }
.hf-hero-venue { font-family: var(--font-display); color: var(--hf-red); font-size: clamp(.95rem, 1.5vw, 1.1rem); letter-spacing: .12em; text-transform: uppercase; }
.hf-hero-city { font-family: var(--font-display); color: var(--hf-red); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: .3em; text-transform: uppercase; line-height: 1.1; }
.hf-hero-text { max-width: 520px; margin: 0 0 2rem; font-size: 1.05rem; line-height: 1.75; color: var(--hf-gray); }
.hf-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hf-btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .02em;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.hf-btn:hover { transform: translateY(-2px); }
.hf-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--hf-red) 45%, transparent); outline-offset: 3px; }
.hf-btn-solid { background: var(--hf-red); color: #fff; box-shadow: 0 10px 24px rgba(183, 25, 23, .25); }
.hf-btn-solid:hover { background: var(--hf-deep); color: #fff; }
.hf-btn-line { color: var(--hf-ink); border: 1.5px solid color-mix(in srgb, var(--hf-ink) 35%, transparent); background: rgba(255, 255, 255, .55); }
.hf-btn-line:hover { color: var(--hf-red); border-color: var(--hf-red); background: #fff; }

/* ── Bölümler: kâğıt zemin; içerik dosyadaki gibi kırmızı çerçeveli açık kutularda ── */
section:not(.program):not(.hf-hero),
section:nth-child(even):not(.program),
section:nth-child(odd):not(.program) { background: transparent; }

/* Bölüm başlığı: dosyadaki el yazısı başlıklar ("Davet", "Genel Bilgiler") */
.section-header-center::before, .section-header-center::after { display: none; }
.section-header-center .section-label,
.section-label {
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    animation: none;
    color: var(--hf-gray);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: .74rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    margin-bottom: .4rem;
}
.section-title {
    font-family: var(--hf-script);
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 4.6rem);
    line-height: 1.05;
    color: var(--hf-red);
    letter-spacing: 0;
    background: none;
    -webkit-text-fill-color: currentColor;
}
.section-header-center .section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    margin: .6rem auto 0;
    background: var(--hf-red);
    opacity: .8;
}
.section-description { color: var(--hf-gray); }
.section-label.light, .section-title.light, .section-description.light,
.program .section-label, .program .section-description { color: rgba(255, 255, 255, .85); }
.section-header-center .section-title.light::after { background: #fff; }

/* Yalnızca etiketi olan bölüm (ör. "Davet" bloğu başlıksız): etiket el yazısı başlık olur */
.section-header-center .section-label:only-child {
    font-family: var(--hf-script);
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 4.6rem);
    letter-spacing: 0;
    text-transform: none;
    color: var(--hf-red);
    line-height: 1.05;
}

/* ── Bilimsel program bölümü: bordo zemin ── */
.program {
    background:
        radial-gradient(90% 120% at 85% 100%, rgba(255, 255, 255, .08), transparent 60%),
        linear-gradient(150deg, var(--hf-red) 0%, var(--hf-deep) 100%);
}
.program::before { display: none; }
.program .section-title { color: #fff; }
.program .about-content-full .info-section-text {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: none;
}
.program .about-content-full .info-section-text p { color: rgba(255, 255, 255, .94); font-size: 1.1rem; }

/* ── İçerik kutuları ── */
.info-section-text, .about-content-full .info-section-text {
    background: rgba(255, 253, 249, .94);
    border: 1px solid var(--hf-line);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}
.info-section-text h3 { color: var(--hf-ink); font-family: var(--font-display); font-style: italic; font-weight: 600; }
.info-section-text h4 { color: var(--hf-red); font-family: var(--font-display); font-style: italic; font-weight: 600; }
.info-section-text::before { display: none; }
.info-section-text .note { margin: 0; padding: .15rem 0; border: 0; font-size: .92rem; }
.info-section-text .note:first-of-type { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--hf-line); }
.info-section-text .note, .info-section-text .note strong { color: var(--hf-red); font-style: italic; }
.info-section h3 { color: var(--hf-ink); font-family: var(--font-display); }
.info-section h3 i { color: var(--hf-red); }
.rules-box { background: var(--hf-rose); border-left-color: var(--hf-red); border-radius: 0 18px 18px 0; margin-bottom: 3.5rem; }

/* Bilgi kartları: dosyadaki "Sempozyum Tarihi / Bildiri Son Gönderim / Yeri" kırmızı kutuları */
.about-info-card {
    background: linear-gradient(160deg, var(--hf-red), var(--hf-deep));
    color: #fff;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 0 0 2px var(--hf-paper), 0 0 0 3.5px var(--hf-red), var(--shadow-lg);
}
.about-info-card h4 { color: rgba(255, 255, 255, .85) !important; font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; }
.about-info-card p { color: #fff !important; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.about-info-card p.sub { font-family: var(--font-primary); font-size: .85rem; font-weight: 400; opacity: .85; }
.about-info-icon { background: rgba(255, 255, 255, .16) !important; color: #fff !important; }
.about-info-icon i { color: #fff !important; }

/* Fiyat tabloları: dosyadaki kırmızı başlık şeritleri */
.price-table {
    background: rgba(255, 253, 249, .96);
    border: 1px solid var(--hf-line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}
.price-table::before { background: linear-gradient(180deg, var(--hf-red), var(--hf-deep)); }
.price-table thead th {
    background: linear-gradient(90deg, var(--hf-red), var(--hf-deep));
    font-family: var(--font-display);
    letter-spacing: .04em;
    box-shadow: none;
}
.price-table tbody td { background: #fff; }
.price-table tbody tr:hover td { background: var(--hf-rose); }
.price-table tbody td:first-child { color: var(--hf-ink); font-family: var(--font-display); font-weight: 600; }
.price-table tbody td:not(:first-child) { font-weight: 700; font-size: 1.05rem; color: var(--hf-ink); }

.transfer-card { background: #fffdf9; border: 1.5px solid var(--hf-line); box-shadow: var(--shadow-md); }
.transfer-card:hover { border-color: var(--hf-red); }

.important-note { background: linear-gradient(135deg, var(--hf-red), var(--hf-deep)); border-radius: 18px; }

/* Davet mektubu: kırmızı çerçeveli kâğıt */
.invitation-text { background: rgba(255, 253, 249, .96); border: 1px solid var(--hf-line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 4.5vw, 3.2rem); }
.invitation-text h3 { margin-bottom: 1rem; }
.invitation-text h3 { font-family: var(--font-display); color: var(--hf-ink); font-weight: 700; }
.invitation-body p { color: #3a3833; line-height: 1.85; }
.invitation-body strong { color: var(--hf-ink); }
.invitation-poster { box-shadow: var(--shadow-xl); outline-color: var(--hf-red); }
.signature-name { color: var(--hf-ink); font-family: var(--font-display); font-style: italic; }
.signature-title { color: var(--hf-red); }

/* Kişi kartları (kurullar): dosyadaki kırmızı halkalı fotoğraflar */
.people { background: rgba(255, 253, 249, .94); border: 1px solid var(--hf-line); border-radius: 18px; box-shadow: var(--shadow-md); padding: clamp(1.25rem, 3.5vw, 2.4rem); }
.person-photo { border-color: var(--hf-red); box-shadow: 0 0 0 3px #fff, 0 0 0 5px color-mix(in srgb, var(--hf-red) 70%, #000); }
.person-role { color: var(--hf-red); font-family: var(--font-display); }
.person-name { font-family: var(--font-display); color: var(--hf-ink); }

/* İletişim */
.contact-method { background: #fffdf9; border: 1.5px solid var(--hf-line); border-radius: 18px; box-shadow: var(--shadow-md); }
.contact-method:hover { border-color: var(--hf-red); box-shadow: var(--shadow-lg); }
.method-content h4 { color: var(--hf-red); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }

/* Genel butonlar */
.btn-primary { background: var(--hf-red); box-shadow: 0 8px 22px rgba(183, 25, 23, .22); }
.btn-primary:hover { background: var(--hf-deep); }
.btn-outline { color: var(--hf-red); border-color: var(--hf-red); }
.btn-outline:hover { background: var(--hf-red); color: #fff; }

/* Alt bilgi: kapanış sayfasındaki koyu kırmızı */
.footer { background: linear-gradient(135deg, var(--hf-red), var(--hf-deep)); }
.footer::before { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); }

/* Ek sayfaların başlık şeridi (yasal metinler, program) */
.kp-page-header { background: linear-gradient(135deg, var(--hf-red), var(--hf-deep)) !important; }
.kp-page-header h1 { font-family: var(--font-display); font-weight: 600; }

/* ── Telefon ── */
@media (max-width: 900px) {
    #anasayfa.hf-hero { min-height: auto; padding-top: 104px; }
    .hf-hero-grid { grid-template-columns: 1fr; gap: 0; }
    .hf-hero-inner { padding-bottom: 0; }
    .hf-hero-art {
        grid-column: 1;
        grid-row: 2;
        min-height: 0;
        height: min(92vw, 520px);
        margin: 1.5rem -1rem 0;
        background-size: cover;
        background-position: center 88%;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 25%);
    }
}
@media (max-width: 600px) {
    .hf-hero-actions { flex-direction: column; align-items: stretch; }
    .hf-btn { justify-content: center; }
    .section-label { letter-spacing: .22em; }
}

@media (prefers-reduced-motion: reduce) {
    .hf-btn { transition: none; }
    .hf-btn:hover { transform: none; }
}
