/* Tamer Çiçek — static site styles */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/montserrat-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/montserrat-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #2b5279;
  --accent-2: #0d3885;
  --footer: #1d527c;
  --hero-mobile: #1759a7;
  --heading: #06163a;
  --text: #2c2c2c;
  --line: #c9c9c9;
  --link-hover: #3764eb;
  --header-h: 60px;
  --gutter: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 300 15px/1.33 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--heading); text-decoration: none; transition: color .2s; }
a:hover { color: var(--link-hover); }
strong, b { font-weight: 700; }
h1, h2, h3 { margin: 0; color: var(--heading); }
p { margin: 0 0 15px; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; padding: 8px 12px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--link-hover); outline-offset: 2px; }

.wrap { max-width: calc(1260px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: 20px; padding-bottom: 90px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo img { width: 240px; height: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.main-nav a, .lang-current {
  display: flex; align-items: center; gap: 6px;
  padding: 10px;
  font-size: 15px; font-weight: 300; text-transform: uppercase;
  color: var(--heading);
}
.main-nav a:hover, .lang-current:hover { color: var(--link-hover); }
.main-nav a[aria-current="page"] { color: var(--accent); font-weight: 400; }
.lang { position: relative; }
.lang-current { color: var(--accent); }
.flag { flex: none; border-radius: 1px; }
.lang-menu {
  list-style: none; margin: 0; padding: 6px 0;
  position: absolute; right: 0; top: 100%; min-width: 150px;
  background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.lang:hover .lang-menu, .lang:focus-within .lang-menu, .lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { padding: 8px 16px; }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--heading); transition: .25s; }
.nav-toggle i:nth-of-type(1) { top: 15px; }
.nav-toggle i:nth-of-type(2) { top: 21px; }
.nav-toggle i:nth-of-type(3) { top: 27px; }
.nav-open .nav-toggle i:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle i:nth-of-type(2) { opacity: 0; }
.nav-open .nav-toggle i:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  height: 600px;
  background: #1d4fa0 url(/wp-content/uploads/2022/07/1920x600px-copy-copy-1alt.webp) 72% top / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero-inner { max-width: 1240px; margin: 0 auto; padding: 50px 0 0 10px; position: relative; height: 100%; }
.hero h1 { color: #fff; font-size: 28px; line-height: 34px; font-weight: 300; }
.hero-text {
  position: absolute; left: 15px; top: 106px; width: 626px;
  margin: 0; padding-left: 18px;
  font-size: 18px; line-height: 26px; font-weight: 600;
}
.hero-text::before { content: ''; position: absolute; left: 0; top: 4px; width: 2px; height: 460px; max-height: calc(100% + 10px); background: #fff; }
.hero-text-mobile, .hero-mobile-img { display: none; }

/* ---------------------------------------------------------------- home story rows
   Each photo and the text it belongs to now share one grid row, so they always line up. */
.story { padding-top: 60px; padding-bottom: 80px; }
.story-row {
  display: grid;
  grid-template-columns: minmax(0, 35%) minmax(0, 1fr);
  column-gap: 90px;
  align-items: center;
  padding: 50px 0;
}
figure.story-media img { width: 100%; aspect-ratio: 630 / 545; object-fit: cover; }
.story-brands {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: left;
  padding: 30px 0;
  background: url(/wp-content/uploads/2017/08/shape-bg.svg) center / contain no-repeat;
}
.story-brands .brands-title { align-self: flex-start; margin-left: 15%; font-size: 28px; line-height: 1.36; font-weight: 300; }
.story-brands img { width: 251px; max-width: 100%; height: auto; margin-top: 10px; }
.story-text h2 { font-size: 28px; line-height: 1.36; font-weight: 300; margin: 8px 0 28px; }
.story-text p { line-height: 1.33; }
.story-logo { width: var(--logo-w); max-width: 100%; height: auto; margin-bottom: 18px; }
.story-logo-link { display: inline-block; }
.story-sep { display: grid; grid-template-columns: minmax(0, 35%) minmax(0, 1fr); column-gap: 90px; }
.story-sep span { grid-column: 2; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- inner page title */
.page-title { background: var(--accent); color: #fff; }
.page-title-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 180px; padding-top: 20px; padding-bottom: 20px; }
.page-title h1 { color: #fff; font-size: 28px; line-height: 1.14; font-weight: 600; padding-bottom: 18px; position: relative; }
.page-title h1::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 1px; background: rgba(255, 255, 255, .7); }
.breadcrumb { font-size: 15px; font-weight: 400; white-space: nowrap; }
.breadcrumb a, .breadcrumb span { color: #fff; }
.breadcrumb a:hover { color: #dbe6ff; }
.breadcrumb .sep { margin: 0 2px; }
.page-title + .section { padding-top: 30px; }

/* ---------------------------------------------------------------- media */
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 50px; }
.media-card a { display: block; color: #000; }
.media-card figure { overflow: hidden; }
.media-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.media-card a:hover img { transform: scale(1.04); }
.media-body { padding: 20px 30px 10px; }
.media-body h2 { font-size: 28px; line-height: 1.36; font-weight: 400; color: var(--heading); margin-bottom: 8px; }
.media-body p { font-size: 15px; line-height: 2; font-weight: 400; }
.media-card a:hover h2 { color: var(--link-hover); }

/* ---------------------------------------------------------------- photos (tiled) */
.tiled { display: flex; flex-direction: column; gap: 4px; }
.trow { display: flex; gap: 4px; }
.tgroup { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile { display: block; overflow: hidden; background: #eee; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.03); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 12, 25, .92);
  display: flex; align-items: center; justify-content: center; padding: 50px 60px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; }
.lightbox figcaption { color: #fff; margin-top: 12px; text-align: center; font-weight: 400; }
.lightbox .lb-btn { position: absolute; color: #fff; font-size: 34px; line-height: 1; width: 48px; height: 48px; display: grid; place-items: center; }
.lightbox .lb-close { top: 10px; right: 12px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-video { width: min(1100px, 100%); aspect-ratio: 16 / 9; }
.lightbox iframe { width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------- videos */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; }
.video-thumb { display: block; position: relative; width: 100%; overflow: hidden; }
.video-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.video-thumb:hover img { transform: scale(1.03); }
.play {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%; background: rgba(13, 56, 133, .85); transition: background .2s, transform .2s;
}
.play::after { content: ''; position: absolute; left: 24px; top: 18px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.video-thumb:hover .play { background: var(--link-hover); transform: scale(1.08); }
.video-card figcaption { text-align: center; font-size: 15px; line-height: 1.33; padding: 20px 10px 0; color: var(--text); }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 70px; padding-bottom: 140px; }
.contact-item { border-bottom: 1px solid var(--line); padding: 10px 6px 30px; }
.contact-mail { font-size: 28px; line-height: 1.36; color: var(--accent); font-weight: 400; word-break: break-word; }
.contact address a { font-size: 28px; line-height: 1.36; color: var(--heading); font-weight: 400; }
.contact a:hover { color: var(--link-hover); }

/* ---------------------------------------------------------------- post / 404 */
.post-meta { font-weight: 400; margin-bottom: 20px; }
.post-source { color: var(--accent); font-weight: 600; }
.post-image img { width: 100%; max-width: 1000px; }
.notfound { min-height: 30vh; }
.btn { display: inline-block; background: var(--accent); color: #fff; padding: 12px 22px; margin-right: 8px; font-weight: 400; }
.btn:hover { background: var(--accent-2); color: #fff; }

/* ---------------------------------------------------------------- footer */
.site-footer { color: #fff; margin-top: 0; }
.wave { display: block; width: 100%; height: 70px; fill: var(--footer); }
.footer-inner { background: var(--footer); margin-top: -1px; padding: 20px 0 45px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.copy { margin: 0; color: #fff; font-weight: 400; }
.social { display: flex; gap: 16px; }
.social a { color: #fff; display: block; }
.social a:hover { color: #cfe0ff; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
  .hero-inner { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero-text { left: calc(var(--gutter) + 5px); width: min(626px, 52vw); }
}
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .story-row, .story-sep { column-gap: 50px; }
  .hero-text { font-size: 16px; line-height: 23px; }
  .media-grid { gap: 30px; }
  .media-body { padding: 18px 10px 6px; }
}

@media (max-width: 959px) {
  :root { --gutter: 24px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: #fff; overflow-y: auto; padding: 10px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav a, .lang-current { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid #eee; width: 100%; }
  .lang-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; }
  .lang-current { pointer-events: none; }
  .logo img { width: 200px; }

  /* hero becomes the stacked mobile slide */
  .hero { height: auto; background: var(--hero-mobile); text-align: center; }
  .hero-inner { padding: 22px var(--gutter) 0; height: auto; }
  .hero h1 { font-size: 30px; line-height: 1.2; }
  .hero-text { position: static; width: auto; padding: 0; margin-top: 14px; font-size: 14px; line-height: 1.3; }
  .hero-text::before { display: none; }
  .hero-text-desktop { display: none; }
  .hero-text-mobile { display: block; }
  .hero-mobile-img { display: block; width: 345px; max-width: 90%; margin: 20px auto 0; }

  .media-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-title-inner { min-height: 130px; }
}

@media (max-width: 767px) {
  .story { padding-top: 10px; }
  .story-row { grid-template-columns: 1fr; row-gap: 26px; padding: 34px 0; }
  .story-sep { display: block; }
  .story-brands { align-items: flex-start; }
  .story-brands .brands-title { margin-left: 0; }
  .story-brands img { align-self: center; }
  .story-text h2 { font-size: 24px; margin-bottom: 20px; }
  .contact { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 80px; }
  .contact-mail, .contact address a { font-size: 22px; }
  .page-title-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; }
  .breadcrumb { white-space: normal; font-size: 14px; }
  .footer-row { flex-direction: column-reverse; align-items: center; text-align: center; }
  .wave { height: 40px; }
}

@media (max-width: 599px) {
  :root { --gutter: 16px; }
  .media-grid, .video-grid { grid-template-columns: 1fr; }
  .trow { flex-direction: column; }
  .tgroup { flex: none !important; }
  .lightbox { padding: 50px 8px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 6px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
