/* 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;
}



/*-- Hizmetler */
.mantolama-section {
  max-width: 1800px;
  margin: 0 auto;
}

.mantolama-section h2 {
  text-align: center;
  color: #ffb400;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 5px;
  margin-top: 120px;
  letter-spacing: .01em;
  border-bottom: 3px solid #ececec;
  padding-bottom: 14px;
}

.mantolama-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 30px;
  padding: clamp(12px, 3vw, 22px) clamp(20px, 20vw, 415px) clamp(20px, 4vw, 32px) clamp(20px, 10vw, 195px);
  border-bottom: 3px solid #ececec;
  gap: 8px;
  position: relative;
}

.mantolama-row:last-child {
  border-bottom: none;
}

.reverse {
  flex-direction: row-reverse;
  padding-left: clamp(20px, 18vw, 405px);
  padding-right: clamp(20px, 18vw, 410px);
  margin-top: 0;
}

/* LOGO KUTUSU */
.mantolama-row:not(.reverse) .mantolama-logo {
  margin-left: clamp(8px, 10vw, 160px);
  margin-right: 15px;
}

.mantolama-logo {
  width: clamp(160px, 17vw, 330px);
  height: clamp(90px, 7vw, 120px);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 2.5px solid #e5e5e5;
}

.mantolama-logo img {
  display: block;
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
}

.mantolama-logo.baumit {
  border-radius: 0 69px 69px 0;
}

.mantolama-logo.weber {
  border-radius: 69px 0 0 69px;
}

.mantolama-content {
  flex: 1;
  min-width: 230px;
  padding: 0 0px;
}

.mantolama-content h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.36rem);
  font-weight: 700;
  margin: 0 0 14px 0;
  color: #111;
}

.mantolama-content p {
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  color: #222;
  margin: 0 0 20px 0;
  line-height: 1.54;
}

.mantolama-btn {
  display: inline-block;
  background: #ffb400;
  color: #fff;
  font-size: clamp(0.9rem, 1vw, 1.07rem);
  font-weight: 700;
  border-radius: 99px;
  padding: 10px 34px;
  text-decoration: none;
  margin-top: 9px;
  transition: background 0.22s, color 0.15s;
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px 0 #ffb4000a;
}

.mantolama-btn:hover {
  background: #ff9900;
  color: #fff;
}

/* ✅ RESPONSIVE (Mobil Görünüm) */
@media (max-width: 950px) {
  .mantolama-section {
    padding: 0 8px;
  }

  .mantolama-row,
  .mantolama-row.reverse {
    flex-direction: column !important;
    gap: 16px;
    padding: 14px 0 16px 0;
    align-items: center; /* LOGO ve içerik ortalanır */
    margin-bottom: 32px;
  }

  .mantolama-logo,
  .mantolama-row:not(.reverse) .mantolama-logo,
  .mantolama-row.reverse .mantolama-logo {
    margin: 0 auto !important;
    width: 92vw;
    min-width: 0;
    max-width: 98vw;
    height: 86px;
    border-radius: 28px !important;
  }

  .mantolama-logo.baumit,
  .mantolama-logo.weber {
    border-radius: 28px !important;
  }

  .mantolama-content {
    padding: 0 2px;
    text-align: center;
  }

  .mantolama-section h2 {
    font-size: 1.25rem;
  }

  .mantolama-btn {
    font-size: .98rem;
    padding: 10px 19px;
  }
}


/*======================
=   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; }
}
