:root {
    --blue: #005BAA;
    --blue-dark: #003B73;
    --blue-soft: #EAF4FF;
    --cyan: #00AEEF;
    --red: #D6242F;
    --text: #1F2937;
    --muted: #64748B;
    --light: #F5F7FA;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --shadow: 0 24px 70px rgba(0, 59, 115, .14);
    --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(226, 232, 240, .7); transition: box-shadow .25s, padding .25s; }
.site-header.scrolled { box-shadow: 0 12px 35px rgba(0, 59, 115, .12); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; color: var(--blue-dark); letter-spacing: .4px; }
.brand img { height: 58px; width: auto; object-fit: contain; }
.brand span { font-size: 17px; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 13px; font-weight: 800; letter-spacing: .5px; color: var(--blue-dark); position: relative; padding: 12px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .25s; border-radius: 20px; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--blue-dark); margin: 5px 0; border-radius: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 22px; border-radius: 999px; font-weight: 800; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white; box-shadow: 0 16px 35px rgba(0, 91, 170, .25); }
.btn-light { background: white; color: var(--blue-dark); box-shadow: 0 16px 35px rgba(0, 59, 115, .18); }
.text-link { color: var(--blue); font-weight: 800; }
/* Hero slider: desktop video/resim + mobil için ayrı medya desteği */
.hero-slider { position: relative; min-height: 760px; height: min(86vh, 840px); overflow: hidden; background: var(--blue-soft); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-picture, .hero-video, .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-picture { display: block; }
.hero-picture img, .hero-video, .hero-media { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-media-mobile-only { display: none !important; }
.hero-media-desktop-only { display: block; }
.hero-slide.active .hero-picture img, .hero-slide.active .hero-video { animation: heroZoom 15s linear both; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.045); } }
.hero-gradient { background: radial-gradient(circle at 75% 30%, rgba(0,174,239,.35), transparent 35%), linear-gradient(135deg, #fff 0%, #eaf4ff 45%, #d9ecff 100%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.82) 40%, rgba(255,255,255,.12) 76%); z-index: 1; pointer-events: none; }
.hero-overlay::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,91,170,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,91,170,.08) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, black, transparent 80%); }
.hero-content { position: relative; z-index: 3; min-height: 760px; height: min(86vh, 840px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 110px; max-width: 1180px; }
.hero-badge, .section-kicker { display: inline-flex; color: var(--blue); font-weight: 900; letter-spacing: .12em; font-size: 12px; text-transform: uppercase; margin-bottom: 16px; }
.hero-content h1 { margin: 0; max-width: 720px; font-size: clamp(42px, 6vw, 76px); line-height: .98; color: var(--blue-dark); letter-spacing: -2px; }
.hero-content p { max-width: 610px; font-size: 20px; color: var(--muted); margin: 24px 0 30px; }
.hero-dots { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 8; display: flex; gap: 10px; }
.hero-dot { width: 42px; height: 5px; border: 0; border-radius: 10px; background: rgba(0, 59, 115, .25); cursor: pointer; }
.hero-dot.active { background: var(--blue); }
.section { padding: 92px 0; }
.soft-bg { background: linear-gradient(180deg, #f7fbff, #ffffff); }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; margin: 0; color: var(--blue-dark); letter-spacing: -1px; }
.lead-box { background: white; border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: var(--radius); padding: 34px; font-size: 18px; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 34px; }
.section-head h2 { max-width: 720px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-grid.large { grid-template-columns: repeat(3, 1fr); }
.service-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 45px rgba(0, 59, 115, .08); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card img { width: 100%; height: 220px; object-fit: cover; background: var(--blue-soft); }
.service-card-body { padding: 26px; }
.service-card h3 { color: var(--blue-dark); margin: 0 0 10px; font-size: 22px; }
.service-card p { color: var(--muted); margin: 0; }
.feature-band { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: white; border-radius: 34px; padding: 54px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; box-shadow: var(--shadow); }
.feature-band h2, .feature-band .section-kicker { color: white; }
.feature-band p { color: rgba(255,255,255,.82); font-size: 18px; }
.feature-list { display: grid; gap: 14px; }
.feature-list div { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 18px; display: flex; gap: 16px; align-items: center; }
.feature-list strong { color: #9fe7ff; font-size: 22px; }
.reference-grid, .review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.reference-grid.large, .review-grid.large { grid-template-columns: repeat(3, 1fr); }
.reference-card, .review-card, .contact-info-card, .contact-form-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: 0 14px 45px rgba(0, 59, 115, .08); }
.reference-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 18px; margin-bottom: 18px; background: var(--blue-soft); }
.reference-card h3, .review-card strong { color: var(--blue-dark); margin: 0 0 8px; display: block; }
.reference-card p, .review-card p, .review-card span { color: var(--muted); }
.stars { color: #F59E0B; letter-spacing: 2px; margin-bottom: 14px; font-size: 18px; }
.contact-strip { background: linear-gradient(135deg, #005BAA, #00AEEF); color: white; padding: 62px 0; }
.contact-strip h2, .contact-strip .section-kicker { color: white; }
.contact-strip p { color: rgba(255,255,255,.9); }
.contact-strip-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.page-hero { padding: 178px 0 88px; background: radial-gradient(circle at 80% 20%, rgba(0,174,239,.22), transparent 36%), linear-gradient(135deg, #ffffff, #eaf4ff); border-bottom: 1px solid var(--border); }
.page-hero span { color: var(--blue); font-size: 12px; letter-spacing: .14em; font-weight: 900; }
.page-hero h1 { color: var(--blue-dark); font-size: clamp(42px, 6vw, 70px); line-height: 1; margin: 14px 0 18px; letter-spacing: -2px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 19px; }
.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: start; }
.detail-content { font-size: 18px; color: var(--text); background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: 0 14px 45px rgba(0,59,115,.08); }
.detail-image { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-info-card h2, .contact-form-card h2 { margin: 0 0 22px; color: var(--blue-dark); font-size: 30px; }
.contact-info-card a { color: var(--blue); font-weight: 800; }
form label { display: grid; gap: 8px; margin-bottom: 16px; color: var(--blue-dark); font-weight: 800; }
input, textarea, select { width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; font: inherit; outline: none; transition: border .2s, box-shadow .2s; background: white; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 91, 170, .10); }
.site-alert { padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-weight: 700; }
.site-alert.success { background: #ECFDF5; color: #047857; }
.site-alert.error { background: #FEF2F2; color: #B91C1C; }
.map-section iframe { width: 100%; height: 420px; border: 0; display: block; }
.site-footer { background: #f7fbff; border-top: 1px solid var(--border); color: var(--muted); }
.footer-grid { padding: 62px 0; display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 40px; }
.footer-logo { max-height: 78px; width: auto; margin-bottom: 18px; }
.site-footer h3 { color: var(--blue-dark); margin: 0 0 16px; }
.site-footer a { display: block; margin: 8px 0; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; font-size: 14px; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; background: #25D366; color: white; font-weight: 900; border-radius: 999px; padding: 15px 20px; box-shadow: 0 18px 38px rgba(37, 211, 102, .28); }
@media (max-width: 1024px) {
    .main-nav { gap: 18px; }
    .cards-grid, .cards-grid.large { grid-template-columns: repeat(2, 1fr); }
    .reference-grid, .reference-grid.large, .review-grid, .review-grid.large { grid-template-columns: repeat(2, 1fr); }
    .split-grid, .feature-band, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-content h1 { max-width: 650px; }
}
@media (max-width: 820px) {
    .container { width: min(100% - 28px, 1180px); }
    .header-inner { height: 74px; }
    .brand { gap: 12px; }
    .brand img { height: 44px; }
    .brand span { font-size: 15px; }
    .menu-toggle { display: block; }
    .main-nav { position: fixed; left: 14px; right: 14px; top: 82px; background: white; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; display: none; flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 13px 10px; }

    /* v1.3 ASELSAN tipi mobil hero: görsel üstte güçlü, yazı altta koyu mavi degrade üzerinde kompakt. */
    .hero-slider { min-height: 620px; height: calc(100svh - 0px); max-height: 720px; background: #eaf4ff; }
    .hero-slide { min-height: 620px; }
    .hero-media-desktop-only { display: none !important; }
    .hero-media-mobile-only { display: block !important; }
    .hero-picture.hero-media-mobile-only img,
    .hero-video.hero-media-mobile-only,
    .hero-media.hero-media-mobile-only {
        object-fit: cover;
        object-position: 58% center;
        filter: saturate(1.03) contrast(1.03);
    }
    .hero-slide.active .hero-picture img, .hero-slide.active .hero-video { animation: heroZoomMobile 13s linear both; }
    @keyframes heroZoomMobile { from { transform: scale(1); } to { transform: scale(1.035); } }
    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.02) 40%, rgba(0,59,115,.58) 72%, rgba(0,38,83,.92) 100%),
            linear-gradient(90deg, rgba(0,91,170,.18) 0%, rgba(0,91,170,0) 55%);
    }
    .hero-overlay::after {
        opacity: .18;
        background-size: 34px 34px;
        mask-image: linear-gradient(180deg, transparent 0%, black 48%, black 100%);
    }
    .hero-content {
        min-height: 620px;
        height: calc(100svh - 0px);
        max-height: 720px;
        justify-content: flex-end;
        padding-top: 112px;
        padding-bottom: 76px;
    }
    .hero-badge {
        color: #bfeeff;
        background: rgba(255,255,255,.13);
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 999px;
        padding: 7px 12px;
        margin-bottom: 12px;
        font-size: 10px;
        letter-spacing: .16em;
        backdrop-filter: blur(8px);
    }
    .hero-content h1 {
        max-width: 92%;
        font-size: clamp(27px, 7.6vw, 36px);
        line-height: 1.08;
        letter-spacing: -.65px;
        color: #fff;
        text-shadow: 0 8px 28px rgba(0,31,71,.35);
    }
    .hero-content p {
        max-width: 92%;
        font-size: 15px;
        line-height: 1.55;
        margin: 14px 0 20px;
        color: rgba(255,255,255,.88);
        text-shadow: 0 6px 22px rgba(0,31,71,.30);
    }
    .hero-content .btn {
        min-height: 46px;
        padding: 12px 18px;
        font-size: 14px;
        box-shadow: 0 16px 34px rgba(0,174,239,.28);
    }
    .hero-dots { bottom: 20px; }
    .hero-dot { width: 34px; height: 5px; background: rgba(255,255,255,.35); }
    .hero-dot.active { background: #fff; }

    .section { padding: 66px 0; }
    .section-head, .contact-strip-inner { flex-direction: column; align-items: flex-start; }
    .feature-band { padding: 34px; border-radius: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .cards-grid, .cards-grid.large, .reference-grid, .reference-grid.large, .review-grid, .review-grid.large { grid-template-columns: 1fr; }
    .site-header { background: rgba(255,255,255,.97); }
    .brand img { height: 42px; }
    .brand span { font-size: 14px; }
    .hero-slider { min-height: 595px; height: calc(100svh - 0px); max-height: 690px; }
    .hero-slide, .hero-content { min-height: 595px; max-height: 690px; }
    .hero-content { padding-top: 102px; padding-bottom: 70px; }
    .hero-content h1 { max-width: 94%; font-size: clamp(26px, 7.4vw, 33px); line-height: 1.08; letter-spacing: -.55px; }
    .hero-content p { max-width: 94%; font-size: 14.5px; margin: 13px 0 18px; }
    .hero-content .btn { width: auto; max-width: 100%; }
    .hero-dot { width: 30px; }
    .page-hero { padding-top: 138px; }
    .page-hero h1 { font-size: 42px; }
    .whatsapp-float { right: 14px; bottom: 14px; padding: 13px 16px; }
}
@media (max-width: 390px) {
    .brand span { font-size: 13px; }
    .hero-slider { min-height: 570px; max-height: 660px; }
    .hero-slide, .hero-content { min-height: 570px; max-height: 660px; }
    .hero-content { padding-bottom: 64px; }
    .hero-content h1 { font-size: clamp(24px, 7.1vw, 30px); }
    .hero-content p { font-size: 14px; }
}
