/* ─────────────────────────────────────────────
   Ender İnşaat – Global Styles
   ───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:ital,wght@0,300;0,400;1,300;1,400&display=swap');

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

:root {
  --navy:   #0d2455;
  --navy2:  #0a1c42;
  --white:  #ffffff;
  --light:  #f8f8f8;
  --text:   #333333;
  --muted:  #888888;
  --border: #e5e5e5;
  --nav-h:  90px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ─── NAVBAR ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 40px;
  justify-content: space-between;
}

.nav-logo img { height: 56px; }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

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

.nav-links > li > a {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.2s;
}

.nav-links > li > a.active { color: #5b9bd5; }
.nav-links > li > a:hover  { color: #5b9bd5; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  /* padding-top: fare nav ile dropdown arası boşluğu atlar */
  padding: 12px 0 6px;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.nav-links > li:hover .dropdown {
  opacity: 1;
  pointer-events: all;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--navy);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.dropdown a:hover       { background: #f0f4fa; color: #5b9bd5; }
.dropdown a.active-link { color: #5b9bd5; }

.nav-lang {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span { width: 24px; height: 2px; background: var(--navy); display: block; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mob-close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 28px;
  cursor: pointer;
  color: #aaa;
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  background: #1a1a1a;
  color: #fff;
  overflow: hidden;
  min-height: 320px;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background: url('https://enderinsaat.com/wp-content/themes/prague/assets/img/footer-image.jpg') center/cover no-repeat;
  opacity: 0.35;
}

.footer-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 52px 60px 0;
  align-items: start;
}

.footer-left p {
  font-style: italic;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
  font-weight: 300;
}

.footer-left .footer-desc {
  font-style: italic;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
}

.footer-left .footer-credit {
  margin-top: 20px;
  font-style: italic;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-right { text-align: right; }

.footer-right .bize-ulasin {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.footer-right .footer-email {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}

.footer-right .footer-phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer-bottom-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 60px 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
}

.footer-bottom-bar .copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  text-decoration: none;
}
.footer-bottom-bar .copy:hover { color: rgba(255,255,255,0.75); }

.footer-insta-icon {
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.footer-insta-icon:hover { border-color: rgba(255,255,255,0.6); }
.footer-insta-icon svg { width: 16px; fill: rgba(255,255,255,0.6); }

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; left: 28px;
  z-index: 999;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; fill: #fff; }

/* ─── PAGE HEADER (iç sayfalar) ─── */
.page-header {
  margin-top: 0;
  position: relative;
  background: #0a1c42;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 70px;
  background: #fff;
  clip-path: polygon(0 100%, 50% 0%, 100% 100%);
}

.page-header-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 56px 40px 88px;
}

.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}

.page-header p {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  font-size: 16px;
  color: rgba(255,255,255,0.55);
}

/* ─── SOCIAL BUTTONS ─── */
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 36px 40px 60px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 6px;
  transition: transform 0.2s, opacity 0.2s;
}
.social-btn:hover { transform: translateY(-2px); opacity: 0.88; }
.social-btn.instagram { background: #1a1a1a; }
.social-btn.whatsapp  { background: #25d366; }
.social-btn.youtube   { background: #ff0000; }
.social-btn svg { width: 22px; height: 22px; fill: #fff; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .footer-content { padding: 40px 24px 0; }
  .footer-bottom-bar { padding: 20px 24px 24px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-lang { display: none; }
  .hamburger { display: flex; }
  .footer-content { grid-template-columns: 1fr; gap: 28px; }
  .footer-right { text-align: left; }
}

/* Proje kartı link olduğunda */
a.proj-card { display: block; text-decoration: none; color: inherit; }
