:root {
    --brand: #c8161d;
    --brand-dark: #9e0f15;
    --steel-900: #15191e;
    --steel-800: #1f252c;
    --steel-700: #2c343d;
    --steel-500: #5c6670;
    --steel-200: #dfe3e7;
    --steel-100: #eef0f2;
    --paper: #f7f7f5;
    --ink: #1b1f24;
    --radius: 6px;
    --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: #fff; font-size: 1.04rem; line-height: 1.65; }
h1, h2, h3, h4, h5, .display-font { font-family: var(--font-head); font-weight: 700; letter-spacing: .01em; line-height: 1.1; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }
::selection { background: var(--brand); color: #fff; }

.btn { font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border-radius: var(--radius); }
.btn-brand { background: var(--brand); color: #fff; border: 0; padding: .6rem 1.2rem; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); color: #fff; }
.btn-outline-dark { border-width: 2px; }

/* Topbar & header */
.topbar { background: var(--steel-900); color: #aeb5bd; font-size: .86rem; padding: .45rem 0; }
.topbar a { color: #d5d9de; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--brand); margin-right: .3rem; }

.site-header { background: #fff; box-shadow: 0 1px 0 var(--steel-200), 0 8px 24px -18px rgba(0,0,0,.35); z-index: 1030; }
.site-header .navbar { padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.7rem; letter-spacing: .04em; color: var(--brand); }
.brand-text small { font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-700); margin-top: .2rem; }
.navbar-toggler { border: 0; font-size: 2rem; color: var(--ink); padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
.navbar .nav-link { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; text-transform: uppercase; letter-spacing: .05em; color: var(--steel-800); padding: .5rem .85rem !important; position: relative; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--brand); }
@media (min-width: 992px) {
    .navbar .nav-link.active::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: -.15rem; height: 3px; background: var(--brand); }
    .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
    .mega-menu { min-width: 520px; padding: 1rem; }
}
.dropdown-menu { border: 0; border-radius: var(--radius); box-shadow: 0 18px 40px -12px rgba(0,0,0,.25); border-top: 3px solid var(--brand); }
.dropdown-item { font-weight: 500; padding: .45rem 1rem; }
.dropdown-item:hover { background: var(--steel-100); color: var(--brand); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .5rem; }
.mega-grid .dropdown-item i { font-size: .7rem; color: var(--brand); }
.mega-all { display: block; margin-top: .6rem; padding: .6rem 1rem 0; border-top: 1px solid var(--steel-200); font-weight: 600; }
@media (max-width: 991.98px) {
    .mega-grid { grid-template-columns: 1fr; }
    .navbar-collapse { max-height: 75vh; overflow-y: auto; padding-bottom: 1rem; }
    .brand-text strong { font-size: 1.4rem; }
    .brand-text small { font-size: .7rem; }
}

/* Hero slider */
.hero { position: relative; background: var(--steel-900); }
.hero .carousel-item { height: min(78vh, 680px); min-height: 440px; }
.hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.hero .carousel-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,17,21,.88) 0%, rgba(14,17,21,.55) 45%, rgba(14,17,21,.1) 100%); }
.hero-caption { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero-caption .eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: #fff; background: var(--brand); padding: .25rem .7rem; font-size: .9rem; margin-bottom: 1rem; }
.hero-caption h1, .hero-caption h2 { color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); text-transform: uppercase; max-width: 14ch; margin-bottom: 1rem; }
.hero-caption p { color: #d8dde2; font-size: 1.2rem; max-width: 42ch; margin-bottom: 1.6rem; }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border: 0; background: #fff; opacity: .4; }
.hero .carousel-indicators .active { opacity: 1; background: var(--brand); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 6%; z-index: 3; }

.trust-strip { background: var(--brand); color: #fff; }
.trust-strip .item { display: flex; align-items: center; gap: .9rem; padding: 1.3rem 0; }
.trust-strip i { font-size: 2rem; opacity: .9; }
.trust-strip strong { font-family: var(--font-head); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; display: block; line-height: 1.1; }
.trust-strip span { font-size: .9rem; opacity: .85; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--steel-900); color: #cfd5db; }
.section-head { margin-bottom: 2.5rem; }
.kicker { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--brand); font-size: .95rem; display: flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--brand); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin: .4rem 0 0; }
.section-dark .section-title { color: #fff; }

.about-img { position: relative; }
.about-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-img .badge-exp { position: absolute; right: -12px; bottom: -18px; background: var(--brand); color: #fff; padding: 1.1rem 1.4rem; border-radius: var(--radius); font-family: var(--font-head); box-shadow: 0 14px 30px -10px rgba(200,22,29,.6); }
.about-img .badge-exp b { font-size: 2.4rem; display: block; line-height: 1; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
.check-list li { display: flex; gap: .5rem; font-weight: 500; }
.check-list i { color: var(--brand); }
@media (max-width: 575.98px) { .check-list { grid-template-columns: 1fr; } }

/* Category tiles */
.cat-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--steel-800); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; opacity: .85; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,17,21,.92) 0%, rgba(14,17,21,.15) 60%); }
.cat-tile .label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem 1.1rem; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; }
.cat-tile .label h3 { font-size: 1.4rem; text-transform: uppercase; margin: 0; }
.cat-tile .label small { display: block; color: #b9c0c7; font-size: .85rem; margin-top: .2rem; }
.cat-tile .arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; transform: translateX(6px); opacity: 0; transition: .3s; }
.cat-tile:hover img { transform: scale(1.06); opacity: 1; }
.cat-tile:hover .arrow { transform: none; opacity: 1; }

/* Product cards */
.product-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: box-shadow .25s, transform .25s, border-color .25s; }
.product-card:hover { color: var(--ink); border-color: transparent; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); transform: translateY(-3px); }
.product-card .thumb { aspect-ratio: 4/3; background: var(--steel-100); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 600; }
.product-card h3 { font-size: 1.35rem; text-transform: uppercase; margin: .25rem 0 .4rem; }
.product-card p { font-size: .94rem; color: var(--steel-500); margin: 0 0 .8rem; }
.product-card .more { margin-top: auto; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); font-size: .95rem; }

/* Service band */
.service-band { position: relative; color: #fff; overflow: hidden; }
.service-band .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.service-band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(158,15,21,.95), rgba(21,25,30,.85)); }
.service-band .container { position: relative; z-index: 1; }
.service-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; }
.step { border-left: 3px solid rgba(255,255,255,.35); padding-left: 1rem; }
.step b { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; display: block; color: #fff; opacity: .5; }
.step h3 { font-size: 1.3rem; text-transform: uppercase; margin: .3rem 0; }
.step p { color: rgba(255,255,255,.8); font-size: .95rem; margin: 0; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.gallery-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--steel-100); position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery-grid a::after { content: "\F52A"; font-family: bootstrap-icons; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: rgba(200,22,29,.55); opacity: 0; transition: .25s; }
.gallery-grid a:hover img { transform: scale(1.07); }
.gallery-grid a:hover::after { opacity: 1; }

/* News */
.news-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--steel-200); height: 100%; color: var(--ink); }
.news-card:hover { color: var(--ink); box-shadow: 0 18px 36px -20px rgba(0,0,0,.35); }
.news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-card .body { padding: 1.1rem 1.2rem 1.3rem; }
.news-card time { font-size: .82rem; color: var(--steel-500); text-transform: uppercase; letter-spacing: .08em; }
.news-card h3 { font-size: 1.4rem; margin: .3rem 0 .5rem; }

/* Page header */
.page-hero { background: var(--steel-900); color: #fff; padding: 3.2rem 0 2.8rem; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px); }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border: 36px solid var(--brand); border-radius: 50%; opacity: .2; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; margin: 0; }
.breadcrumb { margin: .6rem 0 0; font-size: .9rem; }
.breadcrumb a { color: #c2c8ce; }
.breadcrumb-item.active { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { color: #6f7880; }

/* Sidebar */
.side-box { background: var(--paper); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.5rem; }
.side-box h2 { font-size: 1.3rem; text-transform: uppercase; border-bottom: 2px solid var(--steel-200); padding-bottom: .6rem; margin-bottom: .6rem; }
.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: .55rem .3rem; color: var(--steel-800); font-weight: 500; border-bottom: 1px dashed var(--steel-200); }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a:hover, .side-nav a.active { color: var(--brand); }
.side-nav a.active { font-weight: 700; }
.side-call { background: var(--brand); color: #fff; }
.side-call h2 { border-color: rgba(255,255,255,.25); color: #fff; }
.side-call a { color: #fff; font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; }

.rich-content { font-size: 1.08rem; }
.rich-content img { border-radius: var(--radius); height: auto; }
.rich-content ul { padding-left: 1.2rem; }
.rich-content li::marker { color: var(--brand); }

.product-main-img { width: 100%; border-radius: var(--radius); background: var(--steel-100); aspect-ratio: 4/3; object-fit: cover; }

/* Contact */
.contact-card { display: flex; gap: 1rem; padding: 1.2rem; background: var(--paper); border-radius: var(--radius); height: 100%; }
.contact-card .ic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.contact-card h3 { font-size: 1.15rem; text-transform: uppercase; margin: 0 0 .2rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--steel-800); }
.form-control, .form-select { border-radius: var(--radius); padding: .7rem .9rem; border-color: var(--steel-200); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(200,22,29,.15); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); display: block; filter: grayscale(.2); }
.hp { position: absolute; left: -5000px; }

/* References */
.ref-card { display: grid; place-items: center; aspect-ratio: 3/2; padding: 1.2rem; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--steel-800); }
.ref-card img { max-height: 80px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .25s; }
.ref-card:hover img { filter: none; opacity: 1; }

.empty-state { text-align: center; padding: 3rem 1rem; background: var(--paper); border-radius: var(--radius); color: var(--steel-500); }
.empty-state i { font-size: 2.6rem; color: var(--steel-200); display: block; margin-bottom: .6rem; }

.video-card { border-radius: var(--radius); overflow: hidden; background: #000; }
.video-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }

/* CTA + footer */
.cta-band { background: var(--brand); color: #fff; padding: 2.6rem 0; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); text-transform: uppercase; margin: 0 0 .3rem; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btn-light { color: var(--brand); }
.site-footer { background: var(--steel-900); color: #aab2ba; padding: 4rem 0 0; font-size: .96rem; }
.site-footer h3 { color: #fff; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.site-footer a { color: #cfd5db; }
.site-footer a:hover { color: #fff; }
.text-muted-light { color: #8d969f; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #8d969f; }
.footer-links li { margin-bottom: .4rem; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .7rem; }
.footer-contact i { color: var(--brand); margin-top: .15rem; }
.newsletter { display: flex; background: var(--steel-800); border-radius: var(--radius); overflow: hidden; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: .7rem .9rem; outline: none; }
.newsletter button { border: 0; background: var(--brand); color: #fff; padding: 0 1rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid var(--steel-700); margin-top: 3rem; padding: 1.3rem 0; font-size: .86rem; color: #7d868f; }

.float-actions { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: .6rem; z-index: 1040; }
.float-actions a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.fa-wa { background: #25d366; }
.fa-call { background: var(--brand); }
.float-actions a:hover { color: #fff; transform: scale(1.06); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* Mobil taşma düzeltmeleri */
html, body { overflow-x: clip; }
@media (max-width: 991.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2.5rem; }
    .about-img .badge-exp { right: 12px; bottom: 12px; }
    .section { padding: 3.5rem 0; }
}
@media (max-width: 575.98px) {
    .trust-strip .item { padding: 1rem 0; gap: .6rem; }
    .trust-strip strong { font-size: 1.05rem; }
    .trust-strip i { font-size: 1.5rem; }
    .hero-caption p { font-size: 1.05rem; }
}
