/*
Theme Name: Polypus Real Estate
Theme URI: https://example.com/
Author: Polypus International
Description: Custom real-estate WordPress theme for Polypus International Consultancy.
Version: 1.5.9
Text Domain: polypus-real-estate
*/

:root{
  --orange:#ed5a0b;
  --orange-dark:#c94806;
  --secondary:#55565a;
  --ink:#26272a;
  --heading:#26272a;
  --muted:#707278;
  --light:#f1f2f3;
  --white:#fff;
  --line:#d9dadd;
  --radius:18px;
  --shadow:0 14px 40px rgba(0,0,0,.07);
  --font:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--light);
  color:var(--ink);
  font-family:var(--font);
  line-height:1.6
}

body.lightbox-open{overflow:hidden}

a{
  color:inherit;
  text-decoration:none
}

img{
  max-width:100%;
  height:auto
}

button,input,select,textarea{
  font:inherit
}

.container{
  width:min(1180px,calc(100% - 40px));
  margin:auto
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(241,242,243,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line)
}

.header-inner{
  min-height:100px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px
}

.brand img{
  display:block;
  width:min(300px,52vw);
  height:auto
}

.main-nav ul{
  list-style:none;
  display:flex;
  gap:28px;
  margin:0;
  padding:0;
  align-items:center
}

.main-nav a{
  font-weight:650;
  letter-spacing:.02em
}

.main-nav a:hover,
.main-nav .current-menu-item>a{
  color:var(--orange)
}

.menu-toggle{
  display:none;
  border:0;
  background:none;
  font-size:28px;
  color:var(--orange)
}


/* HERO */

.hero{
  padding:70px 0 58px;
  background:linear-gradient(135deg,#f7f7f7 0%,#eceeef 100%);
  border-bottom:1px solid var(--line)
}

.hero h1{
  font-size:clamp(30px,2.7vw,40px);
  max-width:820px;
  line-height:1.04;
  margin:0 0 24px;
  letter-spacing:-.035em
}

.accent{
  color:var(--orange)
}

.hero p{
  font-size:19px;
  color:var(--muted);
  max-width:680px
}

.search-box{
  margin-top:36px;
  padding:18px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}

.search-row{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr auto;
  gap:12px
}

.field{
  width:100%;
  border:1px solid var(--line);
  background:#fafafa;
  padding:14px 15px;
  border-radius:12px;
  color:var(--ink)
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:12px;
  background:var(--orange);
  color:#fff;
  padding:13px 20px;
  font-weight:750;
  cursor:pointer
}

.button:hover{
  background:var(--orange-dark)
}


/* SECTIONS */

.section{
  padding:72px 0
}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:end;
  margin-bottom:28px
}

.section-title{
  margin:0;
  font-size:clamp(28px,2.8vw,40px);
  line-height:1.05;
  letter-spacing:-.035em
}

.section-kicker{
  margin:0 0 8px;
  color:var(--orange);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:13px
}


/* İLAN KARTLARI */

.listing-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px
}

.listing-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .2s ease,box-shadow .2s ease
}

.listing-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 45px rgba(0,0,0,.1)
}

.listing-image{
  aspect-ratio:4/3;
  background:#ddd;
  position:relative;
  overflow:hidden
}

.listing-image img{
  width:100%;
  height:100%;
  object-fit:cover
}

.status-badge{
  position:absolute;
  top:14px;
  left:14px;
  background:var(--orange);
  color:#fff;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:800
}

.listing-body{
  padding:16px
}

.listing-title{
  font-size:17px;
  line-height:1.25;
  margin:0 0 8px
}

.listing-location{
  color:var(--muted);
  font-size:14px
}

.listing-price{
  font-size:20px;
  font-weight:850;
  color:var(--orange);
  margin:12px 0
}

.listing-meta{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  color:#555;
  font-size:14px;
  border-top:1px solid var(--line);
  padding-top:13px
}


/* =========================================================
   EKİBİMİZ
   Daha dolu, dengeli ve kurumsal kart tasarımı
   ========================================================= */

.team-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px
}

.team-card{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px 24px;
  text-align:center;
  box-shadow:var(--shadow);
  aspect-ratio:1.15 / 1;
  min-height:330px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease
}

.team-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 45px rgba(0,0,0,.09);
  border-color:#cfd0d2
}

.team-card a{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center
}

.team-photo-wrap{
  width:180px;
  height:180px;
  flex:0 0 180px;
  margin:0 auto 16px;
  display:flex;
  align-items:center;
  justify-content:center
}

.team-card img.team-photo,
.team-photo-placeholder{
  width:180px;
  height:180px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  background:#ddd;
  border:1px solid #e0e1e2
}

.team-photo-placeholder{
  display:grid;
  place-items:center
}

.team-number{
  display:none!important
}

.team-card h3{
  margin:0 0 7px;
  font-size:24px;
  line-height:1.2;
  letter-spacing:-.02em;
  color:var(--heading)
}

.team-role{
  color:var(--orange);
  font-weight:750;
  font-size:16px;
  line-height:1.4;
  max-width:100%
}


/* CTA */

.cta{
  background:var(--ink);
  color:#fff;
  border-radius:28px;
  padding:40px
}

.cta h2{
  font-size:clamp(26px,2.8vw,38px);
  margin:0 0 10px
}

.cta p{
  color:#c9c9ca;
  max-width:650px
}

.cta-contact-button{
  margin-top:8px
}


/* FOOTER */

.site-footer{
  padding:48px 0 24px;
  background:#1c1d1f;
  color:#c8c8c9
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1.15fr;
  gap:54px
}

.footer-brand img{
  width:230px;
  background:#fff0;
  padding:0
}

.footer-title{
  color:#fff;
  font-weight:800;
  font-size:16px;
  margin-bottom:13px
}

.footer-nav{
  display:block
}

.footer-nav ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:0;
  padding:0
}

.footer-nav li{
  margin:0;
  padding:0
}

.footer-nav a,
.site-footer p{
  font-size:14px;
  line-height:1.55
}

.footer-nav a{
  color:#c8c8c9
}

.footer-nav a:hover{
  color:var(--orange)
}

.footer-tagline{
  margin-top:18px
}

.footer-contact-link{
  color:#fff;
  font-weight:800
}

.footer-contact-link:hover{
  color:var(--orange)
}

.footer-bottom{
  border-top:1px solid #333;
  margin-top:34px;
  padding-top:18px;
  font-size:15px;
  color:#999
}

.admin-only-note{
  color:var(--muted);
  font-size:13px
}


/* SINGLE İLAN */

.single-hero{
  padding:55px 0 25px
}

.breadcrumb{
  color:var(--orange);
  font-weight:750;
  margin-bottom:12px
}

.single-title{
  font-size:clamp(32px,4vw,52px);
  line-height:1.05;
  margin:0
}

.single-layout{
  display:grid;
  grid-template-columns:1.45fr .75fr;
  gap:28px
}

.gallery-main{
  border-radius:var(--radius);
  overflow:hidden;
  background:#ddd;
  aspect-ratio:16/10
}

.gallery-main-link{
  display:block;
  width:100%;
  height:100%
}

.gallery-main img{
  width:100%;
  height:100%;
  object-fit:cover
}

.gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
  align-items:stretch
}

.gallery-thumb{
  display:block;
  position:relative;
  border-radius:8px;
  overflow:hidden;
  border:2px solid transparent;
  min-width:0;
  background:#ddd
}

.gallery-thumb.is-active{
  border-color:var(--orange)
}

.gallery-thumb img{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:1.4;
  object-fit:cover
}

.gallery-open{
  min-height:100%;
  border:1px solid var(--orange);
  background:#fff;
  color:var(--orange);
  padding:8px 10px;
  border-radius:8px;
  font-weight:800;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  line-height:1.2
}

.gallery-open:hover{
  background:var(--orange);
  color:#fff
}

.gallery-open-icon{
  font-size:18px;
  line-height:1
}

.gallery-large-button{
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  color:var(--secondary);
  border-radius:9px;
  padding:7px 12px;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:4px
}

.gallery-large-button:hover{
  border-color:var(--orange);
  color:var(--orange)
}

.gallery-large-icon{
  font-size:18px;
  line-height:1;
  color:var(--orange)
}

.gallery-toolbar{
  display:flex;
  justify-content:center;
  padding:10px 0 0
}


/* İLAN BİLGİLERİ */

.info-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow)
}

.price-big{
  font-size:clamp(28px,3.2vw,36px);
  line-height:1.12;
  color:var(--orange);
  font-weight:900;
  overflow-wrap:anywhere
}

.specs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  border-top:1px solid var(--line);
  margin-top:20px
}

.spec{
  padding:13px 0;
  border-bottom:1px dotted #bbb
}

.spec strong{
  display:block;
  font-size:13px;
  color:var(--muted)
}


/* DANIŞMAN */

.advisor-box{
  display:flex;
  gap:15px;
  align-items:flex-start;
  margin-top:24px;
  padding-top:24px;
  border-top:1px solid var(--line)
}

.advisor-photo{
  flex:0 0 68px
}

.advisor-photo img,
.advisor-placeholder{
  width:68px;
  height:68px;
  border-radius:50%;
  object-fit:cover;
  display:grid;
  place-items:center;
  background:var(--light);
  border:1px solid var(--line)
}

.advisor-placeholder{
  color:var(--orange);
  font-size:24px;
  font-weight:900
}

.advisor-content{
  min-width:0
}

.advisor-label{
  font-size:11px;
  color:var(--orange);
  font-weight:900;
  letter-spacing:.12em;
  margin-bottom:3px
}

.advisor-name{
  font-size:18px
}

.advisor-contact{
  margin-top:5px;
  color:var(--muted);
  font-size:14px
}

.advisor-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:11px
}

.advisor-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--orange);
  color:var(--orange);
  padding:7px 11px;
  border-radius:9px;
  font-size:13px;
  font-weight:800
}

.advisor-action:hover{
  background:var(--orange);
  color:#fff
}

.advisor-whatsapp{
  border-color:#6a8f5d;
  color:#587a4d
}

.advisor-whatsapp:hover{
  background:#587a4d;
  color:#fff
}


/* İLAN TARİHİ */

.single-top-meta{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(150px,.65fr);
  gap:24px;
  align-items:end;
  margin-top:20px;
  padding:0 0 22px;
  border-bottom:1px solid var(--line);
  min-width:0
}

.single-location{
  color:var(--muted);
  font-size:17px;
  line-height:1.35;
  min-width:0
}

.single-date{
  display:flex;
  flex-direction:column;
  gap:2px;
  color:var(--muted);
  font-size:14px;
  line-height:1.35;
  min-width:0
}

.single-date strong{
  font-size:14px;
  color:var(--heading)
}

.single-date span{
  font-size:16px;
  color:var(--ink);
  white-space:nowrap
}


/* GENEL */

.empty{
  padding:45px;
  text-align:center;
  background:#fff;
  border:1px dashed var(--line);
  border-radius:var(--radius);
  color:var(--muted)
}

.admin-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px
}

.stat-card{
  background:#fff;
  border:1px solid var(--line);
  padding:22px;
  border-radius:16px
}

.stat-card strong{
  display:block;
  font-size:30px;
  color:var(--orange)
}

.polypus-common-listing-fields{
  margin-top:18px
}

.polypus-common-listing-fields>*{
  margin-top:12px
}

.polypus-land-fields.is-hidden,
.polypus-generic-fields.is-hidden{
  display:none!important
}


/* ARAMA */

.polypus-search-feedback{
  margin-top:12px;
  min-height:0;
  display:none
}

.polypus-search-feedback.is-error{
  display:block;
  padding:12px 15px;
  text-align:center;
  border:1px solid #f0c6b5;
  background:#fff7f3;
  color:var(--orange-dark);
  border-radius:10px;
  font-size:14px;
  font-weight:700
}

.polypus-search-feedback.is-error span{
  font-weight:500
}

.polypus-search-results{
  margin-top:18px
}

.polypus-search-results:empty{
  display:none
}

.polypus-search-results-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px
}

.polypus-search-results-title{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--orange);
  font-weight:900;
  margin:0 0 12px
}


/* İLETİŞİM */

.contact-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px
}

.contact-page .info-card h2{
  margin-top:0
}

.polypus-contact-form{
  display:grid;
  gap:14px
}

.polypus-contact-form label{
  display:grid;
  gap:6px;
  font-weight:700;
  color:var(--ink)
}

.polypus-contact-form textarea{
  resize:vertical
}

.polypus-contact-success{
  margin:0 0 22px;
  padding:16px 18px;
  border:1px solid #cfe3d2;
  background:#f1faf3;
  border-radius:12px;
  color:#315b39
}

.polypus-contact-error{
  margin:0 0 24px;
  padding:12px 15px;
  border:1px solid #e5b7a7;
  background:#fff7f3;
  color:var(--orange-dark);
  border-radius:10px;
  font-weight:700
}


/* LIGHTBOX */

.polypus-lightbox{
  position:fixed;
  inset:0;
  z-index:99999;
  background:rgba(15,16,18,.92);
  display:grid;
  place-items:center;
  padding:50px 90px;
  touch-action:none
}

.polypus-lightbox[hidden]{
  display:none
}

.lightbox-content{
  width:min(1100px,88vw);
  height:min(82vh,760px);
  display:grid;
  place-items:center;
  position:relative
}

.lightbox-content img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:10px;
  box-shadow:0 20px 80px rgba(0,0,0,.35);
  user-select:none;
  -webkit-user-drag:none
}

.lightbox-close,
.lightbox-arrow{
  position:absolute;
  border:0;
  cursor:pointer;
  border-radius:50%;
  display:grid;
  place-items:center;
  z-index:3;
  color:#fff;
  background:var(--orange);
  box-shadow:0 8px 24px rgba(0,0,0,.28);
  -webkit-tap-highlight-color:transparent
}

.lightbox-close{
  top:20px;
  right:24px;
  width:46px;
  height:46px;
  font-size:32px
}

.lightbox-arrow{
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  font-size:48px;
  line-height:1
}

.lightbox-prev{
  left:24px
}

.lightbox-next{
  right:24px
}

.lightbox-arrow:hover,
.lightbox-close:hover{
  background:var(--orange-dark)
}

.lightbox-counter{
  position:absolute;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  color:#fff;
  font-weight:700;
  font-size:14px;
  background:rgba(0,0,0,.45);
  padding:6px 11px;
  border-radius:999px;
  z-index:3
}


/* RESPONSIVE - 1050 */

@media(max-width:1050px){

  .single-layout{
    grid-template-columns:minmax(0,1fr) minmax(250px,.72fr);
    gap:22px
  }

  .single-top-meta{
    grid-template-columns:1fr;
    gap:12px;
    align-items:start
  }

  .single-date{
    flex-direction:row;
    gap:7px;
    align-items:baseline
  }

}


/* RESPONSIVE - 900 */

@media(max-width:900px){

  .main-nav{
    display:none
  }

  .menu-toggle{
    display:block
  }

  .search-row{
    grid-template-columns:1fr 1fr
  }

  .listing-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .polypus-search-results-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .team-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .single-layout{
    grid-template-columns:1fr
  }

  .single-top-meta{
    grid-template-columns:minmax(0,1.2fr) minmax(150px,.8fr);
    gap:16px
  }

  .footer-grid{
    grid-template-columns:1fr 1fr
  }

  .admin-stats{
    grid-template-columns:repeat(2,1fr)
  }

  .hero h1{
    font-size:clamp(30px,5vw,38px)
  }

  .team-card{
    aspect-ratio:1.12 / 1;
    min-height:320px
  }

  .team-photo-wrap{
    width:160px;
    height:160px;
    flex-basis:160px
  }

  .team-card img.team-photo,
  .team-photo-placeholder{
    width:160px;
    height:160px
  }

  .team-card h3{
    font-size:22px
  }

  .team-role{
    font-size:15px
  }

}


/* RESPONSIVE - 720 */

@media(max-width:720px){

  .contact-layout{
    grid-template-columns:1fr
  }

}


/* RESPONSIVE - 620 */

@media(max-width:620px){

  .container{
    width:min(100% - 28px,1180px)
  }

  .header-inner{
    min-height:72px
  }

  .brand img{
    width:215px
  }

  .hero{
    padding:52px 0 45px
  }

  .hero h1{
    font-size:34px
  }

  .search-row{
    grid-template-columns:1fr
  }

  .listing-grid,
  .polypus-search-results-grid,
  .team-grid,
  .footer-grid{
    grid-template-columns:1fr
  }

  .section{
    padding:52px 0
  }

  .section-title{
    font-size:30px
  }

  .cta{
    padding:30px 24px
  }

  .single-title{
    font-size:36px
  }

  .specs{
    grid-template-columns:1fr
  }

  .admin-stats{
    grid-template-columns:1fr
  }

  .single-top-meta{
    grid-template-columns:1fr;
    gap:8px
  }

  .single-date{
    flex-direction:row;
    gap:6px;
    align-items:baseline
  }

  .single-date span{
    white-space:normal
  }

  .price-big{
    font-size:34px
  }

  .gallery-thumbs{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px
  }

  .gallery-toolbar{
    padding-top:8px
  }

  .gallery-open{
    font-size:12px;
    padding:7px 5px
  }

  .gallery-open-icon{
    font-size:16px
  }

  .gallery-large-button{
    font-size:12px;
    padding:7px 10px
  }

  .polypus-lightbox{
    padding:45px 54px 55px
  }

  .lightbox-arrow{
    width:46px;
    height:46px;
    font-size:40px
  }

  .lightbox-prev{
    left:8px
  }

  .lightbox-next{
    right:8px
  }

  .lightbox-content{
    width:100%;
    height:76vh
  }

  .lightbox-close{
    top:12px;
    right:12px;
    width:42px;
    height:42px;
    font-size:29px
  }

  .lightbox-counter{
    bottom:12px
  }


  /* MOBİL EKİP KARTLARI */

  .team-card{
    aspect-ratio:auto;
    min-height:330px;
    padding:24px 20px
  }

  .team-card a{
    min-height:0
  }

  .team-photo-wrap{
    width:150px;
    height:150px;
    flex-basis:150px;
    margin-bottom:14px
  }

  .team-card img.team-photo,
  .team-photo-placeholder{
    width:150px;
    height:150px
  }

  .team-card h3{
    font-size:22px
  }

  .team-role{
    font-size:15px
  }

}