/* İhsan Çiftçi Yapı - hafif modernizasyon katmanı
   Ana tema korunur; yalnızca erişilebilirlik, mobil davranış ve form detayları iyileştirilir. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #f9bf26;
    outline-offset: 3px;
}
.nav-button:focus-visible { border-radius: 4px; }

/* WhatsApp */
.whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 140; }
.whatsapp a {
    display: flex; width: 58px; height: 58px; align-items: center; justify-content: center;
    border-radius: 50%; background: #25D366; color: #fff; font-size: 29px;
    box-shadow: 0 12px 32px rgba(0,0,0,.28); transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp a:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.32); }
.whatsapp .tooltiptext {
    position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
    background: #262627; color: #fff; padding: 8px 11px; border-radius: 4px;
    font-size: 11px; letter-spacing: .6px; white-space: nowrap; opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
}
.whatsapp:hover .tooltiptext { opacity: 1; }

/* Formlar */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.custom-form input, .custom-form textarea, .remodal input.form-control, .remodal textarea.form-control {
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.custom-form input:focus, .custom-form textarea:focus, .remodal input.form-control:focus, .remodal textarea.form-control:focus {
    border-color: rgba(249,191,38,.9) !important;
    box-shadow: 0 0 0 3px rgba(249,191,38,.10);
}
.whatsapp-submit { display: inline-flex !important; align-items: center; gap: 10px; min-height: 48px; }
.whatsapp-submit i { font-size: 18px; }
.form-privacy-note { clear: both; padding-top: 16px; font-size: 12px !important; line-height: 1.7 !important; color: #777; max-width: 650px; }
.modern-contact-form { position: relative; }

/* Proje grid ve galeri: görünüm aynı, davranış daha akıcı */
.gallery-item .grid-item-holder { background-position: center; background-size: cover; }
.gallery-item .grid-item-holder::after { transition: opacity .25s ease; }
.gallery-item:hover .grid-item-holder { will-change: transform; }
.fw-carousel .swiper-slide img { object-fit: cover; }
.content-nav_mediatooltip img { object-fit: cover; }

/* Uzun proje metinleri */
.tab-content img { max-width: 100%; height: auto !important; }
.tab-content iframe { max-width: 100%; }
.tab-content p, .tab-content li { line-height: 1.8; }

/* Footer ve iletişim detayları */
.footer-contacts a, .cont-det-wrap a { overflow-wrap: anywhere; }
.map-container iframe { width: 100% !important; border: 0 !important; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media only screen and (max-width: 1064px) {
    header.main-header { padding-left: 24px; }
    .header-logo { display: flex; align-items: center; height: 90px; top: 0; }
    .header-logo img { max-width: 190px; max-height: 70px; object-fit: contain; }
    .nav-holder { max-width: min(450px, 92vw); }
    .fixed-column-wrap-content.map-mobile { height: 360px !important; }
    .column-wrap-container .container { width: min(92%, 900px); }
    .fw-carousel .swiper-slide img { width: 100%; height: 100%; }
}

@media only screen and (max-width: 768px) {
    body { overflow-x: hidden; }
    .whatsapp { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
    .whatsapp a { width: 54px; height: 54px; font-size: 27px; }
    .whatsapp .tooltiptext { display: none; }
    .fixed-column-wrap-content.map-mobile { height: 320px !important; }
    .cont-det-wrap { padding: 38px 30px; }
    .custom-form input, .custom-form textarea, .remodal input.form-control, .remodal textarea.form-control { font-size: 16px !important; }
    .split-sceen-content_title h3 { line-height: 1.25; }
    .flat-project_title { padding-left: 0; padding-right: 0; }
    .flat-project_title .container { width: 90%; }
    .flat-project_title h2 { font-size: clamp(28px, 8vw, 38px); line-height: 1.2; }
    .show-case-slider-wrap, .mob-carusel { height: min(58vh, 420px); min-height: 300px; }
    .fw-carousel-control { min-height: 72px; }
    .pr-list li { line-height: 1.6; }
    .footer-inner { padding-bottom: 42px; }
    .subfooter { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
}

@media only screen and (max-width: 560px) {
    header.main-header { height: 78px; padding-left: 16px; }
    .header-logo { height: 78px; }
    .header-logo img { max-width: 150px; max-height: 60px; }
    .nav-button-wrap { top: 25px; width: 72px; }
    .nav-holder { top: 78px; width: min(330px, 92vw); }
    .nav-scroll-bar-wrap { padding: 34px 20px 90px 28px; }
    nav.nav-inner { margin-top: 30px; }
    .share-wrapper { top: 78px; }
    .half-hero-wrap { left: 28px; padding-right: 32px; }
    .half-hero-wrap h1 { font-size: clamp(31px, 10vw, 46px); line-height: 1.08; }
    .half-hero-wrap h4 { max-height: 33vh; overflow: auto; padding-right: 6px; }
    .show-case-slider-wrap, .mob-carusel { height: 320px; }
    .fixed-column-wrap-content.map-mobile { height: 285px !important; }
    .cont-det-wrap { padding: 34px 24px; }
    .tabs-menu li { width: 100%; margin: 0 0 6px 0; padding: 0; }
    .tabs-menu li a { display: block; }
    .order-wrap { padding: 34px 24px; }
    .order-wrap a { margin-top: 22px; }
    .remodal { width: calc(100% - 24px); padding: 26px 18px; }
    .form-privacy-note { font-size: 11px !important; }
}

/* Form reliability / feedback */
.custom-form input[type="tel"] {
  float: left;
  border: none;
  border: 1px solid #eee;
  background: #f7f7f7;
  width: 100%;
  padding: 15px 20px;
  color: #666;
  font-size: 12px;
  -webkit-appearance: none;
  border-radius: 0;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.form-feedback {
  clear: both;
  min-height: 22px;
  padding-top: 10px;
  font-size: 13px;
  line-height: 1.45;
}
.form-feedback.is-success { color: #2f7d32; }
.form-feedback.is-error { color: #b42318; }
.form-feedback.is-loading { color: #6b7280; }
.review-submit[disabled], .whatsapp-submit[disabled] { opacity: .65; cursor: wait; }
@media (max-width: 767px) {
  .modern-contact-form .custom-form input,
  .modern-contact-form .custom-form textarea,
  .remodal .form-control { font-size: 16px; }
  .review-submit, .whatsapp-submit { width: 100%; text-align: center; }
}
