﻿/* =========================================================
   HelpLine Landing / About - index.css (from scratch)
   - Bootstrap 5 ile uyumlu
   - Görsellerde oran bozulmasın: yalnızca max-height + width:auto
   - Modal görseli: height:90vh sabit, object-fit:contain
   ========================================================= */

/* ---------- Root / Base ---------- */
:root {
    --hl-bg-0: #0b1220;
    --hl-bg-1: #0f1b33;
    --hl-surface: rgba(255,255,255,.06);
    --hl-border: rgba(255,255,255,.12);
    --hl-text: rgba(255,255,255,.92);
    --hl-muted: rgba(255,255,255,.70);
    --hl-accent: #22c55e; /* green-ish */
    --hl-blue: #3b82f6;
    --hl-shadow: 0 18px 50px rgba(0,0,0,.35);
    --hl-shadow-soft: 0 10px 24px rgba(0,0,0,.22);
    --hl-radius: 18px;
    --hl-radius-lg: 22px;
    --hl-glow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 60px rgba(0,0,0,.35);
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: #0f172a;
    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: 90px;
}

/* ---------- Navbar ---------- */
.hl-nav {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(12,18,32,.92), rgba(12,18,32,.70));
    border-bottom: 1px solid rgba(255,255,255,.08);
}

    .hl-nav .navbar-brand {
        font-weight: 700;
        letter-spacing: .2px;
    }

.hl-nav-logo {
    height: 32px;
    width: auto;
}

.hl-brand-text {
    font-weight: 800;
}

.hl-nav .nav-link {
    color: rgba(255,255,255,.78);
    padding: .5rem .75rem;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

    .hl-nav .nav-link:hover {
        color: rgba(255,255,255,.95);
        background: rgba(255,255,255,.08);
    }

    .hl-nav .nav-link.active {
        color: #fff;
        background: rgba(34,197,94,.18);
        box-shadow: 0 0 0 1px rgba(34,197,94,.18) inset;
    }

.hl-nav .btn {
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.hl-nav-cta {
    background: linear-gradient(180deg, rgba(34,197,94,1), rgba(16,185,129,1));
    border: 0;
}

    .hl-nav-cta:hover {
        filter: brightness(1.03);
    }

/* spacer (HTML’de varsa) */
.hl-nav-spacer {
    height: 72px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: radial-gradient(800px 400px at 15% 25%, rgba(59,130,246,.35), transparent 60%), radial-gradient(700px 380px at 80% 30%, rgba(34,197,94,.25), transparent 58%), radial-gradient(900px 500px at 55% 85%, rgba(255,255,255,.10), transparent 60%);
        z-index: 0;
        pointer-events: none;
    }

    .hero .container {
        position: relative;
        z-index: 2;
    }

    .hero h1 {
        letter-spacing: -.3px;
    }

    .hero .lead {
        max-width: 56ch;
    }

/* ---------- Cards / Surfaces ---------- */
.card, .shadow-sm, .shadow-lg {
    border-radius: var(--hl-radius);
}

    .card.shadow-sm {
        box-shadow: var(--hl-shadow-soft) !important;
    }

.border, .card {
    border-color: rgba(15,23,42,.10) !important;
}

/* ---------- 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: var(--hl-shadow-soft);
    transition: transform .25s ease, filter .25s ease;
}

    .hl-thumb:hover {
        transform: translateY(-2px);
        filter: saturate(1.02);
    }

.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; /* ✅ sadece yükseklik sabit */
    width: auto; /* ✅ oran bozulmaz */
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: var(--hl-radius-lg);
    box-shadow: var(--hl-shadow);
}

/* close button görünürlük */
.btn-close.btn-close-white {
    filter: invert(1) grayscale(1);
    opacity: .9;
}

    .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: .08;
        z-index: 0;
        pointer-events: none;
    }

    .section-watermark .watermark-content {
        position: relative;
        z-index: 1;
    }

/* ---------- Badges ---------- */
.badge {
    border-radius: 999px;
    padding: .55rem .75rem;
    letter-spacing: .1px;
}

/* ---------- Stats section (overlay inside numbers) ---------- */
.stats-section {
    border-radius: var(--hl-radius-lg);
    box-shadow: var(--hl-glow);
}

/* ---------- 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 ---------- */
.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(34,197,94,1), rgba(16,185,129,1));
    color: #fff;
    box-shadow: 0 14px 28px rgba(0,0,0,.25);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, filter .2s ease;
}

    .hl-top:hover {
        filter: brightness(1.05);
    }

    .hl-top.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

/* ---------- Typography polish ---------- */
h1, h2, h3, h4, h5 {
    letter-spacing: -.2px;
}

.lead {
    line-height: 1.55;
}

.small, small {
    line-height: 1.45;
}

/* ---------- Footer ---------- */
footer {
    border-top: 1px solid rgba(255,255,255,.06);
}

    footer .nav-link {
        color: rgba(255,255,255,.72);
        border-radius: 999px;
        transition: background .2s ease, color .2s ease;
    }

        footer .nav-link:hover {
            color: rgba(255,255,255,.95);
            background: rgba(255,255,255,.08);
        }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
    .hl-nav .nav-link {
        padding: .55rem .85rem;
    }

    .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
   - Thumbnail & modal: only height fixed, ratio preserved
   ========================================================= */
.hl-carousel {
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
}

.hl-carousel-item {
    background: linear-gradient(180deg, rgba(15,23,42,.03), rgba(15,23,42,.01));
}

.hl-carousel-img {
    /* ✅ sadece yükseklik, oran bozulmaz */
    max-height: 520px;
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    cursor: zoom-in;
}

.hl-carousel-caption {
    padding: 14px 18px;
    border-top: 1px solid rgba(15,23,42,.08);
    background: #fff;
}

@media (max-width: 991.98px) {
    .hl-carousel-img {
        max-height: 420px;
    }
}

@media (max-width: 575.98px) {
    .hl-carousel-img {
        max-height: 320px;
    }
}


/* =========================================================
   Module Gallery Carousel
   - Görsellerde oran bozulmasın: sadece max-height
   ========================================================= */
.hl-carousel {
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
}

.hl-carousel-item {
    background: linear-gradient(180deg, rgba(15,23,42,.03), rgba(15,23,42,.01));
}

.hl-carousel-img {
    max-height: 520px; /* ✅ sadece yükseklik sınırı */
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    cursor: zoom-in;
}

.hl-carousel-caption {
    padding: 14px 18px;
    border-top: 1px solid rgba(15,23,42,.08);
    background: #fff;
}

/* Modal: büyük görüntüde de sadece yükseklik sabit */
.hl-modal-img {
    max-height: 90vh; /* ✅ büyük görünüm yüksekliği */
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .hl-carousel-img {
        max-height: 420px;
    }
}

@media (max-width: 575.98px) {
    .hl-carousel-img {
        max-height: 320px;
    }
}


/* =========================================================
   Carousel oklarını belirginleştir (Bootstrap default icon)
   ========================================================= */

#moduleGalleryCarousel .carousel-control-prev,
#moduleGalleryCarousel .carousel-control-next {
    width: 64px; /* tıklama alanı büyüsün */
    opacity: 1; /* default 0.5’i ez */
}

#moduleGalleryCarousel .carousel-control-prev-icon,
#moduleGalleryCarousel .carousel-control-next-icon {
    width: 42px;
    height: 42px;
    background-size: 70% 70%; /* ikon daha dolu görünsün */
    border-radius: 999px;
    /* ✅ belirgin arka plan + hafif blur */
    background-color: rgba(0,0,0,.45);
    backdrop-filter: blur(6px);
    /* ✅ kenar + gölge */
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 10px 25px rgba(0,0,0,.30);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,.35));
}

/* Hover’da daha da netleşsin */
#moduleGalleryCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#moduleGalleryCarousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0,0,0,.65);
    border-color: rgba(255,255,255,.35);
    transform: scale(1.04);
    transition: .15s ease;
}

/* =========================================================
   Industry-agnostic positioning UI
   ========================================================= */

/* Navbar altı sticky bar */
.hl-industry-bar {
    position: sticky;
    top: 72px; /* navbar yüksekliğine göre gerekirse 64/80 yap */
    z-index: 998;
    background: rgba(10, 18, 35, .72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.10);
    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: 700;
    letter-spacing: .3px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(76, 175, 80, .18);
    border: 1px solid rgba(76, 175, 80, .35);
    color: #d7ffda;
}

.hl-industry-title {
    color: rgba(255,255,255,.92);
    font-weight: 600;
}

.hl-industry-bar__cta {
    color: rgba(255,255,255,.95);
    text-decoration: none;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

    .hl-industry-bar__cta:hover {
        background: rgba(255,255,255,.14);
    }

/* Usecases section */
.hl-usecases {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

.hl-usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.hl-usecase-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    height: 100%;
}

.hl-usecase-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 60, 114, .10);
    border: 1px solid rgba(30, 60, 114, .18);
    margin-bottom: 10px;
}

    .hl-usecase-icon i {
        font-size: 18px;
        color: #1e3c72;
    }

.hl-usecase-card h5 {
    font-weight: 800;
    margin-bottom: 8px;
}

.hl-usecase-card p {
    margin: 0;
    color: rgba(0,0,0,.65);
    font-size: .95rem;
    line-height: 1.5;
}

.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(76,175,80,.10);
    border: 1px solid rgba(76,175,80,.22);
    color: rgba(0,0,0,.72);
    font-weight: 700;
}

    .hl-usecases-footer__box i {
        color: #2e7d32;
    }

/* Repeating reminder strip */
.hl-reminder-strip {
    background: linear-gradient(135deg, rgba(25,35,64,.94), rgba(37,70,142,.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: 700;
    }

.hl-reminder-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(76,175,80,.95);
    box-shadow: 0 0 0 6px rgba(76,175,80,.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)
========================= */

.hl-nav .navbar-nav .nav-link {
    padding: .42rem .70rem;
    border-radius: 999px;
    font-weight: 500;
    color: rgba(255,255,255,.88);
}

    .hl-nav .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

    .hl-nav .navbar-nav .nav-link.active {
        background: rgba(76,175,80,.18);
        border: 1px solid rgba(76,175,80,.35);
        color: #fff;
    }

/* ✅ 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,.10);
        padding-top: .75rem;
    }
}

/* ✅ Dropdown menü (dark glass) */
.hl-dd {
    background: rgba(12, 16, 26, .96);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
}

    .hl-dd .dropdown-item {
        color: rgba(255,255,255,.88);
    }

        .hl-dd .dropdown-item:hover {
            background: rgba(255,255,255,.08);
            color: #fff;
        }

        .hl-dd .dropdown-item.active {
            background: rgba(76,175,80,.18);
        }


/* Legal pages (Refund / Privacy etc.) */
body.hl-legal {
    background: #f6f8fb;
}

.hl-legal-card {
    border-radius: 18px;
}

/* Navbar spacer zaten index.css’te varsa dokunma */
.hl-nav-spacer {
    height: 88px;
}

