/* 2A Yapı İnşaat — Modern static rebuild */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --accent: #f6cc41;
  --accent-hi: #ffcc00;
  --dark: #2a2a2a;
  --text: #555;
  --muted: #888;
  --bg-light: #f6f6f6;
  --border: #eaeaea;
  --footer-bg: #1c1c1c;
  --footer-text: #b6b6b6;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  font-size: 14px;
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section.alt-bg { background: var(--bg-light); }

h1, h2, h3, h4, h5 { font-family: inherit; font-weight: 600; line-height: 1.25; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 30px;
}

.logo { display: inline-flex; align-items: center; }
.logo-img { max-height: 50px; width: auto; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--dark);
}

.main-nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
}

.main-nav {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}

.main-nav > li { position: relative; }

.main-nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--dark);
}

.main-nav > li > a .chev { font-size: 10px; opacity: .7; }

.main-nav > li.active > a,
.main-nav > li.has-sub.active > a { color: var(--accent); }

.main-nav > li > a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}

.main-nav > li:hover > a::after,
.main-nav > li.active > a::after { transform: scaleX(1); }

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-top: 3px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  list-style: none;
  padding: 8px 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: all .2s ease;
}

.main-nav > li:hover .submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--dark);
  font-weight: 500;
}

.submenu li a:hover { background: var(--bg-light); color: var(--accent); }

.header-social {
  display: flex;
  gap: 8px;
}

.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--dark);
  font-size: 13px;
  transition: all .2s;
}

.header-social a:hover { background: var(--accent); color: #fff; }

/* ============ HERO SLIDER (Anasayfa) — split layout, no image cropping ============ */
.hero-slider {
  position: relative;
  background: #f3f3f3;
  overflow: hidden;
  padding: 32px 0;
}

.hero-slide {
  display: none;
  width: 100%;
}

.hero-slide.active { display: block; animation: slideFade .8s ease; }

@keyframes slideFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  align-items: stretch;
  position: relative;
}

.slide-text {
  background: var(--accent);
  padding: 60px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--dark);
  z-index: 2;
  position: relative;
  min-height: 420px;
}

.hero-eyebrow {
  display: block;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: var(--dark);
}

.hero-title {
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: 1px;
  color: var(--dark);
}

.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
  font-weight: 300;
  color: var(--dark);
}

.hero-btn {
  display: inline-block;
  align-self: flex-start;
  background: transparent;
  color: var(--dark);
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid var(--dark);
  transition: all .2s;
}

.hero-btn:hover {
  background: var(--dark);
  color: var(--accent);
  border-color: var(--dark);
}

.slide-image {
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #1c1c1c;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background .2s;
}
.hero-nav:hover { background: #000; }
.hero-prev { left: 10px; }
.hero-next { right: 10px; }

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 2px solid var(--dark);
  cursor: pointer;
  transition: all .2s;
}

.hero-dot.active { background: var(--accent-hi); border-color: var(--dark); width: 30px; border-radius: 6px; }

/* ============ FEATURED GRID (project cards on homepage) ============ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.banner-card {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform .25s;
}

.banner-card.large { aspect-ratio: 4/3; }
.banner-card.huge { aspect-ratio: 16/10; }

.banner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,.55));
  transition: background .25s;
}

.banner-card:hover::before { background: linear-gradient(to bottom, rgba(0,0,0,.1) 0%, rgba(0,0,0,.7)); }

.banner-label {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--accent-hi);
  color: var(--dark);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  z-index: 2;
}

.two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============ SECTION TITLE ============ */
.section-title-line {
  position: relative;
  font-size: 22px;
  text-align: center;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark);
}

.section-title-line::before,
.section-title-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 16px;
  max-width: 80px;
}

.section-title-line.left-align,
.two-col .col-right .section-title-line,
.project-intro .section-title-line,
.iletisim-grid .section-title-line,
.about-text .section-title-line {
  text-align: left;
  justify-content: flex-start;
  padding: 0;
}

.section-title-line.left-align::before,
.two-col .col-right .section-title-line::before,
.project-intro .section-title-line::before,
.iletisim-grid .section-title-line::before,
.about-text .section-title-line::before { display: none; }

.section-title-line.left-align::after,
.two-col .col-right .section-title-line::after,
.project-intro .section-title-line::after,
.iletisim-grid .section-title-line::after,
.about-text .section-title-line::after {
  flex: 0 0 60px;
  margin-left: 16px;
  margin-right: 0;
}

/* ============ ABOUT BAND (homepage) ============ */
.about-band { padding: 80px 0; background: var(--bg-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img img { width: 100%; }

.about-text p { margin-bottom: 14px; color: var(--text); }

.btn-yellow {
  display: inline-block;
  background: var(--accent-hi);
  color: var(--dark);
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid var(--accent-hi);
  transition: all .2s;
  margin-top: 18px;
  cursor: pointer;
}

.btn-yellow:hover { background: #000; color: var(--accent-hi); border-color: #000; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--dark);
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid var(--dark);
  transition: all .2s;
  cursor: pointer;
}

.btn-outline:hover { background: var(--dark); color: #fff; }

/* ============ PAGE BANNER (sub-pages) ============ */
.page-banner-sm {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 0;
}

.page-banner-sm::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.30);
}

.page-banner-sm .container { position: relative; z-index: 2; }

.banner-box {
  background: var(--accent);
  padding: 36px 32px;
  max-width: 480px;
  display: inline-block;
}

.banner-box.small { padding: 24px 28px; }

.banner-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--dark);
}

.banner-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
  color: var(--dark);
}

.banner-after {
  font-size: 14px;
  line-height: 1.5;
  color: var(--dark);
  margin-top: 8px;
}

.page-banner-projects {
  min-height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.page-banner-projects::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.page-banner-projects .container { position: relative; z-index: 2; }
.page-banner-projects .banner-box { padding: 40px 36px; }

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--dark); }

/* ============ TWO COLUMN ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.two-col .col-left img { width: 100%; }

.two-col .col-right p { color: var(--text); margin-bottom: 14px; }
.two-col .col-right h2 { margin-bottom: 16px; }
.two-col .col-right h3 { margin: 20px 0 10px; font-size: 16px; color: var(--dark); }
.two-col .col-right ul { padding-left: 22px; margin-bottom: 14px; }
.two-col .col-right li { margin-bottom: 6px; color: var(--text); }

.kvkk-content h2 { font-size: 18px; margin: 22px 0 10px; }
.kvkk-content h3 { font-size: 16px; margin: 16px 0 8px; }
.kvkk-content p { margin-bottom: 12px; font-size: 14px; }
.kvkk-content strong { color: var(--dark); }

/* ============ PROJECT BANNER ============ */
.project-banner {
  min-height: 480px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  position: relative;
}

.project-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.3);
}

.project-banner .container { position: relative; z-index: 2; }

.project-banner .banner-box {
  background: var(--accent);
  padding: 40px 36px;
  max-width: 520px;
}

/* ============ PROJECT INTRO ============ */
.project-intro .section-title-line { justify-content: flex-start; text-align: left; padding: 0; margin-bottom: 18px; }
.project-intro .section-title-line::before { display: none; }
.project-intro .section-title-line::after {
  position: static;
  flex: 0 0 60px;
  margin-left: 16px;
}

.intro-content p { margin-bottom: 14px; color: var(--text); font-size: 15px; line-height: 1.75; }
.intro-content strong { color: var(--dark); }
.intro-content h3 { margin: 18px 0 10px; font-size: 17px; color: var(--dark); }
.intro-content ul { padding-left: 22px; margin-bottom: 14px; }
.intro-content li { margin-bottom: 6px; color: var(--text); }
.intro-content table,
.intro-content .proj-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border: 1px solid var(--border);
}
.intro-content td {
  padding: 12px 18px;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--dark);
  vertical-align: middle;
  width: 50%;
  line-height: 1.5;
}
.intro-content table tr:nth-child(odd) td { background: #fafafa; }
.intro-content table tr:hover td { background: #fff8de; }

.intro-content u { text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

.intro-content img.alignleft { float: left; margin-right: 16px; }
.intro-content img.alignright { float: right; margin-left: 16px; }

.intro-content img { margin: 14px 0; }

/* ============ GALLERY ============ */
.gallery-section { background: var(--bg-light); }

.gtabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.gtab {
  background: transparent;
  border: none;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
  position: relative;
  transition: color .2s;
  font-family: inherit;
}

.gtab.active { color: var(--dark); }
.gtab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--accent);
}

.gpane { display: none; }
.gpane.active { display: block; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.gallery-item {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #ddd;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.gallery-item:hover img { transform: scale(1.06); }

.empty-note {
  color: var(--muted);
  font-style: italic;
  padding: 30px;
  text-align: center;
  background: #fff;
  border: 1px dashed #ddd;
}

.gallery-text { margin-top: 16px; color: var(--text); }

/* ============ DISCLAIMER ============ */
.disclaimer-section {
  padding: 30px 0;
  background: #fafafa;
  border-top: 1px solid var(--border);
}

.disclaimer-section .container {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============ CONTACT ============ */
.map-section iframe {
  display: block;
}

.iletisim-grid .col-right p { color: var(--text); margin-bottom: 12px; }
.iletisim-grid .col-right strong { color: var(--dark); display: inline-block; margin-bottom: 2px; }
.iletisim-grid .col-right a { color: var(--text); }
.iletisim-grid .col-right a:hover { color: var(--accent); }

.contact-form .form-row { margin-bottom: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid var(--border);
  background: #fff;
  outline: none;
}

.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }

.form-actions { display: flex; gap: 10px; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.footer-logo-img {
  max-width: 200px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-contact p { font-size: 13px; line-height: 1.7; margin-bottom: 4px; }
.footer-contact a { color: var(--footer-text); }
.footer-contact a:hover { color: var(--accent); }

.footer-col h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: var(--footer-text); font-size: 12px; letter-spacing: .5px; }
.footer-col a:hover { color: var(--accent); }

.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333;
  color: #ddd;
  font-size: 14px;
  transition: all .2s;
}
.footer-social a:hover { background: var(--accent); color: var(--dark); }

.footer-bottom {
  border-top: 1px solid #2c2c2c;
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: #777;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lb-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 22px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.lb-close { top: 20px; right: 20px; font-size: 32px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 32px; }
  .slide-text { padding: 40px 30px; min-height: 380px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .header-social { display: none; }
  .main-nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 14px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 6px 14px rgba(0,0,0,.10);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav-wrap.open { max-height: 800px; }
  .main-nav { flex-direction: column; gap: 0; }
  .main-nav > li > a { padding: 14px 20px; border-bottom: 1px solid var(--border); }
  .submenu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: var(--bg-light);
    padding: 0;
    box-shadow: none;
    border-top: 0;
  }
  .submenu li a { padding: 10px 36px; }

  .slide-inner { grid-template-columns: 1fr; }
  .slide-text { min-height: auto; padding: 30px 25px; order: 2; }
  .slide-image { order: 1; }
  .slide-image img { max-height: 50vh; }
  .hero-title { font-size: 26px; }
  .hero-eyebrow { font-size: 14px; }
  .hero-desc { font-size: 14px; }

  .featured-grid { grid-template-columns: 1fr 1fr; }
  .two-cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-logo-img { margin: 0 auto 14px; }
}

@media (max-width: 480px) {
  .featured-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 24px; }
  .banner-title { font-size: 26px; }
  .section-title-line { font-size: 18px; }
}
