/* --------------------------------------------------
   METROPOLIS FONT
-------------------------------------------------- */

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/metropolis/Metropolis-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/metropolis/Metropolis-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/metropolis/Metropolis-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* Varsayılan gövde fontu */
body {
    font-family: 'Metropolis', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


/* --------------------------------------------------
   GLOBAL THEME VARIABLES
-------------------------------------------------- */

:root {
    --color-primary: #3B82F6;   /* Ana vurgu rengi */
    --color-secondary: #6366F1;
    --color-bg: #020617;        /* Genel arka plan */
    --color-surface: #020617;
    --color-border-subtle: rgba(148, 163, 184, 0.2);
    --color-text: #F9FAFB;
    --color-text-soft: #E5E7EB;
    --color-text-muted: #9CA3AF;
}

/* --------------------------------------------------
   RESETS & BASE
-------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Metropolis', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

main {
    min-height: calc(100vh - 72px - 64px); /* kabaca header + footer */
}

/* --------------------------------------------------
   HEADER & NAVBAR
-------------------------------------------------- */

.cm-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 88px;                     /* BÜYÜK ve ferah header */
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border-subtle);
    background: rgba(2, 6, 23, 0.96); /* hafif şeffaf koyu */
    backdrop-filter: blur(12px);
}

.cm-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cm-logo-link {
    display: inline-flex;
    align-items: center;
}

.cm-logo {
    height: var(--header-logo-size, 64px);
    max-height: var(--header-logo-size, 64px);
    width: auto;
    object-fit: contain;
    display: block;
}

/* Menü */

.cm-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.95rem;
}

.cm-nav a {
    color: var(--color-text-soft);
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: color 0.15s ease-out;
}

.cm-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    background: var(--color-primary);
    border-radius: 999px;
    transition: width 0.18s ease-out;
}

.cm-nav a:hover {
    color: var(--color-text);
}

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

/* Giriş butonu */

.cm-nav-login {
    padding: 6px 18px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.9rem;
}

.cm-nav-login::after {
    display: none; /* alt çizgi efekti olmasın */
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--color-border-subtle);
    margin-top: 3rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------
   BUTTON HELPERS (isteğe bağlı)
-------------------------------------------------- */

.cm-btn-primary {
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.cm-btn-outline {
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.95rem;
    background: transparent;
    color: var(--color-text-soft);
    cursor: pointer;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

@media (max-width: 1024px) {
    .cm-header {
        height: 72px;
        padding: 0 20px;
    }

    .cm-logo {
        height: 44px;
        max-height: 44px;
    }

    .cm-nav {
        gap: 14px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .cm-header {
        padding: 0 16px;
    }

    .cm-nav {
        gap: 10px;
        font-size: 0.85rem;
    }

    .cm-logo {
        height: 38px;
        max-height: 38px;
    }
}

/* Tiptap editor alanı */
.cm-tiptap {
    border: 1px solid #3b3f52;
    border-radius: 0.75rem;
    background: #020617;
    padding: 0.75rem 1rem;
    min-height: 280px;
}

/* Tiptap içeriği (ProseMirror) */
.cm-tiptap .ProseMirror {
    outline: none;
    color: #E5E7EB;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Başlıklar */
.cm-tiptap .ProseMirror h1,
.cm-tiptap .ProseMirror h2,
.cm-tiptap .ProseMirror h3,
.cm-tiptap .ProseMirror h4 {
    margin: 0.8rem 0 0.4rem;
    font-weight: 700;
}

.cm-tiptap .ProseMirror p {
    margin: 0.4rem 0;
}

.cm-tiptap .ProseMirror ul,
.cm-tiptap .ProseMirror ol {
    padding-left: 1.4rem;
    margin: 0.4rem 0;
}

.cm-tiptap .ProseMirror li {
    margin: 0.15rem 0;
}

.cm-tiptap .ProseMirror a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Blockquote */
.cm-tiptap .ProseMirror blockquote {
    border-left: 3px solid rgba(148,163,184,0.6);
    margin: 0.8rem 0;
    padding-left: 0.8rem;
    color: #CBD5F5;
}

/* Code block */
.cm-tiptap .ProseMirror pre {
    background: #020617;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.8rem;
}
/* ========== Landing genel ========== */

.cm-landing {
    background: radial-gradient(circle at top, rgba(148,163,184,0.08) 0, transparent 55%),
                radial-gradient(circle at bottom, rgba(56,189,248,0.06) 0, transparent 60%),
                #020617;
    color: #E5E7EB;
}

.cm-section {
    padding: 4rem 1.5rem;
    max-width: 1120px;
    margin: 0 auto;
}

.cm-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cm-section-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fbbf24;
    margin-bottom: 0.4rem;
}

.cm-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.cm-section-subtitle {
    font-size: 0.95rem;
    color: #9CA3AF;
}

/* ========== HERO ========== */

.cm-hero-title .cm-hero-accent {
    color: #facc15; /* logo sarına yakın altın ton */
}

.cm-hero {
    padding: 6rem 1.5rem 4rem;
    max-width: 1120px;
    margin: 0 auto;
}

.cm-hero-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cm-hero-badge {
    display: inline-flex;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.35);
    background: rgba(250, 204, 21, 0.06);
    color: #fbbf24;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.cm-hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.cm-hero-subtitle {
    font-size: 0.98rem;
    color: #9CA3AF;
    max-width: 36rem;
    margin: 0 auto 1.7rem;
}

.cm-hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

/* ========== Buttons ========== */

.cm-btn-lg {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
}

.cm-btn-arrow {
    margin-left: 0.4rem;
}

/* ========== Hizmet kartları & ikonlar (GÜNCEL) ========== */

.cm-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.cm-service-card {
    background: #020617;
    border-radius: 1.25rem;
    border: 1px solid rgba(31,41,55,1);
    padding: 1.4rem 1.4rem 1.3rem;
    box-shadow: 0 18px 40px rgba(15,23,42,0.7);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.cm-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.7);
    background: radial-gradient(circle at top, rgba(250,204,21,0.06), #020617 55%);
    box-shadow: 0 22px 45px rgba(15,23,42,0.9);
}

.cm-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #facc15, #854d0e);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    color: #fefce8; /* SVG'ler currentColor kullanırsa buradan renk alacak */
    box-shadow:
        0 0 0 1px rgba(250,204,21,0.45),
        0 10px 20px rgba(15,23,42,0.9);
}

.cm-service-icon svg {
    width: 22px;
    height: 22px;
    display: block;
    filter: drop-shadow(0 0 4px rgba(15,23,42,0.8));
}

.cm-service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.cm-service-card p {
    font-size: 0.9rem;
    color: #9CA3AF;
}

/* ========== Süreç / Timeline ========== */

.cm-process {
    padding-top: 3rem;
}

.cm-process-line {
    max-width: 760px;
    height: 1px;
    margin: 0 auto 2rem;
    background: linear-gradient(to right, transparent, rgba(148,163,184,0.7), transparent);
}

.cm-process-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    max-width: 900px;
    margin: 0 auto;
}

.cm-process-step {
    text-align: center;
}

.cm-process-number {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 2px solid #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 0.85rem;
    color: #fbbf24;
    background: #020617;
}

.cm-process-step h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cm-process-step p {
    font-size: 0.85rem;
    color: #9CA3AF;
}

/* ========== Hakkımızda + İstatistikler ========== */

.cm-about {
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
}

.cm-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.cm-about-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.cm-about-card {
    border-radius: 1rem;
    border: 1px solid #1f2937;
    padding: 0.9rem 1rem;
    background: radial-gradient(circle at top left, rgba(250,204,21,0.08), transparent);
}

.cm-about-card-title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #facc15;
    margin-bottom: 0.35rem;
}

.cm-about-card p {
    font-size: 0.85rem;
    color: #9CA3AF;
}

.cm-about-values {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.cm-about-values span {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid #1f2937;
    background: #020617;
    color: #E5E7EB;
}

/* Stats kutusu */

.cm-about-stats {
    position: relative;
}

.cm-about-stats::before {
    content: "";
    position: absolute;
    inset: 10% 6%;
    border-radius: 1.5rem;
    background: radial-gradient(circle, rgba(56,189,248,0.22), transparent 60%);
    filter: blur(12px);
    opacity: 0.9;
}

.cm-about-stats-inner {
    position: relative;
    border-radius: 1.5rem;
    background: #020617;
    border: 1px solid rgba(31,41,55,1);
    padding: 1.4rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0.9rem;
    box-shadow: 0 18px 40px rgba(15,23,42,0.7);
}

.cm-stat-card {
    border-radius: 1rem;
    background: #020617;
    border: 1px solid rgba(31,41,55,0.9);
    padding: 0.9rem 1rem;
}

.cm-stat-label {
    font-size: 0.8rem;
    color: #9CA3AF;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cm-stat-value {
    font-size: 1.35rem;
    font-weight: 700;
}

/* ========== Responsive ========== */

@media (max-width: 1024px) {
    .cm-services-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .cm-process-steps {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .cm-about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cm-hero {
        padding-top: 5rem;
    }
    .cm-services-grid {
        grid-template-columns: 1fr;
    }
    .cm-process-steps {
        grid-template-columns: 1fr;
    }
}

/* ========== Harita + sosyal modül (iletişim) ========== */

.cm-map-social {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.cm-map-wrapper {
    border-radius: 1.25rem;
    border: 1px solid #1f2937;
    padding: 1.2rem 1.3rem 1.3rem;
    background: radial-gradient(circle at top left, rgba(56,189,248,0.12), #020617 55%);
}

.cm-map-frame {
    margin-top: 0.5rem;
    border-radius: 1rem;
    overflow: hidden;
    height: 260px;
    background:#020617;
}

.cm-social-module {
    border-radius: 1.25rem;
    border: 1px solid #1f2937;
    padding: 1.2rem 1.3rem 1.3rem;
    background: radial-gradient(circle at top right, rgba(250,204,21,0.15), #020617 60%);
}

.cm-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cm-social-pill {
    display:inline-flex;
    align-items:center;
    gap:0.4rem;
    padding:0.4rem 0.9rem;
    border-radius:999px;
    border:1px solid rgba(148,163,184,0.6);
    background:rgba(15,23,42,0.9);
    color:#E5E7EB;
    font-size:0.8rem;
    text-decoration:none;
}

.cm-social-pill svg {
    color:#facc15;
}

.cm-social-pill:hover {
    border-color:#facc15;
}

@media (max-width: 1024px) {
    .cm-map-social {
        grid-template-columns: minmax(0,1fr);
    }
    .cm-map-frame {
        height: 220px;
    }
}

/* ========== Footer ========== */

.cm-footer {
    border-top: 1px solid #1f2937;
    padding: 1.5rem 1.5rem 1.8rem;
    background:#020617;
}

.cm-footer-inner {
    max-width:1120px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:1.5rem;
    font-size:0.85rem;
}

.cm-footer-logo {
    font-weight:700;
    font-size:1rem;
}

.cm-footer-copy {
    margin-top:0.3rem;
    color:#9CA3AF;
    max-width:16rem;
}

.cm-footer-right {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:0.5rem;
}

.cm-footer-social > span {
    margin-right:0.5rem;
    color:#9CA3AF;
    font-size:0.8rem;
}

.cm-footer-meta {
    color:#6b7280;
    font-size:0.75rem;
}

@media (max-width: 768px) {
    .cm-footer-inner {
        flex-direction:column;
        align-items:flex-start;
    }
    .cm-footer-right {
        align-items:flex-start;
    }
}
.cm-article {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #e5e7eb;
    max-width: 900px;
}

.cm-article p {
    margin-bottom: 1rem;
}

.cm-article h1,
.cm-article h2,
.cm-article h3,
.cm-article h4 {
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
}

.cm-article h2 {
    font-size: 1.35rem;
}

.cm-article h3 {
    font-size: 1.15rem;
}

.cm-article ul,
.cm-article ol {
    padding-left: 1.6rem;
    margin-bottom: 1rem;
}

.cm-article li {
    margin-bottom: 0.35rem;
}

.cm-article blockquote {
    border-left: 4px solid #facc15;
    padding-left: 1rem;
    margin: 1.4rem 0;
    font-style: italic;
    color: #f9fafb;
}

.cm-article table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
}

.cm-article th,
.cm-article td {
    border: 1px solid #1f2937;
    padding: 0.6rem 0.8rem;
}

.cm-article th {
    background: #0f172a;
    color: #facc15;
    font-weight: 600;
}

.cm-article img {
    max-width: 100%;
    border-radius: 0.6rem;
    margin: 1.2rem 0;
}
