/* 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;
}


/***** Ana Container *****/
.web-1920-12 {
  display: flex;
  align-items: flex-start;
  background: #fff;
  min-height: 900px;
  width: 100vw;
  max-width: 1920px;
  margin: auto;
  padding: 0px 0 0 0;
  box-sizing: border-box;
}
.anima-hero {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 1500px;
  padding-top: 30px;
  margin: 140px auto 0 auto;
  min-height: 700px;
}
.anima-left {
  grid-row: 1 / span 2;
  min-width: 340px;
  max-width: 400px;
  margin-left: 165px;
  margin-right: -365px;
  padding-right: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.anima-left h1 {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 2.18rem;
  font-weight: 800;
  line-height: 1.13;
  padding-left: 50px;
  margin: 0 0 0 auto;
}
.anima-left .yellow {
  color: #ffb400;
  font-weight: 900;
}
.anima-left .bold {
  color: #111;
  font-weight: 800;
}

.anima-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 15px 36px;
  width: 1100px;
  margin-top: 0;
}

.anima-box:nth-child(1) { grid-column: 1 / 2; grid-row: 1; }
.anima-box:nth-child(2) { grid-column: 2 / 3; grid-row: 1; }
.anima-box:nth-child(3) { grid-column: 1 / 2; grid-row: 2; }
.anima-box:nth-child(4) { grid-column: 2 / 3; grid-row: 2; }
.anima-box:nth-child(5) { grid-column: 3 / 4; grid-row: 2; }
.anima-box.empty { display: none; }

/* Kutular */
.anima-box {
  background: #f7f7f7;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  min-height: 270px;
  min-width: 0;
  aspect-ratio: 1.35/1;
  box-shadow: 0 2px 18px 0 rgba(0,0,0,0.09);
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: box-shadow .17s, transform .17s;
}
.anima-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: filter .2s;
}
.anima-box span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 2;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 800;
  text-shadow: 0 3px 18px #111a, 0 1px 0 #000c;
  padding-left: 32px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.anima-box:not(.yellow-bg):not(.empty)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #111c 18%, transparent 98%);
  z-index: 1;
  pointer-events: none;
}
.anima-box.yellow-bg {
  background: #ffb400;
}
.anima-box.yellow-bg img {
  filter: none;
}
.anima-box.yellow-bg span {
  color: #222;
  text-shadow: 0 1px 10px #fff8, 0 1px 0 #fff7;
  font-weight: 900;
}
.anima-box.empty {
  background: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* Grid pozisyonları */
.anima-box.empty       { grid-row: 1; grid-column: 1; }
.anima-box.mantolama   { grid-row: 1; grid-column: 2; }
.anima-box.discephe    { grid-row: 1; grid-column: 3; }
.anima-box.drenaj      { grid-row: 2; grid-column: 1; }
.anima-box.cati        { grid-row: 2; grid-column: 2; }
.anima-box.kimlik      { grid-row: 2; grid-column: 3; } 

.anima-box.mantolama   { border-radius: 0px 0px 0 0; }
.anima-box.discephe    { border-radius: 0 36px 0px 0px; }
.anima-box.kimlik      { border-radius: 0 0 0px 0px; }
.anima-box.cati        { border-radius: 0 0 0 0px; }
.anima-box.drenaj      { border-radius: 0px 0px 0px 36px; }

.anima-box.mantolama::after { border-radius: 36px 0 0 0 !important; }
.anima-box.discephe::after  { border-radius: 0 36px 0 0 !important; }
.anima-box.drenaj::after    { border-radius: 0 0 0 36px !important; }
.anima-box.cati::after      { border-radius: 0 0 0px 0 !important; }
.anima-box.kimlik::after    { border-radius: 0 0 0 0 !important; }


.anima-box .img-color {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.25s;
}
.anima-box .img-bw {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
  transition: opacity 0.25s;
}
.anima-box:hover .img-color {
  opacity: 1;
}
.anima-box:hover .img-bw {
  opacity: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .anima-hero { flex-direction: column; gap: 18px; max-width: 98vw; }
  .anima-left { max-width: 96vw; }
  .anima-grid { width: 97vw; max-width: 99vw; min-width: 0; }
}
@media (max-width: 900px) {
  .anima-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); }
  .anima-box { aspect-ratio: 1.2/1; min-height: 160px; }
}
@media (max-width: 650px) {
  .anima-grid { grid-template-columns: 1fr; gap: 13px; }
  .anima-box { aspect-ratio: 1.5/1; min-height: 80px; }
  .anima-left h1 { font-size: 1.05rem; }
}

.mobile-hero-section {
  display: none;
}

@media (max-width: 900px) {
  .anima-hero {
    display: none !important;
  }

  .mobile-hero-section {
    display: flex;
    padding-top: 40px;
    flex-direction: column;
    gap: 10px; /* Görseller arası boşluk azaldı */
    margin: 60px 16px;
  }

  .mobile-hero-section h1 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    color: #111;
    margin-bottom: 20px;
    text-align: center;
  }

  .mobile-hero-section .yellow {
    color: #ffb400;
    font-weight: 900;
  }

  .mobile-hero-section .bold {
    color: #111;
    font-weight: 800;
  }

  .mobile-box {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
  }

  .mobile-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 1;
    display: block;
    position: relative;
    z-index: 1;
  }

  .gradient-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .mobile-box.left .gradient-overlay {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.45), transparent);
  }

  .mobile-box.right .gradient-overlay {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.45), transparent);
  }

  .mobile-box span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0 20px;
    text-shadow: 0 2px 8px #000a;
    white-space: nowrap;
  }

  .mobile-box.left span {
    left: 0;
    text-align: left;
  }

  .mobile-box.right span {
    right: 0;
    text-align: right;
  }
}



/*======================
=   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; }
}
