/* =============================================================
   LISTING CARD (.lc) — Shared between Home & Listings pages
   ============================================================= */

.lc {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform .3s ease;
}
.lc:hover {
  transform: scale(1.02);
}

/* blur → sharp reveal on scroll */
.lc--reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(30px) scale(.97);
  transition: opacity .7s cubic-bezier(.4,0,.2,1),
              filter .7s cubic-bezier(.4,0,.2,1),
              transform .7s cubic-bezier(.4,0,.2,1);
}
.lc--reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* image */
.lc__img {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 20px;
}
.lc__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.lc:hover .lc__img img { transform: scale(1.05); }
.lc__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.28) 100%);
  pointer-events: none;
  border-radius: 20px;
}

/* share button — top-right on image */
.lc__share {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #1a1a2e;
  font-size: 15px;
  z-index: 3;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  text-decoration: none !important;
}
.lc__share:hover {
  background: #fff;
  transform: scale(1.08);
}

/* whatsapp button — bottom-left on image */
.lc__wa {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,.08);
  color: #1a1a2e;
  font-size: 13px;
  font-weight: 600;
  z-index: 3;
  text-decoration: none !important;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.lc__wa:hover {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  color: #1a1a2e;
}
.lc__wa i {
  font-size: 16px;
  color: #25D366;
}

/* chips (SATILIK / KİRALIK) — hidden, type shown in body */
.lc__chip { display: none; }
.lc__ilan { display: none; }

/* body */
.lc__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 6px 0;
}
.lc__title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 4px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}
.lc__location {
  font-size: 13px;
  color: #777;
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

/* price */
.lc__price {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0;
}
.lc__price small {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
}

/* meta — hidden in new design */
.lc__meta { display: none; }
.lc__bottom { display: none; }
.lc__arrow { display: none; }

/* action buttons row */
.lc__actions {
  display: flex;
  margin-top: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}
.lc__actions-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  background: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .2s, color .2s;
}
.lc__actions-btn:hover {
  background: #f8f5ed;
  color: #1a1a2e;
}
.lc__actions-btn i {
  font-size: 14px;
  color: #999;
}
.lc__actions-btn:hover i {
  color: #D4AF37;
}
/* vertical divider between buttons */
.lc__actions-btn + .lc__actions-btn {
  border-left: 1px solid #e5e5e5;
}
.lc__actions-btn--primary {
  color: #1a1a2e;
  font-weight: 700;
}
.lc__actions-btn--primary i {
  color: #1a1a2e;
}

/* listing card responsive */
@media (max-width: 991px) {
  .lc__img { height: 260px; }
  .lc__price { font-size: 20px; }
}
@media (max-width: 575px) {
  .lc__img { height: 220px; border-radius: 16px; }
  .lc__img-overlay { border-radius: 16px; }
  .lc__body { padding: 12px 4px 0; }
  .lc__title { font-size: 14px; }
  .lc__price { font-size: 18px; }
  .lc__price small { font-size: 14px; }
  .lc__actions-btn { padding: 10px 6px; font-size: 12px; }
  .lc__wa { padding: 6px 12px; font-size: 12px; }
  .lc__share { width: 36px; height: 36px; font-size: 13px; }
}

/* =============================================================
   MOBILE UI/UX OVERRIDES — Hakkımızda & İletişim
   ============================================================= */

/* ---- HERO SECTION — Mobile ---- */
@media (max-width: 767px) {
  .inner-main-hero-area {
    padding: 90px 0 16px;
    background: #fff;
  }
  .inner-main-hero-area .img1,
  .inner-main-hero-area .img2 {
    display: none !important;
  }
  .inner-main-hero-area .inner-heading {
    text-align: left;
  }
  .inner-main-hero-area .inner-heading h2 {
    display: none;
  }
  .inner-main-hero-area .inner-heading p {
    font-size: 13px;
    margin-bottom: 0;
  }
  .inner-main-hero-area .inner-heading p a {
    font-size: 13px;
    color: #666;
  }
  .inner-main-hero-area .inner-heading p a:last-child {
    color: #333;
  }
}

/* ---- ABOUT PAGE — Property/Content Section ---- */
@media (max-width: 767px) {
  /* Hide decorative secondary images and elements on mobile */
  .property3-section-area .property-images-area .img2,
  .property3-section-area .property-images-area .elements {
    display: none;
  }
  .property3-section-area .property-images-area .img1 {
    margin-left: 0;
    margin-bottom: 0;
  }
  .property3-section-area .property-images-area .img1 img {
    border-radius: 12px;
    max-height: 240px;
    object-fit: cover;
  }
  .property3-section-area .property-images-area {
    margin-bottom: 32px;
  }
  .property3-section-area .property-content h5 {
    font-size: 14px;
  }
  .property3-section-area .property-content h2 {
    font-size: 24px;
    line-height: 1.3;
  }
  .property3-section-area .property-content p {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* ---- ABOUT PAGE — "Neden Biz" Section ---- */
@media (max-width: 767px) {
  .about1-section-area .about-header h2 {
    font-size: 22px;
    line-height: 1.3;
  }
  .about1-section-area .about-header p {
    font-size: 14px;
    line-height: 1.7;
  }
  /* Fix image overflow: images had fixed 500px width */
  .about1-section-area .about-images .img1 img,
  .about1-section-area .about-images .img2 img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
  }
  /* Hide decorative elements on mobile */
  .about1-section-area .about-images .elements {
    display: none;
  }
  .about1-section-area .about-images .img2 {
    margin-top: 12px;
    margin-left: 0;
  }
}

/* ---- BUTTONS — Full-width stacking on mobile ---- */
@media (max-width: 767px) {
  .btn-area1 {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .btn-area1 .header-btn4 {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 15px;
    box-sizing: border-box;
  }
  /* Ensure the ::after pseudo stays proportional */
  .btn-area1 .header-btn4::after {
    height: 38px;
    width: 38px;
    left: 4px;
    top: 4px;
  }
  .btn-area1 .header-btn4:hover::after {
    width: calc(100% - 8px);
  }
}

/* ---- CONTACT PAGE — Main area ---- */
@media (max-width: 767px) {
  .contact-inner-area .contact-inner-boxarea {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .contact-inner-area .contact-inner-boxarea .contact-input-section {
    padding: 0;
    margin-bottom: 24px;
  }
  .contact-inner-area .contact-inner-boxarea .contact-input-section h3 {
    font-size: 20px;
    line-height: 1.4;
  }
  .contact-inner-area .contact-inner-boxarea .contact-input-section p {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* ---- CONTACT PAGE — Contact boxes ---- */
@media (max-width: 767px) {
  .contact-inner-area .contact-inner-boxarea .contact-box {
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .contact-inner-area .contact-inner-boxarea .contact-box .icons {
    position: relative;
    flex-shrink: 0;
    height: 44px;
    width: 44px;
    line-height: 44px;
  }
  .contact-inner-area .contact-inner-boxarea .contact-box .content {
    padding-left: 0;
  }
  .contact-inner-area .contact-inner-boxarea .contact-box .content p {
    font-size: 14px;
    padding-bottom: 6px;
  }
  .contact-inner-area .contact-inner-boxarea .contact-box .content a {
    font-size: 14px;
    word-break: break-word;
  }
}

/* ---- CONTACT PAGE — Social links ---- */
@media (max-width: 767px) {
  .contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .contact-social-links li {
    margin-bottom: 4px;
  }
  .contact-social-link {
    font-size: 14px;
    padding: 8px 14px;
    background: rgba(222, 198, 120, 0.08);
    border-radius: 10px;
    gap: 8px;
  }
}

/* ---- CONTACT PAGE — Map ---- */
@media (max-width: 767px) {
  .contact-inner-area .maps-area iframe {
    height: 250px;
    border-radius: 12px;
  }
}

/* ---- CONSULTANT CARDS — Mobile ---- */
@media (max-width: 767px) {
  .consultants-section-area {
    padding: 48px 0;
  }
  .consultants-section-area .consultants-header h2 {
    font-size: 22px;
    line-height: 1.3;
  }
  .consultants-section-area .consultants-header p {
    font-size: 14px;
  }
  .consultants-section-area .consultants-header.space-margin60 {
    margin-bottom: 32px;
  }
  .consultant-card {
    padding: 1.25rem 1rem;
    border-radius: 12px;
    flex-direction: row;
    text-align: left;
    gap: 14px;
  }
  .consultant-avatar {
    width: 64px;
    height: 64px;
    margin: 0;
    border-width: 2px;
    flex-shrink: 0;
  }
  .consultant-avatar-placeholder {
    font-size: 1.5rem;
  }
  .consultant-content {
    min-width: 0;
  }
  .consultant-name {
    font-size: 1rem;
  }
  .consultant-title {
    font-size: 0.8rem;
  }
}

/* ---- GENERAL SPACING — Mobile ---- */
@media (max-width: 767px) {
  .sp6 {
    padding: 48px 0;
  }
  .sp1 {
    padding: 40px 0;
  }
  .space60 {
    height: 32px;
  }
  .space80 {
    height: 40px;
  }
  .space48 {
    height: 24px;
  }
  .space32 {
    height: 20px;
  }

  /* Headings scale on mobile */
  .heading3 h2 {
    font-size: 24px;
    line-height: 1.3;
  }
  .heading3 h5 {
    font-size: 13px;
  }
}

/* ---- FOOTER — Mobile refinement ---- */
@media (max-width: 767px) {
  .footer3-section-area .footer-bottom-area .footer-menu-area {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer3-section-area .footer-bottom-area .footer-menu-area .footer-logo {
    margin-bottom: 8px;
  }
  .footer3-section-area .footer-bottom-area .copyright-area {
    text-align: center;
  }
  .footer3-section-area .footer-instagram-area .footer-contact-box {
    padding: 24px 16px;
    border-radius: 12px;
  }
  .footer3-section-area .footer-instagram-area .footer-contact-box h3 {
    font-size: 18px;
  }
}

/* ---- TOUCH TARGET — Minimum 44px for interactive elements ---- */
@media (max-width: 767px) {
  a.header-btn4,
  .contact-box a,
  .contact-social-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  /* Override for btn-area1 context where we want block display */
  .btn-area1 .header-btn4 {
    display: flex;
    justify-content: center;
    min-height: 48px;
  }
}

/* ---- TABLET (768–991px) ---- */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .about1-section-area .about-images .img1 img,
  .about1-section-area .about-images .img2 img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .btn-area1 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .consultant-card {
    padding: 1.5rem 1rem;
  }
  .consultant-avatar {
    width: 80px;
    height: 80px;
  }
}

/* =============================================================
   MOBILE BOTTOM NAVIGATION BAR
   ============================================================= */

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  box-shadow: none;
  padding-bottom: env(safe-area-inset-bottom, 0);
  transition: transform 0.3s ease;
}

.mobile-bottom-nav__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
}

.mobile-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 4px 8px;
  text-decoration: none !important;
  color: #999;
  font-family: 'Quicksand', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, transform 0.15s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav__item i {
  font-size: 20px;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Active state */
.mobile-bottom-nav__item.is-active {
  color: #D4AF37;
}
.mobile-bottom-nav__item.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: #D4AF37;
  border-radius: 0 0 3px 3px;
}

/* Hover / tap states */
.mobile-bottom-nav__item:hover,
.mobile-bottom-nav__item:active {
  color: #D4AF37;
}
.mobile-bottom-nav__item:active i {
  transform: scale(0.9);
}

/* WhatsApp item */
.mobile-bottom-nav__item--wa:hover,
.mobile-bottom-nav__item--wa:active {
  color: #25d366;
}

/* Phone item */
.mobile-bottom-nav__item--phone:hover,
.mobile-bottom-nav__item--phone:active {
  color: #4fc3f7;
}

/* Hide bottom nav when mobile sidebar is open */
body.mobile-menu-open .mobile-bottom-nav {
  transform: translateY(100%);
}

/* Offset body so footer isn't hidden behind fixed bottom nav */
@media (max-width: 991px) {
  body {
    padding-bottom: 68px;
  }

  /* Hide back-to-top button on mobile */
  .progress-wrap {
    display: none !important;
  }
}
