/* Fontlar: Helvetica Now Display veya Inter */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  margin: 0;
  background: #fff;
  color: #111;
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }

/* Menü */
.menu-bar {
  width: min(calc(100vw - 48px), 1697px);
  max-width: 1697px;
  min-width: 220px;
  height: 64px;
  margin: 26px auto 0 auto;
  border-radius: 32px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 3px 18px 0 rgba(0,0,0,0.05);
  border: 1px solid rgba(156,156,156,0.19);
  backdrop-filter: blur(6px) brightness(100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  padding: 0 clamp(20px, 6vw, 40px) 0 clamp(20px, 1vw, 24px);
  transition: width 0.35s cubic-bezier(.6,1.3,.35,1.01), padding 0.3s;
  box-sizing: border-box;
}

.logo-block {
  display: flex;
  align-items: center;
}

.menu-bar .logo {
  height: 38px;
  margin-right: clamp(8px, 12vw, 180px);
}

.main-nav {
  display: flex;
  gap: clamp(8px, 2.5vw, 28px);
  margin-left: auto;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
}

.main-nav a {
  font-size: clamp(13px, 1.1vw, 18px);
  color: #000;
  text-decoration: none;
  padding: 3px clamp(8px, 2vw, 20px);
  border-radius: 18px;
  font-weight: 500;
  transition: background .2s, color .2s;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  box-sizing: border-box;
}

.main-nav a.active,
.main-nav a:hover {
  color: #ffb400;
  background: rgba(255,255,255,0.08);
}

@media (max-width: 900px) {
  .menu-bar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: calc(100vw - 12px);
    max-width: 900px;
    min-width: 220px;
    padding: 0 6px;
    height: 64px;
    border-radius: 32px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(156,156,156,0.19);
    box-shadow: 0 3px 18px 0 rgba(0,0,0,0.05);
    backdrop-filter: blur(6px) brightness(100%);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    box-sizing: border-box;
  }

  .menu-bar .logo {
    display: none !important;
  }

  .main-nav {
    display: none !important;
    gap: clamp(2px, 1vw, 18px);
  }

  .main-nav a {
    font-size: clamp(11px, 1vw, 16px);
    padding: 3px clamp(2px, 1vw, 8px);
  }

  .menu-toggle {
    display: flex !important;
  }

  .mobile-logo {
    display: block !important;
  }
}

@media (max-width: 700px) {
  .main-nav {
    gap: 2px;
  }

  .main-nav a {
    font-size: 10px;
    padding: 2px 2px;
  }
}

.mobile-logo {
  display: none;
  position: fixed;
  top: 38px;
  left: clamp(8px, 6vw, 48px);
  height: 38px;
  z-index: 3001;
  margin: 0;
  pointer-events: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  z-index: 3000;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 24px;
  top: 38px;
  padding: 0;
  margin: 0;
}

.menu-toggle .bar {
  position: absolute;
  left: 50%;
  width: 28px;
  height: 4px;
  background: #111;
  border-radius: 3px;
  transform: translateX(-50%);
  transition: all .24s cubic-bezier(.6,1.3,.25,1.02);
  opacity: 1;
}

.menu-toggle .bar:nth-child(1) { top: 12px; }
.menu-toggle .bar:nth-child(2) { top: 20px; }
.menu-toggle .bar:nth-child(3) { top: 28px; }

.menu-toggle .close-x {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  pointer-events: none;
}

.menu-toggle.active .bar {
  opacity: 0;
}

.menu-toggle.active .close-x {
  display: block;
  animation: fadeinX .17s both;
}

@keyframes fadeinX {
  from { opacity: 0; scale: 0.8; }
  to   { opacity: 1; scale: 1; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 22px;
  right: 12px;
  width: 124vw;
  max-width: 160px;
  background: rgba(255,255,255,0.66);
  border-radius: 32px;
  box-shadow: 0 8px 52px 0 rgba(30,30,30,0.22);
  z-index: 2001;
  padding: 68px 18px 24px 18px;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s;
  backdrop-filter: blur(18px) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) brightness(1.05);
  align-items: flex-end;
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  animation: menuFadeIn .22s both;
}

@keyframes menuFadeIn {
  from { transform: translateY(-18px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  padding: 8px 0;
  border-radius: 16px;
  text-align: right;
  margin: 0;
  background: none;
  transition: none;
}

.mobile-menu a:hover {
  background: none;
  color: #111;
}

.mobile-menu a.active {
  background: none;
  color: #ffb400;
}


/* İÇERİK ALANI */

.cati-main-genis {
  width: 84vw;
  max-width: 1480px;
  margin: 120px auto 0 auto;
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  min-height: 480px;
}

.cati-left-gorsel {
  flex: 0 0 340px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.cati-left-gorsel img {
  width: 340px;
  height: 550px;
  object-fit: cover;
  border-radius: 55px 0 55px 0;
  box-shadow: 0 8px 32px 0 rgba(50,50,50,0.08);
  display: block;
  margin-top: 30px;
  margin-left: 65px;
}

.cati-right-icerik {
  flex: 1;
  max-width: 900px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #232323;
}

.cati-right-icerik h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.4em;
  color: #181818;
  letter-spacing: 0;
  line-height: 1.13;
}

.cati-altbaslik {
  color: #ffb400;
  font-size: 1.37rem;
  font-weight: 800;
  margin-bottom: 14px;
  margin-top: -8px;
  line-height: 1.18;
}

.cati-right-icerik p,
.cati-right-icerik ul {
  font-size: 1.12rem;
  margin: 10px 0 7px 0;
  line-height: 1.6;
}

.cati-right-icerik ul {
  margin-left: 0;
  padding-left: 23px;
  margin-bottom: 8px;
}

.cati-right-icerik ul li {
  margin-bottom: 5px;
  font-size: 1.08rem;
  line-height: 1.57;
}

.cati-right-icerik b {
  font-size: 1.13rem;
  font-weight: 700;
  color: #181818;
  display: block;
  margin-top: 18px;
  margin-bottom: 2px;
}

@media (max-width: 1100px) {
  .cati-main-genis {
    flex-direction: column;
    width: 98vw;
    gap: 18px;
  }

  .cati-left-gorsel,
  .cati-left-gorsel img {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin: 0 auto;
  }

  .cati-right-icerik {
    max-width: 99vw;
  }
}

@media (max-width: 900px) {
  .cati-main-genis {
    flex-direction: column;
    width: 100vw;
    margin: 110px auto 0 auto;
    gap: 16px;
    padding: 0 18px;
    align-items: center;
  }

  .cati-left-gorsel {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
  }

  .cati-left-gorsel img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 28px;
    margin: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }

  .cati-right-icerik {
    width: 100%;
    max-width: 100%;
    padding: 0;
    font-size: 0.87rem; /* Yaklaşık 13.5px */
    line-height: 1.55;
  }

  .cati-right-icerik h1 {
    font-size: 1.1rem; /* Yaklaşık 14px */
    line-height: 1.25;
    margin: 16px 0 10px;
  }

  .cati-altbaslik {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 4px 0 12px 0;
  }

  .cati-right-icerik p,
  .cati-right-icerik ul,
  .cati-right-icerik li {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .cati-right-icerik b {
    font-size: 0.95rem;
    margin-top: 14px;
    display: block;
  }
}

/*======================
=   WEB GÖRÜNÜMÜ       =
======================*/

/* İLETİŞİM + HARİTA (WEB) */
.contact-map-section {
  width: 100vw;
  max-width: 1920px;
  background: #ffb400;
  margin: 120px auto;
  padding: 50px 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-map-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin-right: 285px;
}

.contact-info {
  color: #fff;
  max-width: 360px;
  min-width: 260px;
  margin-left: 285px;
  flex: 1;
}
.contact-info h3 {
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 20px;
}
.contact-details {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}
.contact-details b {
  color: #fff;
}
.map-block iframe {
  width: 460px;
  height: 215px;
  border-radius: 32px;
  border: none;
  display: block;
  background: #fff;
}

/*======================
=   MOBİL GÖRÜNÜMÜ     =
======================*/

/* MOBİL İLETİŞİM BLOĞU */
.contact-map-section-mobile {
  display: none;
  background: #ffb400;
  padding: 36px 20px;
  width: 100vw;
  margin-top: 60px;
  text-align: center;
}
.mobile-contact-title {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.mobile-map-block iframe {
  width: 100%;
  height: 160px;
  border: none;
  border-radius: 18px;
  background: #fff;
  margin-bottom: 16px;
}
.mobile-contact-details {
  font-size: 15px;
  color: #fff;
  line-height: 1.6;
}
.mobile-contact-details b {
  color: #fff;
}

@media (max-width: 900px) {
  /* Web bloklarını gizle */
  .contact-map-section,
  .form-section {
    display: none !important;
  }

  /* Mobil blokları göster */
  .contact-map-section-mobile,
  .form-section-mobile {
    display: block !important;
  }

  .input-row-mobile {
    flex-direction: column !important;
  }
}

/* FOOTER */
.footer-bottom {
  background: #fff;
  border-radius: 999px 999px 0 0;
  margin-top: 120px;
  padding: 30px 0 5px 0;
  box-shadow: 0 -5px 22px 0 rgba(50,50,50,0.06);
}
.footer-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.footer-logo img {
  height: 38px;
  margin-bottom: 0px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 28px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-links a {
  color: #222;
  font-size: 15px;
  opacity: 0.90;
  transition: color 0.17s;
}
.footer-links a:hover { color: #ffb400; }
.footer-copyright {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.footer-copyright b { color: #222; font-weight: 700; }

@media screen and (max-width: 900px) {
  .footer-bottom {
    border-radius: 28px 28px 0 0;
    padding: 24px 16px 8px 16px;
    margin-top: 40px;
    box-shadow: 0 -5px 22px rgba(50, 50, 50, 0.06);
  }

  .footer-wrap {
    gap: 18px;
    padding: 0 12px;
  }

  .footer-logo img {
    height: 36px;
    margin-bottom: 4px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 sütun */
    gap: 10px 30px;
    justify-items: start; /* her hücre içeriğini sola yaslar */
    text-align: left;     /* yazıyı sola yaslar */
    margin-bottom: 10px;
    padding: 0 8px;
  }

  .footer-links a {
    font-size: 15px;
    opacity: 0.9;
    color: #222;
    transition: color 0.17s;
  }

  .footer-links a:hover {
    color: #ffb400;
  }

  .footer-copyright {
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    margin: 6px auto 4px;
    padding: 0 8px;
    color: #444;
  }

  .footer-copyright b {
    color: #111;
  }
}



@media (max-width: 1140px) {
  .main-header, .header-bar, .main-nav, .hero, .services-section, .project-gallery, .contact-map-section, .form-section, .footer-bottom {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .contact-map-content { flex-direction: column; align-items: center; gap: 26px; }
  .map-block iframe { width: 92vw; min-width: 220px; height: 120px; }
  .footer-content { flex-direction: column; gap: 18px; align-items: center; }
  .footer-links { flex-direction: column; gap: 20px; align-items: center; }
}
