/* Arc Mimarlık – site stilleri */
:root {
  --ink: #010d14;        /* başlıklar, aktif menü */
  --text: #333333;       /* gövde metni */
  --muted: #3b4052;      /* pasif menü */
  --line: #e3e3e3;       /* kart çerçevesi, ayırıcı */
  --header-h: 112px;
  --wrap: 1140px;
  --wrap-wide: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Lexend", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}
h1, h2, h3, p { margin: 0; font-weight: 300; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.wrap-wide { width: 100%; max-width: calc(var(--wrap-wide) + 30px); margin: 0 auto; padding: 0 15px; }

/* Header */
.site-header { background: #fff; height: var(--header-h); position: relative; z-index: 20; }
.site-header .wrap-wide { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 260px; height: auto; }
.nav { display: flex; gap: 35px; }
.nav a { font-size: 16px; line-height: 1.6; color: var(--muted); padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav a:hover { color: #000; }
.nav a[aria-current="page"] { color: #000; border-bottom-color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* Footer */
.site-footer { text-align: center; padding: 75px 15px 0; }
.social { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: #000; align-items: center; justify-content: center; }
.social svg { width: 17px; height: 17px; fill: #fff; }
.copyright { font-size: 10px; line-height: 35px; color: #000; }

/* Ana sayfa */
.hero video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }

/* About */
.about { padding-top: 32px; }
.about .name { font-size: 16px; color: var(--ink); margin: 10px 0 34px; line-height: 1; }
.portrait { width: 220px; margin: 0 auto 28px; }
.portrait img { width: 100%; height: auto; }
.motto { text-align: center; color: var(--ink); letter-spacing: .01em; }
.motto p { margin-bottom: 4px; }

/* Projects listesi */
.projects { padding-top: 61px; }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-bottom: 29px; }
.filters button {
  background: #fff; color: var(--ink); border: 0; border-bottom: 1px solid var(--ink);
  padding: 13px 30px; font-size: 13px; line-height: 1.6; text-transform: uppercase; cursor: pointer;
  transition: background .3s, box-shadow .3s;
}
.filters button small { display: block; font-size: 10.66px; text-transform: none; opacity: .6; margin-top: 2px; }
.filters button.active, .filters button:hover { background: rgba(1, 13, 20, .125); box-shadow: 0 0 30px #eee; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.card {
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
  aspect-ratio: 16 / 9; background: #fff; border: 1px solid var(--line);
  transition: opacity .4s;
}
.card.hidden { display: none; }
.card h3 { font-size: 18px; line-height: 1.3; color: var(--ink); padding: 0 20px; white-space: nowrap; display: flex; justify-content: center; }
.card h3 span { display: inline-block; transform-origin: 50% 50%; }

/* Proje detayı */
.project { padding-top: 40px; }
.project h1, .project h2 { font-size: 20px; line-height: 1.4; color: var(--ink); margin: 13px 0 18px; }
.project h2 { margin-top: 0; }
.project p { line-height: 30px; margin-bottom: 26px; }
.project .tr { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.project video { width: 100%; height: auto; background: #000; margin: 30px 0 10px; }

/* Contact */
.contact { padding-top: 40px; }
.contact-map { position: relative; max-width: 1090px; margin: 0 auto; }
.contact-map img { width: 100%; height: auto; }
.contact-box {
  position: absolute; left: 20px; bottom: 0; width: 270px;
  background: #fff; color: var(--ink); padding: 30px 30px 18px;
}
.contact-box p { margin-bottom: 46px; }
.contact-box .nowrap { white-space: nowrap; }

/* Mobil */
@media (max-width: 991px) {
  :root { --header-h: 84px; }
  .logo img { width: 200px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height .35s;
    box-shadow: 0 12px 20px rgba(0, 0, 0, .06);
  }
  .nav a { padding: 14px 15px; border-bottom: 1px solid #f2f2f2; }
  .nav a[aria-current="page"] { border-bottom-color: #f2f2f2; }
  .site-header.open .nav { max-height: 300px; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .wrap { padding: 0 15px; }
  .contact-box { position: static; width: auto; padding: 24px 0 0; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .filters button { padding: 10px 16px; }
  .projects { padding-top: 30px; }
}
