/* 
* Author        : "Acedigate"
* Creator Team  : "Acedigate Team"
* Client        : "Moren Real Estate"
* Project       : "Moren Real Estate Dynamic Website"
*/

@font-face {
  font-family: acedigate;
  src: url('../fonts/acedigate.ttf');
}
@font-face {
  font-family: roboto;
  src: url('../fonts/regular.ttf');
}
*{
    padding:0;
    margin:0;
    font-family: roboto;
}
:root{
    --bone-color:#e0ddd9;
    --primary-dark-color:#112446;
    --special-color:#e5c753;
    --special-dark-color:#312700;
}
label{
  font-family: Georgia, 'Times New Roman', Times, serif;
}
h1{
  color:var(--special-dark-color);
  font-weight: 600;
}
h5{
    color:var(--primary-dark-color);
  font-weight: 600;
}
p{
  color:var(--primary-dark-color);
}
.mg-25{
  margin-top:25px;
}
body{
    background: var(--bone-color);
}
.text-right{
    text-align:right;
}
a{
  margin:0;
  padding:0;
    text-decoration: none;
    cursor:pointer;
}
.btn-wborder{
  border:1px solid var(--primary-dark-color);
  transition: .3s;
  max-width: 25%;
  margin:0 auto;
}
.btn-wborder:hover{
  background-color: var(--primary-dark-color);
  border:1px solid var(--primary-dark-color);
  box-shadow: 0 0 3px 1px var(--primary-dark-color);
  color:var(--special-color);
}
.sold{
    filter: grayscale(100%);
    border-radius: 15px;
    z-index: 999;
}

.contain{
    width:95%;
    margin:0 auto;
}
.header{
width:100%;
height:100px;
background-color: var(--primary-dark-color);
line-height: 100px;
color:var(--bone-color);
}
.header img{
    width:175px;
    transition: .3s;
}
.header img:hover{
    filter:drop-shadow(0 3px 0 #6e5e00);
}

.menu a {
  position: relative;
  color: #c7a111;
  text-decoration: none;
  transition: color 0.3s ease;
  padding-left:7px;
  font-size:1.15rem;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background-color: var(--bone-color);
  transition: width 0.4s ease;
}

.menu a:hover {
  color: var(--bone-color);
  filter: drop-shadow(0 1px 0 var(--bone-color));
}

.menu a:hover::after {
  width: 100%;
}
.banner {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.form-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-wrapper input,
.form-wrapper button {
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
}

.form-wrapper input {
  background-color: #fff;
  color: #333;
}

.form-wrapper button {
  background-color: var(--primary-dark-color, #d4af37);
  color: var(--bone-color);
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-wrapper button:hover {
  background-color: var(--special-dark-color);
}

.form-wrapper label{
    color:var(--bone-color);
    font-weight: 700;
    font-size:1.2rem;
}

.cities a{
  color:var(--primary-dark-color);
}
img.rounded-circle {
  object-fit: cover;
  border: 2px solid #dee2e6;
  transition: transform 0.3s ease;
}
.cities a:hover img.rounded-circle {
  transform: scale(1.05);
}


.advert-section{
    margin:25px 0 25px 0;
}
.advert-section .title{
    text-align: center;
    padding:0 0 25px 0;
}

.advert-section{
    width:100%;
    min-height:500px;
}

.advert-section .card{
    width:100%;
    min-height:250px;
    background: transparent;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border:none;
    margin-bottom:25px;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;

}
.advert-section .card:hover{
    transform: scale(1.03);

}

.card-btn{
  width:50%;
  padding:5px;
  text-align: center;
  border:1px solid var(--primary-dark-color);
  float:left;
  color:var(--primary-dark-color);
  transition: .3s;
}

.card-btn:hover{
  background-color: var(--primary-dark-color);
  color:var(--special-color);
}

.card-img img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius: 15px;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}
.card-title{
    padding:5px;
    width:100%;
    font-weight: 600;
     white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

}
.card-m2{
    position: absolute;
    width:50%;
    top:0;
    right:0;
    background-color: #071121;
    color:var(--bone-color);
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    text-align: center;

}

.card-sold{
    position: absolute;
    width:50%;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-dark-color);
    color:var(--bone-color);
    border-radius: 15px;
    text-align: center;
}



.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 17, 33, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: fadeIn 0.4s ease;
}

.modal-content h2 {
  margin-bottom: 20px;
  color: #071121;
}

.modal-content input,
.modal-content textarea,
.modal-content button {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
}

.modal-content button {
  background-color: var(--bone-color, #d4af37);
  color: #fff;
  cursor: pointer;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: #071121;
  cursor: pointer;
}

/* Animasyon */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


.place-banner{
  width:100%;
  min-height:200px;          /* height yerine */
  padding: 24px 16px;        /* mobilde nefes aldırır */
  
  display:flex;              /* DİKKAT: line-height KALDIRILDI */
  align-items:center;
  justify-content:center;

  text-align:center;
  font-size:1.5rem;
  font-weight:600;
  line-height:1.35;          /* gerçek satır yüksekliği */

  user-select:none;
  -ms-user-select:none;
  -webkit-user-drag:none;

  background-color: var(--primary-dark-color);
  color:var(--special-color);
  margin:25px 0;
}


.about{
  margin:25px 0 25px 0;
}

.about-logo{
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  width:100%;
  filter:drop-shadow(0 3px 1px var(--primary-dark-color));
}


table{
  width:100%;
}
.table-title{
  color:var(--special-dark-color);
  font-size:1.05rem;
}
table tr td{
  border-bottom:1px solid var(--primary-dark-color);
  padding:10px;
}

.ilan-cta{
  padding:10px;
}

.ilan-cta .btn-cta{
  padding:10px;
  margin-top:10px;
  border:2px solid var(--primary-dark-color);
  width:100%;
  text-align: center;
  border-radius:10px;
  transition: .3s;
  font-weight: 600;
  
}
.ilan-cta a{
  color:var(--primary-dark-color);
}
.ilan-cta a:hover .btn-cta{
  color:var(--special-color);
  background-color: var(--primary-dark-color);
}

.footer{
  margin-top:50px;
  padding:20px;
  width:100%;
  min-height: 300px;
  background: var(--primary-dark-color);
  color:var(--bone-color);
  font-size:.9rem;
}

.footer-logo{
  width:75%;
  user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

.footer-content{
  padding:40px 0 0 0;
}
.footer-content ul{
  padding:0;
  margin:0;
  list-style:none;
}
.footer-content li a{
  color:var(--bone-color);
  opacity:.8;
  transition: .3s;
}
.footer-content li a:hover{
  opacity:1;
  filter:drop-shadow(0 2px 2px var(--bone-color));
}

.footer .sign a{
  font-family: acedigate;
  color:var(--bone-color);
  transition: .3s;
}
.footer .sign a:hover{
  filter:drop-shadow(0 2px 2px var(--bone-color));
}

@media (max-width: 1200px) {
  .container {
    max-width: 100%!important;
  }
}


.header{
  width:100%;
  background-color: var(--primary-dark-color);
  color:var(--bone-color);
  height:auto;          /* önemli */
  line-height:normal;   /* önemli */
}

.header-inner{
  max-width:1200px;
  margin:0 auto;
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.header img{
  width:175px;
  height:auto;
  max-width:100%;
  transition:.3s;
}
.header img:hover{
  filter:drop-shadow(0 3px 0 #6e5e00);
}

/* Desktop menu */
.menu a {
  position: relative;
  color: #c7a111;
  text-decoration: none;
  transition: color 0.3s ease;
  padding-left:7px;
  font-size:1.15rem;
  display:inline-block;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background-color: var(--bone-color);
  transition: width 0.4s ease;
}

.menu a:hover {
  color: var(--bone-color);
  filter: drop-shadow(0 1px 0 var(--bone-color));
}
.menu a:hover::after { width: 100%; }

.menu-desktop{
  display:flex;
  align-items:center;
  gap:18px;
}

/* Hamburger */
.menu-toggle{
  display:none; /* desktopta kapalı */
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.2);
  background:transparent;
  border-radius:10px;
  padding:10px;
  flex-direction:column;
  justify-content:center;
  gap:6px;
}
.menu-toggle span{
  display:block;
  height:2px;
  width:100%;
  background: var(--bone-color);
  transition:.25s;
}

/* Mobile menu panel */
.menu-mobile{
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
  border-top:1px solid rgba(255,255,255,.12);

  overflow:hidden;
  max-height:0;
  opacity:0;
  transition: max-height .35s ease, opacity .25s ease;
}

.menu-mobile a{
  display:block;
  padding:12px 0;
}

.menu-mobile.is-open{
  max-height:260px; /* link sayına göre artırılabilir */
  opacity:1;
}

/* Responsive */
@media (max-width: 768px){
  .menu-desktop{ display:none; }
  .menu-toggle{ display:flex; }
  .header img{ width:150px; }
  .ilanOzellik{
    font-size:.7rem!important;
  }
}

.features_table{
  border-bottom:5px solid #eae8e5;
  box-shadow: 0 0 7px var(--special-color);
}
.features_table tr{
  border-bottom:5px solid #eae8e5;
}