body:not(.boxed) div.container.container-wrapper {
  max-width: 100%;
  width: 100%;
}
div.container.container-wrapper {
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 1400px) {
  .container {
    width: 1400px;
    max-width: 100%;
  }
}

/* Kart araları daha rahat */
.row.g-3 {
  row-gap: 1rem;
}

/* CTA satırı */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Buton görünümü (var olan .button/.button2 yerine) */
.btn-ah {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  background: #0f7ad5;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.1s ease;
}
.btn-ah:hover {
  background: #1a84e0ff;
  color: #f5f5f5ff;
}
.btn-ah:active {
  transform: translateY(1px);
}

/* ===== AH Modern Touches ===== */
:root {
  --ah-radius: 12px;
  --ah-radius-lg: 16px;
  --ah-shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.08);
  --ah-shadow-md: 0 10px 24px rgba(0, 0, 0, 0.1);
  --ah-primary: #0f7ad5; /* buton renginle aynı tonda tut */
}

/* Buton (önceki btn-ah ile uyumlu, hafif yuvarlak + gölge) */
.btn-ah {
  border-radius: var(--ah-radius);
  box-shadow: var(--ah-shadow-sm);
  line-height: 1.25;
}
.btn-ah:hover {
  transform: translateY(-1px);
  box-shadow: var(--ah-shadow-md);
}
.btn-ah:active {
  transform: translateY(0);
  box-shadow: var(--ah-shadow-sm);
}

/* Bölüm başlıkları: rozet/şerit görünümü, yuvarlatılmış */
.section-title-new,
.section-title-new-2,
.section-title-new-3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  background: none;
  font-weight: 700;
  margin-bottom: 12px;
  color: #4b4b4bff;
}
.section-title-new i,
.section-title-new-2 i,
.section-title-new-3 i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ah-primary);
  color: #fff;
  font-size: 16px;
}

.section-title-new i {
  background: rgba(182, 9, 9, 1);
}

/* === PROPERTY GRID: tek yerden eşit yatay+dikey boşluk === */
.properties .row {
  --gap: 20px; /* aralığı buradan yönet */
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(-0.5 * var(--gap)) !important;
  margin-right: calc(-0.5 * var(--gap)) !important;
  row-gap: var(--gap);
}

.properties .row > [class^="col-"],
.properties .row > [class*=" col-"] {
  padding-left: calc(var(--gap) / 2) !important;
  padding-right: calc(var(--gap) / 2) !important;
  margin-bottom: var(--gap) !important; /* satırlar arası eşit boşluk */
  box-sizing: border-box;
}

/* Bazı temalarda kartlara margin veriliyor; hepsini sıfırla */
.properties .row .property-card {
  margin: 0 !important;
  height: 100%;
}

/* thumbnail-g daha önce padding:0 !important veriyorsa boşluklar kaybolur.
   Ya o satırı sil, ya da burada üzerine yaz: */
.thumbnail-g {
  padding: 0 !important; /* sütun padding'i ile boşluk veriyoruz */
}

/* Kart köşeleri/gölge: (butonlarla aynı stil) */
.property-card {
  border: 0;
  border-radius: var(--ah-radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--ah-shadow-sm, 0 6px 16px rgba(0, 0, 0, 0.08));
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.property-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ah-shadow-md, 0 10px 24px rgba(0, 0, 0, 0.1));
}

/* Kart içindeki görseller köşeye uysun */
.property-card img {
  border-radius: inherit;
  display: block;
}

.news .card {
  border: 0;
  border-radius: var(--ah-radius-lg);
  overflow: hidden;
  box-shadow: var(--ah-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background: #fff;
}

.news .card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ah-shadow-md);
}

/* Kart içindeki görseller: köşe uyumu */
.news .card img,
.news-thumbnail img {
  border-radius: inherit; /* üst köşeler kartla aynı */
  display: block;
}

/* Hover overlay ikonları kart radius’una uysun */
.news .property-card-hover {
  border-radius: inherit;
  overflow: hidden;
}

/* Grid aralıkları (Bootstrap 4/5 fark etmeksizin) */
.row.g-3 {
  row-gap: 0rem;
}

.news-item,
.news .item > .row > div {
  margin-bottom: 30px;
}

/* “See all …” buton sırası (CTA) */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 20px 0 10px;
}

/* Dil dropdown’ı vs. gibi menüler için yumuşak köşe */
.dropdown-menu,
.dropdown-menu-lang {
  border-radius: var(--ah-radius);
}

/* Küçük rozet/etiketler varsa */
.badges-primary,
.badges-secondary,
.label-tag-primary,
.label-tag-warning {
  border-radius: 999px;
}

/* Thumbnail genel sınıfın varsa hafif iç boşluk (opsiyonel) */
.thumbnail-g {
  padding: 0.25rem;
}

/* Haber başlığı biraz daha modern */
.news .title a {
  text-decoration: none;
}
.news .title a:hover {
  text-decoration: underline;
}

/* Property kartı konum referansı olsun */
.property-card {
  position: relative;
}

.property-card .utube {
  height: 56px !important;
  width: 56px !important;
}

/* Kart genel */
.ah-card {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: 0.15s;
}
.ah-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.ah-card-img {
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Başlık/özet */
.property-card-title a {
  text-decoration: none;
}
.property-card-title a:hover {
  text-decoration: underline;
}
.ah-line-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  margin: 0;
}

/* Grid boşlukları (eşit 20px) */
.properties .row {
  --gap: 20px;
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(-0.5 * var(--gap));
  margin-right: calc(-0.5 * var(--gap));
  row-gap: var(--gap);
}
.properties .row > [class^="col-"],
.properties .row > [class*=" col-"] {
  padding-left: calc(var(--gap) / 2);
  padding-right: calc(var(--gap) / 2);
  margin-bottom: var(--gap);
}
.thumbnail-g {
  padding: 0;
}

/* YouTube butonu: tam daire + popup */
.utube-btn {
  position: absolute;
  left: 18px;
  top: 124px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fe0303;
  opacity: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.utube-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.utube-icon {
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.property-card-header.image-box {
  position: relative;
} /* referans nokta */
.property-card-header.image-box .utube-btn {
  top: 12px !important; /* üste alır */
  left: 12px !important; /* soldan boşluk */
  bottom: auto;
  z-index: 9; /* her şeyin üstünde kalsın */
}

/* Mobilde biraz aşağı ve küçük */
@media (max-width: 767.98px) {
  .utube-btn {
    top: 140px;
    left: 14px;
    width: 54px;
    height: 54px;
  }
  .utube-icon {
    font-size: 26px;
  }
}

/* Link rengi (tema uyumlu) */
.ah-link {
  color: #0f7ad5;
  text-decoration: none;
}
.ah-link:hover {
  text-decoration: underline;
}

/* ===== HOME HERO ===== */
.hero-home {
  position: relative;
  min-height: 520px; /* gerekirse 560–640 yapabilirsin */
  display: flex;
  align-items: center;
  isolation: isolate; /* overlay katmanı için */
}

.hero-home__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://www.alanya-home.com/templates/bootstrap4/assets/img/alanya-home.webp"); /* görselini buraya koy */
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-home__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  z-index: -1;
}

.hero-home__content {
  color: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-home__title {
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 0 0 14px;
}

.hero-home__lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  opacity: 0.95;
  margin: 0 0 18px;
}

.hero-home__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 12px;
}

.hero-home__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  list-style: none;
  padding: 0;
  margin: 10px 0 6px;
}
.hero-home__quicklinks a {
  color: #fff;
  text-decoration: underline;
}
.hero-home__quicklinks a:hover {
  text-decoration: none;
}

.hero-home__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.95;
}
.hero-home__trust i {
  margin-right: 6px;
  color: #9be2ff;
}

/* Alt SEO metni */
.hero-seo-text {
  padding-bottom: 0;
  padding-top: 38px;
  background: #f8fafc;
}
.hero-seo-text h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  margin-bottom: 10px;
}
.hero-seo-text p {
  color: #3b3b3b;
}

/* Mevcut buton stilinle uyum (btn-ah zaten var) */
.hero-home .btn-ah {
  border-radius: var(--ah-radius, 12px);
  box-shadow: var(--ah-shadow-sm, 0 6px 16px rgba(0, 0, 0, 0.08));
  background: #0f7ad5;
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
}
.hero-home .btn-ah:hover {
  transform: translateY(-1px);
  box-shadow: var(--ah-shadow-md, 0 10px 24px rgba(0, 0, 0, 0.1));
}

/* Mobil dokunuşlar */
@media (max-width: 767.98px) {
  .hero-home {
    min-height: 460px;
  }
  .hero-home__content {
    max-width: 100%;
  }
  .hero-home__trust {
    font-size: 13px;
  }
}

/* === Scroll To Top === */
.ah-scrolltop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998; /* WhatsApp 9999 ise altında kalmaz */
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #0f7ad5;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.18s ease,
    visibility 0.18s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ah-scrolltop svg {
  display: block;
  fill: #fff;
}

.ah-scrolltop:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.ah-scrolltop:focus {
  outline: 2px solid rgba(15, 122, 213, 0.35);
  outline-offset: 3px;
}

/* görünür olduğunda */
.ah-scrolltop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* mobilde biraz küçük */
@media (max-width: 768px) {
  .ah-scrolltop {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }
}

/* === Filter Card (AH) === */
.ah-filter-card {
  border: 0;
  border-radius: var(--ah-radius-lg, 16px);
  box-shadow: var(--ah-shadow-sm, 0 6px 16px rgba(0, 0, 0, 0.08));
  background: #fff;
  padding: 18px;
  margin-bottom: 20px;
}

.ah-filter-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: #4b4b4b;
  margin-bottom: 12px;
}
.ah-filter-head i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--ah-primary, #0f7ad5);
  color: #fff;
  font-size: 16px;
}

.ah-filter-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ah-field {
  display: block;
}
.ah-field > label {
  display: block;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 6px;
}
.ah-field input.form-control,
.ah-field select.form-control {
  border-radius: var(--ah-radius, 12px);
  border: 1px solid #e6e6e6;
  padding: 10px 12px;
  box-shadow: none;
  outline: 0;
}
.ah-field input.form-control:focus,
.ah-field select.form-control:focus {
  border-color: #cfe4fb;
  box-shadow: 0 0 0 3px rgba(15, 122, 213, 0.08);
}

.ah-field-row2 .ah-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Checkbox grid */
.ah-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid #eee;
  border-radius: 999px;
  background: #fafafa;
  cursor: pointer;
  user-select: none;
  margin-right: 8px;
  margin-bottom: 8px;
  font-size: 0.92rem;
}
.ah-check input {
  display: none;
}
.ah-check i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid #bbb;
  display: inline-block;
}
.ah-check input:checked + i {
  background: var(--ah-primary, #0f7ad5);
  border-color: var(--ah-primary, #0f7ad5);
  box-shadow: 0 0 0 3px rgba(15, 122, 213, 0.12) inset;
}

/* Actions */
.ah-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 6px;
}
.btn-ah {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--ah-radius, 12px);
  background: var(--ah-primary, #0f7ad5);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--ah-shadow-sm, 0 6px 16px rgba(0, 0, 0, 0.08));
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.2s ease;
  border: 0;
}
.btn-ah:hover {
  transform: translateY(-1px);
  box-shadow: var(--ah-shadow-md, 0 10px 24px rgba(0, 0, 0, 0.1));
}
.btn-ah:active {
  transform: translateY(0);
}
.btn-ah-ghost {
  background: #fff;
  color: #333;
  border: 1px solid #e6e6e6;
}

@media (min-width: 768px) {
  .ah-filter-form {
    grid-template-columns: 1fr 1fr;
  }
  .ah-actions {
    grid-column: 1 / -1;
  }
}
