/* newfiber - Fiber Kablo Tamiri - Modern tema, mevcut logo ve mavi tonlar */
:root {
    --color-primary: #1e6ab2;
    --color-primary-dark: #08257b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --font-sans: 'Outfit', 'DM Sans', system-ui, sans-serif;
    --container:  min(1100px, 100vw - 2rem);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); font-size: 1rem; line-height: 1.6; color: var(--color-text); background: var(--color-bg); }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.container--narrow { max-width: 680px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
}
.logo { display: flex; align-items: center; }
.logo img { max-height: 52px; max-width: 180px; object-fit: contain; display: block; }
.logo-fallback.show { display: inline-block !important; color: #e2e8f0; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.nav a { color: #e2e8f0; font-weight: 500; }
.nav a:hover { color: #fff; text-decoration: none; }
.header-phone { color: #93c5fd; font-weight: 600; white-space: nowrap; }
.header-phone:hover { color: #fff; text-decoration: none; }

.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
}
.nav-toggle::before, .nav-toggle::after {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}
.nav-toggle::before { top: 10px; }
.nav-toggle::after { bottom: 10px; }
.nav-toggle span {
    position: absolute;
    left: 6px;
    right: 6px;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: #fff;
    border-radius: 1px;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #1a1a2e; padding: 1rem; }
    .nav.is-open { display: block; }
    .nav ul { flex-direction: column; }
    .header-phone { font-size: 0.9rem; }
}

/* Hero */
.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 37, 123, 0.85) 0%, rgba(30, 106, 178, 0.8) 50%, rgba(37, 99, 235, 0.75) 100%);
    background-size: cover;
    background-position: center;
}
.hero-bg[style*="background-image"] {
    background-blend-mode: overlay;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-inner { position: relative; z-index: 1; padding: 3rem 1rem; }
.hero-title { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700; margin: 0 0 0.75rem 0; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.hero-subtitle { font-size: 1.05rem; margin: 0; opacity: 0.95; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Sections */
.section { padding: 3rem 0; }
.section-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem 0; color: var(--color-primary); }
.section-title--center { text-align: center; }

/* About */
.about { background: var(--color-bg-alt); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.about-image-inner {
    aspect-ratio: 16/10;
    background: var(--color-primary) center/cover;
    border-radius: 12px;
}
.about-text { white-space: pre-line; margin-bottom: 1rem; }
.about-phone { font-size: 1.25rem; font-weight: 700; }
.about-phone a { color: var(--color-primary); }
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.service-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
    box-shadow: 0 8px 24px rgba(30, 106, 178, 0.1);
    border-color: var(--color-primary);
}
.service-icon {
    width: 44px;
    height: 44px;
    background: rgba(30, 106, 178, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.service-icon svg { width: 22px; height: 22px; color: var(--color-primary); }
.service-card h3 { margin: 0 0 0.5rem 0; font-size: 1.1rem; color: var(--color-primary); }
.service-card p { margin: 0; font-size: 0.95rem; color: var(--color-text-muted); }

/* CTA */
.cta {
    background: linear-gradient(90deg, var(--color-primary) 0%, #2563eb 100%);
    color: #fff;
    text-align: center;
}
.cta-title { margin: 0 0 0.5rem 0; font-size: 1.5rem; }
.cta-phone { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem 0; }
.cta-phone a { color: #fff; }
.cta-phone a:hover { text-decoration: none; opacity: 0.9; }
.cta-text { margin: 0; opacity: 0.95; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Map */
.map-section { padding: 0; }
.map-wrap { width: 100%; overflow: hidden; }
.map-wrap iframe { display: block; vertical-align: top; }

/* Footer – header ile uyumlu koyu tema, sade düzen */
.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 2.5rem 1rem;
    align-items: start;
    max-width: var(--container);
    margin: 0 auto;
}
.footer-brand {
    max-width: 280px;
}
.footer-site-name {
    margin: 0 0 0.35rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}
.footer-tagline {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-contact-item {
    margin: 0;
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
}
.footer-label {
    color: #94a3b8;
    font-size: 0.85rem;
    min-width: 4.5rem;
}
.footer-contact-item span:not(.footer-label),
.footer-contact-item a {
    color: #e2e8f0;
}
.footer-contact-item a:hover {
    color: #93c5fd;
    text-decoration: none;
}
.footer-bottom {
    padding: 1rem 1rem;
    text-align: center;
    font-size: 0.8125rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-bottom .container {
    max-width: var(--container);
    margin: 0 auto;
}
@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    .footer-brand { max-width: none; }
}

/* Page head / Yazılar */
.page-head { padding: 2rem 0; background: var(--color-bg-alt); }
.page-title { margin: 0 0 0.25rem 0; font-size: 1.75rem; color: var(--color-primary); }
.page-lead { margin: 0; color: var(--color-text-muted); }
.yazilar-list-ul { list-style: none; padding: 0; margin: 0; }
.yazilar-list-ul li { border-bottom: 1px solid var(--color-border); }
.yazilar-list-ul a { display: block; padding: 1rem 0; color: inherit; }
.yazilar-list-ul a:hover { text-decoration: none; background: var(--color-bg-alt); margin: 0 -1rem; padding: 1rem; }
.yazi-date { font-size: 0.85rem; color: var(--color-text-muted); display: block; margin-bottom: 0.25rem; }
.yazi-excerpt { display: block; font-size: 0.95rem; color: var(--color-text-muted); margin-top: 0.25rem; }
.yazi-meta-date { margin: 0 0 0.5rem 0; color: var(--color-text-muted); font-size: 0.9rem; }
.prose { line-height: 1.7; }
.prose p { margin: 0 0 1rem 0; }
.back-link { display: inline-block; margin-top: 1.5rem; }
