/* Base: keep the site's simple sans-serif feel (Arial/Helvetica stack) */
:root{
  /* Accent pulled from logo tone (mid blue) */
  --brand: #1e74a6;
  --brand-ink: #0e3b57;
  --ink: #14303d;
  --muted-ink: #54656f;
  --bg: #ffffff;
  --bg-muted: #f5f7f8;
  --card: #ffffff;
  --ring: rgba(30,116,166,0.25);
  --radius: 16px;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth; /* native smooth scroll */
}

body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img{max-width:100%;display:block}

/* Layout helpers */
.container{
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.section{
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--bg);
}

.section-muted{
  background: var(--bg-muted);
}

.section h2{
  font-size: clamp(26px, 3.2vw, 30px);
  margin: 0 0 12px;
  letter-spacing: 0.2px;
}

.section-lead{
  margin: 0 0 28px;
  color: var(--muted-ink);
}

.two-col{
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 0.9fr;
}
@media (max-width: 900px){
  .two-col{ grid-template-columns: 1fr; }
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 90%, white 10%);
  border-bottom: 1px solid #e9eef1;
  backdrop-filter: saturate(1.2) blur(6px);
  background-color: #006699;
}

.header-inner{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}

.brand img{height: 60px; width: auto}

.nav{
  justify-self: end;
}
.nav ul{
  display: flex;
  gap: clamp(10px, 3vw, 28px);
  list-style: none;
  padding: 0; margin: 0;

}
.nav a{
  display: inline-block;
  padding: 10px 4px;
  text-decoration: none;
  color: var(--ink);
  color: white;
  font-weight: 600;
  border-radius: 8px;
}
.nav a:hover,
.nav a:is(:focus-visible,.active){
  color: var(--brand);
  background: color-mix(in oklab, var(--brand) 12%, white);
  outline: none;
}

/* Mobile nav */
.nav-toggle{
  display: none;
  justify-self: end;
  border: 1px solid #d7e2e8;
  background: var(--bg);
  border-radius: 10px;
  padding: 8px 10px;
  line-height: 0;
}
.nav-toggle-bar{
  display:block; width: 22px; height: 2px; margin: 4px 0; background:#5a6b74;
}
@media (max-width: 820px){
  .nav-toggle{ display: inline-block; }
  .nav{ display: none; }
  .nav.open{ display: block; }
  .nav ul{
    flex-direction: column;
    background: var(--bg);
    border: 1px solid #e4ebef;
    border-radius: 12px;
    padding: 8px;
    margin-top: 8px;
    box-shadow: var(--shadow);
  }
}

/* Hero */
.hero{
  background:
    radial-gradient(1200px 400px at 70% -20%, color-mix(in oklab, var(--brand) 18%, transparent), transparent 15%),
    linear-gradient(to bottom, #ffffff 0%, #f9fbfc 100%);
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
}
.hero-text h1{
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: .3px;
}
.hero-text p{
  color: var(--muted-ink);
  font-size: clamp(16px, 2.2vw, 18px);
  margin: 0 0 22px;
}
.accent{ color: var(--brand); }
.hero-img{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16/11;
  object-fit: cover;
}

/* Buttons */
.btn{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .06s ease, background .2s ease, border-color .2s ease, color .2s ease;
  font-weight: 700;
}
.btn:active{ transform: translateY(1px) scale(0.99); }

.btn.primary{
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px var(--ring);
}
.btn.primary:hover{ filter: brightness(1.05); }

.btn.ghost{
  color: var(--brand);
  background: color-mix(in oklab, var(--brand) 8%, white);
  border-color: color-mix(in oklab, var(--brand) 35%, white);
}
.btn.ghost:hover{ background: color-mix(in oklab, var(--brand) 12%, white); }

/* Cards & media */
.media-card{
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 10px;
}
.media-card img{
  border-radius: calc(var(--radius) - 6px);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Gallery */
.gallery{
  --size: 210px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--size), 1fr));
  gap: 14px;
}
.gallery-item{
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eef2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transform: translateZ(0);
}
.gallery-item img{
  width: 100%; height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .35s ease;
  will-change: transform;
}
.gallery-item:hover img{ transform: scale(1.06); }

/* Marmara tiles */
.marmara-tiles{
  display: grid; gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.marmara-tiles img{
  border-radius: 20px;
  background: #fff;
  padding: 8px;
  border: 1px solid #e6edf2;
  box-shadow: var(--shadow);
  aspect-ratio: 1/1;
  object-fit: cover;
}
@media (max-width: 600px){
  .marmara-tiles{ grid-template-columns: 1fr; }
}

/* Contact */
.contact-list{
  list-style: none; padding: 0; margin: 0 0 18px;
}
.contact-list li{ margin: 6px 0; }
.btn-row{ display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer{
  border-top: 1px solid #e9eef1;
  padding: 26px 0;
  background: #ffffff;
  color: var(--muted-ink);
  font-size: 14px;
}
.footer-inner{
  display: flex; align-items: center; justify-content: space-between;
}
@media (max-width: 700px){
  .footer-inner{ flex-direction: column; gap: 6px; }
}
.credits{ opacity: .8 }

/* Back to top */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  text-decoration: none;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 22px var(--ring);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .2s ease;
}
.back-to-top.show{
  opacity: 1; visibility: visible; transform: translateY(0);
}

.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.section h3{
  font-size: clamp(26px, 3.2vw, 30px);
  margin: 0 0 12px;
  letter-spacing: 0.2px;
}



.hero-media {
  text-align: center; /* ortalar */
  margin: 20px 0;     /* üst-alt boşluk */
}

.hero-img {
  max-width: 100%;   /* ekran boyutuna göre küçülür */
  height: auto;      /* oranı korur */
  display: block;
  margin: 0 auto;    /* ortalar */
}