/* ============================================================
   QUL — QR Unearth Legacy
   Landing page stylesheet (tokens.css + base.css üzerine)
   ============================================================ */

/* Token'lar assets/css/tokens.css, tipografi base.css içinde tanımlıdır. */


a { color: inherit; }

/* ---------- Buttons ---------- */
.btn-qul {
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}
.btn-dark.btn-qul { background: var(--qul-ink); border-color: var(--qul-ink); }
.btn-dark.btn-qul:hover { background: #333; border-color: #333; }
.btn-outline-dark.btn-qul:hover { background: var(--qul-ink); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--qul-line); }
.site-header .navbar { box-shadow: 0 1px 0 rgba(0,0,0,0.02); }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: var(--qul-serif);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--qul-ink);
}
.brand-tag {
    font-size: 0.5rem;
    letter-spacing: 0.22em;
    color: var(--qul-muted);
    margin-top: 3px;
}

.navbar .nav-link {
    font-size: 0.9rem;
    color: var(--qul-ink);
    font-weight: 400;
}
.navbar .nav-link:hover { color: var(--qul-muted); }

/* ---------- Section helpers ---------- */
.section-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--qul-ink);
}
.section-soft { background: var(--qul-soft); }

/* ---------- Hero ---------- */
.hero-section { padding: 5rem 0 4rem; overflow: hidden; }

.hero-kicker {
    font-size: 1rem;
    color: #5a6b78;
    letter-spacing: 0.02em;
}
.hero-title {
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.01em;
}
.hero-lead { font-size: 1.1rem; color: var(--qul-body); }

/* Hero visual: mezar taşı + telefon */
.hero-visual { min-height: 460px; }

.hero-stone {
    position: absolute;
    right: 0;
    top: 0;
    width: 68%;
    height: 100%;
    background: linear-gradient(180deg, #dfe3e2 0%, #cfd4d0 55%, #b9c0b8 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stone-shape {
    width: 72%;
    padding: 3.2rem 1.5rem 2.5rem;
    background: linear-gradient(180deg, #c9c7c2 0%, #b3b1ab 100%);
    border-radius: 46% 46% 6px 6px / 26% 26% 4px 4px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22), inset 0 2px 6px rgba(255,255,255,0.5);
}
.stone-name {
    font-family: var(--qul-serif);
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    letter-spacing: 0.12em;
    color: #4c4a46;
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}
.stone-dates {
    font-family: var(--qul-serif);
    font-size: 1rem;
    letter-spacing: 0.18em;
    color: #5d5b56;
    margin: 0.6rem 0 1.6rem;
}
.stone-plaque {
    width: 92px;
    padding: 0.6rem 0.4rem 0.5rem;
    background: linear-gradient(180deg, #efece6 0%, #d9d5cd 100%);
    border: 1px solid #a8a49c;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    color: #2b2a28;
}
.plaque-label {
    display: block;
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    margin-top: 2px;
}

/* Telefon mockup */
.phone-mockup {
    position: absolute;
    left: 4%;
    top: 6%;
    width: 250px;
    background: #111;
    border-radius: 34px;
    padding: 10px;
}
.phone-notch {
    width: 90px; height: 16px;
    background: #111;
    border-radius: 0 0 12px 12px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.phone-screen {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    min-height: 470px;
    margin-top: -14px;
    padding-top: 10px;
}
.phone-brand {
    font-family: var(--qul-serif);
    letter-spacing: 0.22em;
    font-size: 0.85rem;
    color: var(--qul-ink);
}
.phone-photo {
    height: 150px;
    border-radius: 6px;
    background: linear-gradient(160deg, #9aa89a 0%, #6f7f74 60%, #55645c 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: rgba(255,255,255,0.75);
    font-size: 4.5rem;
    overflow: hidden;
}
.phone-name { font-family: var(--qul-serif); font-size: 1.05rem; color: var(--qul-ink); }
.phone-dates { font-size: 0.7rem; color: var(--qul-muted); letter-spacing: 0.08em; }
.phone-bio { font-size: 0.62rem; color: var(--qul-body); margin-top: 0.4rem; line-height: 1.5; }

.phone-tabs { border-bottom: 1px solid var(--qul-line); flex-wrap: wrap; }
.phone-tabs span {
    font-size: 0.58rem;
    padding: 0.3rem 0.1rem;
    color: var(--qul-muted);
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.phone-tabs span.active {
    color: var(--qul-ink);
    border-bottom: 2px solid var(--qul-ink);
    font-weight: 600;
}
.phone-story-title { font-family: var(--qul-serif); font-size: 0.8rem; color: var(--qul-ink); margin-top: 0.5rem; }
.phone-story { font-size: 0.6rem; line-height: 1.6; color: var(--qul-body); }

/* ---------- How it works ---------- */
.step-icon {
    flex: 0 0 auto;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--qul-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--qul-ink);
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.step-number {
    font-size: 1rem;
    color: var(--qul-ink);
    font-weight: 500;
    letter-spacing: 0.06em;
}
.step-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0.15rem 0 0.6rem;
}
.step-text { font-size: 0.85rem; line-height: 1.7; color: var(--qul-body); margin: 0; }

.how-step + .how-step { border-left: 1px solid var(--qul-line); }
@media (max-width: 767.98px) {
    .how-step + .how-step { border-left: 0; border-top: 1px solid var(--qul-line); padding-top: 2rem; }
}

/* ---------- Features ---------- */
.features-row { --bs-gutter-x: 1rem; }
@media (min-width: 992px) {
    .row-cols-lg-9 > * { flex: 0 0 auto; width: 12.5%; }
}
.feature-icon {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--qul-ink);
}
.feature-title {
    font-family: var(--qul-sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--qul-ink);
    margin-bottom: 0.4rem;
}
.feature-text { font-size: 0.68rem; line-height: 1.55; color: var(--qul-muted); margin: 0; }

/* ---------- Panels ---------- */
.panel-soft { background: var(--qul-soft); border-radius: 6px; }
.panel-outline { border: 1px solid var(--qul-line); border-radius: 6px; background: #fff; }
.panel-text { font-size: 0.88rem; line-height: 1.8; color: var(--qul-body); }

/* Memorial kartı */
.memorial-card { background: #fff; border-radius: 8px; overflow: hidden; }
.memorial-cover {
    flex: 0 0 42%;
    min-height: 170px;
    background: linear-gradient(165deg, #8ba3b5 0%, #5e7788 45%, #3f5261 100%);
}
.memorial-name { font-size: 1.35rem; font-weight: 500; }
.memorial-dates { font-size: 0.78rem; color: var(--qul-muted); letter-spacing: 0.08em; }
.memorial-bio { font-size: 0.75rem; color: var(--qul-body); line-height: 1.6; }

.memorial-thumbs .thumb {
    flex: 1 1 0;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    font-size: 1.4rem;
}
.thumb-1 { background: linear-gradient(160deg, #6b6b6b, #3d3d3d); }
.thumb-2 { background: linear-gradient(160deg, #7f8f7d, #4d5c4c); }
.thumb-3 { background: linear-gradient(160deg, #b78d6a, #8a6247); }
.thumb-4 { background: linear-gradient(160deg, #a8a8a8, #6f6f6f); }

/* Partner list */
.partner-list { margin-top: 0.5rem; }
.partner-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.85rem;
    color: var(--qul-ink);
    padding: 0.45rem 0;
}
.partner-dot {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--qul-soft);
    border: 1px solid var(--qul-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(90deg, #5f6e7a 0%, #93a0a8 18%, #e9e7e2 55%, #d9d4cb 100%);
    padding: 2.6rem 0;
}
.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 500;
    color: #23282c;
}
.cta-text { font-size: 0.85rem; color: #3f4549; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--qul-line); }
.footer-heading {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--qul-ink);
    margin-bottom: 1rem;
}
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
    font-size: 0.85rem;
    color: var(--qul-body);
    text-decoration: none;
}
.footer-links a:hover { color: var(--qul-ink); }

.newsletter-form .form-control { border-right: 0; font-size: 0.8rem; }
.newsletter-form .form-control:focus { box-shadow: none; border-color: var(--qul-ink); }

.social-links a {
    width: 34px; height: 34px;
    border: 1px solid var(--qul-line);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--qul-ink);
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s;
}
.social-links a:hover { background: var(--qul-soft); }

.footer-divider { border-color: var(--qul-line); opacity: 1; }

/* ---------- Responsive: hero visual ---------- */
@media (max-width: 991.98px) {
    .hero-section { padding-top: 3rem; }
    .hero-visual { min-height: 500px; }
    .phone-mockup { left: 0; }
}
@media (max-width: 575.98px) {
    .hero-stone { width: 100%; }
    .phone-mockup {
        position: relative;
        margin: 2rem auto 0;
        left: auto; top: auto;
    }
    .hero-visual { min-height: 0; }
    .hero-stone { position: relative; height: 380px; }
    .memorial-cover { min-height: 140px; }
}

/* ---------- Dil geçişi (TR | EN) ---------- */
.lang-switch { font-size: 0.8rem; letter-spacing: 0.05em; }
.lang-switch .lang-link {
    color: var(--qul-muted, #6c757d);
    text-decoration: none;
    padding: 0.15rem 0.3rem;
    transition: color 0.2s;
}
.lang-switch .lang-link:hover { color: var(--qul-ink, #1a1a1a); }
.lang-switch .lang-link.active {
    color: var(--qul-ink, #1a1a1a);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.lang-switch .lang-sep { color: var(--qul-line, #ddd); }
