/* Final visual refinement: elegant interface typography and rectangular logo panel. */
body {
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

.brand {
  flex-basis: 205px;
  min-height: 72px;
  padding: 9px 13px;
  background: #fff;
  clip-path: none;
  border-radius: 0;
}

.main-nav a,
.button,
.text-link,
.whatsapp,
.phone-link {
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

.main-nav a { font-size: 14px; }
.lang-switch li { font-size: 13px; font-weight: 500; }
.lang-switch .current-lang { font-weight: 650; }
.button { font-size: 14px; }

.eyebrow {
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: .14em;
}

.service-card > span,
.service-card b,
.hero-stats span,
.hero-stats strong,
.about-stats span {
  font-weight: 650;
}

.project-card img {
  transition: transform .5s ease, filter .5s ease;
}

.project-card:hover img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}

.service-card-visual {
  min-height: 330px;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.service-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4,18,27,.12) 5%, rgba(4,18,27,.94) 88%);
  transition: background .3s ease;
}

.service-card-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(.86) contrast(1.05);
  transition: transform .55s ease, filter .55s ease;
}

.service-card-visual:hover > img { transform: scale(1.055); filter: saturate(1.05) contrast(1.05); }
.service-card-visual:hover::after { background: linear-gradient(180deg, rgba(4,18,27,.02), rgba(4,54,77,.94) 88%); }
.service-card-visual > span { position: absolute; top: 25px; left: 28px; }
.service-card-visual h3 { margin: 0 0 8px; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.service-card-visual p { color: #d7e5eb; letter-spacing: .08em; font-size: 11px; }

.gallery-hero p { max-width: 760px; }
.category-gallery-section { background: #eef2f4; }
.category-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.gallery-tile { position: relative; min-height: 310px; overflow: hidden; background: var(--navy-dark); cursor: zoom-in; }
.gallery-tile img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .5s ease, filter .5s ease; }
.gallery-tile:hover img { transform: scale(1.035); filter: saturate(1.08); }
.gallery-footer-link { margin-top: 40px; text-align: center; }

.service-directory { background: #eef2f4; }
.service-directory-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.service-directory-card { background: #fff; overflow: hidden; border-bottom: 4px solid transparent; transition: transform .3s ease,border-color .3s ease,box-shadow .3s ease; }
.service-directory-copy { min-height: 190px; padding: 28px 30px 24px; position: relative; }
.service-directory-copy > span { color: var(--green); font-size: 13px; font-weight: 650; }
.service-directory-copy h2 { max-width: 82%; margin: 32px 0 14px; font-size: clamp(25px,2.5vw,36px); line-height: 1.08; letter-spacing: -.035em; }
.service-directory-copy p { color: var(--navy); margin: 0; font-size: 14px; font-weight: 600; }
.service-directory-card > img { display: block; width: 100%; height: 310px; object-fit: cover; transition: transform .55s ease,filter .55s ease; }
.service-directory-card:hover { transform: translateY(-5px); border-color: var(--green); box-shadow: 0 20px 55px rgba(5,47,70,.14); }
.service-directory-card:hover > img { transform: scale(1.035); filter: saturate(1.08) contrast(1.02); }

.lightbox-open { overflow: hidden; }
.gr-lightbox { position: fixed; inset: 0; z-index: 9999; padding: 55px 85px; background: rgba(2,13,20,.96); display: none; align-items: center; justify-content: center; }
.gr-lightbox.open { display: flex; }
.gr-lightbox figure { margin: 0; max-width: min(1200px,88vw); max-height: 88vh; display: grid; justify-items: center; }
.gr-lightbox img { display: block; max-width: 100%; max-height: 80vh; object-fit: contain; box-shadow: 0 25px 80px rgba(0,0,0,.5); }
.gr-lightbox figcaption { color: #fff; padding-top: 12px; font-size: 14px; }
.gr-lightbox button { position: absolute; border: 0; background: transparent; color: #fff; cursor: pointer; line-height: 1; }
.gr-lightbox-close { top: 22px; right: 28px; font-size: 42px; }
.gr-lightbox-prev,.gr-lightbox-next { top: 50%; transform: translateY(-50%); font-size: 62px; padding: 20px; }
.gr-lightbox-prev { left: 18px; }.gr-lightbox-next { right: 18px; }

@media (max-width: 1250px) {
  html:not([lang^="tr"]) .main-nav a { font-size: 12px; }
}

@media (max-width: 780px) {
  .brand { min-height: 60px; padding: 7px 10px; }
  .main-nav a,
  html:not([lang^="tr"]) .main-nav a { font-size: 15px; }
  .lang-switch li { font-size: 14px; }
  .category-gallery { grid-template-columns: 1fr; }
  .service-directory-grid { grid-template-columns: 1fr; }
  .service-directory-copy { min-height: 165px; }
  .service-directory-card > img { height: 240px; }
  .gallery-tile { min-height: 250px; }
  .gr-lightbox { padding: 55px 15px; }
  .gr-lightbox-prev,.gr-lightbox-next { font-size: 44px; padding: 12px; }
}
