/* ===============================
   BASE
================================ */

* {
    box-sizing: border-box;
    font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

/* ===============================
   HERO BANNER – Arka plan
================================ */

.hero-banner {
    background-color: #0f2942;
    background-image:
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(30, 58, 138, 0.25) 0%, transparent 55%),
        radial-gradient(circle at 50% 100%, rgba(15, 41, 66, 0.9) 0%, transparent 50%);
}
.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='0.8' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* ===============================
   HERO TRUST BOX – Profesyonel, güven verici kutucuk
================================ */

/* Kutu: dikdörtgen, tüm yazılar okunaklı */
.hero-trust-box {
    position: relative;
    text-align: center;
    max-width: 44rem;
    margin: 0 auto;
    padding: 2.5rem 1.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1rem;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 48px rgba(255, 255, 255, 0.03);
}
@media (min-width: 1024px) {
    .hero-trust-box {
        padding: 3rem 3.5rem 3rem;
        max-width: 52rem;
    }
}

/* Üstte ince altın/amber vurgu çizgisi – kalite hissi */
.hero-trust-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.75), transparent);
    border-radius: 0 0 3px 3px;
}


.hero-trust-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    color: rgba(253, 230, 138, 0.98);
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    line-height: 1.1;
}

.hero-trust-subtitle {
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1.25rem;
}
@media (min-width: 640px) {
    .hero-trust-subtitle {
        font-size: 0.875rem;
    }
}

/* Başlık ile tagline arasında ince ayırıcı */
.hero-trust-accent {
    width: 2rem;
    height: 2px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.hero-trust-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1.75rem;
    line-height: 1.4;
}
@media (min-width: 640px) {
    .hero-trust-tagline {
        font-size: 1.25rem;
    }
}

/* Uzun satırlar = daha az alt satır, daha okunaklı */
.hero-trust-body {
    max-width: 42rem;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .hero-trust-body {
        max-width: 48rem;
    }
}
@media (min-width: 1024px) {
    .hero-trust-body {
        max-width: 52rem;
    }
}
.hero-trust-body p {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.96);
    margin: 0 0 0.875rem;
}
.hero-trust-body p:last-child {
    margin-bottom: 0;
}
@media (min-width: 640px) {
    .hero-trust-body p {
        font-size: 1.125rem;
    }
}

/* ===============================
   HEADER: Hero üzerinde açık, aşağıda koyu
================================ */

/* Varsayılan: sayfa başında (hero üzerinde) – açık yazı, şeffaf arka plan */
#mainHeader {
    background: rgba(15, 41, 66, 0.85);
    backdrop-filter: blur(8px);
}
#mainHeader .header-link {
    color: rgba(255, 255, 255, 0.9);
}
#mainHeader .header-link:hover {
    color: #fff;
}
#mainHeader .nav-link::after {
    background-color: rgba(255, 255, 255, 0.9);
}
#mainHeader #headerLogoBox {
    background: rgba(255, 255, 255, 0.95);
}
#mainHeader .header-mobile-btn {
    color: rgba(255, 255, 255, 0.9);
}
#mainHeader .header-mobile-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}
#mainHeader #headerCta {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}
#mainHeader #headerCta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}
#mainHeader #mobileMenuInner {
    border-color: rgba(255, 255, 255, 0.2);
}
#mainHeader .header-mobile-link {
    color: rgba(255, 255, 255, 0.9);
}
#mainHeader .header-mobile-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Aşağı kaydırıldığında: beyaz arka plan, koyu yazı */
#mainHeader.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-color: #e5e7eb;
    backdrop-filter: blur(12px);
}
#mainHeader.header-scrolled .header-link {
    color: #374151;
}
#mainHeader.header-scrolled .header-link:hover {
    color: #1e3a8a;
}
#mainHeader.header-scrolled .nav-link::after {
    background-color: #1e40af;
}
#mainHeader.header-scrolled #headerLogoBox {
    background: #fff;
}
#mainHeader.header-scrolled .header-mobile-btn {
    color: #374151;
}
#mainHeader.header-scrolled .header-mobile-btn:hover {
    background: #f3f4f6;
}
#mainHeader.header-scrolled #headerCta {
    background: #1e3a8a;
    color: #fff;
    border-color: transparent;
}
#mainHeader.header-scrolled #headerCta:hover {
    background: #1e40af;
}
#mainHeader.header-scrolled #mobileMenuInner {
    border-color: #e5e7eb;
}
#mainHeader.header-scrolled .header-mobile-link {
    color: #374151;
}
#mainHeader.header-scrolled .header-mobile-link:hover {
    color: #1e3a8a;
    background: #f9fafb;
}

/* ===============================
   NAVIGATION
================================ */

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1e40af;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===============================
   MOBILE MENU
================================ */

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

/* ===============================
   SERVICE CARDS
================================ */

.service-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* ===============================
   BUTTONS (EXTRA POLISH)
================================ */

button,
a {
    transition: all 0.2s ease;
}

/* ===============================
   HERO BACKGROUND BLOBS
================================ */

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* ===============================
   FORM
================================ */

input::placeholder,
textarea::placeholder {
    opacity: 0.6;
}

/* ===============================
   FOOTER
================================ */

footer a:hover {
    text-decoration: underline;
}