/* Son cila: iletişim formu (statik işaretlemeye uyarlandı), mobil başlık bandı, odak ve seçim renkleri */

/* İletişim formu: alanlar doğrudan .form-contain altında */
.form-wrapper-left,
.form-wrapper-right { flex: 1 1 0; min-width: 0; }

.form-contain > input,
.form-contain > textarea {
  width: 100%;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  height: auto !important;
  padding: 0 0 1.5rem 2rem;
  color: #fff !important;
  resize: vertical;
}
.form-contain > input::placeholder,
.form-contain > textarea::placeholder { color: rgba(255, 255, 255, .6); }
.form-contain:focus-within > i { color: #fff; }
.form-wrapper-right .form-contain { flex: 1; }
.form-wrapper-right .form-contain > textarea { min-height: 9rem; }

.fomr-btn > button {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 0;
  background-color: var(--theme-wood-color);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background-color .3s ease-in-out;
}
.fomr-btn > button:hover,
.fomr-btn > button:focus-visible { background-color: #7d4d2e; }
.fomr-btn > button:disabled { opacity: .6; cursor: progress; }

/* Tarayıcı yüzeyleri */
::selection { background: var(--theme-wood-color); color: #fff; }
a:focus-visible,
button:focus-visible,
.header-menu-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Sayfa başlık bandı: görsel oranı ne olursa olsun sabit yükseklik, başlık üst çubuğun altında kalmasın */
@media screen and (max-width: 992px) {
  .page-wrapper-banner { height: 300px; overflow: hidden; }
  .page-wrapper-image > img { height: 100%; object-fit: cover; }
  .page-wrapper-text { top: 50%; padding-top: 50px; }
}

/* Harita: kapsayıcı genişliğini doldursun */
.contact-page-iframe > iframe { width: 100% !important; }

/* Slayt geçiş animasyonu: yeni slayt yakından yerine oturur (sürekli zoom yok), yazılar aşağıdan süzülür */
.home-slider .slick-item { overflow: hidden; }
.home-slider .slick-item img { transform: scale(1); }
.home-slider .slick-active img { animation: slideSettle 1.8s cubic-bezier(.22, .8, .3, 1) both; }
.home-slider .slick-active .slick-text > span,
.home-slider .slick-active .slick-text > p { animation: slideTextIn 1.1s cubic-bezier(.22, .8, .3, 1) both; }
.home-slider .slick-active .slick-text > p { animation-delay: .25s; }

@keyframes slideSettle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes slideTextIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .home-slider .slick-active img,
  .home-slider .slick-active .slick-text > span,
  .home-slider .slick-active .slick-text > p { animation: none; }
}

/* Hakkımızda: kurumsal metin bölümü */
.about-story { color: #cfcfcf; padding: 5rem 3rem 4rem; max-width: 1200px; }
.about-story h1, .about-story h2 { color: #fff; font-weight: 600; margin: 0 0 1rem; }
.about-story p { font-size: 15px; line-height: 1.8; margin: 0 0 1rem; }
.about-story strong { color: #fff; font-weight: 600; }
.about-story-intro { max-width: 820px; margin: 0 auto 4rem; text-align: center; }
.about-story-eyebrow { display: inline-block; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #a8a8a8; margin-bottom: 1rem; }
.about-story-eyebrow::after { content: ""; display: block; width: 48px; height: 2px; margin: .75rem auto 0; background: var(--theme-wood-color); }
.about-story-intro h1 { font-size: 34px; line-height: 1.3; }
.about-story-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.about-story-card { background: var(--theme-light-color); padding: 2.5rem; border-top: 2px solid var(--theme-wood-color); }
.about-story-card > i { display: block; font-size: 34px; color: #fff; margin-bottom: 1.25rem; }
.about-story-card h2 { font-size: 22px; }
.about-story-value { border: 1px solid var(--theme-light-color); padding: 2rem 2.5rem; }
.about-story-value h2 { font-size: 18px; text-transform: uppercase; letter-spacing: .08em; }
.about-story-closing { max-width: 820px; margin: 4rem auto 0; text-align: center; }
.about-story-closing h2 { font-size: 26px; }
.about-story-motto { color: #fff; font-size: 17px !important; font-weight: 500; margin-top: 1.5rem !important; }
@media screen and (max-width: 992px) {
  .about-story { padding: 3rem 16px; }
  .about-story-split { grid-template-columns: 1fr; }
  .about-story-intro h1 { font-size: 26px; }
  .about-story-card { padding: 2rem 1.5rem; }
  .about-story-value { padding: 1.75rem 1.5rem; }
}
.about-story--projects { padding-bottom: 1rem; }
.about-story--projects .about-story-intro { margin-bottom: 0; }

/* Projelerimiz: akıllı ev çözümleri */
.smart-home { margin-top: 4.5rem; }
.smart-home-head { max-width: 820px; margin: 0 auto 2.5rem; text-align: center; }
.smart-home-head h2 { font-size: 30px; }
.smart-home-head--projects { margin: 5rem auto 0; }
.smart-home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.smart-home-card { background: var(--theme-light-color); border-top: 2px solid var(--theme-wood-color); display: flex; flex-direction: column; }
.smart-home-card > img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.smart-home-card h3 { color: #fff; font-size: 18px; font-weight: 600; margin: 1.5rem 1.5rem .75rem; }
.smart-home-card p { font-size: 14px; margin: 0 1.5rem 1.75rem; }
.smart-home-cta { text-align: center; margin-top: 2.5rem; }
.smart-home-cta .btn { background: var(--theme-wood-color); border: 0; color: #fff; padding: .9rem 2rem; border-radius: 0; font-weight: 500; }
.smart-home-cta .btn:hover, .smart-home-cta .btn:focus-visible { background: #7d4f30; color: #fff; }
@media screen and (max-width: 1200px) { .smart-home-grid { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 600px) {
  .smart-home-grid { grid-template-columns: 1fr; }
  .smart-home-head h2 { font-size: 24px; }
}

/* Blog listesi: kart görselleri aynı oranda */
.blog-list-image img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
/* Blog listesi: aynı satırdaki kartlar eşit yükseklikte, düğmeler alt hizada */
.blog-list { display: flex; flex-direction: column; }
.blog-list-content { flex: 1; display: flex; flex-direction: column; }
.blog-list-btn { margin-top: auto; padding-top: 1rem; }

/* İletişim sayfası */
.contact-x { padding: 0 3rem 5rem; max-width: 1200px; }
.contact-x-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 3rem 0 1.5rem; }
.contact-x-card { display: flex; flex-direction: column; gap: .35rem; padding: 2rem 1.75rem; background: var(--theme-light-color); border-top: 2px solid var(--theme-wood-color); color: #cfcfcf; text-decoration: none; transition: background .2s; }
a.contact-x-card:hover, a.contact-x-card:focus-visible { background: #474747; color: #cfcfcf; }
.contact-x-card > i { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--theme-wood-color); color: #fff; font-size: 20px; margin-bottom: .9rem; }
.contact-x-card > span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #a8a8a8; }
.contact-x-card > strong { color: #fff; font-size: 15px; font-weight: 600; word-break: break-word; }
.contact-x-main { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; }
.contact-x-form { background: var(--theme-light-color); padding: 2.5rem; color: #cfcfcf; }
.contact-x-form h2 { color: #fff; font-size: 24px; font-weight: 600; margin: 0 0 .5rem; }
.contact-x-form > p { font-size: 14px; margin: 0 0 1.75rem; }
.contact-x-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.contact-x-field { display: flex; flex-direction: column; gap: .45rem; margin: 0; }
.contact-x-field--wide { grid-column: 1 / -1; }
.contact-x-field > span { font-size: 13px; color: #cfcfcf; }
.contact-x-field input, .contact-x-field select, .contact-x-field textarea { width: 100%; background: var(--theme-color); border: 1px solid #555; color: #fff; padding: .85rem 1rem; font: inherit; font-size: 14px; border-radius: 0; outline: none; transition: border-color .2s; }
.contact-x-field textarea { resize: vertical; min-height: 140px; }
.contact-x-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #cfcfcf 50%), linear-gradient(135deg, #cfcfcf 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.contact-x-field input:focus, .contact-x-field select:focus, .contact-x-field textarea:focus { border-color: var(--theme-wood-color); }
.contact-x-btn { margin-top: 1.5rem; width: 100%; background: var(--theme-wood-color); color: #fff; border: 0; padding: 1rem; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s; }
.contact-x-btn:hover, .contact-x-btn:focus-visible { background: #7d4f30; }
.contact-x-btn:disabled { opacity: .6; cursor: wait; }
#form-status { margin-top: 12px; font-size: 14px; }
.contact-x-map { position: relative; min-height: 420px; background: var(--theme-light-color); }
.contact-x-map > iframe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: grayscale(1); }
@media screen and (max-width: 1200px) { .contact-x-cards { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 992px) {
  .contact-x { padding: 0 16px 3rem; }
  .contact-x-main { grid-template-columns: 1fr; }
  .contact-x-form { padding: 2rem 1.25rem; }
}
@media screen and (max-width: 600px) {
  .contact-x-cards { grid-template-columns: 1fr; }
  .contact-x-fields { grid-template-columns: 1fr; }
}

/* Ana sayfa: videolu ilk slayt */
.home-slider .slider-wrapper video { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-slider .slider-wrapper .slick-item--video::before { background-color: rgba(0, 0, 0, .3); }

/* Yasal sayfalar */
.legal-doc { max-width: 860px; margin: 0 auto; text-align: left; }
.legal-doc h2 { font-size: 21px; margin: 2.75rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--theme-light-color); }
.legal-doc h3 { color: #fff; font-size: 16px; font-weight: 600; margin: 1.75rem 0 .5rem; }
.legal-doc ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal-doc li { font-size: 15px; line-height: 1.8; margin-bottom: .35rem; }
.legal-doc a { color: #fff; text-decoration: underline; text-decoration-color: var(--theme-wood-color); text-underline-offset: 3px; }
.legal-doc a:hover { color: #d9b79f; }
.legal-doc code { color: #e6e6e6; background: var(--theme-light-color); padding: .1em .4em; font-size: 13px; }
.legal-updated { color: #a8a8a8; font-size: 13px !important; letter-spacing: .05em; }
.legal-table-wrap { overflow-x: auto; margin: 0 0 1.25rem; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.legal-table th, .legal-table td { border: 1px solid var(--theme-light-color); padding: .75rem 1rem; vertical-align: top; text-align: left; }
.legal-table th { color: #fff; font-weight: 600; background: var(--theme-light-color); }
.legal-link { background: none; border: 0; padding: 0; color: #fff; font: inherit; text-decoration: underline; text-decoration-color: var(--theme-wood-color); text-underline-offset: 3px; cursor: pointer; }
.legal-btn { background: var(--theme-wood-color); color: #fff; border: 0; padding: .8rem 1.4rem; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .3s; }
.legal-btn:hover { background: #7d4d2e; }

/* Alt bant: yasal bağlantılar */
.footer-legal { background: var(--theme-dark-color); border-top: 1px solid #242424; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding: 1.25rem 3rem; font-size: 13px; color: rgba(255, 255, 255, .6); }
.footer-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-legal a, .footer-legal button { color: rgba(255, 255, 255, .8); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }
@media screen and (max-width: 992px) { .footer-legal { padding: 1.25rem 16px; } }

/* Çerez paneli */
.cerez-banner { position: fixed; z-index: 10000; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem 2rem; padding: 1.5rem 1.75rem; background: var(--theme-dark-color); border-top: 2px solid var(--theme-wood-color); box-shadow: 0 12px 40px rgba(0, 0, 0, .45); color: #cfcfcf; font-family: 'Montserrat', sans-serif; }
.cerez-banner[hidden], .cerez-modal[hidden] { display: none; }
.cerez-banner-text strong { display: block; color: #fff; font-size: 15px; font-weight: 600; margin-bottom: .35rem; }
.cerez-banner-text p { font-size: 13px; line-height: 1.65; margin: 0; }
.cerez-banner a, .cerez-modal-link { color: #fff; text-decoration: underline; text-decoration-color: var(--theme-wood-color); text-underline-offset: 3px; }
.cerez-banner-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.cerez-btn { min-height: 44px; padding: .65rem 1.1rem; border: 1px solid var(--theme-wood-color); background: var(--theme-wood-color); color: #fff; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color .25s, border-color .25s; }
.cerez-btn:hover { background: #7d4d2e; border-color: #7d4d2e; }
.cerez-btn--ghost { background: transparent; border-color: #5a5a5a; }
.cerez-btn--ghost:hover { background: var(--theme-light-color); border-color: #5a5a5a; }
.cerez-btn:focus-visible, .cerez-switch:focus-visible, .cerez-modal-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html.cerez-open { overflow: hidden; }
.cerez-modal { position: fixed; z-index: 10001; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .7); font-family: 'Montserrat', sans-serif; }
.cerez-modal-box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 2rem; background: var(--theme-dark-color); border-top: 2px solid var(--theme-wood-color); color: #cfcfcf; }
.cerez-modal-box h2 { color: #fff; font-size: 20px; font-weight: 600; margin: 0 0 .75rem; }
.cerez-modal-box > p { font-size: 13px; line-height: 1.65; margin: 0 0 1.25rem; }
.cerez-modal-close { position: absolute; top: .75rem; right: .75rem; width: 40px; height: 40px; background: none; border: 0; color: #fff; font-size: 18px; cursor: pointer; }
.cerez-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; margin: 0; border-top: 1px solid var(--theme-light-color); cursor: pointer; }
.cerez-row strong { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.cerez-row span { display: block; font-size: 12px; line-height: 1.55; margin-top: .2rem; }
.cerez-always { color: #a8a8a8; font-size: 12px !important; white-space: nowrap; margin: 0 !important; }
.cerez-switch { appearance: none; -webkit-appearance: none; flex-shrink: 0; position: relative; width: 44px; height: 24px; margin: 0; border-radius: 12px; background: #5a5a5a; cursor: pointer; transition: background-color .2s; }
.cerez-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cerez-switch:checked { background: var(--theme-wood-color); }
.cerez-switch:checked::after { transform: translateX(20px); }
.cerez-modal-actions { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--theme-light-color); }
.cerez-modal-actions .cerez-btn { flex: 1 1 auto; }
.cerez-modal-link { display: inline-block; margin-top: 1rem; font-size: 12px; }
@media screen and (max-width: 768px) {
  .cerez-banner { left: 16px; right: 16px; bottom: 16px; flex-direction: column; align-items: stretch; padding: 1.25rem; }
  .cerez-banner-actions { flex-wrap: wrap; }
  .cerez-banner-actions .cerez-btn { flex: 1 1 auto; }
  .cerez-modal-box { padding: 1.5rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .cerez-switch, .cerez-switch::after { transition: none; } }

/* Harita: onay verilene kadar yer tutucu */
.cerez-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem; text-align: center; color: #cfcfcf; font-size: 14px; line-height: 1.6; }
.cerez-placeholder p { margin: 0; max-width: 340px; }
.cerez-placeholder > i { font-size: 32px; color: #fff; }
[data-cerez-media].is-loaded .cerez-placeholder { display: none; }
[data-cerez-media]:not(.is-loaded) > iframe { display: none; }
.legal-doc .about-story-eyebrow::after { margin-left: 0; }
.legal-doc h1 { font-size: 32px; line-height: 1.3; }
@media screen and (max-width: 992px) { .legal-doc h1 { font-size: 26px; } }

/* 404 */
.nf { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 8rem 16px 5rem; background: var(--theme-dark-color); color: #cfcfcf; text-align: center; }
.nf-bg { position: absolute; inset: 0; }
.nf-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .18; }
.nf-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(31, 31, 31, .55) 0%, var(--theme-dark-color) 75%); }
.nf-inner { position: relative; max-width: 640px; }
.nf-code { font-size: clamp(110px, 22vw, 220px); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: #fff; margin-bottom: 1.5rem; user-select: none; }
.nf-code span { color: var(--theme-wood-color); }
.nf h1 { color: #fff; font-size: 34px; font-weight: 600; line-height: 1.3; margin: 0 0 1rem; }
.nf p { font-size: 15px; line-height: 1.8; margin: 0 auto 2rem; max-width: 520px; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 3rem; }
.nf-btn { display: inline-flex; align-items: center; min-height: 48px; padding: .8rem 1.6rem; background: var(--theme-wood-color); border: 1px solid var(--theme-wood-color); color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none !important; transition: background-color .25s, border-color .25s; }
.nf-btn:hover { background: #7d4d2e; border-color: #7d4d2e; }
.nf-btn--ghost { background: transparent; border-color: #5a5a5a; }
.nf-btn--ghost:hover { background: var(--theme-light-color); border-color: #5a5a5a; }
.nf-links { list-style: none; margin: 0; padding: 2rem 0 0; border-top: 1px solid var(--theme-light-color); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.nf-links a { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.25rem .5rem; color: #cfcfcf !important; font-size: 14px; text-decoration: none !important; transition: color .25s, background-color .25s; }
.nf-links a:hover { color: #fff !important; background: rgba(61, 61, 61, .5); }
.nf-links i { font-size: 24px; color: #fff; }
@media screen and (max-width: 600px) {
  .nf { padding-top: 7rem; }
  .nf h1 { font-size: 26px; }
  .nf-links { grid-template-columns: 1fr; gap: 0; }
  .nf-links a { flex-direction: row; justify-content: center; }
}
