/* =============================================================
   Kurumsal - Tema Stilleri (responsive, modern)
   Renkler tek yerden değiştirilebilir (CSS değişkenleri).
   ============================================================= */

:root {
    --primary: #1f5eff;
    --primary-dark: #1442c0;
    --secondary: #0c1733;
    --accent: #ff7a18;
    --text: #2b2f38;
    --muted: #6b7280;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --border: #e6e9f0;
    --white: #ffffff;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(16, 30, 70, 0.08);
    --shadow-lg: 0 20px 50px rgba(16, 30, 70, 0.15);
    --container: 1180px;
    --transition: .25s ease;
    --font: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Genel başlık/buton ---------- */
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head .eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8rem;
    margin-bottom: 10px;
}
.section-head h2 { font-size: 2.1rem; color: var(--secondary); line-height: 1.2; }
.section-head p { color: var(--muted); margin-top: 14px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; border: 2px solid rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--accent { background: var(--accent); }
.btn--accent:hover { background: #e96b0c; }
.btn--outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--secondary); color: #c8d2ec; font-size: 1.15rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.topbar__contact a { margin-right: 22px; color: #c8d2ec; transition: var(--transition); }
.topbar__contact a:hover { color: #fff; }
.topbar__social a {
    display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,.1); align-items: center; justify-content: center;
    margin-left: 6px; font-size: .75rem; font-weight: 700; transition: var(--transition);
}
.topbar__social a:hover { background: var(--primary); color: #fff; }
.topbar__social a svg { width: 16px; height: 16px; display: block; }
.ico { display: inline-block; }

/* ---------- Header / Nav ---------- */
.site-header {
    background: var(--white);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    transition: var(--transition);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--secondary); }
.brand__mark {
    width: 40px; height: 40px; border-radius: 10px; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.brand__logo { height: 44px; width: auto; display: block; }
.brand--light { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
    padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
    color: var(--secondary); transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav .nav-cta { background: var(--primary); color: #fff; }
.main-nav .nav-cta:hover { background: var(--primary-dark); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--secondary); border-radius: 3px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero / Slider ---------- */
.hero { position: relative; overflow: hidden; background: var(--secondary); }
.slider { position: relative; }
.slide {
    display: none; min-height: 560px; align-items: center;
    background-size: 100% 100%; background-position: center; background-repeat: no-repeat; position: relative;
}
.slide.active { display: flex; animation: fade .8s ease; }
@keyframes fade { from { opacity: .4; } to { opacity: 1; } }
.slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(12,23,51,.88) 0%, rgba(12,23,51,.55) 60%, rgba(12,23,51,.3) 100%);
}
.slide__inner { position: relative; z-index: 2; max-width: 640px; color: #fff; padding: 60px 0; }
.slide__inner .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }
.slide__inner h1 { font-size: 3rem; line-height: 1.1; margin: 14px 0 18px; }
.slide__inner p { font-size: 1.15rem; color: #d6def2; margin-bottom: 28px; }
.slide__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,.15); color: #fff; font-size: 1.4rem; transition: var(--transition);
}
.slider-arrow:hover { background: var(--primary); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }
.slider-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; }
.slider-dots button.active { background: var(--accent); width: 30px; border-radius: 6px; }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--secondary), #1a2a55);
    color: #fff; padding: 70px 0; text-align: center;
}
.page-hero h1 { font-size: 2.6rem; }
.breadcrumb { margin-top: 12px; color: #b9c4e0; font-size: .95rem; }
.breadcrumb a { color: #b9c4e0; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Kartlar / Grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: var(--transition); height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 22px; }
.card__body h3 { font-size: 1.2rem; color: var(--secondary); margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: .96rem; }
.card__meta { font-size: .82rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; margin-top: 14px; }

/* Hizmet kartı (ikon) */
.service-card { text-align: center; padding: 34px 24px; }
.service-card .service-icon {
    width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 18px; font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* Ürün kartı fiyat */
.price { color: var(--accent); font-weight: 800; font-size: 1.25rem; }

/* ---------- Hakkımızda / iki sütun ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: 2rem; color: var(--secondary); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.check-list li { padding: 8px 0 8px 30px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

/* ---------- İstatistik / sayaç ---------- */
.stats { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.stats .grid-4 { text-align: center; }
.stat__num { font-size: 2.8rem; font-weight: 800; }
.stat__label { color: #d7e0ff; }

/* ---------- CTA ---------- */
.cta-band {
    background: var(--accent); color: #fff; border-radius: var(--radius);
    padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h3 { font-size: 1.7rem; }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--border); }
.testimonial p { font-style: italic; color: var(--text); }
.testimonial__author { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.testimonial__avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial__author strong { color: var(--secondary); display: block; }
.testimonial__author span { color: var(--muted); font-size: .88rem; }

/* ---------- Yorum slider'ı ---------- */
.t-slider { position: relative; max-width: 820px; margin: 0 auto; }
.t-slider__viewport { overflow: hidden; }
.t-slider__track { display: flex; transition: transform .5s ease; }
.t-slide { flex: 0 0 100%; padding: 6px 10px; box-sizing: border-box; }
.t-slide .testimonial { height: 100%; }
.t-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
    background: #fff; color: var(--primary); font-size: 1.3rem; cursor: pointer; transition: var(--transition);
}
.t-arrow:hover { background: var(--primary); color: #fff; }
.t-arrow.prev { left: -10px; }
.t-arrow.next { right: -10px; }
.t-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.t-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: #cfd6e6; cursor: pointer; padding: 0; }
.t-dots button.active { background: var(--primary); width: 26px; border-radius: 6px; }

.t-cta { text-align: center; margin-top: 34px; }

.review-form { max-width: 620px; margin: 24px auto 0; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.review-form[hidden] { display: none; }
.review-form__note { color: var(--muted); font-size: .85rem; margin-top: 12px; }

@media (max-width: 600px) {
    .t-arrow.prev { left: 0; }
    .t-arrow.next { right: 0; }
}

/* ---------- İçerik / detay ---------- */
.content-block { max-width: 820px; margin: 0 auto; }
.content-block h2, .content-block h3 { color: var(--secondary); margin: 22px 0 12px; }
.content-block p { color: var(--text); margin-bottom: 16px; }
.detail-media { border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow); width: 100%; }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--secondary); }
.form-row input, .form-row textarea {
    width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 1rem; transition: var(--transition);
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31,94,255,.12); }
.contact-info-card { background: var(--bg-soft); border-radius: var(--radius); padding: 30px; }
.contact-info-card li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-info-card li:last-child { border-bottom: none; }
.contact-info-card .ico { color: var(--primary); font-size: 1.2rem; }
.map-wrap { margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.alert--success { background: #e7f7ee; color: #176a3c; border: 1px solid #b6e6c9; }
.alert--error { background: #fdeaea; color: #a12121; border: 1px solid #f4c2c2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--secondary); color: #aeb9d6; padding-top: 64px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 48px; }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
.footer-col p { margin-top: 16px; font-size: .94rem; }
.footer-col ul li { padding: 6px 0; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center; font-weight: 700; transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-social a svg { width: 18px; height: 18px; display: block; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .9rem; }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
    background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); }

/* ---------- Animasyon (scroll reveal) ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .split, .contact-grid { grid-template-columns: 1fr; }
    .slide__inner h1 { font-size: 2.4rem; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .topbar__contact a { margin-right: 12px; font-size: .8rem; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 76px; left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px;
        box-shadow: var(--shadow); transform: translateY(-150%); transition: transform .3s ease;
        max-height: calc(100vh - 76px); overflow-y: auto;
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav a { padding: 14px 12px; border-bottom: 1px solid var(--border); }
    .main-nav .nav-cta { text-align: center; margin-top: 10px; border-radius: var(--radius-sm); }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .slide__inner h1 { font-size: 2rem; }
    .slide { min-height: 460px; }
    .section-head h2 { font-size: 1.7rem; }
    .cta-band { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
    .topbar__contact a:last-child { display: none; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .slider-arrow { display: none; }
}
