/* ============================================================
   crosscomcreative.com — site stili
   Renkler ve fontlar en üstte (:root). Bölümler yorumlarla ayrılmıştır.
   ============================================================ */

:root {
  --c-black: #181818;   /* ana zemin */
  --c-dark:  #313131;   /* koyu gri kutular */
  --c-red:   #ec1c24;   /* marka kırmızısı */
  --c-white: #ffffff;
  --c-gray:  #8c8c8c;   /* ikonlar, ikincil metin */
  --c-line:  #525252;
  --font: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-nav: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --container: 1280px;
}

/* ---------- temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.25; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.container.narrow { max-width: 840px; }
.text-center { text-align: center; }

.section-title { font-size: 50px; text-align: center; color: var(--c-red); line-height: 1.2; }
.section-title.white { color: var(--c-white); }
.section-sub { text-align: center; margin: 12px 0 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 8px 12px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-block;
  padding: 12px 44px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  text-transform: uppercase;
  border: 0;
  transition: background .2s, color .2s;
}
.btn-white { background: var(--c-white); color: var(--c-black); }
.btn-white:hover { background: var(--c-red); color: var(--c-white); }
.btn-red { background: var(--c-red); color: var(--c-white); padding: 10px 24px; }
.btn-red:hover { background: var(--c-white); color: var(--c-black); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; padding: 8px 18px; font-size: 14px; }

/* ---------- üst kısım / menü ---------- */
.site-header {
  position: relative;
  z-index: 60;
  background: var(--c-black);
  height: 120px;
  display: flex;
  align-items: center;
}
.site-header .container { display: flex; align-items: center; gap: 32px; }
.logo img { width: 224px; height: auto; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.menu { display: flex; align-items: center; gap: 22px; }
.menu > li { position: relative; }
.menu a {
  font-family: var(--font-nav);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .01em;
  color: var(--c-white);
  padding: 8px 0;
  display: inline-block;
  transition: color .2s;
}
.menu a:hover { color: var(--c-red); }
.menu .sub {
  position: absolute; top: 100%; left: 0;
  min-width: 140px;
  background: var(--c-black);
  padding: 8px 0;
  display: none;
  flex-direction: column;
}
.menu .sub a { padding: 6px 16px; display: block; text-transform: none; }
.menu .has-sub:hover .sub, .menu .has-sub:focus-within .sub, .menu .has-sub.open .sub { display: flex; }

.nav-extra { display: flex; align-items: center; gap: 22px; }
.social { display: flex; gap: 12px; }
.social a { color: var(--c-gray); display: inline-flex; transition: color .2s; }
.social a:hover { color: var(--c-white); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

.lang-switch { display: flex; background: var(--c-line); }
.lang-switch a {
  font-family: var(--font-nav);
  font-size: 14px;
  padding: 9px 12px;
  color: #bdbdbd;
}
.lang-switch a.active { color: var(--c-white); background: #444; }
.lang-switch a:hover { color: var(--c-white); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 8px;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-white); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- ana sayfa: hero ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: var(--c-black) center / cover no-repeat;
}
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.hero h1 {
  position: relative;
  font-size: 30px;
  line-height: 1.35;
  max-width: 860px;
  padding: 40px 20px;
}

/* ---------- ana sayfa: hizmetler ---------- */
.services { padding: 90px 0 0; }
.services .intro { max-width: 960px; margin: 28px auto 60px; text-align: center; }
.service-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: 20px;
}
.service-row.flip .service-text { order: 2; }
.service-text {
  background: var(--c-dark);
  min-height: 560px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 60px 48px;
}
.service-text h3 { color: var(--c-red); font-size: 28px; margin-bottom: 28px; }
.service-text ul { margin: 24px 0 44px; }
.service-text p { max-width: 460px; }
.service-img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }

/* ---------- ana sayfa: örnek işler ---------- */
.works { padding: 100px 0 80px; }
.works-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  margin-top: 60px;
}
.work-card {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--c-dark) center / cover no-repeat;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px;
  overflow: hidden;
}
.work-card::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .38); transition: background .3s; }
.work-card:hover::before { background: rgba(0, 0, 0, .55); }
.work-card > * { position: relative; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.work-card h3 { font-size: 28px; margin-bottom: 36px; }
.work-card p { margin: 0 0 28px; line-height: 1.7; }
.work-card .year { display: block; }
.work-card .btn { text-shadow: none; align-self: flex-start; }

/* ---------- ana sayfa: müşteriler ---------- */
.clients { background: #000; padding: 90px 0 100px; }
.client-rows { max-width: 980px; margin: 70px auto 0; }
.client-row {
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 30px;
  padding: 34px 40px;
}
.client-row:nth-child(even) { background: #151515; }
.client-row img { max-height: 66px; width: auto; max-width: 180px; margin: auto; object-fit: contain; }
.client-row.center { grid-template-columns: repeat(2, 200px); justify-content: center; }

/* ---------- ana sayfa: hakkımızda ---------- */
.about {
  position: relative;
  padding: 100px 0 90px;
  text-align: center;
  background: var(--c-red) center / cover no-repeat;
}
.about::before { content: ''; position: absolute; inset: 0; background: rgba(236, 28, 36, .82); }
.about .container { position: relative; max-width: 820px; }
.about .section-sub { margin-bottom: 40px; }

/* ---------- ana sayfa: ekip ---------- */
.team { background: var(--c-dark); padding: 100px 0; text-align: center; }
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px;
  max-width: 1080px; margin: 50px auto 0;
}
.team-grid img { width: 300px; height: 300px; object-fit: cover; filter: grayscale(1); margin: 0 auto 24px; }
.team-grid h3 { font-size: 28px; margin-bottom: 8px; }
.team-grid p { margin: 0; }

/* ---------- ana sayfa: ödüller ---------- */
.awards { background: var(--c-red); padding: 90px 0 70px; }
.awards-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  max-width: 980px; margin: 50px auto 0;
  align-items: start;
}
.award { background: var(--c-black); padding: 60px 64px 50px; }
.award h3 { color: var(--c-red); font-size: 28px; margin-bottom: 40px; line-height: 1.35; }
.award p { font-size: 14px; line-height: 1.8; margin: 0; }
.award .project { text-transform: uppercase; }
.award .dash { letter-spacing: 1px; }
.badge-band { background: var(--c-dark); max-width: 980px; margin: 60px auto 0; padding: 40px; text-align: center; }
.badge-band img { width: 100%; max-width: 520px; margin: auto; }

/* ---------- ana sayfa: iletişim ---------- */
.contact {
  position: relative;
  padding: 100px 0 90px;
  background: var(--c-dark) center / cover no-repeat;
}
.contact::before { content: ''; position: absolute; inset: 0; background: rgba(24, 24, 24, .78); }
.contact .container { position: relative; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  max-width: 980px; margin: auto;
}
.contact h2 { font-size: 60px; margin-bottom: 24px; }
.contact-info p { margin: 0 0 22px; font-size: 20px; }
.contact-info .social { margin-top: 10px; }
.contact-info .social a { color: var(--c-white); }
.contact-form { display: grid; gap: 14px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--c-white);
  color: var(--c-white);
  font: inherit; font-weight: 300; font-size: 16px;
  padding: 12px 8px;
  border-radius: 0;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form ::placeholder { color: #cfcfcf; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--c-red); }
.contact-form .btn { width: 100%; margin-top: 30px; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-msg { margin: 10px 0 0; font-weight: 400; }
.form-msg.ok { color: #7be27b; }
.form-msg.err { color: #ffb3b3; }

.map {
  position: relative;
  max-width: 980px; margin: 80px auto 0;
  aspect-ratio: 2 / 1;
  background: #e5e3df;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: #444; text-align: center; padding: 20px;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map small { font-weight: 400; font-size: 13px; }

/* ---------- footer ---------- */
.site-footer { padding: 50px 0; text-align: center; font-weight: 300; font-size: 14px; }
.site-footer p { margin: 0; }

/* ---------- alt sayfalar: hero ---------- */
.page-hero { background: var(--c-dark); padding: 110px 0 100px; text-align: center; }
.hero-circle { width: 400px; height: 400px; border-radius: 50%; object-fit: cover; margin: 0 auto 70px; }
.page-hero h1 { font-size: 50px; }
.page-hero .subtitle { font-size: 20px; margin: 36px 0 20px; }
.page-hero .lead { max-width: 760px; margin: 0 auto; }
.page-hero h1 + .lead { margin-top: 36px; }
.page-hero .lead + .lead { margin-top: 1em; }

/* ---------- alt sayfalar: galeri kaydırıcı ---------- */
.gallery-section { padding: 80px 0; }
.slider { position: relative; }
.slider-track {
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 80px;
  scroll-padding-inline: 80px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 auto; scroll-snap-align: start; height: 600px; cursor: zoom-in; }
.slide img { height: 100%; width: auto; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 90px;
  background: rgba(0, 0, 0, .35); border: 0; color: var(--c-white);
  font-size: 54px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: .9; transition: background .2s;
}
.slider-btn:hover { background: rgba(236, 28, 36, .85); }
.slider-btn.prev { left: 80px; }
.slider-btn.next { right: 80px; }
.slider.single .slider-btn { display: none; }
.slider.single .slider-track { justify-content: center; }

/* ---------- alt sayfalar: hizmet detayı ---------- */
.offer {
  padding: 120px 0 0;
  text-align: center;
  background: linear-gradient(to bottom, var(--c-red) calc(100% - 240px), var(--c-black) calc(100% - 240px));
}
.offer h2 { font-size: 60px; }
.offer .intro { max-width: 960px; margin: 40px auto 0; }
.offer .intro p:last-child { margin-bottom: 0; }
.offer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  text-align: left; margin-top: 90px;
}
.offer-card {
  position: relative;
  min-height: 500px;
  background: var(--c-dark) center / cover no-repeat;
  display: flex; align-items: center;
  padding: 80px 40px 60px;
}
.offer-card::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .58); }
.offer-card > div { position: relative; max-width: 430px; }
.offer-card h3 { font-size: 28px; margin-bottom: 24px; }
.offer-card p:last-child { margin-bottom: 0; }

.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; }
.tile { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.tile.text { background: var(--c-black); }
.tile.text h3 { color: var(--c-red); font-size: 24px; text-transform: uppercase; line-height: 1.3; }
.tile.img { background: var(--c-dark) center / cover no-repeat; }

/* ---------- alt sayfalar: video ---------- */
.video-hero .subtitle { margin-bottom: 0; }
.video-hero video { width: 100%; max-width: 960px; margin: 50px auto 0; background: #000; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, .93);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; }
body { overflow-x: hidden; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--c-white);
  font-size: 56px; line-height: 1; padding: 10px 18px; opacity: .85;
}
.lightbox button:hover { opacity: 1; color: var(--c-red); }
.lb-close { top: 10px; right: 16px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- çerez bandı (sadece analytics açıksa görünür) ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--c-white); color: var(--c-black);
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; font-weight: 400; line-height: 1.5;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; max-width: 760px; }
.cookie-actions { display: flex; gap: 10px; }

/* ============================================================
   DUYARLI (responsive) KURALLAR
   ============================================================ */
@media (max-width: 1100px) {
  .site-header { height: 84px; }
  .logo img { width: 180px; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; top: 84px; left: 0; right: 0;
    background: var(--c-black);
    flex-direction: column; align-items: stretch; gap: 18px;
    padding: 20px 20px 28px;
    border-top: 1px solid #2a2a2a;
  }
  .site-nav.open { display: flex; }
  .menu { flex-direction: column; align-items: flex-start; gap: 4px; }
  .menu .sub { position: static; display: flex; padding: 0 0 4px 16px; }
  .nav-extra { justify-content: space-between; }
}

@media (max-width: 900px) {
  body { font-size: 17px; }
  .section-title { font-size: 36px; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 24px; }
  .service-row, .service-row.flip { grid-template-columns: 1fr; }
  .service-row.flip .service-text { order: 0; }
  .service-text { min-height: 0; padding: 50px 24px; }
  .service-img { min-height: 0; aspect-ratio: 1 / 1; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .work-card { padding: 28px; }
  .work-card h3 { font-size: 22px; margin-bottom: 20px; }
  .client-row { grid-template-columns: repeat(2, 1fr); padding: 24px 20px; }
  .client-row.center { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .awards-grid { grid-template-columns: 1fr; gap: 24px; }
  .award { padding: 40px 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact h2 { font-size: 44px; }
  .page-hero { padding: 70px 0 60px; }
  .hero-circle { width: 260px; height: 260px; margin-bottom: 40px; }
  .page-hero h1 { font-size: 34px; }
  .slide { height: 320px; }
  .slider-track { padding: 0 20px; scroll-padding-inline: 20px; }
  .slider-btn.prev { left: 12px; }
  .slider-btn.next { right: 12px; }
  .offer { padding-top: 70px; }
  .offer h2 { font-size: 40px; }
  .offer-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .offer-card { min-height: 0; padding: 60px 24px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); margin-top: 50px; }
  .tile.text h3 { font-size: 18px; }
}

@media (max-width: 560px) {
  .works-grid { grid-template-columns: 1fr; }
  .work-card { aspect-ratio: 4 / 3; }
  .contact-form .row2 { grid-template-columns: 1fr; }
  .client-row img { max-height: 48px; }
  .hero-circle { width: 200px; height: 200px; }
  .slide { height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
