@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --tk-red: #E30613;
    --tk-red-dark: #cc0511;
    --tk-dark: #1F2228;
    --tk-grey: #4A4A4A;
    --tk-light-grey: #F5F5F5;
    --tk-border: #E0E0E0;
    --tk-font: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--tk-font); color: var(--tk-dark); background: white; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.wrap { max-width: 1600px; margin: 0 auto; padding: 0 40px; }

/* TOP BAR (Turkish Cargo Style: Thin Grey) */
.header-top { background: var(--tk-light-grey); border-bottom: 1px solid var(--tk-border); padding: 8px 0; font-size: 12px; color: var(--tk-grey); font-weight: 500; }
.header-top .wrap { display: flex; justify-content: flex-end; gap: 25px; }
.header-top a:hover { color: var(--tk-red); }

/* MAIN HEADER */
header { background: white; border-bottom: 1px solid var(--tk-border); position: relative; z-index: 100; transition: 0.3s; }
header.sticky { position: fixed; top: 0; width: 100%; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.nav-main { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.brand { font-size: 28px; font-weight: 900; letter-spacing: -1px; color: var(--tk-dark); display: flex; align-items: center; }
.brand span { color: var(--tk-red); margin-left: 5px; }
.brand-bird { width: 35px; height: 35px; background: var(--tk-red); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-right: 15px; }
.brand-bird svg { fill: white; width: 20px; }

.menu { display: flex; height: 100%; }
.menu-item { position: relative; display: flex; align-items: center; padding: 0 20px; cursor: pointer; }
.menu-item::after { content:''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: var(--tk-red); transform: scaleX(0); transition: 0.3s; transform-origin: left; }
.menu-item:hover::after, .menu-item.active::after { transform: scaleX(1); }
.menu-link { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--tk-dark); display: flex; align-items: center; }
.menu-link svg { width: 12px; margin-left: 5px; opacity: 0.5; }
.menu-item:hover .menu-link { color: var(--tk-red); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.search-btn { cursor: pointer; }
.search-btn svg { width: 24px; fill: var(--tk-dark); transition: 0.3s; }
.search-btn:hover svg { fill: var(--tk-red); }
.header-btn { background: var(--tk-red); color: white; padding: 12px 25px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; }
.header-btn:hover { background: var(--tk-red-dark); color: white; }
.header-btn svg { width: 16px; fill: white; margin-right: 10px; }

/* MEGA MENU OVERRIDE */
.mega-menu { position: absolute; top: 100%; left: -200px; width: 800px; background: white; box-shadow: 0 10px 40px rgba(0,0,0,0.1); border-top: 1px solid var(--tk-border); opacity: 0; visibility: hidden; transition: 0.2s; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 4px solid var(--tk-red); }
.menu-item:hover .mega-menu { opacity: 1; visibility: visible; }
.mega-col { padding: 40px; }
.mega-col h4 { color: var(--tk-grey); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; border-bottom: 1px solid var(--tk-border); padding-bottom: 10px; }
.mega-col ul li { margin-bottom: 15px; }
.mega-col ul li a { font-weight: 600; font-size: 15px; display: block; }
.mega-col ul li a:hover { color: var(--tk-red); padding-left: 5px; }

/* HERO SLIDER (Turkish Cargo Layout) */
.hero-wrapper { position: relative; height: calc(100vh - 130px); min-height: 700px; overflow: hidden; }
.swiper-slide { position: relative; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 100px; max-width: 800px; color: white; }
.hero-content h1 { font-size: 64px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-content p { font-size: 18px; margin-bottom: 40px; }

/* OVERLAPPING SEARCH WIDGET (Literal Turkish Cargo copy) */
.widget-overlap { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 10; }
.widget-container { max-width: 1200px; margin: 0 auto; background: white; box-shadow: 0 -10px 30px rgba(0,0,0,0.1); display: flex; }
.widget-sidebar { width: 250px; background: var(--tk-light-grey); }
.w-tab { padding: 25px 30px; font-weight: 700; color: var(--tk-dark); font-size: 14px; text-transform: uppercase; border-bottom: 1px solid var(--tk-border); cursor: pointer; display: flex; align-items: center; justify-content: space-between; border-left: 5px solid transparent; transition: 0.3s; }
.w-tab svg { width: 18px; fill: var(--tk-red); }
.w-tab.active { background: white; border-left-color: var(--tk-red); color: var(--tk-red); }
.w-tab.active svg { transform: rotate(90deg); transition: 0.3s; }
.widget-content { flex: 1; padding: 40px; display: none; }
.widget-content.active { display: block; animation: fadeIn 0.4s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.w-form-title { font-size: 24px; font-weight: 800; margin-bottom: 20px; color: var(--tk-dark); }
.w-input-group { display: flex; border: 1px solid var(--tk-border); border-radius: 4px; overflow: hidden; margin-bottom: 20px; }
.w-prefix { background: var(--tk-light-grey); color: var(--tk-grey); font-weight: 700; padding: 15px 20px; border-right: 1px solid var(--tk-border); font-size: 18px; }
.w-input-group input { flex: 1; border: none; padding: 15px 20px; font-size: 18px; outline: none; font-weight: 600; font-family: var(--tk-font); }
.w-input-group input:focus { background: #fafafa; }
.w-btn { background: var(--tk-red); color: white; border: none; padding: 0 40px; font-weight: 700; font-size: 14px; text-transform: uppercase; cursor: pointer; transition: 0.3s; }
.w-btn:hover { background: var(--tk-red-dark); }

/* SPECIAL CARGO GRID (Massive Density) */
.special-cargo-grid { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.sc-card { position: relative; height: 500px; overflow: hidden; display: flex; align-items: flex-end; cursor: pointer; }
.sc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.sc-card:hover img { transform: scale(1.05); }
.sc-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
.sc-content { position: relative; z-index: 2; padding: 60px; color: white; width: 100%; transition: 0.4s; transform: translateY(20px); }
.sc-card:hover .sc-content { transform: translateY(0); }
.sc-title { font-size: 36px; font-weight: 900; margin-bottom: 15px; display: flex; align-items: center; }
.sc-title svg { width: 30px; fill: var(--tk-red); margin-right: 15px; }
.sc-desc { font-size: 16px; opacity: 0; transition: 0.4s; height: 0; overflow: hidden; }
.sc-card:hover .sc-desc { opacity: 1; height: auto; margin-bottom: 20px; }
.sc-link { display: inline-flex; align-items: center; font-weight: 700; text-transform: uppercase; font-size: 13px; color: white; }
.sc-link svg { width: 16px; fill: var(--tk-red); margin-left: 10px; transition: 0.3s; }
.sc-card:hover .sc-link svg { transform: translateX(10px); }

/* FULL WIDTH HUB BANNER */
.hub-banner { position: relative; height: 700px; display: flex; align-items: center; }
.hub-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hub-banner::before { content:''; position:absolute; inset:0; background: rgba(0,0,0,0.6); }
.hub-content { position: relative; z-index: 2; max-width: 800px; color: white; }
.hub-tag { background: var(--tk-red); color: white; display: inline-block; padding: 5px 15px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.hub-content h2 { font-size: 64px; font-weight: 900; line-height: 1.1; margin-bottom: 30px; }

/* NEWS GRID (Turkish Cargo Boxed Style) */
.news-section { background: var(--tk-light-grey); padding: 100px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
.section-head h2 { font-size: 40px; font-weight: 900; color: var(--tk-dark); }
.view-all { font-weight: 700; color: var(--tk-red); display: flex; align-items: center; text-transform: uppercase; font-size: 14px; }
.view-all svg { width: 20px; fill: currentColor; margin-left: 10px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-item { background: white; border: 1px solid var(--tk-border); transition: 0.3s; display: block; }
.news-item:hover { border-color: var(--tk-red); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.ni-img { height: 250px; overflow: hidden; }
.ni-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.news-item:hover .ni-img img { transform: scale(1.05); }
.ni-content { padding: 30px; }
.ni-date { color: var(--tk-grey); font-size: 13px; font-weight: 600; margin-bottom: 15px; display: block; }
.ni-title { font-size: 20px; font-weight: 800; color: var(--tk-dark); line-height: 1.4; transition: 0.3s; }
.news-item:hover .ni-title { color: var(--tk-red); }

/* RIGID FOOTER */
footer { background: var(--tk-dark); color: white; padding: 80px 0 0; }
.f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.f-logo { margin-bottom: 30px; }
.f-logo span { color: var(--tk-red); }
.f-text { color: #999; font-size: 14px; margin-bottom: 30px; max-width: 300px; }
.f-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }
.f-col ul li { margin-bottom: 12px; }
.f-col ul li a { color: #999; font-size: 14px; font-weight: 500; }
.f-col ul li a:hover { color: white; }
.f-bottom { background: #15171b; padding: 25px 0; font-size: 13px; color: #777; display: flex; justify-content: space-between; align-items: center; }
.f-socials { display: flex; gap: 15px; }
.f-socials svg { width: 20px; fill: #999; transition: 0.3s; }
.f-socials a:hover svg { fill: white; }

/* GLOBALS */
.mt-space { margin-top: 100px; }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .special-cargo-grid { grid-template-columns: 1fr; }
    .sc-card { height: 400px; }
    .widget-container { margin: 0 40px; }
}
@media (max-width: 1024px) {
    .f-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .menu { display: none; }
    .header-top { display: none; }
}
@media (max-width: 768px) {
    .widget-container { flex-direction: column; margin: 0; box-shadow: none; border-bottom: 1px solid var(--tk-border); }
    .widget-sidebar { width: 100%; display: flex; overflow-x: auto; }
    .w-tab { border-left: none; border-bottom: 4px solid transparent; padding: 15px; font-size: 12px; }
    .w-tab.active { border-left-color: transparent; border-bottom-color: var(--tk-red); }
    .w-tab svg { display: none; }
    .hero-content h1 { font-size: 40px; }
    .news-grid { grid-template-columns: 1fr; }
    .f-grid { grid-template-columns: 1fr; }
    .hub-content h2 { font-size: 40px; }
}
