/* TB Kağıt Dış Ticaret — statik site stilleri (eski Bridge temasının renkleri korunmuştur) */
:root {
    --navy: #153c6b;
    --blue: #1c51c6;
    --blue-soft: #4974d1;
    --yellow: #f8ef19;
    --text: #3e3e3e;
    --gray-bg: #f5f5f5;
    --footer: #4a4a4a;
    --footer-bottom: #242424;
    --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    background: #fff;
    padding-top: var(--header-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; margin: 0 0 .8em; }
h2 { color: var(--blue); font-size: 30px; }
h3 { color: var(--navy); font-size: 20px; }
h4 { color: var(--blue); font-size: 15px; letter-spacing: .5px; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt { margin-top: 28px; }
.rounded { border-radius: 4px; margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    height: var(--header-h);
    background: #fff;
    border-bottom: 1px solid rgba(21, 60, 107, .2);
    transition: height .25s, box-shadow .25s;
}
.site-header.is-scrolled { --header-h: 64px; height: 64px; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo img { height: 56px; width: auto; transition: height .25s; }
.site-header.is-scrolled .logo img { height: 46px; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.main-nav ul a {
    color: var(--navy); font-weight: 600; font-size: 13px; letter-spacing: .5px;
    padding: 6px 0; border-bottom: 2px solid transparent;
}
.main-nav ul a:hover, .main-nav ul a.active { border-bottom-color: var(--blue); color: var(--blue); }
.lang-switch { font-size: 13px; font-weight: 500; color: #999; white-space: nowrap; }
.lang-switch a { color: #999; }
.lang-switch a.active, .lang-switch a:hover { color: var(--navy); font-weight: 700; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,.08);
        max-height: 0; overflow: hidden; transition: max-height .3s;
    }
    .main-nav.is-open { max-height: 420px; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul a { display: block; padding: 12px 20px; border-bottom: 1px solid #eee; }
    .main-nav ul a.active, .main-nav ul a:hover { border-bottom-color: #eee; background: var(--gray-bg); }
    .lang-switch { padding: 12px 20px; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero slider ---------- */
.hero { position: relative; height: min(78vh, 720px); min-height: 380px; overflow: hidden; background: var(--navy); }
.slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s ease;
    display: flex; align-items: center;
}
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,30,60,.7), rgba(10,30,60,.15)); }
.slide.is-active { opacity: 1; }
.slide-content { position: relative; color: #fff; }
.slide-sub { display: block; font-weight: 700; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; color: var(--yellow); }
.slide-title { color: #fff; font-weight: 500; font-size: clamp(34px, 6.5vw, 84px); line-height: 1.1; margin: 0; max-width: 900px; }
.slide.is-active .slide-sub, .slide.is-active .slide-title { animation: rise .9s ease both; }
.slide.is-active .slide-title { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.6); background: rgba(0,0,0,.15);
    color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.hero-arrow:hover { background: var(--blue); border-color: var(--blue); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
.hero-dots { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero-dots button.is-active { background: #fff; }
@media (max-width: 640px) { .hero { height: 62vh; } .hero-arrow { display: none; } }

/* ---------- CTA bar ---------- */
.cta-bar { background: var(--blue); color: #fff; padding: 22px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-inner p { margin: 0; font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; padding: 12px 30px;
    background: var(--navy); color: #fff; border: 2px solid var(--navy);
    font-weight: 700; font-size: 13px; letter-spacing: 1px; border-radius: 3px;
    cursor: pointer; transition: .2s; font-family: inherit;
}
.btn:hover { background: #fff; color: var(--navy); }
.btn-light { background: var(--blue-soft); border-color: var(--blue-soft); }
.btn-light:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-gray { background: var(--gray-bg); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.two-col.align-center { align-items: center; }
@media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .section { padding: 56px 0; }
}

.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 4px 0; }

.page-title {
    background-size: cover; background-position: center; position: relative;
    padding: 110px 0;
}
.page-title::before { content: ""; position: absolute; inset: 0; background: rgba(21, 60, 107, .55); }
.page-title h1 { position: relative; color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 0; letter-spacing: 1px; }
@media (max-width: 640px) { .page-title { padding: 64px 0; } }

.social {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); color: #fff; transition: .2s;
}
.social:hover { color: var(--yellow); }

/* ---------- Products ---------- */
.product-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 28px;
    grid-template-rows: repeat(7, auto); grid-auto-flow: column; /* eski sitedeki gibi: sol sütun baskı, sağ sütun ambalaj */
}
.product-grid li {
    background: var(--navy); color: var(--yellow);
    text-align: center; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
    padding: 12px 16px; border-radius: 2px;
}
@media (max-width: 700px) { .product-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }

/* ---------- Contact ---------- */
.contact-lines { line-height: 2; }
.contact-info { text-align: center; }
.contact-info h2, .contact-info h3 { margin-bottom: .6em; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

.not-found { padding: 120px 0; }
.not-found h1 { font-size: 96px; color: var(--blue); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { color: #e8e8e8; }
.footer-top { background: var(--footer); padding: 70px 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col p { font-size: 14px; }
.footer-col b { color: #fff; font-weight: 500; }
.footer-logo { height: 55px; width: auto; margin: 0 auto 18px; background: #fff; padding: 6px 10px; border-radius: 3px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a, .footer-col p a { color: var(--yellow); }
.footer-links a:hover, .footer-col p a:hover { color: #fff; }
.footer-links li { padding: 2px 0; font-size: 14px; font-weight: 500; }
.footer-bottom { background: var(--footer-bottom); color: #888; padding: 22px 0; text-align: center; font-size: 13px; }
.footer-bottom a { color: #bbb; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 800px) { .footer-cols { grid-template-columns: 1fr; } }

.back-to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 40;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); color: #fff; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .3s;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { color: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
