/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f4f6fb;
    color:#222;
}

/* HEADER */

header{
    width:100%;
    padding:18px 5%;
    background:linear-gradient(90deg,#4b2cff,#ff6b00);
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    position:sticky;
    top:0;
    z-index:999;
}

.logo{
    color:#fff;
    font-size:32px;
    font-weight:bold;
}

nav{
    display:flex;
    gap:25px;
    flex-wrap:wrap;
}

nav a{
    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-weight:bold;
    transition:0.3s;
}

nav a:hover{
    color:yellow;
}

.add-btn{
    background:#00c853;
    color:#fff;
    padding:12px 24px;
    border-radius:40px;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

.add-btn:hover{
    background:#00a344;
    transform:scale(1.05);
}


/* HERO */
.hero{
    background:#fff;
    min-height:auto;
    padding:20px 5%;
}

.hero-overlay{
    display:none;
}

.hero-content h1,
.hero-content p{
    display:none;
}

.hero{
    background-image:none !important;
    background:none !important;
}

.hero-overlay{
    display:none !important;
}
.hero{
    width:100%;
    min-height:150px;
    background:url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?q=80&w=1600');
    background-size:cover;
    background-position:center;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:50px 5%;
}

.hero-overlay{
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    background:rgba(0,0,0,0.6);
}

.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    width:100%;
    max-width:1200px;
}

.hero-content h1{
    color:#fff;
    font-size:36px;
    margin-bottom:20px;
}

.hero-content p{
    color:#eee;
    font-size:20px;
    margin-bottom:40px;
}




/* SEARCH */

.search-box{
    background:#fff;
    padding:25px;
    border-radius:20px;
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.search-box select,
.search-box input{
    padding:15px;
    border-radius:12px;
    border:1px solid #ddd;
    min-width:200px;
    font-size:15px;
    outline:none;
}

.search-box button{
    background:#4b2cff;
    color:#fff;
    border:none;
    padding:15px 35px;
    border-radius:12px;
    font-size:16px;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
}

.search-box button:hover{
    background:#ff6b00;
}

/* SECTION */

.section-title{
    padding:50px 5% 10px;
}

.section-title h2{
    font-size:34px;
}

/* LISTINGS */

.listings{
    width:100%;
    padding:30px 5% 70px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.card-link{
    text-decoration:none;
}

.card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:0.3s;
    position:relative;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.info{
    padding:18px;
}

.info h3{
    font-size:24px;
    color:#222;
    margin-bottom:10px;
}

.location{
    color:#666;
    margin-bottom:15px;
    font-size:15px;
}

.details{
    display:flex;
    justify-content:space-between;
    margin-bottom:18px;
    color:#555;
    font-size:14px;
}

.price{
    color:#4b2cff;
    font-size:30px;
    font-weight:bold;
}

/* BADGES */

.badge{
    position:absolute;
    top:15px;
    left:15px;
    padding:8px 18px;
    border-radius:30px;
    color:#fff;
    font-size:13px;
    font-weight:bold;
}

.vip-badge{
    background:#ff9800;
}

.premium-badge{
    background:#e91e63;
    left:auto;
    right:15px;
}
/* İPOTEKA */
.mortgage-badge{
       padding: 4px 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff6a00, #ff2e63);
    color: #fff;
    font-weight: bold;
    font-size: 12px;
}

/* DETAILS PAGE */

.details-page{
    width:90%;
    margin:40px auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.details-image img{
    width:100%;
    border-radius:20px;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.details-info{
    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.details-info h1{
    font-size:40px;
    margin-bottom:20px;
}

.detail-box{
    margin-top:25px;
}

.detail-box p{
    margin-bottom:14px;
    font-size:18px;
}

.description{
    margin-top:35px;
}

.description h3{
    margin-bottom:15px;
    font-size:24px;
}

.description p{
    line-height:1.7;
    color:#555;
}

.contact{
    margin-top:35px;
}

.contact h3{
    margin-bottom:15px;
    font-size:24px;
}

.whatsapp{
    display:inline-block;
    margin-top:15px;
    background:#25d366;
    color:#fff;
    padding:14px 28px;
    border-radius:12px;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

.whatsapp:hover{
    transform:scale(1.05);
}

/* ADD PAGE */

.add-page{
    width:100%;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:50px 20px;
}

.add-form{
    width:100%;
    max-width:850px;
    background:#fff;
    padding:35px;
    border-radius:25px;
    box-shadow:0 5px 25px rgba(0,0,0,0.08);
}

.add-form h1{
    text-align:center;
    margin-bottom:30px;
    color:#4b2cff;
}

.add-form input,
.add-form select,
.add-form textarea{
    width:100%;
    padding:15px;
    margin-bottom:18px;
    border-radius:12px;
    border:1px solid #ddd;
    font-size:15px;
    outline:none;
}

.add-form textarea{
    min-height:140px;
    resize:none;
}

.add-form button{
    width:100%;
    background:#4b2cff;
    color:#fff;
    border:none;
    padding:16px;
    border-radius:12px;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.add-form button:hover{
    background:#ff6b00;
}

/* FOOTER */

footer{
    width:100%;
    background:#111;
    color:#fff;
    padding:30px 5%;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:20px;
}

/* NO RESULT */

.no-result{
    text-align:center;
    width:100%;
    padding:60px;
    color:#777;
}

/* MOBILE */

@media(max-width:992px){

.hero-content h1{
    font-size:42px;
}

.details-page{
    grid-template-columns:1fr;
}

}

@media(max-width:768px){

header{
    justify-content:center;
    gap:20px;
}

nav{
    justify-content:center;
}

.hero{
    min-height:600px;
}

.hero-content h1{
    font-size:34px;
}

.hero-content p{
    font-size:16px;
}

.search-box{
    flex-direction:column;
}

.search-box select,
.search-box input,
.search-box button{
    width:100%;
}

.details{
    flex-direction:column;
    gap:10px;
}

.footer-content{
    flex-direction:column;
    text-align:center;
}

}

/* =========================
   MODERN GALLERY
========================= */

.modern-gallery{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-bottom:40px;
}

/* =========================
   BIG IMAGE
========================= */

.gallery-left{
    width:100%;
    position:relative;
}

.main-slider{
    position:relative;
    width:100%;
}

.main-photo{
    width:100%;
    height:550px;
    object-fit:cover;
    border-radius:26px;
    display:block;
    background:#f5f5f5;
}

/* =========================
   SMALL IMAGES UNDER MAIN
========================= */

.gallery-right{
    display:flex;
    gap:15px;
    overflow-x:auto;
    padding-bottom:5px;
}

.gallery-right::-webkit-scrollbar{
    height:8px;
}

.gallery-right::-webkit-scrollbar-thumb{
    background:#ccc;
    border-radius:20px;
}

.side-photo{
    width:90px;
    height:60px;
    object-fit:cover;
    border-radius:18px;
    cursor:pointer;
    transition:0.3s;
    flex-shrink:0;
    display:block;
}

.side-photo:hover{
    transform:scale(1.04);
    opacity:0.92;
}

/* =========================
   SLIDER BUTTONS
========================= */

.slide-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:60px;
    height:60px;
    border:none;
    border-radius:50%;
    background:#ffffffdd;
    color:#111;
    font-size:34px;
    font-weight:bold;
    cursor:pointer;
    z-index:10;
    transition:0.3s;
    box-shadow:0 4px 15px rgba(0,0,0,0.15);
}

.slide-btn:hover{
    background:#fff;
    transform:translateY(-50%) scale(1.08);
}

.left{
    left:20px;
}

.right{
    right:20px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:900px){

    .main-photo{
        height:340px;
        border-radius:18px;
    }

    .side-photo{
        width:140px;
        height:80px;
        border-radius:14px;
    }

    .slide-btn{
        width:46px;
        height:46px;
        font-size:24px;
    }

}

.logo img{
    width:180px;
    height:auto;
    display:block;
}

