/* --- DEĞİŞKENLER VE TEMEL AYARLAR --- */
:root {
    --primary: #0f172a;   /* Çok koyu lacivert (Premium hissi) */
    --secondary: #c2410c; /* Kiremit/Turuncu (Enerji) */
    --light: #f8fafc;
    --dark: #1e293b;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f1f5f9;
    color: var(--dark);
    line-height: 1.6;
}

a { text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- NAVBAR (ÜST MENÜ) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: 0.3s;
    background: transparent;
}

/* Sayfa aşağı kayınca menünün alacağı hal */
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
 /* Logo Ayarı */
.nav-logo {
    height: 50px; /* Logo yüksekliği ideal boyutta */
    width: auto;  /* Genişlik otomatik ayarlansın */
    object-fit: contain;
    /* Eğer logon siyahsa ve koyu navbar'da görünmüyorsa aşağıdaki satırı kullan: */
    /* filter: brightness(0) invert(1); */ 
    /* Eğer logon renkliyse veya zaten beyazsa üstteki filter satırını sil */
    transition: 0.3s;
}

/* Mobilde taşmaması için */
@media (max-width: 768px) {
    .nav-logo {
        height: 40px;
    }
}
.navbar.scrolled .logo-text {
     color: #fff;
}
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -5px; left: 0;
    background-color: var(--secondary);
    transition: 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.btn-contact {
    background: var(--secondary);
    padding: 8px 20px;
    border-radius: 5px;
}

.btn-contact:hover {
    background: #ea580c;
}

.hamburger { display: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* --- HERO SECTION (GİRİŞ) --- */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Resmi karartma */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span { color: var(--secondary); }

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary);
    color: #fff;
    border: 2px solid var(--secondary);
}

.btn-primary:hover { background: transparent; }

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline-light:hover { background: #fff; color: var(--primary); }

/* --- İLANLAR (KARTLAR) --- */
.listings { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
}

.section-title span { color: var(--secondary); }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.card:hover .card-image img { transform: scale(1.1); }

.tag {
    position: absolute;
    top: 15px; right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.tag.satilik { background: var(--secondary); }

.card-details { padding: 25px; }

.card-details h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.location {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.features {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.features span {
    font-size: 0.9rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

.features i { color: var(--secondary); }

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-detail {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--secondary);
    transition: 0.3s;
}

.btn-detail:hover { color: var(--secondary); }

.center-btn {
    text-align: center;
    margin-top: 50px;
}

.btn-secondary {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--primary);
}

/* --- İLETİŞİM & HARİTA --- */
.contact-section {
    background: #fff;
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    background: #fff7ed;
    padding: 15px;
    border-radius: 50%;
}

.info-item h4 { font-size: 1.1rem; color: var(--primary); margin-bottom: 5px; }
.info-item p, .info-item a { color: #64748b; font-size: 1rem; }

.map-box {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* --- FOOTER --- */
footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 30px 0;
    border-top: 4px solid var(--secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials a {
    color: #fff;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: 0.3s;
}

.socials a:hover { color: var(--secondary); }

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px; right: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    
    .hero h1 { font-size: 2.5rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; }
}