/* CSS Reset Başlangıç */
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scrollbar-width: thin;
    scrollbar-color: #444 #0a0c10;
}
body::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
body::-webkit-scrollbar-track {
    background: #0a0c10;
}
body::-webkit-scrollbar-thumb {
    background: linear-gradient(#444, #333);
    border-radius: 10px;
    border: 2px solid #0a0c10; 
}
body::-webkit-scrollbar-thumb:hover {
    background: #666;
}
body::-webkit-scrollbar-corner {
    background: #0a0c10;
}
html, body {
    height: 100%;
}
body {
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #222;
    margin: 0;
}
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
input, button, textarea, select {
    font: inherit;
}
a {
    color: inherit;
    text-decoration: none;
}
ul, ol {
    list-style: none;
}
/* CSS Reset Bitiş */

body{
    background-color: #0a0c10;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
header {
    width: 100%;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 0;
    background-color: transparent;
    box-sizing: border-box;
    height: 60px;
    padding: 5px 20px;
    transition: height 0.5s ease;
}
.logo-link {
   position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px; 
}  
.logo {
    height: 50px;
}
nav{
    display: inline-block;
    color: #fff;
    
}
.nav-menu{
    position: relative;
 
}
nav.mobil-menu{
    display: none;
}
nav.mobil-menu ul li{
   width: 100%;
   display: block;
}
.navbar .nav-menu ul li:first-child{
    margin-left: 0 !important;

}
.nav-menu ul li{
    display: inline-block;
    margin-left: 60px;
    font-weight: 500;
}
.header-content{
    display: flex;
    width: 100%;
    align-items: stretch;
    overflow: hidden;
}
.nav-menu ul li a:hover{
    color: #fabe39;
}
.header-form{
    display: inline-block;
    width: 50%;
    height: auto;
    box-sizing: border-box;
    vertical-align: top;
}
.header-image {
    width: 50%;
    height: 100%;     /* header-content yüksekliğini doldur */
    box-sizing: border-box;
    overflow: hidden;
}
.header-form{
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 60%;
}
.form-wrapper form{
    width: 300px;
    padding: 40px 75px;
    background-color: #101114;
    border-radius: 5px;
}
.location-select, .type-select {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}
.form-wrapper form button[type="submit"]{
    width: 100px;
    background-color: #f1b22e;
    color: #fff;
    font-weight: 500;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    align-self: flex-end;
}
.form-wrapper form label{  
    color: #fff;
    font-weight: 500;
    margin-bottom: 5px;
}
.header-form h1, .page-title{
    color: #fabe39;
}
.header-form select{
    color: #fff;
    background-color: #1b1d21;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
}
.header-image img{
    width: 100%;
    height: auto;
}
.wrapper{
    display: block;
    max-width: 1200px;
    width: 84%;
    margin: 0 auto;
}
h2{
    color: #fabe39;
    font-weight: 400;
    margin: 20px 0;
}
h3{
    color: #fff;
    font-weight: 500;
    padding: 0 10px;
}
h4{
    color: #fabe39;
    font-weight: 400;
}
p{
    color: #fff;
    font-size: 14px;
    padding: 0 10px;
    margin-bottom: 15px;
}
.tv-program, .property{
    display: flex;
    flex-direction: row;
    gap:10px;
}
.tv-program .program-card, .wrapper .page-list .program-card{
    height: 360px ;
}
.tv-program .program-card, .property .property-card, main .wrapper .property-card, main .wrapper .program-card{
    width: 33%;
    height: auto;
    padding-bottom: 10px;
    box-sizing: border-box;
    background-color: #101114;
    border-radius: 5px;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}
.program-card p, .property p, main .wrapper .property-card p, main .wrapper .program-card p{
    color: #aaa;
    font-size: 14px;
    padding: 0 10px;
    margin-bottom: 15px;
}
.see-more{
    display: block;
    width: 200px;
    margin: auto;
    color: #fff;
    background-color: #fabe39;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    margin-top: 40px;
}
footer{
    border-top: 1px solid #333;
    margin-top: 40px;
}
footer .wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.footer-logo{
    width: 250px;
    margin-bottom: 30px;
}
footer .wrapper section ul{
    padding: 0;
    font-weight: 600;
}
footer .wrapper section, footer .wrapper section ul li{
    display: block;
    color: #aaa; 
    text-align: left;
    margin-bottom: 10px;
}
footer .wrapper section ul li i{
    color: #fabe39;
    margin-right: 10px;
}
footer .wrapper section .social-media ul li{
    display: inline-block ;
    color: #fabe39;
    margin-right: 15px;
    font-size: 35px;
}
.beyaztv-logo{
    width: 150px;
    margin-bottom: 15px;
}
.sahibinden-logo{
    width: 200px;
    margin-bottom: 15px;
}
.page-title{
    text-align: center;
    margin: 40px 0;
}
.page-list .property-card, .page-list .program-card{
    display:inline-block;
    margin-bottom: 10px;
}
.navbar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #333; 
    position: relative;
    height: 70px;
    overflow: hidden;
}
.navbar-content .logo{
    flex: 0 0 auto;
}
.navbar-content .nav-menu, .navbar .nav-menu{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 660px;
}
.navbar-content .nav-menu ul {
    display: flex;
    gap: 60px; 
    margin: 0;
    padding: 0;
    align-items: center;
}
.navbar-content .nav-menu ul li {
    display: inline-block;
    margin-left: 0;
}
.navbar-content .nav-menu ul li:first-child {
    margin-left: 0;
}
.wrapper.two-blocks{
    display: flex;
    gap: 10px;
}
.left-block{
    width: 70%;
    box-sizing: border-box;
}
.right-block{
    width: 30%;
    box-sizing: border-box;
}
.property-images{
    width: 100%;
    height: 55vh;
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 20px;
    background-color: #101114;
    scrollbar-width: thin; 
    scrollbar-color: #555 #0a0c10;
}
.property-images ul{
    padding: 0;
}
.property-image{
    width: 100%;
    margin-bottom: 10px;
}
.property-images::-webkit-scrollbar {
    width: 12px;                   /* dikey scrollbar kalınlığı */
    height: 12px;                  /* yatay scrollbar için */
}
.property-images::-webkit-scrollbar-track {
    background: #0a0c10;           /* track arka planı */
    border-radius: 10px;
}
.property-images::-webkit-scrollbar-thumb {
    background: linear-gradient(#444, #333); /* thumb arka planı (grad veya düz renk) */
    border-radius: 10px;
    border: 2px solid #0a0c10;     /* thumb etrafında boşluk efekti */
}
.property-images::-webkit-scrollbar-thumb:hover {
    background: #666;
}
.property-description{
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    background-color: #101114;
}
.view-image{
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #101114;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.arrow-icon{
    width: 30px;
    background-color: rgba(166, 152, 151, 0.7);
    position: absolute;
    top: calc((100% / 2) - 34px);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    text-align: center;
    padding: 5px;

}
.arrow-icon.right{
    right: 20px;
}
.arrow-icon.left{
    left: 20px;
}
ul{
    padding: 0;
}
.about-img{
    display: block;
    width: 300px;
    margin: 15px;
}
.img-right{
    float: right;
}
.img-left{
    float: left;
}
.beyaz-link{
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.beyaz-link:hover .beyaz-popup, .beyaz-link:focus-within .beyaz-popup, .beyaz-popup:hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.beyaz-popup{
    position: absolute;
    width: 250px;
    right: 0;
    bottom: calc(100%);
    background: rgba(16,17,20,0.95);
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
    z-index: 30;
}
.beyaz-popup ul li{
    line-height: 15px;
}
.beyaz-popup ul li a{
    color: #fff;
    font-weight: 500;
    font-size: 15px;
}

@media (max-width: 1200px) {
    .form-wrapper form {
        padding: 15px 75px;
    }
    .header-form h1 {
        font-size: 25px;
    }
    .form-wrapper form button[type="submit"] {
        width: 80px;
    }
    .property-card h3, .program-card h3{
        font-size: 16px;
    }
}
@media (max-width: 1024px) {
    .nav-menu ul li {
        margin-left: 20px;
    }
    .nav-menu ul li a {
        font-size: 14px;
    }
    .form-wrapper form button[type="submit"] {
        width: 70px;
        padding: 6px;
        margin-top: 10px;
    }
    .page-title {
        font-size: 22px;
        margin: 20px 0;
    }
    .view-image {
        align-items: flex-start;
        height: auto;
    }
    .navbar-content .nav-menu ul {
        gap: 25px;
    }
    .header-form h1 {
        font-size: 17px;
    }
    .form-wrapper form {
        padding: 14px 20px;
    }
    .form-wrapper form, .header-form select {
        font-size: 12px;
    }
    .header-form select {
        padding: 5px;
    }
    .form-wrapper {
        width: 85%;
    }
    .header-content {
        height: 100vh;
        max-height: 360px;
    }
    .navbar-content .nav-menu, .navbar .nav-menu {
        width: 440px;
    }
    .see-more{
        font-size: 12px;
        width: 150px;
    }
    .footer-logo {
        width: 170px;
    }
    .tv-program .program-card, .property .property-card, main .wrapper .property-card, main .wrapper .program-card {
        width: 49%;
    }
    .property-card h3, .program-card h3 {
        font-size: 13px;
    }
    .program-card p, .property p, main .wrapper .property-card p, main .wrapper .program-card p {
        font-size: 12px;
    }
}
@media (max-width: 768px) {
    .navbar{
        padding: 0;
    }
    .navbar-content .nav-menu, .navbar .nav-menu{
        display: none;
    }
    nav.mobil-menu ul{
        margin-top: 25px;
    }
    nav.mobil-menu ul li a{
       padding: 5px;
    }
    nav.mobil-menu{
        width: 100%;
        text-align: center;
        background-color: #0a0c10;
    }
    .menu-toggle{
        width: 25px;
        height: 25px;
        top: 20px;
        right: 40px;
        position: absolute;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
    }
    .navbar-content{
       position: absolute;
       top: 0;
       z-index: 1000;
       background-color: #0a0c10;
       transition: height 0.5s ease;
    }
    .header-image{
        display: none;
    }
    .header-form{
        width: 100%;
    }
    .logo-link{
        left:5px;
        top: 35px;
    }
    .tv-program, .property{
        flex-direction: column;
    }
   .tv-program .program-card, .property .property-card, main .wrapper .property-card, main .wrapper .program-card {
        width: 100%;
   }
    main {
        margin-top: 90px;
   }
   footer .wrapper{
       flex-direction: column;
   }
   h4, footer .wrapper section ul li{
    text-align: center;
   }
   .beyaztv-logo, .sahibinden-logo{
    margin-left: auto;
    margin-right: auto;
   }
   .form-wrapper{
    margin-top: 50px;
   }
   .navbar{
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    box-sizing: content-box;
   }
   .about-img{
    width: 200px;
   }
   @media (max-width: 768px) {
    .about-img{
        display: block;
        box-sizing: border-box;
        width: 95%;
        margin: 15px;
    }
   }
}
