/* ===========================
   MY TEDARİK — CORPORATE NAVY PALETTE
   Brand: #223148 (deep navy) · #2f486d (navy) · #d2c7b8 (beige) · #f3eae0 (cream)
   =========================== */

:root {
    --primary:      #223148;
    --secondary:    #2f486d;
    --dark:         #1a2436;
    --accent:       #2f486d;
    --accent-light: #d2c7b8;
    --accent-2:     #223148;
    --accent-3:     #d2c7b8;
    --accent-dim:   rgba(47,72,109,0.14);
    --cream:        #f3eae0;
    --beige:        #d2c7b8;
    --grad-accent:  linear-gradient(135deg, #2f486d 0%, #223148 100%);
    --grad-warm:    linear-gradient(135deg, #2f486d 0%, #d2c7b8 100%);
    --white:        #ffffff;
    --off-white:    #fafbfd;
    --gray-50:      #f7f8fc;
    --gray-100:     #eef0f7;
    --gray-200:     #dde1ee;
    --gray-300:     #c3c8d8;
    --gray-400:     #9aa3bb;
    --gray-500:     #717b94;
    --gray-700:     #3c4560;
    --gray-900:     #161d2e;
    --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm:    6px;
    --radius:       10px;
    --radius-lg:    16px;
    --radius-xl:    24px;
    --shadow-xs:    0 1px 3px rgba(22,36,75,0.06);
    --shadow-sm:    0 2px 8px rgba(22,36,75,0.08);
    --shadow:       0 4px 24px rgba(22,36,75,0.10);
    --shadow-lg:    0 12px 48px rgba(22,36,75,0.14);
    --shadow-xl:    0 24px 64px rgba(22,36,75,0.18);
    --transition:   0.22s cubic-bezier(0.4,0,0.2,1);
    --header-h:     76px;
    --logo-height:  52px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--gray-900); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section { padding: 88px 0; }

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
    background: var(--primary);
}

/* Scroll'da frosted glass efekti */
.site-header.scrolled {
    background: rgba(12, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.24);
}

/* Hero sayfalarında şeffaf header (transparent_hero modu) — glass over image */
.has-hero .site-header:not(.scrolled):not(.header-not-sticky) {
    background: linear-gradient(180deg, rgba(8,16,34,0.55) 0%, rgba(8,16,34,0.10) 70%, transparent 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Always-solid header (header_style = always_solid) */
.header-solid-always .site-header { background: var(--primary) !important; }

/* Non-sticky header (header_sticky = 0) — scrolls with the page */
.site-header.header-not-sticky {
    position: relative;
    background: var(--primary) !important;
}
/* Non-sticky pages don't need the spacer */
.header-scrollable-mode .header-spacer { display: none; }

/* ── Dropdown Navigation ── */
.header-nav ul li.has-dropdown { position: relative; }

.header-nav ul li.has-dropdown > a { display: flex; align-items: center; gap: 4px; }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: var(--dark);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.36);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    transform: translateX(-50%) translateY(-4px);
    z-index: 1100;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px; left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(255,255,255,0.10);
    border-top: none;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.80);
    transition: all 0.15s ease;
    white-space: nowrap;
}

.nav-dropdown li a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--accent);
    padding-left: 22px;
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: var(--logo-height); width: auto; max-width: 180px; object-fit: contain; }

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-size: 22px; font-weight: 900; color: var(--white); letter-spacing: 4px; }
.logo-sub  { font-size: 9px; font-weight: 700; color: var(--accent); letter-spacing: 6px; margin-top: 2px; }

/* Nav */
.header-nav { flex: 1; }
.header-nav ul { display: flex; gap: 2px; }

.header-nav ul li a {
    display: block;
    padding: 8px 14px;
    color: rgba(255,255,255,0.80);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    letter-spacing: 0.2px;
}

.header-nav ul li a:hover { color: var(--white); background: rgba(255,255,255,0.10); }
.header-nav ul li a.active { color: var(--white); background: rgba(255,255,255,0.12); font-weight: 600; }

/* Header CTA */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: auto; }

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: var(--accent);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.btn-header-cta:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(34,49,72,0.35);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block; width: 22px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(10,18,36,0.97);
    backdrop-filter: blur(20px);
    padding: 12px 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }

.mobile-nav ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    color: rgba(255,255,255,0.80);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active { color: var(--white); background: rgba(255,255,255,0.08); }

.mobile-cta {
    background: var(--accent) !important;
    color: var(--dark) !important;
    font-weight: 700 !important;
    justify-content: center;
    margin-top: 8px;
}

.header-spacer { height: var(--header-h); }

/* === HERO SLIDER === */
/* Dark fallback prevents white flash before hero image loads */
.hero-section { position: relative; width: 100%; overflow: hidden; background-color: var(--dark); padding: 0; }
body.has-hero { background: var(--dark); }
.swiper-hero  { width: 100%; }

.hero-slide {
    position: relative;
    height: 100vh;
    height: 100svh;       /* mobilde adres çubuğu kaybolunca tam doldur */
    min-height: 620px;
    max-height: none;      /* büyük ekranlarda crop'u azalt */
}

/* Eğer has-hero yoksa (normal sayfa) hero daha küçük */
.page-hero-section .hero-slide { height: 52vh; min-height: 360px; max-height: 500px; }

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    transition: transform 10s ease;
    will-change: transform;
}

/* Hafif Ken-Burns zoom — görsel hissi için ama crop'u aşırı artırmayacak kadar */
.swiper-slide-active .hero-bg { transform: scale(1.015); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,18,36,0.78) 0%,
        rgba(22,36,75,0.55) 50%,
        rgba(10,18,36,0.45) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 28px;
    max-width: 860px;
    margin: 0 auto;
    padding-top: var(--header-h);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(47,72,109,0.15);
    border: 1px solid rgba(47,72,109,0.35);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    width: fit-content;
}

.hero-title {
    font-size: clamp(28px, 5.5vw, 62px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 19px);
    color: rgba(255,255,255,0.80);
    margin-bottom: 36px;
    max-width: 580px;
    line-height: 1.65;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--accent);
    color: var(--dark);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius);
    transition: all var(--transition);
    letter-spacing: 0.2px;
}

.btn-hero-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(47,72,109,0.40);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.65);
}

/* Swiper controls */
.swiper-button-next, .swiper-button-prev {
    color: var(--white) !important;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    width: 46px !important; height: 46px !important;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}

.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px !important; font-weight: 800; }
.swiper-button-next:hover, .swiper-button-prev:hover { background: var(--accent); border-color: var(--accent); color: var(--dark) !important; }

.swiper-pagination-bullet { background: rgba(255,255,255,0.45) !important; width: 8px !important; height: 8px !important; }
.swiper-pagination-bullet-active { background: var(--accent) !important; width: 28px !important; border-radius: 4px !important; transition: width 0.3s; }

/* === SECTION HEADERS === */
.section-header { text-align: center; margin-bottom: 64px; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-dim);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    border: 1px solid rgba(47,72,109,0.2);
}

.section-title {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.18;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.section-title span { color: var(--accent); }

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    margin: 16px auto 0;
}

/* === HİZMETLER (ANASayfa) === */
.services-section { background: var(--off-white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(22,36,75,0.20);
}

.service-card:hover .service-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(22,36,75,0.30);
}

.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* === İSTATİSTİKLER === */
.stats-section {
    background: var(--primary);
    padding: 68px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -60%; right: -5%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(47,72,109,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,0.10);
}

.stat-number {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
    letter-spacing: -0.03em;
}

.stat-number span { color: var(--accent); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 500; letter-spacing: 0.3px; }

/* === NEDEN BİZ === */
.why-section { background: var(--white); }

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.why-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-xl);
}

.why-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.why-badge-float {
    position: absolute;
    bottom: 24px; left: 24px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.why-badge-float .icon { font-size: 26px; color: var(--accent); }
.why-badge-float strong { display: block; font-size: 20px; font-weight: 900; color: var(--primary); letter-spacing: -0.02em; }
.why-badge-float span { font-size: 12px; color: var(--gray-500); }

.why-content h2 {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.why-content > p { font-size: 16px; color: var(--gray-500); line-height: 1.75; margin-bottom: 32px; }

.why-features { display: flex; flex-direction: column; gap: 16px; }

.why-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    background: var(--off-white);
    transition: all var(--transition);
}

.why-feature:hover {
    border-color: rgba(22,36,75,0.12);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.why-feature-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(22,36,75,0.2);
}

.why-feature h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.why-feature p  { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(130deg, var(--dark) 0%, var(--primary) 60%, var(--secondary) 100%);
    padding: 88px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%; right: -8%;
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(47,72,109,0.10) 0%, transparent 65%);
    pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-section h2 {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.70);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto; margin-right: auto;
    line-height: 1.65;
}

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    background: var(--accent);
    color: var(--dark);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.btn-cta-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(47,72,109,0.40);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.30);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}

.btn-cta-secondary:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.55); }

/* === PAGE HERO (Normal sayfalar) === */
.page-hero {
    background: linear-gradient(130deg, var(--dark) 0%, var(--primary) 100%);
    padding: 72px 0 56px;
    color: var(--white);
    margin-top: 0;
}

.page-hero h1 { font-size: clamp(26px, 4vw, 46px); font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.page-hero p  { font-size: 17px; color: rgba(255,255,255,0.70); }

.breadcrumb {
    display: flex; gap: 8px; align-items: center;
    margin-bottom: 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.50);
}

.breadcrumb a  { color: var(--accent); transition: opacity var(--transition); }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb span { color: rgba(255,255,255,0.30); }

/* === CONTACT FORM === */
.contact-section { background: var(--gray-50); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 48px;
    align-items: start;
}

.contact-info-box {
    background: var(--primary);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    color: var(--white);
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.contact-info-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.contact-info-box > p { color: rgba(255,255,255,0.60); margin-bottom: 32px; font-size: 14px; line-height: 1.6; }

.contact-info-items { display: flex; flex-direction: column; gap: 22px; }

.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .icon {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.10);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; flex-shrink: 0;
}

.contact-info-item h5 { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 3px; font-weight: 700; }
.contact-info-item p, .contact-info-item a { font-size: 14px; color: rgba(255,255,255,0.80); }
.contact-info-item a:hover { color: var(--accent); }

.contact-form-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.contact-form-box h3 { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 6px; letter-spacing: -0.01em; }
.contact-form-box > p { color: var(--gray-500); margin-bottom: 28px; font-size: 14px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--gray-900);
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--white);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22,36,75,0.07);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    background: var(--primary);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.2px;
}

.btn-submit:hover { background: var(--dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.form-message { padding: 12px 16px; border-radius: var(--radius); margin-top: 16px; font-size: 14px; display: none; }
.form-message.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; display: block; }
.form-message.error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; display: block; }

/* Harita */
.map-section { border-radius: var(--radius-lg); overflow: hidden; margin-top: 28px; }
.map-section iframe { width: 100%; height: 300px; border: none; display: block; }

/* === NEWSLETTER === */
.newsletter-section {
    background: linear-gradient(130deg, var(--dark) 0%, var(--primary) 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    right: -5%; top: -50%;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(47,72,109,0.08) 0%, transparent 65%);
    pointer-events: none;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.newsletter-text { flex: 1; }
.newsletter-text h3 { font-size: clamp(20px, 3vw, 30px); font-weight: 800; color: var(--white); margin-bottom: 8px; letter-spacing: -0.02em; }
.newsletter-text p  { font-size: 15px; color: rgba(255,255,255,0.65); }

.newsletter-form { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* Joined input+button group */
.newsletter-input-group {
    display: flex;
    gap: 0;
}
.newsletter-input-group input[type="email"] {
    flex: 1;
    border-radius: var(--radius) 0 0 var(--radius);
}
.newsletter-input-group button {
    border-radius: 0 var(--radius) var(--radius) 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 12px 18px;
    border: 1.5px solid rgba(255,255,255,0.20);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 14px;
    font-family: var(--font);
    min-width: 240px;
    outline: none;
    backdrop-filter: blur(4px);
    transition: border-color var(--transition);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { border-color: var(--accent); }

.newsletter-form button {
    padding: 12px 24px;
    background: var(--accent);
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    font-family: var(--font);
}

.newsletter-form button:hover { background: var(--accent-light); transform: translateY(-1px); }

/* === BLOG HOME SECTION === */
.blog-home-section { background: var(--gray-50); }

.blog-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.blog-home-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-home-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.blog-home-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: var(--gray-100);
}

.blog-home-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255,255,255,0.2);
}

.blog-home-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-home-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.blog-home-cat  { background: var(--accent-dim); color: var(--primary); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.blog-home-date { font-size: 12px; color: var(--gray-400); }

.blog-home-body h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; line-height: 1.35; letter-spacing: -0.01em; }
.blog-home-body p  { font-size: 13px; color: var(--gray-500); line-height: 1.65; margin-bottom: 16px; flex: 1; }

.blog-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
    transition: gap var(--transition);
}

.blog-home-card:hover .blog-home-link { gap: 10px; }

/* === FOOTER === */
.site-footer { background: var(--dark); color: var(--white); }
.footer-top  { padding: 72px 0 48px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.footer-logo-img { height: 46px; margin-bottom: 16px; }

.footer-logo-text {
    display: flex; gap: 4px;
    font-size: 26px; font-weight: 900;
    margin-bottom: 16px;
}

.footer-logo-text span:first-child { color: var(--white); }
.footer-logo-text span:last-child  { color: var(--accent); }

.footer-slogan { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.65; margin-bottom: 24px; }

.footer-social { display: flex; gap: 8px; }
.footer-social a {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    color: rgba(255,255,255,0.60);
    transition: all var(--transition);
}

.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); transform: translateY(-2px); }

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition);
}

.footer-col ul li a i { font-size: 10px; color: var(--accent); }
.footer-col ul li a:hover { color: var(--white); }

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-list li i { color: var(--accent); font-size: 13px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-list li a,
.footer-contact-list li span { font-size: 13px; color: rgba(255,255,255,0.60); }
.footer-contact-list li a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

/* === HIZMETLER SAYFASI === */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.service-page-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    background: var(--white);
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
}

.service-page-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-page-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    font-size: 48px;
    color: rgba(255,255,255,0.20);
    overflow: hidden;
    position: relative;
}

.service-page-image img { width: 100%; height: 100%; object-fit: cover; }
.service-page-image .service-page-icon { position: absolute; font-size: 56px; opacity: 0.2; color: var(--white); }
.service-page-body { padding: 26px; }
.service-page-body h3 { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 10px; letter-spacing: -0.01em; }
.service-page-body p  { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* === ABOUT PAGE === */
.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--primary); margin-bottom: 18px; line-height: 1.25; letter-spacing: -0.02em; }
.about-text p  { color: var(--gray-500); margin-bottom: 16px; line-height: 1.80; font-size: 15px; }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.value-item { padding: 16px; background: var(--gray-50); border-radius: var(--radius); border-left: 3px solid var(--primary); }
.value-item h5 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.value-item p  { font-size: 13px; color: var(--gray-500); margin: 0; }

.about-image { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; background: var(--gray-100); box-shadow: var(--shadow-xl); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* === PROSE CONTENT (Blog/Hizmet detay) === */
.prose-content h1,.prose-content h2,.prose-content h3 { color: var(--primary); margin: 28px 0 12px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.prose-content h2 { font-size: 24px; }
.prose-content h3 { font-size: 19px; }
.prose-content p  { margin-bottom: 18px; color: var(--gray-700); line-height: 1.80; }
.prose-content ul, .prose-content ol { padding-left: 24px; margin-bottom: 18px; color: var(--gray-700); }
.prose-content li { margin-bottom: 6px; line-height: 1.65; }
.prose-content img { border-radius: var(--radius-lg); margin: 24px 0; max-width: 100%; }
.prose-content a  { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose-content blockquote { border-left: 4px solid var(--accent); padding: 14px 20px; background: var(--gray-50); border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; font-style: italic; color: var(--gray-700); }
.prose-content table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: var(--radius); overflow: hidden; }
.prose-content th { background: var(--primary); color: var(--white); padding: 11px 14px; text-align: left; font-size: 13px; }
.prose-content td { padding: 11px 14px; border-bottom: 1px solid var(--gray-100); font-size: 14px; }
.prose-content tr:hover td { background: var(--gray-50); }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 900;
    width: 54px; height: 54px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: var(--white);
    box-shadow: 0 4px 20px rgba(37,211,102,0.40);
    transition: all var(--transition);
    animation: wpulse 2.5s infinite;
}

.whatsapp-float:hover { transform: scale(1.10); box-shadow: 0 6px 28px rgba(37,211,102,0.50); }

@keyframes wpulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 28px rgba(37,211,102,0.6), 0 0 0 8px rgba(37,211,102,0.10); }
}

/* === SCROLL TOP === */
.scroll-top-btn {
    position: fixed;
    bottom: 92px; right: 28px;
    z-index: 900;
    width: 42px; height: 42px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: var(--white);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    opacity: 0; pointer-events: none;
}

.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover { background: var(--dark); transform: translateY(-3px); }

/* === UTILITY === */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* === RESPONSIVE — TABLET === */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .why-grid { gap: 44px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-box { position: static; }
    .newsletter-inner { gap: 32px; }
}

/* === RESPONSIVE — MOBILE === */
@media (max-width: 768px) {
    :root { --header-h: 64px; }
    section { padding: 56px 0; }
    .container { padding: 0 18px; }

    /* Header */
    .header-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .btn-header-cta { padding: 8px 14px; font-size: 12px; }

    /* Hero */
    .hero-slide { height: 100svh; min-height: 520px; max-height: none; }
    .hero-content { padding: 0 18px; padding-top: calc(var(--header-h) + 24px); justify-content: center; }
    .hero-title { font-size: clamp(24px, 8vw, 36px); }
    .hero-subtitle { font-size: 15px; margin-bottom: 28px; }
    .hero-actions { flex-direction: column; gap: 10px; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; padding: 13px 20px; }
    .swiper-button-next, .swiper-button-prev { display: none !important; }

    /* Sections */
    .section-header { margin-bottom: 40px; }
    .section-subtitle { font-size: 15px; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 24px 22px; }

    /* Stats */
    .stats-section { padding: 48px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .stat-item { padding: 20px 12px; }
    .stat-item::after { display: none !important; }
    .stat-item:nth-child(1), .stat-item:nth-child(3) {
        border-right: 1px solid rgba(255,255,255,0.10);
    }
    .stat-item:nth-child(1), .stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255,255,255,0.10);
    }

    /* Why */
    .why-grid { grid-template-columns: 1fr; gap: 0; }
    .why-image-wrap { display: none; }
    .why-features { gap: 12px; }
    .why-feature { padding: 14px 16px; }

    /* CTA */
    .cta-section { padding: 56px 0; }
    .cta-actions { flex-direction: column; align-items: stretch; }
    .btn-cta-primary, .btn-cta-secondary { justify-content: center; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-box, .contact-info-box { padding: 26px 22px; border-radius: var(--radius-lg); }

    /* Newsletter */
    .newsletter-inner { flex-direction: column; gap: 24px; text-align: center; }
    .newsletter-form { width: 100%; flex-direction: column; }
    .newsletter-form input { min-width: auto; width: 100%; }
    .newsletter-form button { width: 100%; }

    /* Blog home */
    .blog-home-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { text-align: center; }
    .footer-social { justify-content: center; }
    .footer-top { padding: 48px 0 32px; }

    /* Services page */
    .services-page-grid { grid-template-columns: 1fr; }

    /* About */
    .about-content-grid { grid-template-columns: 1fr; }
    .about-image { display: none; }
    .about-values { grid-template-columns: 1fr; }

    /* Page hero */
    .page-hero { padding: 56px 0 40px; }
}

@media (max-width: 480px) {
    :root { --header-h: 60px; }
    .hero-title { font-size: clamp(22px, 7vw, 30px); }
    .service-card, .contact-form-box, .contact-info-box { padding: 20px 18px; }
    .stat-number { font-size: clamp(30px, 8vw, 44px); }
    .section-title { font-size: clamp(20px, 6vw, 28px); }
}

/* ============================================================
   DETAIL PAGE LAYOUTS — responsive content+sidebar grids
   Used in: hizmet-detay.php, blog-detay.php, blog.php
   ============================================================ */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.detail-layout-sm {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}
.detail-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 900px) {
    .detail-layout,
    .detail-layout-sm { grid-template-columns: 1fr; gap: 32px; }
    .detail-sidebar { position: static; }
}

/* ============================================================
   NEWSLETTER — mobile fixes
   ============================================================ */
@media (max-width: 640px) {
    .newsletter-section { padding: 48px 0; }
    .newsletter-inner { flex-direction: column; gap: 20px; text-align: center; }
    .newsletter-inner > div:last-child { width: 100%; max-width: 100%; }

    .newsletter-input-group {
        flex-direction: column;
        gap: 8px;
    }
    .newsletter-input-group input[type="email"] {
        border-radius: var(--radius);
        width: 100%;
    }
    .newsletter-input-group button {
        border-radius: var(--radius);
        width: 100%;
        white-space: normal;
    }
}

/* ============================================================
   HIZMET DETAY / BLOG DETAY — inline grid override via class
   ============================================================ */

/* Hizmet detay responsive fixes */
.hizmet-detay-content,
.blog-detay-content,
.blog-list-content { overflow-x: hidden; }

/* Blog listing page sidebar fix */
@media (max-width: 900px) {
    .blog-sidebar-hide { display: none !important; }
}

/* ============================================================
   FONT SELECTION — ayarlar görünüm sekmesi
   ============================================================ */
.font-preview-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}
.font-preview-card:hover { border-color: var(--primary); background: var(--gray-50); }
.font-preview-card.selected { border-color: var(--primary); background: #eef3ff; }
.font-preview-card .sample { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.font-preview-card .name { font-size: 11px; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============================================================
   ADMIN ANASAYFA — why feature cards
   ============================================================ */
.why-feature-admin-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    background: var(--gray-50);
}
.why-feature-admin-card .card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* ============================================================
   HIZMET & BLOG DETAIL PAGE — inner page hero responsive fix
   ============================================================ */
@media (max-width: 768px) {
    /* Detail page hero sections */
    section[style*="padding:64px"] > .container > .detail-layout,
    section[style*="padding:64px"] > .container > .detail-layout-sm {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
