:root {
    --ink: #0b1220;
    --ink-soft: #121c31;
    --foam: #e8fbff;
    --mist: #f4f8ff;
    --cyan: #25d0d0;
    --lime: #b8ff6a;
    --orange: #ff7a59;
    --slate: #7f8ca8;
    --line: rgba(11, 18, 32, 0.12);
    --radius: 18px;
    --shadow: 0 18px 50px rgba(11, 18, 32, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at 10% -10%, #d9fbff 0, transparent 35%),
                radial-gradient(circle at 100% 0%, #fff0dc 0, transparent 30%),
                var(--mist);
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 2rem;
}

#page-loader {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 200;
    display: grid;
    place-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-text {
    color: white;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

#page-transition {
    position: fixed;
    inset: 0;
    background: linear-gradient(120deg, var(--cyan), var(--lime));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(.7,0,.3,1);
    z-index: 180;
    pointer-events: none;
}
#page-transition.slide-in { transform: scaleX(1); }
#page-transition.slide-out { transform: scaleX(0); transform-origin: left; }

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    transition: all .35s ease;
    padding: 1rem 0;
}
#site-header.scrolled {
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(11,18,32,.08);
    padding: .65rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-logo {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: white;
    letter-spacing: .02em;
}
#site-header.scrolled .site-logo { color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: .25rem; }
.nav-item {
    color: rgba(255,255,255,.82);
    padding: .45rem .8rem;
    border-radius: 10px;
    font-size: .92rem;
    transition: all .2s ease;
}
.nav-item:hover, .nav-item.active { color: white; background: rgba(255,255,255,.16); }
#site-header.scrolled .nav-item { color: var(--ink-soft); }
#site-header.scrolled .nav-item:hover,
#site-header.scrolled .nav-item.active { background: #e6f7f7; color: var(--ink); }

.btn-header, .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    padding: .7rem 1.1rem;
    border: none;
    font-weight: 700;
    font-size: .9rem;
    background: linear-gradient(95deg, var(--lime), #d7ff95);
    color: var(--ink);
    transition: transform .2s ease;
}
.btn-header:hover, .btn-primary:hover { transform: translateY(-2px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    padding: .65rem 1rem;
    border: 1px solid var(--line);
    color: var(--ink);
    background: white;
}

.mobile-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; }
.mobile-toggle span { width: 22px; height: 2px; background: white; }
#site-header.scrolled .mobile-toggle span { background: var(--ink); }

#mobile-nav-overlay { position: fixed; inset: 0; background: rgba(11,18,32,.45); opacity: 0; pointer-events: none; transition: .25s; z-index: 118; }
#mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: min(320px, 88vw);
    height: 100%;
    background: white;
    z-index: 119;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    transition: right .3s ease;
}
body.mobile-nav-open #mobile-nav { right: 0; }
body.mobile-nav-open #mobile-nav-overlay { opacity: 1; pointer-events: auto; }
.mobile-nav-close { align-self: flex-end; border: none; background: none; font-size: 1.5rem; }
.mobile-nav-item { padding: .7rem .4rem; border-bottom: 1px solid #eef2f9; font-weight: 600; }
.mobile-nav-cta { margin-top: .8rem; border-radius: 12px; text-align: center; padding: .8rem 1rem; background: var(--ink); color: white; }

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}
.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease;
}
.hero-bg-layer.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(11,18,32,.88), rgba(11,18,32,.56), rgba(11,18,32,.25)); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: 8rem 0 4rem; }
.hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(2.1rem, 4.8vw, 4.4rem); line-height: 1.04; margin-bottom: 1rem; }
.hero p { color: rgba(255,255,255,.86); font-size: 1.05rem; line-height: 1.8; max-width: 640px; }
.hero-badges { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-badge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: .4rem .8rem; border-radius: 999px; font-size: .78rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 20px;
    padding: 1.2rem;
    backdrop-filter: blur(10px);
}
.hero-card strong { font-size: 2rem; display: block; font-family: 'Sora', sans-serif; }

.section { padding: 5.5rem 0; }
.section-title { font-family: 'Sora', sans-serif; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.2; margin-bottom: .8rem; }
.section-intro { color: #44516d; max-width: 760px; line-height: 1.8; }
.section-top { margin-bottom: 2rem; }

.zigzag {
    position: relative;
    background: white;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-top: -40px;
    box-shadow: var(--shadow);
}

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
    background: white;
    border: 1px solid #e8edf6;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 8px 20px rgba(11,18,32,.04);
}
.card h3 { font-family: 'Sora', sans-serif; font-size: 1.1rem; margin: .6rem 0; }
.card p { color: #4a5670; line-height: 1.7; font-size: .92rem; }
.icon-dot {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(120deg, #defcff, #f4ffe0);
    color: var(--ink);
    font-weight: 800;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.split-image {
    border-radius: 22px;
    overflow: hidden;
    min-height: 390px;
    box-shadow: var(--shadow);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.list-check { list-style: none; display: grid; gap: .7rem; margin: 1rem 0 1.3rem; }
.list-check li { position: relative; padding-left: 1.5rem; color: #44516d; line-height: 1.7; }
.list-check li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #0f9b98; font-weight: 700; }

.stats-band {
    background: linear-gradient(105deg, var(--ink), #17335e);
    color: white;
    border-radius: 24px;
    padding: 1.5rem;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; font-family: 'Sora', sans-serif; color: var(--lime); }
.stat span { color: rgba(255,255,255,.78); font-size: .88rem; }

.faq-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.faq-info { background: white; border-radius: 18px; padding: 1.2rem; border: 1px solid #e7edf8; }
.faq-item { border-bottom: 1px solid #e5ebf5; }
.faq-q {
    width: 100%;
    border: none;
    background: none;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    text-align: left;
    color: var(--ink);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 0 1rem; color: #44516d; line-height: 1.75; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote { background: white; border-radius: 18px; border: 1px solid #e8edf6; padding: 1.1rem; }
.quote p { color: #44516d; font-style: italic; line-height: 1.7; margin-bottom: .8rem; }
.quote .name { font-weight: 700; }

.article-card img { border-radius: 14px; aspect-ratio: 16/10; object-fit: cover; margin-bottom: .75rem; }
.article-card .meta { color: #6a7895; font-size: .8rem; margin-bottom: .35rem; }
.article-card h3 { font-family: 'Sora', sans-serif; font-size: 1.1rem; margin-bottom: .45rem; }
.article-card p { color: #44516d; font-size: .9rem; line-height: 1.7; }

.inner-hero {
    padding: 8rem 0 3rem;
    background: linear-gradient(130deg, rgba(11,18,32,.92), rgba(18,28,49,.8)), url('../img/hizmetler-hero.jpg') center/cover;
    color: white;
}
.breadcrumb { display: flex; gap: .55rem; color: rgba(255,255,255,.72); font-size: .86rem; margin-bottom: .9rem; }
.breadcrumb a { color: var(--lime); }

.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; }
.article-body h2 { font-family: 'Sora', sans-serif; font-size: 1.45rem; margin: 1.35rem 0 .7rem; }
.article-body p, .article-body li { color: #42506b; line-height: 1.85; }
.article-body ul { padding-left: 1.2rem; }
.article-sidebar { position: sticky; top: 7rem; align-self: start; display: grid; gap: .8rem; }
.side-widget { background: white; border: 1px solid #e8edf6; border-radius: 16px; padding: 1rem; }
.side-widget h3 { font-family: 'Sora', sans-serif; font-size: 1rem; margin-bottom: .6rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.form-card { background: white; border-radius: 18px; border: 1px solid #e8edf6; padding: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form-group { margin-bottom: .8rem; }
.form-label { display: block; margin-bottom: .35rem; font-size: .88rem; font-weight: 600; color: #1d2940; }
.form-input, .form-textarea, .form-select {
    width: 100%;
    border: 1px solid #d6deec;
    border-radius: 12px;
    padding: .7rem .8rem;
    background: #fff;
    color: var(--ink);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: .55rem; margin: .9rem 0; color: #44516d; font-size: .84rem; }
.form-success { display: none; margin-top: .8rem; color: #0b9275; font-weight: 700; }

.policy-content { max-width: 860px; margin: 0 auto; background: white; border: 1px solid #e8edf6; border-radius: 18px; padding: 1.4rem; }
.policy-content h2 { font-family: 'Sora', sans-serif; margin: 1rem 0 .55rem; }
.policy-content p, .policy-content li { color: #42506b; line-height: 1.8; }
.policy-content ul { padding-left: 1.2rem; }

#footer {
    background: #0c1324;
    color: #c4d1eb;
    padding: 3.5rem 0 0;
    margin-top: 4rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 1.2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-title { color: white; font-family: 'Sora', sans-serif; margin-bottom: .6rem; }
.footer-link { display: block; margin-bottom: .4rem; color: #d0dbef; font-size: .92rem; }
.footer-link:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; gap: 1rem; }

#cookie-banner {
    position: fixed;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1rem;
    z-index: 110;
    background: rgba(12,19,36,.94);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    padding: .8rem;
    color: #d8e2f4;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
}
.cookie-actions { display: flex; gap: .5rem; }
.cookie-btn { border-radius: 10px; padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.2); background: transparent; color: white; }
.cookie-btn.accept { background: linear-gradient(95deg, var(--lime), #d8ff9f); color: var(--ink); border: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: .45s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (max-width: 1024px) {
    .card-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; gap: 1.3rem; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .container { padding-inline: 1.5rem; }
    .site-nav, .btn-header { display: none; }
    .mobile-toggle { display: flex; }
    .split, .faq-wrap, .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
    .container { padding-inline: 1.25rem; }
    .card-grid, .testimonials { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .hero { min-height: 88vh; }
    .hero h1 { font-size: 2rem; }
    #cookie-banner { left: 1.25rem; right: 1.25rem; }
    #cookie-banner { flex-direction: column; align-items: flex-start; }
}
