/* home.css — Ataköy 9 Emlak — Home Page Specific Styles */

/* ══ HERO ══ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1.00);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 26, 55, 0.82) 0%,
            rgba(18, 44, 82, 0.70) 50%,
            rgba(26, 60, 110, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-block: var(--space-20);
    max-width: 840px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(91, 174, 35, 0.25);
    border: 1px solid rgba(91, 174, 35, 0.45);
    color: #8bdf4a;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-5);
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: #25D366;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.4);
    }
}

/* Hero Title */
.hero-title {
    color: #fff;
    margin-bottom: var(--space-6);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-title-accent {
    color: #8bdf4a;
    position: relative;
    display: inline-block;
}

.hero-title-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    border-radius: var(--radius-pill);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin-bottom: var(--space-8);
}

/* Search Bar */
.hero-search {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-10);
    max-width: 780px;
}

.hero-search-toggle {
    display: flex;
    background: var(--color-surface-alt);
    border-bottom: 1px solid var(--color-border);
}

.search-toggle-btn {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
    letter-spacing: 0.04em;
}

.search-toggle-btn.active {
    background: var(--color-accent);
    color: #fff;
}

.hero-search-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 0;
    align-items: stretch;
}

.search-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-4);
    border-right: 1px solid var(--color-border);
}

.search-field label {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
}

.search-field .form-select {
    border: none;
    padding: var(--space-2) var(--space-2);
    padding-right: var(--space-8);
    font-size: var(--text-sm);
    background-color: transparent;
}

.search-field .form-select:focus {
    box-shadow: none;
}

.search-btn {
    margin: var(--space-3);
    border-radius: var(--radius-md);
    padding-inline: var(--space-6);
    white-space: nowrap;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.hero-stat strong {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 900;
    color: #fff;
}

.hero-stat span {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-pill);
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-pill);
    animation: scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

/* ══ WHY US ══ */
.why-us {
    background: var(--color-bg);
}

.why-us-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-top: var(--space-6);
}

.why-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.why-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(26, 60, 110, 0.12) 0%, rgba(26, 60, 110, 0.06) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.why-icon svg {
    width: 20px;
    height: 20px;
}

.why-item strong {
    display: block;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: var(--space-1);
}

.why-item p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

/* ══ SECTION ALT ══ */
.section-alt {
    background: var(--color-surface-alt);
}

/* ══ NEIGHBORHOOD ══ */
.neighborhood-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.neighborhood-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
}

.neighborhood-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.neighborhood-badge {
    position: absolute;
    bottom: var(--space-5);
    left: var(--space-5);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    box-shadow: var(--shadow-md);
}

.neighborhood-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.nb-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}

.nb-emoji {
    font-size: var(--text-lg);
}

/* ══ RESPONSIVE ══ */
@media (max-width: 960px) {
    .hero-search-body {
        grid-template-columns: 1fr 1fr;
    }

    .search-btn {
        grid-column: span 2;
    }

    .why-us-inner,
    .neighborhood-inner {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}

@media (max-width: 640px) {
    .hero-search-body {
        grid-template-columns: 1fr;
    }

    .search-btn {
        grid-column: span 1;
    }

    .hero-stats {
        gap: var(--space-4);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .neighborhood-features {
        grid-template-columns: 1fr;
    }
}