/* ============================================================
   BPC Altyapı ve Otomasyon — Ana Stil Dosyası
   ============================================================ */

:root {
  --primary:    #28b78d;
  --primary-dk: #1e9370;
  --dark:       #243743;
  --dark-2:     #1a2b36;
  --light-bg:   #f4f6f8;
  --text:       #3a4a56;
  --muted:      #8a949b;
  --border:     #e0e6ea;
  --white:      #ffffff;
  --shadow:     0 4px 24px rgba(36,55,67,.10);
  --radius:     10px;
  --transition: .22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.65; font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── HEADER ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--dark); box-shadow: 0 2px 16px rgba(0,0,0,.18); transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease; }
.site-header.scrolled { background: rgba(26,43,54,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 2px 24px rgba(0,0,0,.32); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 96px; display: flex; align-items: center; gap: 16px; }

.search-toggle { color: var(--muted); font-size: 18px; padding: 6px; border-radius: 6px; transition: color var(--transition); flex-shrink: 0; }
.search-toggle:hover { color: var(--white); }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 96px; width: auto; object-fit: contain; transform: scale(3.0); transform-origin: center center; }
.brand-name { display: none; }

.site-nav { flex: 1; display: flex; justify-content: flex-end; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; }
.site-nav > ul > li { position: relative; }

.nav-item { display: flex; align-items: center; gap: 4px; padding: 8px 13px; border-radius: 6px; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 500; letter-spacing: .01em; transition: background var(--transition), color var(--transition); white-space: nowrap; }
.nav-item:hover, .nav-item.active { background: rgba(255,255,255,.1); color: var(--white); }
.nav-arrow { font-size: 9px; opacity: .65; }

.dropdown { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 6px 0; z-index: 200; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown li button { display: block; width: 100%; text-align: left; padding: 10px 18px; font-size: 14px; color: var(--text); transition: background var(--transition), color var(--transition); }
.dropdown li button:hover { background: var(--light-bg); color: var(--primary); }

.lang-toggle { flex-shrink: 0; padding: 5px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; letter-spacing: .05em; transition: background var(--transition), color var(--transition); }
.lang-toggle:hover, .lang-toggle.active-en { background: var(--primary); border-color: var(--primary); color: var(--white); }

.search-bar { background: var(--dark-2); padding: 10px 24px; }
.search-bar.hidden { display: none; }
.search-bar input { width: 100%; max-width: 600px; display: block; margin: 0 auto; padding: 10px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; background: rgba(255,255,255,.08); color: var(--white); font-size: 14px; outline: none; transition: border-color var(--transition); }
.search-bar input::placeholder { color: rgba(255,255,255,.4); }
.search-bar input:focus { border-color: var(--primary); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--transition); }

/* ── COMMON ── */
section { padding: 88px 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.section-title { font-size: clamp(26px, 4vw, 42px); font-weight: 800; color: var(--dark); margin-bottom: 14px; line-height: 1.18; letter-spacing: -.025em; }
.section-title .accent { background: linear-gradient(90deg, #28b78d 0%, #4dd4ac 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-sub { font-size: 15.5px; color: var(--muted); max-width: 560px; }

/* ── HERO ── */
#hero { padding: 0; height: 100vh; min-height: 560px; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a2b36 0%, #243743 55%, #1e3a30 100%); overflow: hidden; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 72% 48%, rgba(40,183,141,.2) 0%, transparent 62%); z-index: 5; pointer-events: none; }
.hero-bg.has-slides::after { background: linear-gradient(to right, rgba(5,15,22,0.88) 0%, rgba(5,15,22,0.6) 50%, rgba(5,15,22,0.3) 100%); }

/* Ken Burns slides */
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; z-index: 0; transition: opacity 1.5s ease; }
.hero-slide.active { opacity: 1; }
@keyframes kenburns-1 { 0% { transform: scale(1)    translateX(0)     translateY(0); }    100% { transform: scale(1.12) translateX(-2%)   translateY(-1%); } }
@keyframes kenburns-2 { 0% { transform: scale(1.08) translateX(-1.5%) translateY(0); }    100% { transform: scale(1)    translateX(1%)    translateY(-1.5%); } }
@keyframes kenburns-3 { 0% { transform: scale(1)    translateX(1%)    translateY(-1%); }  100% { transform: scale(1.1)  translateX(-1%)   translateY(1%); } }
@keyframes kenburns-4 { 0% { transform: scale(1.1)  translateX(0)     translateY(1%); }   100% { transform: scale(1)    translateX(-1.5%) translateY(0); } }
.hero-slide.active { animation: kenburns-1 8s ease-in-out forwards; }
.hero-slide.active.kb-2 { animation-name: kenburns-2; }
.hero-slide.active.kb-3 { animation-name: kenburns-3; }
.hero-slide.active.kb-4 { animation-name: kenburns-4; }
.hero-content { position: relative; z-index: 10; max-width: 680px; padding: 150px 24px 90px; margin: 0 auto 0 9%; }
.hero-tag { display: inline-block; background: rgba(40,183,141,.25); color: #7dffd6; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 22px; border: 1px solid rgba(40,183,141,.4); }
.hero-title { font-size: clamp(34px, 5.5vw, 62px); font-weight: 800; color: #ffffff; line-height: 1.1; margin-bottom: 20px; letter-spacing: -.03em; text-shadow: 0 2px 24px rgba(0,0,0,.7); }
.hero-title span { color: #6dffd8; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.95); margin-bottom: 36px; max-width: 500px; line-height: 1.75; font-weight: 400; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero-cta { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #28b78d 0%, #20d4a8 100%); color: var(--white); font-size: 15px; font-weight: 600; padding: 15px 30px; border-radius: 10px; box-shadow: 0 4px 22px rgba(40,183,141,.4); transition: transform .22s ease, box-shadow .22s ease; }
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(40,183,141,.55); }
.hero-stats { display: flex; align-items: center; gap: 0; margin-top: 40px; }
.hero-stat { display: flex; flex-direction: column; padding: 0 24px 0 0; }
.hero-stat:first-child { padding-left: 0; }
.stat-num { font-size: 26px; font-weight: 800; color: #7dffd6; line-height: 1; letter-spacing: -.03em; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.stat-label { font-size: 12px; color: rgba(255,255,255,.9); margin-top: 3px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.3); margin-right: 24px; flex-shrink: 0; }

/* ── ABOUT ── */
#about { background: var(--white); position: relative; }
#about::before { content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 3px; background: linear-gradient(to bottom, transparent, rgba(40,183,141,.6), transparent); border-radius: 0 2px 2px 0; }
.about-tabs { display: flex; gap: 4px; margin: 32px 0 28px; border-bottom: 2px solid var(--border); }
.about-tab-btn { padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color var(--transition), border-color var(--transition); }
.about-tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.about-tab-btn:hover { color: var(--primary); }
.about-panel { display: none; animation: fadeIn .3s ease; }
.about-panel.active { display: block; }
.about-text { max-width: 740px; font-size: 15.5px; line-height: 1.85; color: var(--text); }

/* About — rich content */
.about-lead { font-size: 20px; font-weight: 700; color: var(--dark); line-height: 1.55; max-width: 760px; margin-bottom: 20px; letter-spacing: -.015em; }
.about-body { font-size: 15px; color: var(--text); line-height: 1.85; max-width: 760px; margin-bottom: 28px; }
.about-highlight { background: rgba(40,183,141,.08); border-left: 3px solid var(--primary); padding: 16px 20px; border-radius: 0 6px 6px 0; margin: 24px 0; max-width: 760px; font-size: 15px; color: var(--dark); font-style: italic; line-height: 1.7; }
.about-offices { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.about-office-card { background: var(--light-bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; min-width: 160px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.about-office-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(36,55,67,.12); border-color: rgba(40,183,141,.35); }
.about-office-card .office-flag { font-size: 22px; margin-bottom: 6px; }
.about-office-card .office-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin-bottom: 3px; }
.about-office-card .office-name { font-size: 13.5px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.about-office-card .office-city { font-size: 12px; color: var(--muted); }
.about-timeline { margin-top: 8px; max-width: 760px; }
.about-timeline-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.about-timeline-item:last-child { border-bottom: none; }
.about-timeline-dot { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(40,183,141,.15); display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 700; font-size: 11px; margin-top: 2px; }
.about-timeline-content .tl-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.about-timeline-content .tl-text { font-size: 14px; color: var(--text); line-height: 1.7; }
.mission-pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; }
.mission-pillar { background: var(--light-bg); border: 1px solid var(--border); border-radius: 10px; padding: 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.mission-pillar:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(36,55,67,.13); border-color: rgba(40,183,141,.35); }
.mission-pillar .mp-icon { font-size: 24px; margin-bottom: 10px; }
.mission-pillar .mp-title { font-size: 13.5px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.mission-pillar .mp-text { font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 600px) {
  .about-offices { flex-direction: column; }
  .about-office-card { min-width: unset; }
  .mission-pillars { grid-template-columns: 1fr 1fr; }
}

/* ── CATEGORIES ── */
#categories { background: var(--light-bg); background-image: radial-gradient(circle, rgba(40,183,141,.055) 1px, transparent 1px); background-size: 28px 28px; }

/* ── CAT CARDS ── */
.cat-cards { display: flex; gap: 16px; margin-top: 40px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.cat-cards::-webkit-scrollbar { height: 4px; }
.cat-cards::-webkit-scrollbar-thumb { background: rgba(40,183,141,.35); border-radius: 2px; }
.cat-card { position: relative; flex: 1 1 0; min-width: 180px; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; cursor: pointer; scroll-snap-align: start; transition: transform .3s ease, box-shadow .3s ease; }
.cat-card:hover { transform: scale(1.03); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.cat-card-bg { position: absolute; inset: 0; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #243743; transition: background-image .3s ease; }
.cat-card:hover .cat-card-bg { }
.cat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,28,.85) 0%, rgba(10,20,28,.25) 50%, transparent 100%); }
.cat-card-label { position: absolute; bottom: 18px; left: 16px; right: 16px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .01em; line-height: 1.3; }
.cat-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.45); border: none; color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s ease; z-index: 10; }
.cat-nav-btn:hover { background: rgba(0,0,0,.7); }
.cat-nav-btn.prev { left: 8px; }
.cat-nav-btn.next { right: 8px; }
.cat-card:hover .cat-nav-btn { opacity: 1; }
.cat-img-dots { position: absolute; bottom: 44px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; opacity: 0; transition: opacity .2s ease; z-index: 10; }
.cat-img-dots span { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.5); transition: background .2s; }
.cat-img-dots span.active { background: #fff; }
.cat-card:hover .cat-img-dots { opacity: 1; }

/* ── CAT MODAL ── */
.cat-modal-overlay { position: fixed; inset: 0; background: rgba(10,18,26,.75); backdrop-filter: blur(6px); z-index: 1100; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s ease; padding: 20px; }
.cat-modal-overlay.open { opacity: 1; pointer-events: all; }
.cat-modal { background: var(--white); border-radius: 16px; width: 100%; max-width: 860px; max-height: 88vh; overflow-y: auto; position: relative; transform: translateY(24px); transition: transform .3s ease; }
.cat-modal-overlay.open .cat-modal { transform: none; }
.cat-modal-close { position: absolute; top: 16px; right: 18px; font-size: 26px; color: var(--muted); background: none; border: none; cursor: pointer; line-height: 1; z-index: 2; }
.cat-modal-close:hover { color: var(--dark); }
.cat-modal-header { padding: 32px 40px 20px; border-bottom: 1px solid var(--border); }
.cat-modal-title { font-size: 24px; font-weight: 800; color: var(--dark); letter-spacing: -.02em; }
.cat-modal-body { padding: 28px 40px 36px; }
.cat-modal-desc { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 28px; }
.cat-modal-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.cat-modal-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.cat-modal-gallery img:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,.18); }

/* ── PROJECTS ── */
#projects { background: var(--white); }
.project-filters { display: flex; gap: 10px; margin: 32px 0; flex-wrap: wrap; }
.filter-btn { padding: 9px 20px; border-radius: 24px; border: 1.5px solid var(--border); font-size: 14px; font-weight: 500; color: var(--text); background: var(--white); transition: all var(--transition); }
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.project-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; cursor: pointer; background: var(--dark); aspect-ratio: 4/3; transition: transform .28s ease, box-shadow .28s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(36,55,67,.18); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .4s ease; }
.project-card:hover img { transform: scale(1.07); opacity: .5; }
.project-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(to top, rgba(26,43,54,.92) 0%, rgba(26,43,54,.1) 50%, transparent 100%); opacity: 0; transition: opacity .3s ease; }
.project-card:hover .project-overlay { opacity: 1; }
.project-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.project-desc { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-badge { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.project-badge.completed { background: var(--primary); color: var(--white); }
.project-badge.ongoing { background: #f59e0b; color: var(--white); }
.project-card.hidden { display: none; }

/* ── PROJECT MODAL ── */
.project-modal-overlay { position: fixed; inset: 0; background: rgba(10,20,28,.82); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.project-modal-overlay.open { opacity: 1; pointer-events: all; }
.project-modal { background: var(--white); border-radius: 12px; width: 100%; max-width: 780px; max-height: 90vh; overflow-y: auto; position: relative; transform: translateY(18px); transition: transform .25s ease; }
.project-modal-overlay.open .project-modal { transform: translateY(0); }
.project-modal-hero { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px 12px 0 0; display: block; background: var(--dark); }
.project-modal-hero-placeholder { height: 200px; background: linear-gradient(135deg, var(--dark) 0%, #1e3a30 100%); border-radius: 12px 12px 0 0; display: flex; align-items: center; justify-content: center; }
.project-modal-body { padding: 28px 32px 32px; }
.project-modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; z-index: 2; }
.project-modal-close:hover { background: rgba(0,0,0,.65); }
.project-modal-badge { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 700; letter-spacing: .04em; margin-bottom: 12px; }
.project-modal-badge.completed { background: rgba(40,183,141,.15); color: var(--primary); }
.project-modal-badge.ongoing { background: rgba(245,158,11,.15); color: #d97706; }
.project-modal-title { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 14px; line-height: 1.3; }
.project-modal-desc { font-size: 15px; color: var(--text); line-height: 1.8; }
.project-modal-desc p { margin-bottom: 12px; }
.project-modal-desc p:last-child { margin-bottom: 0; }
.project-modal-desc h2 { font-size: 18px; font-weight: 700; color: var(--dark); margin: 22px 0 8px; }
.project-modal-desc h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin: 18px 0 6px; }
.project-modal-desc strong { color: var(--dark); }
.project-modal-desc em { color: var(--text); }
.project-modal-desc ul, .project-modal-desc ol { padding-left: 22px; margin-bottom: 12px; }
.project-modal-desc li { margin-bottom: 5px; }
.project-modal-desc blockquote { border-left: 3px solid var(--primary); padding: 10px 16px; margin: 16px 0; background: rgba(40,183,141,.06); color: var(--text); border-radius: 0 6px 6px 0; font-style: italic; }
.project-modal-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.project-modal-gallery img { width: 100%; height: 140px; object-fit: cover; border-radius: 6px; cursor: zoom-in; transition: opacity .2s, transform .2s; }
.project-modal-gallery img:hover { opacity: .88; transform: scale(1.02); }

/* ── LIGHTBOX ── */
.lightbox { position: fixed; inset: 0; background: rgba(5,12,18,.95); z-index: 1100; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 4px; box-shadow: 0 8px 40px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 18px; right: 20px; color: #fff; font-size: 30px; cursor: pointer; opacity: .8; transition: opacity .2s; line-height: 1; }
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 36px; cursor: pointer; opacity: .7; padding: 10px 18px; transition: opacity .2s; user-select: none; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: 13px; }

@media (max-width: 600px) {
  .project-modal-body { padding: 20px; }
  .project-modal-title { font-size: 18px; }
  .project-modal-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ── REFERENCES ── */
#references { background: var(--light-bg); background-image: radial-gradient(circle, rgba(40,183,141,.055) 1px, transparent 1px); background-size: 28px 28px; overflow: hidden; }
.ref-rows { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.ref-row { overflow: hidden; }
.ref-row-inner { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 35s linear infinite; background: #f4f6f8; }
.ref-row:nth-child(2) .ref-row-inner { animation-direction: reverse; animation-duration: 42s; }
.ref-row-inner img { height: 160px; width: auto; max-width: 480px; object-fit: contain; filter: grayscale(30%); opacity: .75; mix-blend-mode: multiply; transition: filter .3s ease, opacity .3s ease, transform .3s ease; flex-shrink: 0; }
.ref-row-inner img:hover { filter: grayscale(0); opacity: 1; transform: scale(1.12); }
.ref-row-static { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; padding: 12px 0; }
.ref-row-static img { height: 176px; width: auto; max-width: 560px; object-fit: contain; filter: grayscale(20%); opacity: .8; mix-blend-mode: multiply; transition: filter .3s ease, opacity .3s ease, transform .3s ease; }
.ref-row-static img:hover { filter: grayscale(0); opacity: 1; transform: scale(1.1); }

/* ── CONTACT ── */
#contact { background: var(--dark); position: relative; overflow: hidden; }
.contact-bg-blob { position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(40,183,141,.12) 0%, transparent 70%); pointer-events: none; }
#contact .section-label { color: var(--primary); }
#contact .section-title { color: var(--white); }
#contact .section-sub { color: rgba(255,255,255,.55); }
.contact-header { margin-bottom: 52px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

/* Floating label form */
.contact-form { display: flex; flex-direction: column; gap: 0; }
.cf-field { position: relative; margin-bottom: 36px; }
.cf-field input, .cf-field textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,.15); padding: 12px 0 10px; color: var(--white); font-size: 15px; font-family: inherit; outline: none; transition: border-color .3s ease; resize: none; }
.cf-field textarea { min-height: 90px; }
.cf-field label { position: absolute; top: 12px; left: 0; font-size: 14px; color: rgba(255,255,255,.4); pointer-events: none; transition: top .25s ease, font-size .25s ease, color .25s ease; }
.cf-field input:focus ~ label, .cf-field input:not(:placeholder-shown) ~ label,
.cf-field textarea:focus ~ label, .cf-field textarea:not(:placeholder-shown) ~ label { top: -14px; font-size: 11px; color: var(--primary); letter-spacing: .06em; text-transform: uppercase; }
.cf-line { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: width .35s ease; border-radius: 2px; }
.cf-field input:focus ~ .cf-line, .cf-field textarea:focus ~ .cf-line { width: 100%; }
.cf-btn { display: inline-flex; align-items: center; gap: 10px; background: transparent; border: 1.5px solid var(--primary); color: var(--primary); padding: 14px 28px; border-radius: 40px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .25s ease, color .25s ease, transform .22s ease, box-shadow .22s ease; width: fit-content; margin-top: 8px; }
.cf-btn:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(40,183,141,.35); }
.cf-btn svg { transition: transform .25s ease; }
.cf-btn:hover svg { transform: translateX(4px); }
.form-success { display: none; color: var(--primary); font-size: 14px; margin-top: 16px; font-weight: 600; }

/* Contact info right side */
.contact-info { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: 8px; }
.contact-tagline { font-size: 28px; font-weight: 700; color: var(--white); line-height: 1.4; }
.contact-sub-text { font-size: 15px; color: rgba(255,255,255,.45); line-height: 1.6; margin-top: -12px; }
.contact-detail-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.contact-detail-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,.55); transition: color .2s ease; }
.contact-detail-item svg { color: var(--primary); flex-shrink: 0; }
.contact-detail-item:hover { color: var(--primary); }

/* ── FOOTER ── */
.site-footer { background: var(--dark-2); padding: 56px 24px 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; align-items: start; }
.footer-logo { height: 64px; width: auto; object-fit: contain; transform: scale(2.2); transform-origin: left center; margin-bottom: 24px; display: block; }
.footer-addresses { display: flex; flex-direction: column; gap: 16px; margin-bottom: 12px; }
.footer-address { display: flex; flex-direction: column; gap: 2px; }
.footer-address-city { font-size: 13px; font-weight: 700; color: var(--white); }
.footer-address-line { font-size: 12px; color: rgba(255,255,255,.45); }
.footer-contact-line { font-size: 12px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-contact-line:hover { color: var(--primary); }
.footer-email { font-size: 13px; color: var(--primary); margin-top: 4px; display: inline-block; transition: opacity .2s; }
.footer-email:hover { opacity: .8; }
.footer-center { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-social { display: flex; gap: 10px; }
.footer-social-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.65); transition: background .2s, color .2s; }
.footer-social-btn:hover { background: var(--primary); color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.35); line-height: 1.6; }
.footer-slogan { font-size: 11px; color: rgba(40,183,141,.55); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.footer-newsletter { display: flex; flex-direction: column; gap: 10px; }
.footer-nl-title { font-size: 13px; font-weight: 800; color: var(--white); letter-spacing: .08em; text-transform: uppercase; }
.footer-nl-sub { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.6; }
.footer-nl-form { display: flex; gap: 0; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.footer-nl-form input { flex: 1; background: rgba(255,255,255,.06); border: none; padding: 11px 14px; font-size: 13px; color: var(--white); outline: none; }
.footer-nl-form input::placeholder { color: rgba(255,255,255,.3); }
.footer-nl-form button { background: var(--primary); color: var(--white); border: none; padding: 11px 18px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s; white-space: nowrap; }
.footer-nl-form button:hover { background: #1e9370; }
.footer-nl-msg { font-size: 12px; color: var(--primary); min-height: 18px; }

/* ── ANIMATIONS ── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Scroll animasyonları */
[data-animate] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].visible { opacity: 1; transform: none; }
[data-animate][data-delay="1"] { transition-delay: .1s; }
[data-animate][data-delay="2"] { transition-delay: .2s; }
[data-animate][data-delay="3"] { transition-delay: .3s; }
[data-animate][data-delay="4"] { transition-delay: .4s; }
.loading-spinner { display: flex; justify-content: center; padding: 40px; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--dark); flex-direction: column; padding: 8px 0 16px; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; width: 100%; gap: 0; }
  .nav-item { padding: 12px 24px; border-radius: 0; width: 100%; }
  .dropdown { position: static; box-shadow: none; border: none; border-top: 1px solid rgba(255,255,255,.07); background: rgba(0,0,0,.2); display: block !important; }
  .hamburger { display: flex; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-tagline { font-size: 18px; }
  .header-inner { height: 64px; padding: 0 16px; gap: 10px; }
  .brand { flex: 1; }
  .brand img { height: 44px; transform: scale(3.0); transform-origin: left center; }
  .search-toggle { padding: 4px; }
  .lang-toggle { padding: 4px 10px; font-size: 12px; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .hero-content { margin: 0 auto; padding: 110px 20px 70px; text-align: center; }
  .hero-sub { margin: 0 auto 32px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { height: 56px; padding: 0 12px; gap: 8px; }
  .brand img { height: 38px; transform: scale(3.0); transform-origin: left center; }
  /* Kategoriler: yatay scroll yerine 2 kolonlu grid */
  .cat-cards { display: grid; grid-template-columns: 1fr 1fr; overflow-x: unset; scroll-snap-type: unset; padding-bottom: 0; }
  .cat-card { min-width: unset; scroll-snap-align: unset; aspect-ratio: 3/4; }
  /* Footer: 3 kolon → tek kolon */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo { transform: scale(1.4); }
  /* Referans logoları: küçült */
  .ref-row-inner img { height: 80px; max-width: 200px; }
  .ref-row-inner { gap: 24px; }
  /* Hero stats: wrap + divider gizle */
  .hero-stats { flex-wrap: wrap; gap: 16px; margin-top: 24px; }
  .hero-stat { padding: 0; }
  .hero-stat-divider { display: none; }
  .stat-num { font-size: 20px; }
}
@media (max-width: 400px) {
  .projects-grid { grid-template-columns: 1fr; }
}
