/* -----------------------------------------------
   Nest Dünyası - Custom Overrides
----------------------------------------------- */

/* Section subtitle renk override */
.section-subtitle { color: #111 !important; }

/* Section padding azaltma (10.28rem → 4rem) */
.section {
  padding: 4rem 0 !important;
}

/* section-projects üst boşluk */
.section-projects.section {
  padding-top: 6rem !important;
}

/* -----------------------------------------------
   Marka Rengi: #008bcc
----------------------------------------------- */

/* text-display-1 font küçültme */
.text-display-1 {
  font-size: 1.1rem !important;
  line-height: 1.8 !important;
}

:root {
  --nest-blue: #008bcc;
}

/* Tema ana rengi override */
a:hover,
.filter li a:hover,
.filter .active a,
.link-arrow:hover,
.link-arrow-2:hover,
.view-projects:hover {
  color: var(--nest-blue) !important;
}

.navbar-address span.text-dark {
  color: #000 !important;
}

/* Deneyim sayısı — orijinal tema gibi siyah */
.experience-number {
  color: #000 !important;
}

/* Experience border rengi */
.experience-border {
  border-color: var(--nest-blue) !important;
}

/* Proje hover: yeşil → mavi */
.project-item:hover .project-hover {
  background-color: rgba(0, 139, 204, 0.88) !important;
}

.project-item:hover .project-hover .project-title {
  color: #fff !important;
}

.project-item:hover .project-hover .project-description {
  color: #e8f4fc !important;
}

.read-more:hover,
.link-arrow {
  color: var(--nest-blue) !important;
}

/* Proje kartı & slider link-arrow beyaz (görsel üzerinde) */
.project-item .link-arrow,
.tp-caption .link-arrow,
.tp-caption .link-arrow i {
  color: #fff !important;
}
.project-item .link-arrow:hover,
.tp-caption .link-arrow:hover {
  color: rgba(255,255,255,.75) !important;
}

/* Hamburger menü — sosyal ikon rengi koyu */
.menu-footer .social-list a,
.menu-footer .nd-menu-ig {
  color: #333 !important;
}
.menu-footer .social-list a:hover,
.menu-footer .nd-menu-ig:hover {
  color: var(--nest-blue) !important;
}

/* Revolution Slider bullet rengi */
.tp-bullet.selected,
.tp-bullet:hover {
  background: var(--nest-blue) !important;
}

/* Owl Carousel dot rengi */
.owl-dot.active span {
  background-color: var(--nest-blue) !important;
}

.owl-prev:hover,
.owl-next:hover {
  color: var(--nest-blue) !important;
}

/* Filter tek satır */
.section-projects .filter-content .filter {
  white-space: nowrap;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.section-projects .filter-content .filter li {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Proje kartı görseli — sabit yükseklik, tüm kartlar eşit */
.project-item img {
  width: 100%;
  height: 574px;
  object-fit: cover;
  display: block;
}
.project-item .news-item img {
  width: 100%;
  height: 574px;
  object-fit: cover;
  display: block;
}

/* Owl carousel yükseklik otomatik */
.project-carousel .owl-stage,
.project-carousel .owl-stage-outer,
.project-carousel .owl-item {
  height: auto !important;
}

/* hover-border rengi — site genelinde #1c4883 → #008bcc */
.hover-border::before,
.hover-border::after,
.hover-border div::before,
.hover-border div::after { background: #008bcc !important; }

/* Header logo büyütme */
.navbar .brand img {
  height: 4.5rem;
  margin-right: 0;
}

.navbar .brand {
  margin-top: -1rem;
  margin-bottom: -0.5rem;
}

/* Footer logolar — eşit boyut */
.footer .brand img,
.nd-footer-dotbey {
  height: 3.5rem !important;
  width: auto !important;
}

/* info-title */
.info-title {
  width: auto !important;
}

/* about rakamlar — h4 ve p boşluğu azalt */
.row-services .col-service h4 {
  margin-top: 1.4rem !important;
  margin-bottom: 0.2rem !important;
}
.row-services .col-service p {
  margin-top: 0 !important;
}

/* page-inner üst boşluk azalt */
.page-inner {
  margin-top: 3rem !important;
}

/* -----------------------------------------------
   nest-page-hero — zemin yok, yazı mavi, standart padding
----------------------------------------------- */
.nest-page-hero {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 28px 0 20px !important;
}
.nest-page-hero .col-md-3 {
  padding-top: 0.55rem;
}
.nest-page-hero h1 {
  margin-top: 0;
  color: #000 !important;
  font-size: 2.2rem !important;
  font-weight: 600 !important;
}
.nest-page-hero p {
  color: #000 !important;
  opacity: 1;
}
.nest-page-hero .title-hr {
  background: var(--nest-blue) !important;
}

/* title-hr — site genelinde mavi */
.title-hr {
  background: var(--nest-blue) !important;
}

/* -----------------------------------------------
   Scrollbar — tema #1c4883 → #008bcc
----------------------------------------------- */
::-webkit-scrollbar-thumb {
  background: var(--nest-blue) !important;
  background-color: var(--nest-blue) !important;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #006fa3 !important;
}

/* Tema primary rengi genel override (#1c4883 → #008bcc) */
.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: var(--nest-blue) !important;
  border-color: var(--nest-blue) !important;
}
.btn-primary:hover {
  background-color: #006fa3 !important;
  border-color: #006fa3 !important;
}
a { color: var(--nest-blue); }

/* -----------------------------------------------
   Mobil overrides
----------------------------------------------- */
@media (max-width: 767px) {
  /* Kampanyalar üstündeki boşluk */
  .nd-twin-section { padding: 2rem 0 !important; }

  /* Filter tabs taşma önleme */
  .filter-content { overflow: visible !important; }

  /* Footer logolar biraz büyük */
  .footer .brand img,
  .nd-footer-dotbey { height: 4.5rem !important; }

  /* nd-proj-social mobilde düzenli */
  .nd-proj-social.social-list { float: none !important; display: flex; align-items: center; margin-top: 12px; }
}

/* ── Hamburger menü öğeleri küçült (scroll olmadan sığsın) ── */
.menu-list > li {
  font-size: 1.5rem !important;
  margin-top: 1.8rem !important;
}
.menu-list > li:first-child { margin-top: 0 !important; }

@media (max-width: 767px) {
  .menu-list > li { font-size: 1.3rem !important; margin-top: 1.4rem !important; }
  /* min-height:600px kuralı menu-lang'ı top:7rem yapıyor, onun altına al */
  .menu-list { top: 10.5rem !important; bottom: 8rem !important; }
}
/* Kısa ekranlar (600px altı): menu-lang top:3rem → daha yukarı alınabilir */
@media (max-width: 767px) and (max-height: 599px) {
  .menu-list { top: 7rem !important; }
}

/* ── İç sayfalar: col-md-9 ile üsteki title-hr arasına boşluk ── */
@media (max-width: 991px) {
  .nest-page-hero .col-md-9,
  .page-inner .section .col-md-9 { padding-top: 1.8rem !important; }
}

/* ═══════════════════════════════════════════════
   Nest İncek — Proje Detay İçerik Bölümleri
═══════════════════════════════════════════════ */

/* Genel wrapper */
.nd-incek-content { overflow: hidden; }

/* Section padding (section class override edilmesin) */
.nd-incek-section.section { padding: 3.5rem 0 !important; }

/* 1. Başlık */
.nd-incek-hero-text {
  padding: 3.5rem 0 2rem;
  text-align: center;
}
.nd-incek-h2 {
  font-size: 1.9rem;
  letter-spacing: 0;
  color: #000;
  margin: 0 0 1rem;
}
.nd-incek-h2--left { text-align: left; }
.nd-incek-lead {
  max-width: 680px;
  margin: 0 auto;
  color: #666;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* 2. Carousel */
.nd-incek-carousel-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.nd-incek-ctrl { background: rgba(0,0,0,.35) !important; width: 44px !important; display:flex !important; align-items:center; justify-content:center; }

/* 3. İmaj + metin satırı */
.nd-incek-vrow { align-items: center; }
.nd-incek-vcol { padding-top: 1.5rem; }
.nd-incek-img { width: 100%; height: 320px; object-fit: cover; display: block; }
.nd-incek-img--rounded { border-radius: 4px; }

/* 4. Lifestyle fotoğrafı */
.nd-incek-lifestyle { position: relative; overflow: hidden; }
.nd-incek-lifestyle__img { width: 100%; height: 480px; display: block; object-fit: cover; }
.nd-incek-lifestyle__caption {
  position: absolute;
  bottom: 2rem;
  left: 3rem;
  color: #fff;
}
.nd-incek-lifestyle__sub  { display: block; font-size: 1.1rem; font-style: italic; }
.nd-incek-lifestyle__title { display: block; font-size: 2.2rem; font-style: italic; font-weight: 600; }

/* 5. Alıntı başlığı */
.nd-incek-quote-h {
  color: #000;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.2rem 0 .8rem;
}

/* 6. Koyu mavi alıntı bölümü */
.nd-incek-darkbg {
  background: #003459;
  padding: 4rem 0;
  color: #fff;
}
.nd-incek-qq {
  display: block;
  font-size: 5rem;
  line-height: .8;
  color: rgba(255,255,255,.25);
  font-family: Georgia, serif;
}
.nd-incek-qq--open { margin-bottom: -.5rem; }
.nd-incek-qq--close { margin-top: -.5rem; }
.nd-incek-darkquote {
  font-size: 1.45rem;
  line-height: 1.6;
  color: #fff;
  margin: .8rem 0;
}

/* 7. İki tam genişlik fotoğraf */
.nd-incek-2col { display: flex; }
.nd-incek-fullimg { width: 100%; display: block; height: 320px; object-fit: cover; }

/* 8. Yeşil hayat başlık */
.nd-incek-section-head { text-align: center; margin-bottom: 2.5rem; }

/* 9. Konum ikonları */
.nd-incek-location.section { padding: 3rem 0 2rem !important; }
.nd-incek-icons { margin-top: 1.5rem; }
.nd-incek-icon-item { margin-bottom: 1.8rem; text-align: center; }
.nd-incek-icon-item p { margin: .4rem 0 0; font-size: .85rem; color: #555; }
.nd-incek-icon { width: 64px; height: 64px; object-fit: contain; margin: 0 auto; display: block; }

/* 10. İletişim */
.nd-incek-contact.section { padding: 3rem 0 2rem !important; background: #f9f9f9; }
.nd-incek-contact-row { text-align: center; margin-bottom: 1.5rem; }
.nd-incek-contact-item { margin-bottom: 1.2rem; }
.nd-incek-contact-icon { width: 40px; height: 40px; color: #008bcc; margin: 0 auto .5rem; display: block; }
.nd-incek-contact-label { margin: 0 0 .2rem; font-weight: 600; color: #000; font-size: .9rem; }
.nd-incek-contact-val { color: #008bcc; font-size: 1rem; font-weight: 600; }
.nd-incek-addr-note { color: #555; margin: .5rem 0 .25rem; }
.nd-incek-addr { margin-bottom: 1.5rem; font-size: .95rem; }

/* 12. Alt not */
.nd-incek-footnote {
  text-align: center;
  padding: 1.4rem 1rem;
  font-size: .95rem;
  color: #555;
  margin: 0;
}

/* ── Mobil uyarlama ── */
@media (max-width: 767px) {
  .nd-incek-carousel-img { height: 200px; }
  .nd-incek-img { height: 220px; }
  .nd-incek-lifestyle__img { height: 260px; }
  .nd-incek-lifestyle__caption { bottom: 1rem; left: 1.2rem; }
  .nd-incek-lifestyle__title { font-size: 1.6rem; }
  .nd-incek-fullimg { height: 200px; }
  .nd-incek-darkquote { font-size: 1.15rem; }
  .nd-incek-h2 { font-size: 1.3rem; letter-spacing: 0; }
  .nd-incek-vcol { padding-top: 1rem; }
}

/* ═══════════════════════════════════════════════
   Nest Aden Bodrum — Proje Detay İçerik
═══════════════════════════════════════════════ */

/* İstatistik bloğu */
.nd-bodrum-stats {
  background: #003459;
  padding: 2.5rem 0;
  color: #fff;
  text-align: center;
}
.nd-bodrum-stats__row { display: flex; justify-content: center; }
.nd-bodrum-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
  border-right: 1px solid rgba(255,255,255,.2);
}
.nd-bodrum-stats__item:last-child { border-right: none; }
.nd-bodrum-stats__val {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: .3rem;
}
.nd-bodrum-stats__lbl { font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; opacity: .8; }

/* Olanaklar grid */
.nd-bodrum-feats { margin-top: 2rem; text-align: center; }
.nd-bodrum-feat { margin-bottom: 1.5rem; }
.nd-bodrum-feat__img { width: 100%; height: 160px; object-fit: cover; display: block; border-radius: 4px; }
.nd-bodrum-feat__lbl { margin: .5rem 0 0; font-size: .9rem; font-weight: 600; color: #000; }

/* Galeri */
.nd-bodrum-gallery__img { width: 100%; height: 240px; object-fit: cover; display: block; }

@media (max-width: 767px) {
  .nd-bodrum-stats__item { padding: 0 .8rem; }
  .nd-bodrum-stats__val { font-size: 1.6rem; }
  .nd-bodrum-feat__img { height: 130px; }
  .nd-bodrum-gallery__img { height: 180px; }
}

/* Galeri popup: tıklanabilir imaj imleci */
.nd-gallery-item { display: block; position: relative; overflow: hidden; cursor: zoom-in; }
.nd-gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background .2s;
}
.nd-gallery-item:hover::after { background: rgba(0,0,0,.18); }

/* Bölüm içi carousel ok stili */
.nd-sc-ctrl { background: rgba(0,0,0,.3) !important; width: 36px !important; display:flex !important; align-items:center; justify-content:center; }
.nd-sc-ctrl .icon-chevron-left,
.nd-sc-ctrl .icon-chevron-right { font-size: 14px; }

/* Blog detay sidebar: son yazılar */
.widget_recent_posts .recent-post-thumbnail img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  display: block;
}
.widget_recent_posts .post-title {
  font-size: 0.95rem;
  line-height: 1.4;
}
.widget_recent_posts .post-time {
  font-size: 0.82rem;
}

/* Blog kartı: açıklama metni kısalt */
.news-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blog sayfaları: boşluklar */
.blog-page .projects {
  padding-top: 4rem;
  padding-bottom: 8rem;
}
.blog-detail-page .page-content-2 {
  padding-bottom: 8rem;
}

/* ── Proje detay: görsel ızgarası ── */

/* Azaltılmış padding (varsayılan 4.54rem → 2rem) */
.row-images {
  padding: 2rem 0 !important;
}

/* Flex ile satır içi eşit yükseklik */
.row-images.row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

/* col-image: margin-top sıfırla (orijinal 30px yan yana görselleri bozuyor) */
.row-images .col-image {
  margin-top: 0 !important;
  display: flex;
  padding-bottom: 15px;
}

/* Tam genişlik görsel (col-sm-12) */
.row-images .col-image.col-sm-12 img {
  width: 100%;
  height: auto !important;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Yarım genişlik görseller (col col-sm-6): sabit yükseklik + cover */
.row-images .col-image.col img {
  width: 100%;
  height: 360px !important;
  object-fit: cover;
  display: block;
}

/* Proje detay: içerik ile form arası boşluk */
.page-content {
  padding-bottom: 4rem;
}

/* Proje & blog detay: yazı boyutu ve başlık stilleri */
.page-content .entry-content p,
.page-content .entry-content li,
.page-content-2 .entry-content p,
.page-content-2 .entry-content li {
  font-size: 1.1rem !important;
}
.page-content .entry-description {
  font-size: 1.6rem !important;
  margin-bottom: 1.4rem !important;
}
.page-content .entry-content h2,
.page-content .entry-content h3,
.page-content .entry-content h4,
.page-content-2 .entry-content h2,
.page-content-2 .entry-content h3,
.page-content-2 .entry-content h4 {
  font-weight: 400;
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .row-images .col-image.col img {
    height: 220px !important;
  }
  .row-images .col-image.col-sm-12 img {
    max-height: 300px;
  }
}

/* Blog listing — hover mavi arka plan kaldır */
.blog-page .card-row:hover { background: #f2f2f2; }
.blog-page .card-row:hover .card-title,
.blog-page .card-row:hover .card-text,
.blog-page .card-row:hover .card-posted { color: inherit; }

