/* ========================================================
   5-LEVENT.COM — Portal Design System
   ======================================================== */
:root {
    --primary: #0A1628;
    --primary-light: #1a2d4a;
    --accent: #C53030;
    --accent-gradient: linear-gradient(135deg, #9B2C2C 0%, #C53030 50%, #E53E3E 100%);
    --bg-base: #F8F9FA;
    --bg-card: #FFFFFF;
    --bg-alt: #F0F2F5;
    --text-main: #1a2332;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(10,22,40,0.06);
    --shadow-md: 0 4px 12px rgba(10,22,40,0.08);
    --shadow-lg: 0 12px 40px rgba(10,22,40,0.12);
    --shadow-xl: 0 25px 60px rgba(10,22,40,0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================================
   NAV
   ======================================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 0;
    transition: all 0.4s ease;
}

.main-nav.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

.main-nav.scrolled .nav-logo { color: var(--primary); }

.logo-5 { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav.scrolled .nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: white; }
.main-nav.scrolled .nav-links a:hover { color: var(--primary); }

/* ========================================================
   HERO
   ======================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0A1628 0%, #162a4a 40%, #1a3358 70%, #0f2035 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(197,48,48,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(30,64,120,0.2) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    color: white;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero h1 .dot { color: var(--accent); }

.hero-subtitle {
    max-width: 640px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--accent-gradient);
    color: white;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(197,48,48,0.3);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(197,48,48,0.4);
}

/* ========================================================
   SECTIONS
   ======================================================== */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* ========================================================
   SITE CARDS
   ======================================================== */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.site-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.site-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.site-card-header {
    padding: 1rem 1.25rem 0;
}

.site-badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    background: #F0FDF4;
    color: #166534;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid #BBF7D0;
}

.site-badge.active {
    background: #FEF2F2;
    color: #991B1B;
    border-color: #FECACA;
}

.site-card-body {
    padding: 0.75rem 1.25rem 1rem;
    flex-grow: 1;
}

.site-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.site-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.site-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-specs span {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
    background: var(--bg-alt);
    border-radius: var(--radius-xs);
    font-weight: 500;
    white-space: nowrap;
}

.site-card-footer {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: all 0.3s;
}

.site-card:hover .site-card-footer {
    color: white;
    background: var(--accent-gradient);
}

/* ========================================================
   FEATURES — Bölge Avantajları
   ======================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================================
   TRANSPORT
   ======================================================== */
.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.transport-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

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

.transport-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.transport-icon.metro { background: linear-gradient(135deg, #DC2626, #991B1B); }
.transport-icon.tramway { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.transport-icon.bus { background: linear-gradient(135deg, #059669, #047857); font-size: 1.3rem; }
.transport-icon.otogar { background: linear-gradient(135deg, #7C3AED, #6D28D9); font-size: 1.3rem; }

.transport-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.transport-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* ========================================================
   BUSINESS DIRECTORY
   ======================================================== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.biz-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.biz-category h3 {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 700;
}

.biz-list {
    padding: 0.25rem 0;
}

.biz-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.25rem;
    transition: background 0.2s;
}

.biz-item:hover {
    background: var(--bg-alt);
}

.biz-name {
    font-size: 0.85rem;
    font-weight: 500;
}

.biz-loc {
    font-size: 0.72rem;
    color: var(--text-muted);
    background: var(--bg-base);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

/* ========================================================
   CONTACT BANNER
   ======================================================== */
.contact-banner {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 50%, #ffffff 100%);
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.contact-banner-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.contact-banner h2 { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-bottom: 0.5rem; }
.contact-banner p { font-size: 0.92rem; color: var(--text-muted); max-width: 500px; margin: 0 auto 1.5rem; line-height: 1.7; }

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(10,22,40,0.2);
}

.contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(10,22,40,0.3);
}

/* ========================================================
   FOOTER
   ======================================================== */
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 768px) {
    .hero-content { padding: 6rem 1.5rem 3rem; }
    .hero h1 { font-size: 3.5rem; }
    .hero-stats { gap: 1.5rem; }
    .stat-num { font-size: 1.4rem; }
    .nav-links { display: none; }
    .sites-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .transport-grid { grid-template-columns: 1fr; }
    .business-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .section { padding: 3rem 0; }
    .container { padding: 0 1.25rem; }
    .section-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-stats { gap: 1rem; }
}
