/* ARSALAR.APP Main Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary-color: #0F172A;       /* Deep Navy */
    --primary-light: #1E293B;
    --accent-color: #2563EB;        /* Royal Blue */
    --accent-hover: #1D4ED8;
    --gold-color: #D97706;          /* Investment Amber Gold */
    --gold-light: #FEF3C7;
    --success-color: #059669;       /* Verified Green */
    --warning-color: #D97706;
    --danger-color: #DC2626;
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;
    --border-color: #E2E8F0;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(15,23,42,0.08);
    --shadow-lg: 0 12px 28px rgba(15,23,42,0.12);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Spacing Utilities */
.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.py-4 { padding-top: 2.75rem; padding-bottom: 2.75rem; }
.py-5 { padding-top: 4.5rem; padding-bottom: 4.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }

.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.ms-1 { margin-left: 0.25rem; }
.ms-2 { margin-left: 0.5rem; }
.ms-3 { margin-left: 1rem; }

.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-gold { color: var(--gold-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-center { text-align: center !important; }

/* Section Header Standard */
.section-header {
    margin-bottom: 2.75rem;
}
.section-header .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}
.section-header .section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* Header & Navigation */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.brand-logo .logo-badge {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 0.2rem;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

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

.btn-gold {
    background: linear-gradient(135deg, #D97706, #B45309);
    color: #ffffff;
}

.btn-gold:hover {
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(217,119,6,0.35);
}

.btn-dark {
    background: var(--primary-color);
    color: #ffffff;
}

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

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
}

/* Badges & Pills */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
}

.badge-verified {
    background: #ECFDF5;
    color: #059669;
    border: 1px solid #A7F3D0;
}

.badge-score {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
    font-size: 0.85rem;
}

.badge-gold {
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid #FDE68A;
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.project-card {
    display: flex;
    flex-direction: column;
}

.project-card .card-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.project-card .score-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.project-card .company-mini-logo {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.project-card .company-mini-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card .card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.project-card .project-location {
    font-size: 0.825rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card .project-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.project-card .project-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.project-card .spec-item {
    display: flex;
    flex-direction: column;
}

.project-card .spec-label {
    font-size: 0.725rem;
    color: var(--text-muted);
}

.project-card .spec-value {
    font-weight: 700;
    color: var(--text-primary);
}

.project-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-color);
    background: #FAFAFA;
}

.price-tag {
    display: flex;
    flex-direction: column;
}

.price-tag .price-label {
    font-size: 0.725rem;
    color: var(--text-muted);
}

.price-tag .price-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-color);
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #94A3B8;
    padding: 4.5rem 0 2.5rem;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    color: #94A3B8;
    font-size: 0.9rem;
}

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

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

/* Responsive Menu Drawer */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .header-actions .btn-login {
        display: none;
    }
}
