/* ============================================================
   AS TEKNİK SERVİSİ - ANA STYLESHEET
   ============================================================ */

:root {
    --navy: #0b2a4a;
    --navy-deep: #071b30;
    --blue: #0f4c75;
    --ice: #3ab4e8;
    --ice-light: #e8f6fd;
    --amber: #ff7a45;
    --amber-dark: #e8622f;
    --whatsapp: #25d366;
    --whatsapp-dark: #1ea952;
    --bg: #f6f9fc;
    --text: #1a2b3c;
    --text-muted: #5b6b7c;
    --white: #ffffff;
    --border: #e1e8ef;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(11, 42, 74, 0.08);
    --shadow-lg: 0 20px 50px rgba(11, 42, 74, 0.14);
    --font: 'Open Sans', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.25; color: var(--navy-deep); }
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.05rem; margin-bottom: 12px; }
p { margin-bottom: 14px; color: var(--text-muted); }

/* -------------------- BUTTONS -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
}
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }
.btn-call { background: var(--navy); color: #fff; }
.btn-call:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; margin-bottom: 10px; }

/* -------------------- FLOATING ACTION BUTTONS (WhatsApp + Hemen Ara) -------------------- */
.float-actions {
    position: fixed; bottom: 20px; right: 20px; z-index: 999;
    display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.float-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem;
    color: #fff; box-shadow: 0 8px 22px rgba(11,42,74,.25);
    white-space: nowrap;
}
.float-btn-wa { background: var(--whatsapp); box-shadow: 0 8px 24px rgba(37,211,102,.45); animation: pulse 2.2s infinite; }
.float-btn-call { background: #e53935; }
.float-btn-call:hover { background: #c62828; }
.float-icon { font-size: 1.1rem; line-height: 1; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
    70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* -------------------- HEADER -------------------- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 500;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--navy-deep); }
.logo-icon { color: var(--ice); font-size: 1.5rem; }

/* Yalnızca üst menünün DOĞRUDAN çocuğu olan <ul> yatay diziliyor.
   Not: bu seçici öncesinde ".main-nav ul" (tüm iç <ul> dahil) kullanılıyordu
   ve iç içe geçen .dropdown listesini de yanlışlıkla flex satırına çeviriyordu. */
.main-nav > ul { display: flex; gap: 28px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    font-weight: 600; padding: 10px 0; display: block; color: var(--navy-deep);
    border-bottom: 2px solid transparent;
}
.main-nav > ul > li > a:hover { color: var(--blue); }
.has-dropdown:hover .dropdown { display: block; }
.dropdown {
    display: none; position: absolute; top: 100%; left: 0; background: #fff;
    box-shadow: var(--shadow-lg); border-radius: 10px; padding: 10px; min-width: 260px;
    z-index: 600; flex-direction: column;
}
.dropdown li { width: 100%; }
.dropdown li a { display: block; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: .92rem; }
.dropdown li a:hover { background: var(--ice-light); color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { padding: 10px 20px; font-size: .9rem; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 24px; height: 3px; background: var(--navy-deep); border-radius: 3px; }

/* -------------------- BREADCRUMB -------------------- */
.breadcrumb { background: var(--ice-light); padding: 12px 0; font-size: .85rem; }
.breadcrumb a { color: var(--blue); font-weight: 600; }
.breadcrumb .sep { margin: 0 8px; color: var(--text-muted); }
.breadcrumb .current { color: var(--text-muted); }

/* -------------------- HERO BANNER (SLIDER) -------------------- */
.hero-banner { position: relative; overflow: hidden; }
.slider { position: relative; height: 560px; }
.slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    display: flex; align-items: center; opacity: 0; transition: opacity .8s ease;
}
.slide.active { opacity: 1; }
.slide-content { text-align: center; max-width: 820px; margin: 0 auto; color: #fff; }
.slide-content h1 { color: #fff; font-size: 2.7rem; margin-bottom: 14px; }
.slide-content h2 { color: var(--ice-light); font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; }
.slide-content p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 26px; }
.slide-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.slider-dots { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; cursor: pointer; }
.dot.active { background: #fff; width: 30px; border-radius: 6px; }

/* -------------------- PAGE HERO (INNER PAGES) -------------------- */
.page-hero { background-size: cover; background-position: center; padding: 90px 0; color: #fff; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; }
.page-hero-plain { background: linear-gradient(120deg, var(--navy-deep), var(--blue)); }

/* -------------------- TRUST STRIP -------------------- */
.trust-strip { background: var(--navy); padding: 30px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; gap: 20px; }
.trust-item strong { display: block; font-size: 1.8rem; color: var(--ice); font-weight: 800; }
.trust-item span { color: rgba(255,255,255,.75); font-size: .88rem; font-weight: 600; }

/* -------------------- SECTIONS -------------------- */
.section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow {
    display: inline-block; color: var(--amber-dark); font-weight: 800; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
}

/* -------------------- SERVICES GRID -------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.service-card {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-active { border: 2px solid var(--ice); }
.service-card-img { height: 170px; background-size: cover; background-position: center; background-color: var(--ice-light); }
.service-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.service-card-body p { flex: 1; font-size: .92rem; }
.link-arrow { color: var(--blue); font-weight: 700; font-size: .9rem; }

/* -------------------- ABOUT PREVIEW -------------------- */
.about-preview-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.about-preview-img { height: 420px; border-radius: var(--radius); background-size: cover; background-position: center; background-color: var(--ice-light); box-shadow: var(--shadow); }
.check-list { margin: 18px 0 24px; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--text); font-weight: 600; font-size: .95rem; }
.check-list li::before { content: '✔'; position: absolute; left: 0; color: var(--whatsapp); font-weight: 800; }

/* -------------------- BRANDS GRID -------------------- */
.brands-section { background: var(--white); }
.brands-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.brand-card {
    background: var(--ice-light); border-radius: 12px; padding: 22px 12px; text-align: center;
    transition: transform .2s ease, background .2s ease;
}
.brand-card:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-4px); }
.brand-card img { height: 46px; margin: 0 auto 12px; object-fit: contain; }
.brand-card span { font-weight: 700; font-size: .88rem; color: var(--navy-deep); }

/* -------------------- GALLERY -------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gallery-item { height: 220px; border-radius: 12px; background-size: cover; background-position: center; background-color: var(--ice-light); }

/* -------------------- REGIONS GRID -------------------- */
.regions-section-alt { background: var(--white); }
.regions-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.region-pill {
    background: #fff; border: 2px solid var(--border); padding: 10px 20px; border-radius: 999px;
    font-weight: 700; font-size: .88rem; color: var(--navy-deep); transition: all .2s ease;
}
.region-pill:hover, .region-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* -------------------- CONTENT LAYOUT (SIDEBAR) -------------------- */
.content-layout { display: grid; grid-template-columns: 2.4fr 1fr; gap: 44px; align-items: flex-start; }
.content-main h2 { margin: 30px 0 14px; }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { margin: 22px 0 10px; color: var(--blue); }
.content-main ul, .content-main ol { margin: 10px 0 18px 22px; color: var(--text-muted); }
.content-main li { margin-bottom: 6px; }
.content-side { position: sticky; top: 100px; }
.side-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.side-card ul li { border-bottom: 1px solid var(--border); }
.side-card ul li:last-child { border-bottom: none; }
.side-card ul li a { display: block; padding: 10px 2px; font-weight: 600; font-size: .9rem; color: var(--text); }
.side-card ul li a:hover, .side-card ul li a.active { color: var(--blue); }
.side-scroll { max-height: 340px; overflow-y: auto; }
.side-card-cta { background: var(--navy); }
.side-card-cta h4 { color: #fff; }

/* -------------------- FAQ -------------------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list-wide { max-width: 100%; }
.faq-item { background: #fff; border-radius: 12px; padding: 18px 22px; box-shadow: var(--shadow); }
.faq-item summary { font-weight: 700; cursor: pointer; color: var(--navy-deep); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '+'; margin-right: 10px; color: var(--blue); font-weight: 800; }
.faq-item[open] summary::before { content: '−'; }
.faq-item p { margin-top: 12px; margin-bottom: 0; }

/* -------------------- CTA BLOCK -------------------- */
.cta-block { background: linear-gradient(120deg, var(--navy-deep), var(--blue)); padding: 44px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-text h3 { color: #fff; margin-bottom: 6px; font-size: 1.5rem; }
.cta-sub { color: rgba(255,255,255,.75); font-size: .88rem; margin-bottom: 0; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------- CONTACT -------------------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 34px; }
.contact-info-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: var(--shadow); text-align: center; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 13px 16px; border: 2px solid var(--border); border-radius: 10px;
    font-family: var(--font); font-size: .95rem;
}
.contact-form textarea { margin-bottom: 18px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--ice); }

/* -------------------- FOOTER -------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.6fr; gap: 36px; }
.footer-logo { color: #fff; margin-bottom: 14px; }
.footer-col h4 { color: #fff; margin-bottom: 16px; }
.footer-col a { color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--ice); }
.footer-col ul li { margin-bottom: 10px; }
.footer-regions { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-regions a {
    font-size: .78rem; background: rgba(255,255,255,.06); padding: 6px 12px; border-radius: 999px;
}
.footer-regions a:hover { background: var(--blue); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; text-align: center; font-size: .82rem; }

/* -------------------- FOCUS STATES -------------------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--amber); outline-offset: 2px;
}
