/* ========================================
   Suretler Ajans — Professional Theme
   ======================================== */

:root {
    --bg:        #0d0f16;
    --bg-alt:    #12141e;
    --surface:   #191c27;
    --surface-hover: #21253a;
    --border:    #262a3a;
    --border-light: #353a50;
    --text:      #e2e6ef;
    --text-dim:  #8a92a6;
    --text-muted:#5c6378;

    --blue:      #3b82f6;
    --orange:    #f59e0b;
    --red:       #ef4444;
    --green:     #10b981;
    --purple:    #7c3aed;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-w: 1180px;
    --radius: 10px;
    --radius-lg: 16px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ─── 3D Canvas ─── */
#three-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#three-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    filter: blur(1.2px);
}

/* 3D katmanı ile içerik arasında derinlik hissi veren katman */
#three-container::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 50%, transparent 30%, rgba(13, 15, 22, 0.4) 100%),
        radial-gradient(ellipse 100% 80% at 50% 0%, transparent 0%, rgba(13, 15, 22, 0.15) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ─── Header ─── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 15, 22, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}

.header.scrolled {
    border-bottom-color: var(--border);
    background: rgba(13, 15, 22, 0.92);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo svg { color: var(--blue); }

/* ─── Nav ─── */
.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-list a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.25s;
}

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

.nav-toggle { display: none; }

.btn-nav {
    background: var(--blue) !important;
    color: #fff !important;
    padding: 9px 22px !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
}

.btn-nav:hover { background: #2563eb !important; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text-dim);
    background: rgba(255,255,255,0.04);
}

.btn-full { width: 100%; }

/* ─── Page Hero (ana sayfa & kategori) ─── */
.page-hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    z-index: 1;
}

.page-hero .container { width: 100%; }

.hero-content { max-width: 720px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--blue);
    background: rgba(59, 130, 246, 0.06);
}

.hero-badge-dot {
    width: 7px; height: 7px;
    background: var(--blue);
    border-radius: 50%;
    display: inline-block;
    animation: badgePulse 2.2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.6);
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.6); }
}

/* Hero arka plan glow — mevcut 3D katmanıyla uyumlu */
.hero-bg-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 700px 500px at 20% 30%, rgba(59, 130, 246, 0.04), transparent 70%),
        radial-gradient(ellipse 400px 350px at 80% 60%, rgba(124, 58, 237, 0.03), transparent 70%);
}

.hero-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 20px;
}

.hero-highlight { color: var(--blue); }

.hero-desc {
    font-size: clamp(15px, 1.5vw, 17px);
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 600px;
}

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

/* CTA glow efekti */
.btn-primary-glow {
    position: relative;
    box-shadow: 0 0 32px rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease, box-shadow 0.4s ease;
}
.btn-primary-glow:hover {
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.3);
}

/* Hero istatistik satırı */
.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero-stat-lbl {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
    flex-shrink: 0;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.hero-scroll-indicator span {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-scroll-indicator svg {
    animation: scrollBounce 2s ease-in-out infinite;
    color: var(--text-muted);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@media (max-width: 480px) {
    .hero-stats-row { gap: 16px; }
    .hero-stat-num { font-size: 20px; }
    .hero-stat-divider { height: 28px; }
}

/* ─── Nav active state ─── */
.nav-list a.active {
    color: var(--text);
}

/* ─── Category Grid (Ana Sayfa) ─── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: all 0.25s;
    position: relative;
}

.category-card:hover {
    border-color: var(--cat-color, var(--border-light));
    background: var(--surface-hover);
    transform: translateY(-3px);
}

.cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.category-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
    flex: 1;
}

.cat-arrow {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cat-color, var(--blue));
    transition: gap 0.25s;
}

.category-card:hover .cat-arrow {
    color: var(--cat-color, var(--blue));
}

/* ─── Neden Biz ─── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.why-card {
    padding: 4px 0;
}

.why-number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 8px;
}

.why-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ─── Capabilities (Yapabileceklerimiz) ─── */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cap-grid.quarters {
    grid-template-columns: repeat(4, 1fr);
}

.cap-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.25s;
    position: relative;
}

.cap-card:hover {
    border-color: var(--border-light);
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.cap-card.featured-cap {
    background: rgba(245,158,11,0.04);
}

.cap-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.cap-icon svg { width: 18px; height: 18px; }

.cap-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.cap-card > p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 14px;
}

.cap-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cap-list li {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.cap-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-muted);
}

/* ─── Vision (Sizinle Daha İleriye) ─── */
.vision-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
}

.vision-content .section-title { text-align: left; }

.vision-text {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 16px;
}

.vision-stats {
    display: flex;
    gap: 32px;
    margin: 24px 0;
}

.vstat {
    display: flex;
    flex-direction: column;
}

.vstat strong {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.vstat span {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.vision-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.vcard-icon {
    font-size: 48px;
    line-height: 1;
    font-family: Georgia, serif;
    margin-bottom: 8px;
    opacity: 0.5;
}

.vision-card p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}

.vision-card cite {
    font-size: 13px;
    color: var(--text-muted);
    font-style: normal;
}

/* ─── Utility ─── */
.hide-mobile { display: inline; }

@media (max-width: 768px) {
    .hide-mobile { display: none; }
}

/* ─── Sections ─── */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section:last-of-type { padding-bottom: 80px; }

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.section-tag.pr-tag  { color: var(--blue);   background: rgba(59, 130, 246, 0.12);  border: 1px solid rgba(59, 130, 246, 0.2); }
.section-tag.org-tag { color: var(--orange); background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.2); }
.section-tag.sin-tag { color: var(--red);    background: rgba(239, 68, 68, 0.12);  border: 1px solid rgba(239, 68, 68, 0.2); }
.section-tag.dan-tag { color: var(--green);  background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.2); }

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Service Cards ─── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card-grid.quarters {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    transition: all 0.25s;
    position: relative;
}

.service-card:hover {
    border-color: var(--border-light);
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.service-card.featured {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.04);
}

.service-card.featured:hover {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.07);
}

.featured-ribbon {
    position: absolute;
    top: -1px;
    right: 24px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 14px;
    border-radius: 0 0 6px 6px;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.card-icon svg { width: 18px; height: 18px; }

.pr-icon  { background: rgba(59, 130, 246, 0.12); color: var(--blue); }
.org-icon { background: rgba(245, 158, 11, 0.12); color: var(--orange); }
.sin-icon { background: rgba(239, 68, 68, 0.12);  color: var(--red); }
.dan-icon { background: rgba(16, 185, 129, 0.12); color: var(--green); }

.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ─── Contact ─── */
.contact-section {
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 14px;
}

.info-card svg { color: var(--blue); flex-shrink: 0; width: 18px; height: 18px; }

.info-card div {
    display: flex;
    flex-direction: column;
}

.info-card span {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.info-card strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-top: 2px;
}

.info-note {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-top: 20px;
}

.info-note strong { color: var(--text); }

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.25s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c6378' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.form-group select option { background: var(--bg); color: var(--text); }

/* ─── Footer ─── */
.footer {
    position: relative;
    z-index: 1;
    padding: 56px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand img {
    border-radius: 4px;
}

.footer-brand span {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.footer-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 13px;
    color: var(--text-dim);
    transition: color 0.25s;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.footer-contact-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--text-muted);
}

.footer-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

/* ─── Fade-in Animations ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.section {
    animation: fadeUp 0.6s ease both;
}

.hero { animation: none; }

@media (prefers-reduced-motion: reduce) {
    .hero-badge-dot { animation: none; }
    .hero-scroll-indicator svg { animation: none; }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid.quarters { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
    .cap-grid.quarters { grid-template-columns: repeat(2, 1fr); }
    .vision-grid { grid-template-columns: 1fr; }
    .vision-stats { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 768px) {
    .header .container { height: 60px; }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 8px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 101;
    }

    .nav-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: all 0.3s;
    }

    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .nav-list {
        position: fixed;
        inset: 0;
        background: rgba(13, 15, 22, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .nav-list.active { opacity: 1; pointer-events: auto; }
    .nav-list a { font-size: 17px; }

    .card-grid,
    .card-grid.quarters,
    .category-grid,
    .cap-grid,
    .cap-grid.quarters,
    .why-grid { grid-template-columns: 1fr; }

    .page-hero { min-height: 80vh; }
    .section { padding: 80px 0; }
    .section-header { margin-bottom: 36px; }
    .vision-grid { grid-template-columns: 1fr; gap: 32px; }
    .vision-stats { flex-wrap: wrap; gap: 16px; }
    .vstat strong { font-size: 22px; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .service-card { padding: 22px 20px; }
}
