/*
 * EN: Shared styles for inner pages (services, our work, contact) of www.roketajans.com.
 *     Same design tokens as the home page (index.html). Pages are generated by _uret/sayfa_uret.py.
 * TR: www.roketajans.com iç sayfalarının (hizmetler, neler yaptık, iletişim) ortak stili.
 *     Ana sayfa (index.html) ile aynı tasarım değişkenleri. Sayfalar _uret/sayfa_uret.py ile üretilir.
 */
:root {
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --dark-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --emerald: #10b981;
    --whatsapp: #25d366;
    --whatsapp-hover: #1eb954;
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background: var(--bg-body);
    color: var(--text-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.45); outline-offset: 2px; border-radius: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border-color);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; min-width: 0; }
.brand-box {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px;
    background: var(--dark-heading); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.brand-name { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px; color: var(--dark-heading); line-height: 1; }
.brand-sub { display: block; font-size: 0.72rem; font-weight: 600; color: var(--primary); margin-top: 3px; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
    padding: 0.55rem 0.85rem; border-radius: 9px; text-decoration: none;
    font-size: 0.9rem; font-weight: 700; color: var(--dark-heading);
}
.main-nav a:hover { background: #eef2ff; color: var(--primary); }
.main-nav a[aria-current="page"] { background: #e0e7ff; color: var(--primary); }

.head-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.lang-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.45rem 0.7rem; border-radius: 8px; background: #e2e8f0;
    font-size: 0.78rem; font-weight: 800; color: var(--dark-heading); text-decoration: none;
}
.lang-link svg { width: 16px; height: 11px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12); }
.lang-link:hover { background: #cbd5e1; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.3rem; border-radius: 10px; border: none;
    font-family: inherit; font-size: 0.92rem; font-weight: 700; text-decoration: none;
    cursor: pointer; white-space: nowrap; transition: all 0.2s ease;
}
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover { background: var(--whatsapp-hover); transform: translateY(-1px); }
.btn-dark { background: var(--dark-heading); color: #fff; }
.btn-dark:hover { background: #1e293b; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--dark-heading); border: 1px solid var(--border-color); }
.btn-light:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }

.menu-btn {
    display: none; width: 42px; height: 42px; border-radius: 10px;
    border: 1px solid var(--border-color); background: #fff; color: var(--dark-heading);
    font-size: 1.1rem; cursor: pointer;
}

/* ---------- Breadcrumb + hero ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; padding: 1.25rem 0 0; font-size: 0.82rem; color: var(--text-muted); list-style: none; }
.crumbs a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--primary); }
.crumbs li + li::before { content: '›'; margin-right: 0.35rem; color: #cbd5e1; }

.hero { padding: 1.75rem 0 2.5rem; }
.hero-card {
    position: relative; overflow: hidden;
    background: var(--dark-heading);
    background-image: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.35), transparent 50%);
    border-radius: 22px; padding: 2.5rem; color: #cbd5e1;
    display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.hero-icon {
    width: 64px; height: 64px; border-radius: 16px; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 1.1rem;
}
.hero-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; color: #93c5fd; background: rgba(37, 99, 235, 0.18); padding: 0.3rem 0.75rem; border-radius: 20px; margin-bottom: 0.9rem; }
.hero h1 { font-size: 2.3rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.8px; color: #fff; margin-bottom: 0.9rem; }
.hero p.lead { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.7; max-width: 680px; }
.hero-actions { display: flex; flex-direction: column; gap: 0.6rem; min-width: 220px; }

/* ---------- Sections ---------- */
section.block { padding: 1.25rem 0 2.25rem; }
.block h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.4px; color: var(--dark-heading); margin-bottom: 0.4rem; }
.block p.sub { color: var(--text-muted); font-family: var(--font-body); margin-bottom: 1.35rem; }

.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px;
    padding: 1.35rem; box-shadow: var(--shadow-sm);
}
a.card { text-decoration: none; display: block; transition: all 0.25s ease; }
a.card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { font-size: 1.08rem; font-weight: 800; color: var(--dark-heading); margin-bottom: 0.4rem; letter-spacing: -0.2px; }
.card p { font-family: var(--font-body); font-size: 0.9rem; line-height: 1.6; }
.ico {
    width: 46px; height: 46px; border-radius: 12px; background: #eff6ff; color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 0.9rem;
}
.more { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.85rem; font-size: 0.86rem; font-weight: 700; color: var(--primary); }

.feature { display: flex; gap: 0.8rem; align-items: flex-start; }
.feature i { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: #ecfdf5; color: var(--emerald); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; margin-top: 0.1rem; }
.feature span { font-family: var(--font-body); font-weight: 600; color: var(--dark-heading); font-size: 0.95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--border-color); border-radius: 30px; padding: 0.5rem 1rem; font-size: 0.88rem; font-weight: 700; color: var(--dark-heading); display: inline-flex; gap: 0.45rem; align-items: center; }
.chips li i { color: var(--primary); }

.steps { counter-reset: s; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
    counter-increment: s; content: counter(s);
    position: absolute; top: 1.2rem; left: 1.35rem;
    width: 32px; height: 32px; border-radius: 50%; background: var(--dark-heading); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem;
}
.step h3 { margin-top: 1.1rem; }

.faq details { background: #fff; border: 1px solid var(--border-color); border-radius: 14px; margin-bottom: 0.65rem; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 1.25rem; font-weight: 800; color: var(--dark-heading); display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 1.25rem 1.1rem; font-family: var(--font-body); line-height: 1.7; }

.cta-band {
    margin: 1rem 0 2.5rem; border-radius: 20px; padding: 2rem 2.25rem;
    background: linear-gradient(120deg, #1d4ed8, #2563eb 55%, #3b82f6);
    color: #e0e7ff; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 1.45rem; font-weight: 800; margin-bottom: 0.25rem; }
.cta-band .acts { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* Referans listesi */
.sites { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.55rem; }
.sites a {
    display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.75rem;
    border-radius: 12px; background: #fff; border: 1px solid var(--border-color);
    text-decoration: none; font-family: var(--font-body); font-weight: 600; color: var(--dark-heading); font-size: 0.9rem;
    transition: all 0.2s ease;
}
.sites a:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.sites .l { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; background: #eff6ff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-main); }
.sites .t { color: var(--text-muted); font-weight: 500; }
.sites a:hover .l { background: var(--primary); color: #fff; }

/* İletişim */
a.card.contact-card { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.contact-card .ico { margin: 0; }
.contact-card small { display: block; font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; }
.contact-card strong { font-size: 1.02rem; color: var(--dark-heading); word-break: break-all; }
.form { display: grid; gap: 0.9rem; }
.form label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--dark-heading); margin-bottom: 0.35rem; }
.form input, .form select, .form textarea {
    width: 100%; padding: 0.8rem 0.95rem; border-radius: 10px; border: 1px solid var(--border-color);
    font-family: var(--font-body); font-size: 0.95rem; color: var(--dark-heading); background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.form textarea { min-height: 120px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form .note { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { padding: 0 0 1.5rem; }
.site-footer .bar {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.85rem 1.5rem;
    padding: 0.75rem 0.85rem 0.75rem 0.75rem;
    background: var(--dark-heading);
    background-image: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.28), transparent 45%);
    border-radius: 16px; color: #94a3b8; font-size: 0.8rem;
}
.f-brand { display: flex; align-items: center; gap: 0.75rem; }
.f-logo { width: 38px; height: 38px; border-radius: 10px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.f-brand strong { color: #fff; }
.f-sub { font-size: 0.74rem; color: #64748b; }
.f-sub i { color: var(--emerald); }
.f-nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.f-nav a { padding: 0.45rem 0.8rem; border-radius: 8px; color: #cbd5e1; font-weight: 600; text-decoration: none; }
.f-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.f-social { display: flex; gap: 0.5rem; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); color: #fff; text-decoration: none; }
.f-social a:hover { background: var(--primary); }
.f-social a.wa:hover { background: var(--whatsapp); }

.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .main-nav a { padding: 0.5rem 0.6rem; font-size: 0.85rem; }
    .head-actions .btn-wa span { display: none; }
}
@media (max-width: 860px) {
    .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .main-nav {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0.2rem;
        padding: 0.75rem 1rem 1rem; background: #fff; border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 0.8rem 0.9rem; font-size: 0.95rem; }
    .head-actions .btn-wa { display: none; }
    .hero-card { grid-template-columns: 1fr; padding: 1.75rem 1.4rem; }
    .hero-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 1rem; }
    .site-header .wrap { height: 64px; }
    .main-nav { top: 64px; }
    .brand-box { width: 38px; height: 38px; font-size: 1rem; }
    .brand-name { font-size: 1.15rem; }
    .brand-sub { display: none; }
    .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.65rem; }
    .hero p.lead { font-size: 0.97rem; }
    .hero-actions .btn { flex: 1; }
    .block h2 { font-size: 1.25rem; }
    .cta-band { padding: 1.5rem 1.25rem; }
    .form .row2 { grid-template-columns: 1fr; }
    .site-footer .bar { flex-direction: column; text-align: center; padding: 1.35rem 1rem; }
    .f-brand { flex-direction: column; }

    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .mobile-bar {
        display: flex; gap: 0.5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-color); box-shadow: 0 -6px 20px -8px rgba(15, 23, 42, 0.15);
    }
    .mobile-bar .btn { flex: 1; min-width: 0; padding: 0.85rem 0.4rem; font-size: 0.86rem; gap: 0.4rem; border-radius: 12px; }
    .mobile-bar .btn-mail { background: #eff6ff; color: var(--primary); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}
