/**
 * PROPERTYTURKIYE.NET - Main Design System & Layout Styles
 * Luxury Aesthetic: Deep Navy (#070e1e), Rich Gold (#c5a059), Emerald (#10b981)
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #080f1d;
    color: #f1f5f9;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-main {
    flex: 1;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    width: 100%;
    padding: 0 24px;
}

/* --- BUTTONS & PILLS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #c5a059 0%, #a68038 100%);
    color: #070e1e;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
    background: linear-gradient(135deg, #dfb76c 0%, #b89145 100%);
}

.btn-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1eb954;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline-gold {
    background: transparent;
    border: 1px solid #c5a059;
    color: #c5a059;
}

.btn-outline-gold:hover {
    background: #c5a059;
    color: #070e1e;
}

/* --- BADGES & TAGS --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-verified {
    background: rgba(16, 185, 129, 0.14);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-price {
    background: rgba(59, 130, 246, 0.14);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-commission {
    background: rgba(197, 160, 89, 0.16);
    color: #dfb76c;
    border: 1px solid rgba(197, 160, 89, 0.4);
}

.badge-citizenship {
    background: rgba(239, 68, 68, 0.14);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.verified-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

/* --- PROPERTY SCORE™ (Section 5) --- */
.property-score-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.property-score-pill.score-elite {
    background: linear-gradient(135deg, #10b981 0%, #065f46 100%);
    border: 1px solid #34d399;
}

.property-score-pill.score-high {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border: 1px solid #38bdf8;
}

.property-score-pill.score-good {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    border: 1px solid #818cf8;
}

.score-brand {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.score-value {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
}

.score-value strong {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.7;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding: 70px 0 80px;
    background: radial-gradient(circle at 50% 20%, #152744 0%, #080f1d 75%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hero-glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, rgba(16, 185, 129, 0.05) 40%, transparent 70%);
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #dfb76c;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: linear-gradient(135deg, #dfb76c 0%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: #94a3b8;
    max-width: 780px;
    margin: 0 auto 36px;
    font-weight: 400;
}

/* AI Conversational Search Box (Section 13) */
.ai-search-box {
    background: rgba(17, 29, 51, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 16px;
    padding: 8px 10px 8px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(197, 160, 89, 0.1);
    max-width: 820px;
    margin: 0 auto 24px;
}

.ai-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    padding: 8px 0;
}

.ai-search-input::placeholder {
    color: #64748b;
}

.hero-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
}

.hero-stat-num span {
    color: #c5a059;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- PROJECT CARDS GRID --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
    margin: 36px 0;
}

.project-card {
    background: #0e1a2f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.project-card-media {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.project-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card-img {
    transform: scale(1.05);
}

.project-card-top-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-location {
    font-size: 0.82rem;
    color: #c5a059;
    font-weight: 600;
    margin-bottom: 6px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.25;
}

.project-features-chips {
    display: flex;
    gap: 14px;
    margin: 12px 0;
    font-size: 0.82rem;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 0;
}

.project-pricing-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
}

.price-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.price-amount {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

/* --- LIVE STOCK / CANLI STOK TABLE (Section 7) --- */
.live-inventory-card {
    background: #0e1a2f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px;
    margin: 32px 0;
}

.inventory-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.88rem;
}

.inventory-table th {
    text-align: left;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inventory-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #f1f5f9;
}

.inventory-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.status-available {
    color: #10b981;
    font-weight: 700;
}

.status-reserved {
    color: #f59e0b;
    font-weight: 700;
}

.status-sold {
    color: #ef4444;
    font-weight: 700;
}

/* --- FOOTER --- */
.site-footer {
    background: #050b14;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 30px;
    color: #94a3b8;
    font-size: 0.88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col-title {
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a:hover {
    color: #c5a059;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-stats-row {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.85rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .ai-search-box {
        flex-direction: column;
        align-items: stretch;
        border-radius: 12px;
        padding: 12px;
    }
    .ai-search-box .btn {
        width: 100%;
    }
}
