/* Alanya Emlak - Ultra Sade & Mobil Uyumlu Stylesheet */

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent-teal: #0d9488;
    --accent-cyan: #06b6d4;
    --accent-whatsapp: #25d366;
    --accent-phone: #3b82f6;
    --gold: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --bg-dark: #090d16;
    --card-bg: rgba(30, 41, 59, 0.85);
    --border-color: rgba(255, 255, 255, 0.12);
    --radius-lg: 20px;
    --radius-md: 12px;
    --transition: all 0.2s ease;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.4;
    overflow-x: hidden;
    padding-bottom: calc(75px + var(--safe-bottom));
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Header sağ blok */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Dil Değiştirici — açılır menü (collapsible) */
.lang-dropdown {
    position: relative;
}
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.42rem 0.6rem;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}
.lang-toggle:hover { border-color: var(--accent-cyan); }
.lang-toggle .ri-global-line { font-size: 1.05rem; color: var(--accent-cyan); }
.lang-toggle .lang-caret { font-size: 1rem; transition: transform 0.2s ease; }
.lang-dropdown.open .lang-toggle .lang-caret { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 200;
}
.lang-dropdown.open .lang-menu { display: flex; }
.lang-menu button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 0.7rem;
    border-radius: 9px;
    cursor: pointer;
    transition: var(--transition);
}
.lang-menu button:hover { background: rgba(255, 255, 255, 0.06); color: var(--text-main); }
.lang-menu button.active { background: var(--accent-cyan); color: #04222b; }
.lang-menu button .code {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--accent-cyan);
    min-width: 22px;
}
.lang-menu button.active .code { color: #04222b; }

/* Standart Mobil Uyumlu Üst Bar (Header) */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 800;
}

.logo-badge {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-cyan);
}

.header-contact-btns {
    display: flex;
    align-items: center;
}

/* İkon-only yuvarlak telefon butonu */
.btn-header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #3b82f6;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    transition: var(--transition);
}
.btn-header-call:hover { background: #2563eb; transform: translateY(-1px); }

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    .logo {
        font-size: 1.05rem;
    }
    .btn-header-call { width: 38px; height: 38px; font-size: 1.05rem; }
}

/* Ultra Sade Hero Bölümü */
.hero {
    position: relative;
    padding: 2.25rem 1rem 2rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(9, 13, 22, 1) 100%), 
                url('../images/img1.jpg') center/cover no-repeat;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.hero-sub-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .hero-cta-group {
        flex-direction: row;
    }
}

.hero-btn-wp {
    background: #25d366;
    color: white;
    padding: 0.9rem 1.25rem;
    border-radius: 14px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.hero-btn-call {
    background: #3b82f6;
    color: white;
    padding: 0.9rem 1.25rem;
    border-radius: 14px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Yatay Kaydırılabilir Kategori Butonları */
.categories-bar {
    max-width: 1280px;
    margin: 1.5rem auto 0.5rem;
    padding: 0 1rem;
}

.category-pills-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.category-pills-scroll::-webkit-scrollbar {
    display: none;
}

.pill-btn {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.55rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pill-btn.active {
    background: var(--accent-teal);
    color: #fff;
    border-color: var(--accent-teal);
}

/* İlanlar Grid */
.listings-section {
    max-width: 1280px;
    margin: 0.75rem auto 2.5rem;
    padding: 0 1rem;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.property-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-img-wrapper {
    position: relative;
    height: 190px;
    overflow: hidden;
}

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

.card-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

.card-fav-btn.active {
    color: #ef4444;
}

.card-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    font-size: 0.72rem;
    font-weight: 700;
}

.card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.card-specs {
    display: flex;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.6);
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
    color: #e2e8f0;
    justify-content: space-between;
}

.card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.price-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.card-actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.btn-card-details {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 0.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    text-align: center;
    cursor: pointer;
}

.btn-card-wp {
    background: #25d366;
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-card-call {
    background: #3b82f6;
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* 100% Birebir Orantılı 2 Butonlu Alt Bar */
.app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 0.6rem 0.85rem calc(0.6rem + var(--safe-bottom));
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5);
}

.bottom-btn-wp, .bottom-btn-call {
    flex: 1;
    height: 48px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: var(--transition);
}

.bottom-btn-wp {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.bottom-btn-wp:active {
    transform: scale(0.97);
}

.bottom-btn-call {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.bottom-btn-call:active {
    transform: scale(0.97);
}

/* Sheet Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

@media (min-width: 768px) {
    .modal-overlay {
        align-items: center;
        padding: 1.5rem;
    }
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #1e293b;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    max-width: 750px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

@media (min-width: 768px) {
    .modal-card {
        border-radius: 20px;
    }
}

.sheet-handle {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin: 8px auto 0;
    display: block;
}

.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-color);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
}

.modal-img-container {
    height: 220px;
    width: 100%;
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content-body {
    padding: 1.25rem;
}

.modal-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.modal-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0;
}

.modal-feature-chip {
    background: rgba(13, 148, 136, 0.15);
    color: var(--accent-cyan);
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    font-size: 0.78rem;
    font-weight: 600;
}

.modal-description {
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.modal-action-bar {
    display: flex;
    gap: 0.6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.footer {
    background: #090d16;
    border-top: 1px solid var(--border-color);
    padding: 2rem 1rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* SEO İçerik & SSS (FAQ) Bölümü */
.seo-content {
    max-width: 900px;
    margin: 1.5rem auto 0;
    padding: 1.5rem 1.25rem 0.25rem;
}
.seo-content h2 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.85rem;
}
.seo-content > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 0.9rem;
}
.seo-faq h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 1.25rem 0 0.75rem;
}
.seo-faq details {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.1rem 0.95rem;
    margin-bottom: 0.6rem;
}
.seo-faq summary {
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    padding: 0.7rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: '+'; color: var(--accent-cyan); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.seo-faq details[open] summary::after { content: '\2212'; }
.seo-faq details p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    padding: 0 0 0.85rem;
    margin: 0;
}
