/* BESA — Enterprise CSS (Tailwind tamamlayıcı) */

html { scroll-behavior: smooth; font-size: 81%; }
body { overflow-x: hidden; }

/* ── Scroll reveal ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Header scrolled ── */
#site-header.scrolled { background: rgba(255,255,255,.98) !important; box-shadow: 0 1px 0 #e2e8f0, 0 4px 16px rgba(15,23,42,.06); }

/* ── Hero dot grid pattern ── */
.hero-dot-pattern {
    background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 28px 28px;
}
/* Hero gradient overlay */
.hero-gradient-overlay {
    background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(31,56,100,.25) 0%, transparent 70%),
                radial-gradient(ellipse 50% 80% at 0% 100%, rgba(227,127,26,.12) 0%, transparent 60%);
}

/* ── Wave separator ── */
.wave-sep { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.wave-sep svg { display: block; width: 100%; }

/* ── Section label ── */
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: #E37F1A; margin-bottom: 14px;
}
.section-label::before {
    content: ''; display: block; width: 20px; height: 2px;
    background: #E37F1A; border-radius: 2px;
}

/* ── Trust kartları (hero sağ) ── */
.trust-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: background .3s, border-color .3s;
}
.trust-card:hover { background: rgba(255,255,255,.1); border-color: rgba(227,127,26,.4); }

/* ── Service card top accent ── */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #1F3864, #E37F1A);
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.service-card:hover::before { transform: scaleX(1); }

/* ── About image placeholder ── */
.about-img-bg { position: relative; overflow: hidden; }
.about-img-bg::before {
    content: '\f559'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    font-size: 10rem; color: rgba(255,255,255,.12);
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.about-img-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(31,56,100,.9) 0%, rgba(227,127,26,.5) 100%);
}

/* ── Stat divider ── */
.stat-divider { width: 1px; background: #e2e8f0; align-self: stretch; }

/* ── Testimonial quote ── */
.testimonial-card { position: relative; }
.testimonial-card::before {
    content: '\201C'; font-size: 6rem; color: #1F3864;
    position: absolute; top: -20px; left: 20px; opacity: .08;
    font-family: Georgia, serif; line-height: 1;
}

/* ── Page hero (alt sayfalar) ── */
.page-hero {
    padding: 160px 0 90px;
    background: #0f172a;
    color: #fff; text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(ellipse 70% 70% at 50% 100%, rgba(31,56,100,.55) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero > * { position: relative; z-index: 2; }

/* Particles canvas */
.page-hero-particles {
    position: absolute; inset: 0; z-index: 0;
}
.page-hero-particles canvas { display: block; background: transparent !important; }

/* ── Prose content ── */
.prose-besa h2 { font-size: 1.55rem; font-weight: 700; margin: 28px 0 12px; color: #0f172a; }
.prose-besa h3 { font-size: 1.25rem; font-weight: 700; margin: 22px 0 10px; color: #0f172a; }
.prose-besa p  { margin-bottom: 14px; line-height: 1.85; color: #475569; }
.prose-besa ul, .prose-besa ol { margin: 14px 0 14px 22px; }
.prose-besa li { margin-bottom: 8px; color: #475569; }
.prose-besa strong { color: #0f172a; }

/* ── Pagination ── */
.page-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #e2e8f0; border-radius: 10px; color: #334155; font-weight: 600; font-size: 0.9rem; transition: all .25s; }
.page-link:hover { border-color: #1F3864; color: #1F3864; }
.page-link.active { background: #1F3864; color: #fff; border-color: #1F3864; }

/* ── Form ── */
.form-input:focus { outline: none; border-color: #1F3864; box-shadow: 0 0 0 3px rgba(31,56,100,.1); }

/* ── Newsletter ── */
.newsletter-input { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; }
.newsletter-input::placeholder { color: #64748b; }
.newsletter-input:focus { outline: none; border-color: rgba(227,127,26,.5); }

/* ── WhatsApp float ── */
/* handled via Tailwind */

/* ── Marquee references ── */
.marquee-track {
    display: flex; gap: 20px;
    animation: marquee 30s linear infinite;
    width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
