﻿/* =========================================================
   HelpLine Landing / About - index.css (Re-skin)
   - Bootstrap 5 ile uyumlu
   - Yeni görünüm: "Midnight Purple + Copper" (farklı site hissi)
   - Görsellerde oran bozulmasın: yalnızca max-height + width:auto
   - Modal görseli: height:90vh / object-fit:contain
   ========================================================= */

/* ---------- Root / Base ---------- */
:root {
    /* Brand palette (NEW) */
    --hl-bg-0: #0b0b16; /* deep midnight */
    --hl-bg-1: #14122a; /* purple-ish */
    --hl-ink: #0f172a; /* text on light */
    --hl-text: rgba(255,255,255,.92);
    --hl-muted: rgba(255,255,255,.72);
    /* Accent (copper / amber) */
    --hl-accent: #f59e0b; /* amber */
    --hl-accent-2: #fb7185; /* rose */
    --hl-blue: #60a5fa;
    /* Surfaces */
    --hl-surface: rgba(255,255,255,.06);
    --hl-surface-2: rgba(255,255,255,.10);
    --hl-border: rgba(255,255,255,.12);
    --hl-border-soft: rgba(15,23,42,.10);
    /* Shadow / radius */
    --hl-shadow: 0 18px 55px rgba(0,0,0,.40);
    --hl-shadow-soft: 0 10px 26px rgba(0,0,0,.22);
    --hl-radius: 18px;
    --hl-radius-lg: 22px;
    /* Glow */
    --hl-glow: 0 0 0 1px rgba(255,255,255,.08), 0 22px 70px rgba(0,0,0,.40);
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(1200px 800px at 10% -10%, rgba(245,158,11,.10), transparent 55%), radial-gradient(1200px 800px at 110% 10%, rgba(251,113,133,.10), transparent 55%), linear-gradient(180deg, #ffffff 0%, #f6f4ff 55%, #f7fbff 100%);
    color: var(--hl-ink);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

/* Anchor offset for fixed navbar */
section[id] {
    scroll-margin-top: 92px;
}

/* ---------- Navbar (NEW identity) ---------- */
.hl-nav {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(11,11,22,.92), rgba(20,18,42,.75));
    border-bottom: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

    .hl-nav .navbar-brand {
        font-weight: 800;
        letter-spacing: .25px;
        color: rgba(255,255,255,.95);
    }

.hl-nav-logo {
    height: 32px;
    width: auto;
}

.hl-brand-text {
    font-weight: 900;
    letter-spacing: .3px;
}

.hl-nav .nav-link {
    color: rgba(255,255,255,.80);
    padding: .48rem .78rem;
    border-radius: 999px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

    .hl-nav .nav-link:hover {
        color: rgba(255,255,255,.98);
        background: rgba(255,255,255,.10);
        transform: translateY(-1px);
    }

    .hl-nav .nav-link.active {
        color: #111827;
        background: rgba(245,158,11,.95);
        box-shadow: 0 0 0 1px rgba(245,158,11,.25) inset, 0 10px 26px rgba(0,0,0,.18);
    }

.hl-nav .btn {
    box-shadow: 0 12px 26px rgba(0,0,0,.22);
}

/* CTA button: copper gradient */
.hl-nav-cta {
    background: linear-gradient(180deg, rgba(245,158,11,1), rgba(251,113,133,1));
    border: 0;
    color: #111827;
    font-weight: 800;
}

    .hl-nav-cta:hover {
        filter: brightness(1.03);
    }

.hl-nav-spacer {
    height: 72px;
}

/* ---------- Hero (NEW vibe) ---------- */
.hero {
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: radial-gradient(900px 520px at 12% 18%, rgba(245,158,11,.22), transparent 60%), radial-gradient(800px 460px at 86% 26%, rgba(251,113,133,.20), transparent 60%), radial-gradient(900px 520px at 55% 92%, rgba(96,165,250,.14), transparent 60%);
        z-index: 0;
        pointer-events: none;
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,.00), rgba(255,255,255,.30));
        z-index: 1;
        pointer-events: none;
    }

    .hero .container {
        position: relative;
        z-index: 2;
    }

    .hero h1 {
        letter-spacing: -.5px;
    }

    .hero .lead {
        max-width: 60ch;
        color: rgba(15,23,42,.74);
    }

/* ---------- Cards / Surfaces (more premium & lighter) ---------- */
.card, .shadow-sm, .shadow-lg {
    border-radius: var(--hl-radius);
}

.card {
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: 0 16px 44px rgba(17,24,39,.08);
}

    .card.shadow-sm {
        box-shadow: 0 12px 28px rgba(17,24,39,.10) !important;
    }

.border, .card {
    border-color: rgba(17,24,39,.08) !important;
}

    /* Accent outlines for special cards if used */
    .card.hl-accented {
        border-color: rgba(245,158,11,.30) !important;
        box-shadow: 0 0 0 1px rgba(245,158,11,.16), 0 18px 50px rgba(17,24,39,.10);
    }

/* ---------- Frames / Images ---------- */
.hl-frame {
    border-radius: var(--hl-radius-lg);
    overflow: hidden;
    position: relative;
}

.img-fluid-shadow {
    box-shadow: var(--hl-shadow);
}

/* ✅ Thumbnail: sadece yükseklik ver, genişlik otomatik */
.hl-thumb {
    max-height: 420px;
    width: auto;
    height: auto;
    max-width: 100%;
    display: inline-block;
    cursor: zoom-in;
    border-radius: var(--hl-radius-lg);
    box-shadow: 0 14px 34px rgba(17,24,39,.18);
    transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

    .hl-thumb:hover {
        transform: translateY(-2px);
        filter: saturate(1.03) contrast(1.02);
        box-shadow: 0 18px 44px rgba(17,24,39,.22);
    }

.hl-thumb-xl {
    max-height: 480px;
}

.hl-thumb-sm {
    max-height: 320px;
}

/* ---------- Modal Image ---------- */
.modal-content.hl-modal-glass {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.hl-modal-img {
    height: 90vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: var(--hl-radius-lg);
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

/* close button görünürlük */
.btn-close.btn-close-white {
    filter: invert(1) grayscale(1);
    opacity: .92;
}

    .btn-close.btn-close-white:hover {
        opacity: 1;
    }

/* ---------- Section Watermark ---------- */
.section-watermark {
    position: relative;
    overflow: hidden;
}

    .section-watermark .watermark-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .06; /* slightly softer */
        z-index: 0;
        pointer-events: none;
        filter: saturate(.9) contrast(1.05);
    }

    .section-watermark .watermark-content {
        position: relative;
        z-index: 1;
    }

/* ---------- Badges (NEW) ---------- */
.badge {
    border-radius: 999px;
    padding: .56rem .80rem;
    letter-spacing: .15px;
    font-weight: 800;
}

    .badge.bg-success,
    .badge.text-bg-success {
        background: rgba(245,158,11,.14) !important;
        color: rgba(17,24,39,.86) !important;
        border: 1px solid rgba(245,158,11,.28);
    }

/* ---------- Stats section (overlay inside numbers) ---------- */
.stats-section {
    border-radius: var(--hl-radius-lg);
    box-shadow: var(--hl-glow);
    background: linear-gradient(135deg, rgba(11,11,22,.94), rgba(20,18,42,.92));
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.92);
}

/* ---------- Scroll Reveal ---------- */
.animated-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s ease, transform .55s ease;
    will-change: opacity, transform;
}

    .animated-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ---------- Back to top (NEW) ---------- */
.hl-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(245,158,11,1), rgba(251,113,133,1));
    color: #111827;
    box-shadow: 0 18px 34px rgba(17,24,39,.26);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, filter .2s ease;
}

    .hl-top:hover {
        filter: brightness(1.03);
    }

    .hl-top.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

/* ---------- Typography polish ---------- */
h1, h2, h3, h4, h5 {
    letter-spacing: -.25px;
}

.lead {
    line-height: 1.6;
}

.small, small {
    line-height: 1.45;
}

/* Make headings feel "new" */
h2.fw-bold, .fw-bold {
    text-shadow: 0 1px 0 rgba(255,255,255,.35);
}

/* Links on light background */
a, .link {
    color: #7c3aed; /* violet */
}

    a:hover, .link:hover {
        color: #6d28d9;
    }

/* ---------- Footer (NEW) ---------- */
footer {
    border-top: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(11,11,22,.96), rgba(20,18,42,.92));
    color: rgba(255,255,255,.82);
}

    footer .nav-link {
        color: rgba(255,255,255,.78);
        border-radius: 999px;
        transition: background .18s ease, color .18s ease;
    }

        footer .nav-link:hover {
            color: rgba(255,255,255,.98);
            background: rgba(255,255,255,.10);
        }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
    .hl-nav .nav-link {
        padding: .56rem .90rem;
    }

    .hl-thumb {
        max-height: 340px;
    }

    .hl-thumb-xl {
        max-height: 380px;
    }

    .hl-thumb-sm {
        max-height: 280px;
    }

    .hl-modal-img {
        height: 86vh;
    }
}

@media (max-width: 575.98px) {
    .hl-thumb {
        max-height: 280px;
    }

    .hl-thumb-xl {
        max-height: 320px;
    }

    .hl-thumb-sm {
        max-height: 240px;
    }

    .hl-modal-img {
        height: 82vh;
    }
}

/* ---------- Optional: reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .animated-on-scroll {
        transition: none;
    }

    .hl-thumb {
        transition: none;
    }

    .hl-top {
        transition: none;
    }
}

/* =========================================================
   Module Gallery Carousel (NEW)
   - Thumbnail & modal: only height fixed, ratio preserved
   ========================================================= */
.hl-carousel {
    border: 1px solid rgba(17,24,39,.10);
    background: rgba(255,255,255,.90);
    border-radius: var(--hl-radius-lg);
    box-shadow: 0 16px 44px rgba(17,24,39,.10);
    overflow: hidden;
}

.hl-carousel-item {
    background: radial-gradient(900px 420px at 25% 18%, rgba(245,158,11,.10), transparent 60%), radial-gradient(820px 420px at 78% 22%, rgba(251,113,133,.10), transparent 60%), linear-gradient(180deg, rgba(17,24,39,.02), rgba(17,24,39,.00));
}

.hl-carousel-img {
    max-height: 520px;
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    cursor: zoom-in;
    filter: saturate(1.02) contrast(1.02);
}

.hl-carousel-caption {
    padding: 14px 18px;
    border-top: 1px solid rgba(17,24,39,.08);
    background: rgba(255,255,255,.92);
    color: rgba(17,24,39,.86);
}

@media (max-width: 991.98px) {
    .hl-carousel-img {
        max-height: 420px;
    }
}

@media (max-width: 575.98px) {
    .hl-carousel-img {
        max-height: 320px;
    }
}

/* Modal: büyük görüntüde de sadece yükseklik sabit */
.hl-modal-img {
    max-height: 90vh;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* =========================================================
   Carousel oklarını belirginleştir (NEW)
   ========================================================= */
#moduleGalleryCarousel .carousel-control-prev,
#moduleGalleryCarousel .carousel-control-next {
    width: 64px;
    opacity: 1;
}

#moduleGalleryCarousel .carousel-control-prev-icon,
#moduleGalleryCarousel .carousel-control-next-icon {
    width: 42px;
    height: 42px;
    background-size: 70% 70%;
    border-radius: 999px;
    background-color: rgba(11,11,22,.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 12px 30px rgba(0,0,0,.30);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.35));
}

#moduleGalleryCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#moduleGalleryCarousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(11,11,22,.72);
    border-color: rgba(245,158,11,.35);
    transform: scale(1.05);
    transition: .15s ease;
}

/* =========================================================
   Industry-agnostic positioning UI (NEW)
   ========================================================= */

/* Navbar altı sticky bar */
.hl-industry-bar {
    position: sticky;
    top: 72px;
    z-index: 998;
    background: linear-gradient(180deg, rgba(11,11,22,.78), rgba(20,18,42,.72));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 10px 0;
}

.hl-industry-bar__text {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hl-industry-pill {
    display: inline-block;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .35px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(245,158,11,.16);
    border: 1px solid rgba(245,158,11,.34);
    color: rgba(255,255,255,.92);
}

.hl-industry-title {
    color: rgba(255,255,255,.92);
    font-weight: 700;
}

.hl-industry-bar__cta {
    color: rgba(255,255,255,.95);
    text-decoration: none;
    font-weight: 900;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
}

    .hl-industry-bar__cta:hover {
        background: rgba(255,255,255,.16);
    }

/* Usecases section */
.hl-usecases {
    background: radial-gradient(900px 500px at 10% 0%, rgba(245,158,11,.10), transparent 55%), radial-gradient(900px 500px at 100% 10%, rgba(251,113,133,.08), transparent 55%), linear-gradient(180deg, #ffffff 0%, #f6f4ff 100%);
}

.hl-usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.hl-usecase-card {
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 16px 44px rgba(17,24,39,.08);
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .hl-usecase-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 60px rgba(17,24,39,.12);
        border-color: rgba(245,158,11,.20);
    }

.hl-usecase-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124,58,237,.10); /* violet hint */
    border: 1px solid rgba(124,58,237,.18);
    margin-bottom: 10px;
}

    .hl-usecase-icon i {
        font-size: 18px;
        color: #7c3aed;
    }

.hl-usecase-card h5 {
    font-weight: 900;
    margin-bottom: 8px;
    color: rgba(17,24,39,.92);
}

.hl-usecase-card p {
    margin: 0;
    color: rgba(17,24,39,.68);
    font-size: .95rem;
    line-height: 1.55;
}

.hl-usecases-footer {
    margin-top: 18px;
}

.hl-usecases-footer__box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(245,158,11,.10);
    border: 1px solid rgba(245,158,11,.18);
    color: rgba(17,24,39,.78);
    font-weight: 900;
}

    .hl-usecases-footer__box i {
        color: #b45309;
    }

/* Repeating reminder strip (NEW) */
.hl-reminder-strip {
    background: linear-gradient(135deg, rgba(11,11,22,.94), rgba(20,18,42,.92));
    color: rgba(255,255,255,.92);
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
}

    .hl-reminder-strip .container {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 900;
    }

.hl-reminder-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(245,158,11,.95);
    box-shadow: 0 0 0 6px rgba(245,158,11,.18);
}

/* Responsive */
@media (max-width: 991px) {
    .hl-industry-bar {
        top: 64px;
    }

    .hl-usecases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .hl-usecases-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Navbar polish (no wrap + premium look) (NEW)
========================= */
.hl-nav .navbar-nav .nav-link {
    padding: .42rem .70rem;
    border-radius: 999px;
    font-weight: 650;
    color: rgba(255,255,255,.88);
}

    .hl-nav .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,.10);
        color: #fff;
    }

    .hl-nav .navbar-nav .nav-link.active {
        background: rgba(245,158,11,.92);
        border: 1px solid rgba(245,158,11,.35);
        color: #111827;
    }

/* ✅ Masaüstünde yazılar satır atlamasın */
@media (min-width: 992px) {
    .hl-nav-links .nav-link {
        white-space: nowrap;
    }
}

/* ✅ Sağ aksiyon bloğu */
.hl-nav-actions {
    gap: .55rem;
}

.hl-nav .hl-icon-btn {
    width: 40px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

/* ✅ Mobilde aksiyonları ayır, daha düzenli */
@media (max-width: 991.98px) {
    .hl-nav-actions {
        border-top: 1px solid rgba(255,255,255,.12);
        padding-top: .75rem;
    }
}

/* ✅ Dropdown menü (dark glass) */
.hl-dd {
    background: rgba(11,11,22,.96);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
}

    .hl-dd .dropdown-item {
        color: rgba(255,255,255,.88);
    }

        .hl-dd .dropdown-item:hover {
            background: rgba(255,255,255,.10);
            color: #fff;
        }

        .hl-dd .dropdown-item.active {
            background: rgba(245,158,11,.18);
        }

/* ---------- Legal pages (Refund / Privacy etc.) ---------- */
body.hl-legal {
    background: #f4f3ff;
}

.hl-legal-card {
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: 0 16px 44px rgba(17,24,39,.08);
}

/* Navbar spacer (varsa) */
.hl-nav-spacer {
    height: 88px;
}

.bg-dark .hl-punchline,
.text-light .hl-punchline {
    color: rgba(255,255,255,.92);
}

    .bg-dark .hl-punchline b,
    .bg-dark .hl-punchline strong {
        color: var(--hl-accent);
    }
