/* =========================================
   ASSETS/CSS/HOME.CSS
   Ana Sayfa Özel Stilleri (Premium Gold Edition - Compact)
   ========================================= */

:root {
    --gold: #fca311;       /* Ana Altın Rengi */
    --gold-dark: #e59400;  /* Koyu Altın (Hover için) */
    --dark-blue: #14213d;  /* Kurumsal Lacivert */
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
}

/* --- GENEL AYARLAR (BOŞLUKLAR AZALTILDI) --- */
.section { padding: 50px 0; } /* 80px'den 50px'e düşürüldü */
.bg-light { background-color: #fdfdfd; }

.section-header { 
    text-align: center; 
    margin-bottom: 30px; /* 50px'den 30px'e düşürüldü */
}
.section-header h2 { 
    font-size: 30px; 
    font-weight: 800;
    color: var(--dark-blue); 
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px; 
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 10px auto 0;
}
.section-header p { color: var(--text-light); font-size: 18px; }

/* --- PARLAMA EFEKTİ --- */
@keyframes shine {
    100% { left: 125%; }
}

/* --- İLAN KARTLARI --- */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); 
    gap: 25px;
}

.listing-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--gold); 
}

.card-image {
    position: relative;
    height: 210px; 
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.listing-card:hover .card-image img {
    transform: scale(1.1);
}

.card-image::before {
    position: absolute; top: 0; left: -75%; z-index: 2;
    display: block; content: ''; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 100%);
    transform: skewX(-25deg);
}
.listing-card:hover .card-image::before { animation: shine 0.75s; }

.badge {
    position: absolute; top: 12px; left: 12px;
    padding: 5px 12px;
    background: var(--dark-blue);
    color: var(--white);
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    border-radius: 4px;
}
.badge.sale { background: var(--gold); color: #000; }

.price-tag {
    position: absolute; bottom: 0; right: 0;
    background: var(--gold);
    color: #000;
    padding: 8px 15px;
    font-weight: 800; font-size: 16px;
    border-top-left-radius: 8px;
    z-index: 3;
}

.card-details {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-location {
    color: var(--text-light);
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
    display: flex; align-items: center; gap: 5px;
}
.card-location i { color: var(--gold); }

.card-title {
    margin-bottom: 12px;
    line-height: 1.3;
}
.card-title a {
    color: var(--dark-blue);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}
.card-title a:hover { color: var(--gold); }

.card-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    color: var(--text-dark);
}
.card-features span { display: flex; align-items: center; }
.card-features span i { color: var(--gold); margin-right: 5px; }

.btn-detail {
    display: block; width: 100%; text-align: center;
    background: var(--dark-blue); color: var(--white);
    padding: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; border-radius: 4px; text-decoration: none;
    transition: all 0.3s; font-size: 12px;
}
.btn-detail:hover { background: var(--gold); color: #000; }

.view-all-wrapper { text-align: center; margin-top: 30px; } /* 40px'den 30px'e düşürüldü */
.btn-view-all {
    display: inline-block; padding: 12px 40px; border: 2px solid var(--dark-blue);
    color: var(--dark-blue); font-weight: 700; border-radius: 50px;
    text-decoration: none; transition: all 0.3s ease; text-transform: uppercase;
    letter-spacing: 1px; font-size: 14px;
}
.btn-view-all:hover { background: var(--dark-blue); color: #fff; transform: translateY(-2px); }
.btn-view-all i { margin-left: 8px; }


/* --- PROJE KARTLARI --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    height: 420px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.project-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover .project-img img { transform: scale(1.15); }

.project-img::before {
    position: absolute; top: 0; left: -75%; z-index: 2;
    display: block; content: ''; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    transform: skewX(-25deg);
}
.project-card:hover .project-img::before { animation: shine 0.75s; }

.project-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    padding: 30px;
    z-index: 3;
    border-top: 2px solid var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.overlay-content h3 {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.btn-project {
    display: inline-block; padding: 10px 25px;
    background: var(--gold); color: #000;
    font-weight: 700; text-decoration: none;
    border-radius: 4px; text-transform: uppercase;
    font-size: 12px; transition: 0.3s; width: max-content;
}
.btn-project:hover { background: var(--white); color: #000; }


/* --- HERO BÖLÜMÜ --- */
.modern-hero {
    position: relative; height: 600px;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-align: center;
    transition: background-image 1s ease-in-out;
}
.modern-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}
.hero-container { position: relative; z-index: 2; width: 100%; max-width: 900px; padding: 0 20px; }
.hero-text h1 { font-size: 3rem; font-weight: 700; margin-bottom: 15px; line-height: 1.2; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-text h1 span { color: var(--gold); }
.hero-text p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.95; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }

/* Search Panel */
.search-panel { background: rgba(255, 255, 255, 0.95); padding: 20px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.search-types { display: flex; gap: 15px; margin-bottom: 15px; justify-content: center; }
.type-label { cursor: pointer; font-weight: 600; padding: 8px 20px; border-radius: 20px; transition: all 0.3s; border: 2px solid transparent; color: #333; }
input[name="tip"]:checked + .type-label { background-color: var(--dark-blue); color: #fff; border-color: var(--dark-blue); }
.search-form-row { display: flex; gap: 10px; }
.form-input { flex: 1; padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; outline: none; }
.form-btn { background-color: var(--gold); color: #000; border: none; padding: 0 30px; font-weight: bold; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.form-btn:hover { background-color: var(--gold-dark); }

/* --- AKSİYON KUTULARI (BOŞLUK AZALTILDI) --- */
.action-section { background: #fdfdfd; padding: 40px 0; border-top: 1px solid #eee; } /* 60px'den 40px'e düşürüldü */
.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.action-box { 
    background: #fff; border: 2px solid var(--gold); border-radius: 12px; padding: 40px 30px; 
    text-align: center; transition: 0.3s; position: relative; overflow: hidden;
}
.action-box:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(252, 163, 17, 0.2); background: var(--dark-blue); border-color: var(--dark-blue); }
.action-box:hover h3, .action-box:hover p { color: #fff; }
.action-box:hover .icon-box { background: #fff; color: var(--dark-blue); }
.icon-box { 
    width: 70px; height: 70px; margin: 0 auto 20px; background: var(--gold); color: #000; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; transition: 0.3s;
}
.action-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--dark-blue); }
.action-box p { color: #666; margin-bottom: 25px; font-size: 14px; line-height: 1.5; }
.btn-action { 
    display: inline-block; padding: 10px 25px; border: 2px solid var(--gold); color: var(--dark-blue); 
    font-weight: 700; border-radius: 30px; text-decoration: none; transition: 0.3s;
}
.action-box:hover .btn-action { background: var(--gold); color: #000; border-color: var(--gold); }

/* --- HAKKIMIZDA BÖLÜMÜ (BOŞLUK AZALTILDI) --- */
.about-section { padding: 50px 0; background: #fff; } /* 80px'den 50px'e düşürüldü */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text .sub-heading { color: var(--gold); font-weight: 700; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.about-text h2 { font-size: 36px; margin-bottom: 20px; line-height: 1.3; color: var(--dark-blue); }
.about-text p { color: #555; line-height: 1.8; margin-bottom: 30px; }
.stats-row { display: flex; gap: 50px; margin-bottom: 40px; }
.stat-item h4 { font-size: 36px; color: var(--gold); font-weight: 800; margin-bottom: 5px; }
.stat-item span { color: #888; font-size: 14px; font-weight: 600; }
.btn-outline { display: inline-block; padding: 12px 30px; border: 2px solid var(--dark-blue); color: var(--dark-blue); font-weight: 700; border-radius: 4px; text-decoration: none; transition: 0.3s; }
.btn-outline:hover { background: var(--dark-blue); color: #fff; }
.about-img-wrapper img { width: 100%; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .modern-hero { height: auto; padding: 100px 0; }
    .hero-text h1 { font-size: 2rem; }
    .search-form-row { flex-direction: column; }
    .form-btn { padding: 15px; }
    .listing-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-wrapper { order: -1; }
}