/* Kurumsal tema - Ana sayfa */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --text: #334155;
    --text-muted: #64748b;
    --menu-color: #334155;
    --menu-hover-color: #3b82f6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--text); line-height: 1.6; }

/* Top Header (header üstü alan) */
.top-header { font-size: 0.9rem; line-height: 1.5; }
.top-header-inner { max-width: 1200px; margin: 0 auto; padding: 0.5rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.top-header-columns { display: grid; gap: 1rem; align-items: center; text-align: left; }
.top-header-cols-1 { grid-template-columns: 1fr; }
.top-header-cols-2 { grid-template-columns: repeat(2, 1fr); }
.top-header-cols-3 { grid-template-columns: repeat(3, 1fr); }
.top-header-cols-4 { grid-template-columns: repeat(4, 1fr); }
.top-header-cols-5 { grid-template-columns: repeat(5, 1fr); }
.top-header-cols-6 { grid-template-columns: repeat(6, 1fr); }
.top-header-col a { color: inherit; text-decoration: none; }
.top-header-col a:hover { color: var(--top-header-hover-color, inherit); opacity: 0.9; }
.top-header-social { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; flex-shrink: 0; }
.top-header-social .social-link { color: inherit; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s; }
.top-header-social .social-link:hover { color: var(--top-header-hover-color, inherit); opacity: 0.9; }
.top-header-social-col { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.top-header-social-col .social-link { color: inherit; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s; }
.top-header-social-col .social-link:hover { color: var(--top-header-hover-color, inherit); opacity: 0.9; }
@media (max-width: 768px) {
    .top-header-cols-2, .top-header-cols-3, .top-header-cols-4, .top-header-cols-5, .top-header-cols-6 { grid-template-columns: 1fr; }
    .top-header-inner { padding: 0.5rem 1rem; }
    .top-header-social { margin-left: 0; }
}

/* Header */
.header {
    position: relative;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 100;
}
.header.header-sticky {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); text-decoration: none; display: flex; align-items: center; }
.logo-img { max-height: 40px; width: auto; }
.nav { display: flex; gap: 2rem; align-items: center; }
.nav-toggle { display: none; padding: 0.5rem; background: none; border: none; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--primary); }
.nav a { color: var(--menu-color); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--menu-hover-color); }
.nav-dropdown { position: relative; }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-chevron { margin-left: 0.25rem; font-size: 0.9em; display: inline-block; transform: translateY(-1px); }
.nav-dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 180px;
    background: #fff; border-radius: 0 0 8px 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 0.5rem 0; margin-top: 0; border: 1px solid #e2e8f0; border-top: none;
}
.nav-dropdown-menu a { display: block; padding: 0.5rem 1rem; white-space: nowrap; }

/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
}
.hero-inner { max-width: 1200px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 1.5rem; line-height: 1.2; }
.hero p { font-size: 1.25rem; color: #94a3b8; margin-bottom: 2rem; max-width: 560px; }
.hero .btn { display: inline-block; padding: 1rem 2rem; background: var(--accent); color: #fff; text-decoration: none; border-radius: 10px; font-weight: 600; transition: all 0.2s; }
.hero .btn:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* Sections */
section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 3rem; text-align: center; }

/* Hizmetler */
.services { background: #f8fafc; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.service-icon { width: 48px; height: 48px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.5rem; }
.service-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 0.5rem; }
.service-card p { color: var(--text-muted); }

/* Hakkımızda */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 768px) { .about-content { grid-template-columns: 1fr; } }
.about-text p { margin-bottom: 1rem; color: var(--text-muted); }

/* Footer */
.footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 2rem 2rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer .logo { color: #fff; margin-bottom: 1rem; display: inline-flex; }
.footer .logo-img { max-height: 36px; filter: brightness(0) invert(1); }
.footer-links { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap; }
.footer-links a { color: #94a3b8; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
.footer-social a { color: #94a3b8; display: flex; align-items: center; justify-content: center; transition: color 0.2s; }
.footer-social a:hover { color: #fff; }
.footer-col-content .social-link { color: #94a3b8; display: inline-flex; align-items: center; justify-content: center; margin-right: 0.5rem; margin-bottom: 0.25rem; transition: color 0.2s; }
.footer-col-content .social-link:hover { color: #fff; }
.footer-col-content .social-link svg { display: block; }
.copyrights { font-size: 0.85rem; color: #94a3b8; text-align: center; padding: 0.75rem 1rem; border-top: 1px solid #334155; }
.copyrights .main-color a { color: var(--accent); text-decoration: none; }
.copyrights .main-color a:hover { text-decoration: underline; }
/* Copyright alanı footer'ın altında ayrı satır: beyaz arka plan, siyah yazı */
.footer-copyright-bar { background: #fff; color: #000; font-size: 0.9rem; text-align: center; padding: 0.75rem 1rem; }
.footer-copyright-bar a { color: #000; text-decoration: none; }
.footer-copyright-bar .footer-copyright-runo,
.footer-copyright-bar .footer-copyright-runo a { font-weight: bold; color: #000; }
.footer-copyright-bar a:hover { color: #333; text-decoration: none; }
.footer-columns-wrap { padding: 2rem 1rem 1rem; }
.footer-columns { max-width: 1200px; margin: 0 auto; display: grid; gap: 2rem; text-align: left; }
.footer-cols-1 { grid-template-columns: 1fr; }
.footer-cols-2 { grid-template-columns: repeat(2, 1fr); }
.footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
.footer-cols-4 { grid-template-columns: repeat(4, 1fr); }
.footer-cols-5 { grid-template-columns: repeat(5, 1fr); }
.footer-cols-6 { grid-template-columns: repeat(6, 1fr); }
.footer-col-title { font-size: 1rem; font-weight: 600; color: #fff; margin: 0 0 0.75rem; }
.footer-col-content { font-size: 0.9rem; color: #94a3b8; line-height: 1.6; }
.footer-col-content a { color: #94a3b8; text-decoration: none; }
.footer-col-content a:hover { color: #fff; }
.footer-col-content ul { list-style: none; padding: 0; margin: 0; }
.footer-col-content li { margin-bottom: 0.35rem; }
@media (max-width: 768px) {
    .footer-cols-2, .footer-cols-3, .footer-cols-4, .footer-cols-5, .footer-cols-6 { grid-template-columns: 1fr; }
    .footer-columns-wrap { padding: 1.5rem 1rem; }
}

/* Body/Footer/Header HTML editör çıktısı – Quill hizalama ve ikonlar */
.body-content-cell p,
.footer-col-content p,
.header-col-content p { margin-top: 0 !important; margin-bottom: 0 !important; }
.body-content-cell .editor-inserted-icon,
.footer-col-content .editor-inserted-icon,
.header-col-content .editor-inserted-icon { display: inline-flex; align-items: center; vertical-align: middle; margin: 0 0.2em; }
.body-content-cell .editor-inserted-icon svg,
.footer-col-content .editor-inserted-icon svg,
.header-col-content .editor-inserted-icon svg { display: block; }
.body-content-cell img[src^="data:image/svg+xml"],
.body-content-cell img[src*="icon.php"],
.footer-col-content img[src^="data:image/svg+xml"],
.footer-col-content img[src*="icon.php"],
.header-col-content img[src^="data:image/svg+xml"],
.header-col-content img[src*="icon.php"] { max-width: 0.75em; height: auto; vertical-align: middle; display: inline; }
/* Quill hizalama */
.body-content-cell .ql-align-center,
.footer-col-content .ql-align-center,
.header-col-content .ql-align-center { text-align: center; }
.body-content-cell .ql-align-right,
.footer-col-content .ql-align-right,
.header-col-content .ql-align-right { text-align: right; }
.body-content-cell .ql-align-justify,
.footer-col-content .ql-align-justify,
.header-col-content .ql-align-justify { text-align: justify; }

/* Slider */
.home-slider {
    position: relative;
    width: 100%;
    max-width: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
.home-slider-inner {
    display: flex;
    transition: transform 0.5s ease;
}
.home-slider-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 21/9;
}
.home-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-slider-slide .slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.home-slider-slide .slide-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    pointer-events: auto;
}
.home-slider-slide a {
    display: block;
    position: absolute;
    inset: 0;
}
.home-slider-slide .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.5) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem 2rem 3rem;
}
.home-slider-slide .slide-title {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.home-slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.75rem;
    pointer-events: none;
    z-index: 2;
}
.home-slider-arrows button {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    color: #1e293b;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.home-slider-arrows button:hover {
    background: #fff;
    transform: scale(1.05);
}
.home-slider-arrows button:active {
    transform: scale(0.98);
}
.home-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}
.home-slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s;
}
.home-slider-dots button.active {
    background: #fff;
}
@media (max-width: 768px) {
    .home-slider-slide { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
    .header.header-sticky { position: fixed; top: 0; left: 0; right: 0; z-index: 101; }
    .header.header-sticky + section { padding-top: 4.5rem; }
    .header-inner { padding: 1rem; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem; gap: 0.5rem; border-bottom: 1px solid #e2e8f0; box-shadow: 0 4px 6px rgba(0,0,0,0.07); }
    .nav.open { display: flex; }
    .nav-dropdown { position: static; }
    .nav-dropdown-menu { display: none; position: static; box-shadow: none; border: none; padding-left: 1rem; margin-top: 0; }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .nav-toggle { display: block; }
    .hero { padding: 6rem 1rem 3rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero p { font-size: 1rem; }
    section { padding: 3rem 1rem; }
    .section-title { font-size: 1.5rem; margin-bottom: 2rem; }
    .services-grid { gap: 1rem; }
    .service-card { padding: 1.5rem; }
    .footer { padding: 3rem 1rem 2rem; }
    .footer-links { gap: 1rem; }
}

@media (max-width: 480px) {
    .hero .btn { display: block; text-align: center; }
    .btns { flex-direction: column; width: 100%; }
    .btns .btn { width: 100%; }
}

/* Çerez bildirimi */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
    background: #1e293b; color: #e2e8f0; padding: 1rem 2rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15); transform: translateY(100%); transition: transform 0.3s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-text { flex: 1; min-width: 200px; font-size: 0.9rem; line-height: 1.5; }
.cookie-banner-text a { color: #93c5fd; text-decoration: underline; }
.cookie-banner-text a:hover { color: #bfdbfe; }
.cookie-banner-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-banner-btn { padding: 0.5rem 1.25rem; border-radius: 8px; font-weight: 500; font-size: 0.9rem;
    cursor: pointer; border: none; transition: background 0.2s, color 0.2s; }
.cookie-banner-btn-accept { background: #3b82f6; color: #fff; }
.cookie-banner-btn-accept:hover { background: #2563eb; }
.cookie-banner-btn-reject { background: #475569; color: #fff; border: 1px solid #64748b; }
.cookie-banner-btn-reject:hover { background: #64748b; }
@media (max-width: 768px) {
    .cookie-banner { padding: 1rem; flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-banner-buttons { justify-content: center; }
}

/* Popup */
.site-popup-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center; z-index: 9999;
    padding: 1rem; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.site-popup-overlay.show { opacity: 1; visibility: visible; }
.site-popup {
    background: #fff; border-radius: 12px; width: auto; max-width: 90vw;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25); position: relative;
    overflow: visible;
}
.site-popup-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 36px; height: 36px; border: none; background: #f1f5f9;
    border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: #64748b; transition: background 0.2s, color 0.2s; z-index: 10;
}
.site-popup-close:hover { background: #e2e8f0; color: #1e293b; }
.site-popup-close svg { width: 20px; height: 20px; }
.site-popup-body { padding: 0; overflow: hidden; }
.site-popup-body img { max-width: 100%; width: auto; height: auto; display: block; }
.site-popup-body a { color: var(--accent); }
@media (max-width: 768px) {
    .site-popup { max-width: calc(100vw - 2rem); width: 100%; overflow: hidden; }
    .site-popup-body img { max-width: 100%; height: auto; }
}

/* Yukarı çık butonu */
.back-to-top {
    position: fixed; bottom: 24px; z-index: 9996;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2); text-decoration: none; transition: opacity 0.2s, transform 0.2s;
}
.back-to-top:hover { color: #fff; opacity: 0.9; transform: scale(1.05); }
.back-to-top-left { left: 24px; }
.back-to-top-right { right: 24px; }
.back-to-top svg { width: 24px; height: 24px; }
@media (max-width: 768px) {
    .back-to-top { bottom: 16px; width: 44px; height: 44px; }
    .back-to-top-left { left: 16px; }
    .back-to-top-right { right: 16px; }
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed; bottom: 88px; z-index: 9997;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float-right { right: 24px; }
.whatsapp-float-left { left: 24px; }
.whatsapp-float:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(37,211,102,0.5); color: #fff; }
.whatsapp-float svg { width: 32px; height: 32px; }
@media (max-width: 768px) {
    .whatsapp-float { bottom: 76px; width: 50px; height: 50px; }
    .whatsapp-float-right { right: 16px; }
    .whatsapp-float-left { left: 16px; }
}
