﻿/* Global Pages Styles (Reconstructed) */

/* Wrapper and Inner Containers */
.wrapper {
    width: 100%;
    padding: 4rem 5%;
}
.wrapper.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: white;
    padding: calc(76px + 5rem) 5% 6rem; /* Account for navbar */
    text-align: center;
    position: relative;
    overflow: hidden;
}
.wrapper.section {
    background: #f8fafc;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-cont {
    max-width: 900px;
    position: relative;
    z-index: 10;
}

/* Typography */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
    cursor: pointer;
}

.btn-brand:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
    color: #fff;
}

/* Grids */
.grid-half {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 992px) {
    .grid-half {
        grid-template-columns: 1fr 1fr;
    }
}
.grid-half.reverse > div:first-child {
    order: 2;
}
.grid-half.reverse > div:last-child {
    order: 1;
}

/* Image Stack */
.img-stack {
    position: relative;
    width: 100%;
}
.img-stack img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
    object-fit: cover;
}
.img-stack img:nth-child(2) {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60%;
    border: 8px solid #f8fafc;
}

/* Typography in sections */
article h2, .inner > h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
article p, .inner > p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Feature Grid */
.feat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .feat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feat-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.feat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
    border-color: #bfdbfe;
}
.feat-icon {
    margin-bottom: 1.5rem;
}
.feat-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}
.feat-card p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Use Cases */
.use-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #2563eb;
    box-shadow: 0 10px 25px -5px rgba(15,23,42,0.05);
}
.use-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    color: #1e3a8a;
    margin-bottom: 0.75rem;
}
.use-card p {
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

/* FAQ */
.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 0;
    overflow: hidden;
}
.faq-q {
    padding: 1.5rem;
    margin: 0;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    transition: background 0.3s;
}
.faq-q:hover {
    background: #f8fafc;
}
.faq-q span {
    color: #2563eb;
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-q {
    border-bottom: 1px solid #f1f5f9;
}
.faq-item.active .faq-q span {
    transform: rotate(180deg);
}
.faq-a {
    padding: 0 1.5rem;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #475569;
    line-height: 1.7;
}
.faq-item.active .faq-a {
    padding: 1.5rem;
    max-height: 500px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    max-width: 1000px;
    margin: 0 auto;
}
.cta-box h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}
.cta-box p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin: 0 auto 2rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Additional specific global tweaks */
:root {
    --c-blue: #2563eb;
    --c-blue-light: #eff6ff;
    --c-border: #e2e8f0;
    --c-gray: #475569;
    --c-dark: #0f172a;
}
/* Page Header (Hizmetler vb. sayfalar icin) */
.page-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    padding: calc(76px + 4rem) 5% 6rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}
.page-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.1);
    border-color: #bfdbfe;
}
.service-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}
.service-card p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* PSEO Template Missing Classes */
.article-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 992px) { .article-layout { grid-template-columns: 1fr 350px; } }

.prose h2 { font-family: 'Outfit', sans-serif; font-size: 2rem; color: #0f172a; margin-bottom: 1.5rem; margin-top: 2rem;}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; color: #1e3a8a; margin-top: 2rem; margin-bottom: 1rem; }
.prose p { color: #475569; font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.prose ul { padding-left: 1.5rem; color: #475569; line-height: 1.8; margin-bottom: 1.5rem; }
.prose li { margin-bottom: 0.5rem; }

.sticky-sidebar { position: sticky; top: 100px; }
.cta-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2rem; text-align: center; box-shadow: 0 10px 25px -5px rgba(15,23,42,0.1); }
.cta-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; color: #0f172a; margin-bottom: 1rem; font-weight: 800; }
.cta-card p { color: #475569; margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.6; }

.s-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; transition: all 0.3s ease; }
.s-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px -5px rgba(15,23,42,0.1); border-color: #cbd5e1; }
.s-tag { display: inline-block; background: #f1f5f9; color: #475569; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; margin-bottom: 1rem; align-self: flex-start; text-transform: uppercase; letter-spacing: 0.05em; }
.s-card h4 { font-family: 'Outfit', sans-serif; font-size: 1.2rem; color: #0f172a; font-weight: 800; margin-bottom: 0.75rem; }
.s-card p { color: #64748b; font-size: 0.95rem; line-height: 1.5; margin-bottom: 1.5rem; }

.districts-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 3rem; margin: 2rem 0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.districts-box h3 { font-family: 'Outfit', sans-serif; font-size: 1.8rem; color: #0f172a; font-weight: 800; text-align: center; margin-bottom: 1rem; }
.dist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem; }
.dist-btn { display: inline-flex; align-items: center; justify-content: center; background: #f8fafc; color: #334155; padding: 0.75rem 1rem; border-radius: 8px; border: 1px solid #e2e8f0; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.2s ease; }
.dist-btn:hover { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; transform: translateY(-2px); box-shadow: 0 4px 6px -1px rgba(37,99,235,0.1); }

.faq-section { max-width: 800px; margin: 5rem auto; padding: 0 1rem; }
.faq-title { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; text-align: center; color: #0f172a; margin-bottom: 2.5rem; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }

/* Hizmet Page Specifics */
.features {
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .features { grid-template-columns: repeat(3, 1fr); }
}
.feature-box {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.1);
}
.feature-icon {
    color: var(--accent);
    margin-bottom: 1rem;
}
.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 800;
}
.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How it works */
.how-it-works {
    background: var(--bg-body);
    padding: 5rem 5%;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.section-header h2 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 800;
}
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
.step-box {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin: -3rem auto 1rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}
.step-box h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.step-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Why us */
.why-us {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 900px) {
    .why-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}
.why-image {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    height: 400px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(15,23,42,0.2);
}
.why-list {
    list-style: none;
    padding: 0;
}
.why-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.why-list-icon {
    color: var(--accent);
    flex-shrink: 0;
}
.why-list-text h4 {
    margin: 0 0 0.5rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}
.why-list-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}


/* Global fix for missing button classes */
.btn-primary {
    background-color: var(--primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

/* Fixes for dark hero context (prevents invisible buttons and text) */
.hero .btn-primary {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}
.hero .btn-primary:hover {
    background-color: #1d4ed8 !important;
}

/* Overriding broken inline styles via CSS to avoid changing HTML content */
.hero-mockup h3[style*="color"],
.hero-mockup svg[style*="color"] {
    color: #fff !important;
}
.hero-mockup p[style*="color"] {
    color: rgba(255, 255, 255, 0.8) !important;
}
.s-card a[style*="var(--secondary)"] {
    color: var(--accent) !important;
}

/* --- PREMIUM CORPORATE MODERN POLISH (SCOPED) --- */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .hero-title, .page-title, .section-title {
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.02em;
}

/* Premium Shadows & Hover States for specific main content elements ONLY */
.service-card, .feat-card, .use-card, .step-box, .feature-box, .s-card, .content-card, .districts-box {
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.service-card:hover, .feat-card:hover, .use-card:hover, .step-box:hover, .feature-box:hover, .s-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.15) !important;
    border-color: rgba(96, 165, 250, 0.5) !important;
}

/* Premium Buttons */
.btn-primary, .btn-brand, .btn-primary-hero, .btn-calc, .cta-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%) !important;
    border: none !important;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.3s ease !important;
    color: #fff !important;
}

.btn-primary:hover, .btn-brand:hover, .btn-primary-hero:hover, .btn-calc:hover, .cta-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.45) !important;
}

/* Form inputs premium feel */
input.form-control, select.form-control, textarea.form-control {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    font-size: 1rem;
}

input.form-control:focus, select.form-control:focus, textarea.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Fix missing styles for template_araclar and bolge WITHOUT breaking footer */
.action-banner { 
    background: linear-gradient(135deg, var(--primary), #0f172a); 
    color: #fff; 
    padding: 3rem 5%; 
    border-radius: 12px; 
    text-align: center; 
    margin: 2rem 0; 
    box-shadow: 0 20px 40px -10px rgba(15,23,42,0.2);
}
.action-banner * { color: #fff !important; }

.data-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 2rem 0; 
    font-size: 0.95rem; 
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.data-table th, .data-table td { 
    padding: 1rem; 
    border: 1px solid var(--border); 
    text-align: left; 
}
.data-table th { 
    background: #f8fafc; 
    font-weight: 700; 
    color: var(--primary); 
}

.info-box {
    background: #eff6ff;
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
    color: #1e3a8a;
    font-weight: 500;
}
