/* ═════════════════════════════════════════════════════════════════
   Uzman Perspektif Sektörel Yayın Portalı - Design System (portal.css)
   ═════════════════════════════════════════════════════════════════ */

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

:root {
    --bg-main: #0b0d14;
    --bg-surface: #131622;
    --bg-surface-hover: #1c2030;
    --bg-card: rgba(23, 27, 42, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(91, 141, 239, 0.4);
    --text-main: #f0f3fa;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --accent: #4f80ff;
    --accent-light: #709bff;
    --accent-glow: rgba(79, 128, 255, 0.35);
    --accent-gradient: linear-gradient(135deg, #4f80ff 0%, #3b62d9 100%);
    --gold: #f59e0b;
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --container-max: 1240px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Typography & Globals ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.25;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(79, 128, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(79, 128, 255, 0.12);
    border: 1px solid rgba(79, 128, 255, 0.25);
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 640px;
}

/* ── Header / Navbar ── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 76px;
    z-index: 1000;
    background: rgba(11, 13, 20, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 46px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    border-radius: 6px;
    transition: var(--transition);
}
.logo-img:hover {
    transform: scale(1.03);
}

.logo-sub {
    font-size: 11px;
    color: var(--accent-light);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}
.nav-link:hover {
    color: #fff;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* ── Hero Section ── */
.hero {
    position: relative;
    padding: 150px 0 90px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79, 128, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 3D Cover Showcase */
.cover-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.cover-card-3d {
    position: relative;
    width: 320px;
    height: 450px;
    border-radius: 12px;
    box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px var(--accent-glow);
    transform: rotateY(-12deg) rotateX(6deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cover-card-3d:hover {
    transform: rotateY(-2deg) rotateX(2deg) scale(1.03);
    box-shadow: -10px 15px 40px rgba(0, 0, 0, 0.8), 0 0 50px rgba(79, 128, 255, 0.5);
}

.cover-card-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cover-badge-tag {
    position: absolute;
    top: 16px; right: 16px;
    background: rgba(11, 13, 20, 0.85);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ── Featured Articles Grid ── */
.featured-section {
    padding: 90px 0;
    background: rgba(19, 22, 34, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.article-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.article-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.article-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-dim);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 14px;
}

.article-link {
    color: var(--accent-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── Issues Archive Section ── */
.issues-section {
    padding: 100px 0;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

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

.issue-portal-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.issue-portal-cover-wrap {
    position: relative;
    height: 280px;
    background: #000;
    overflow: hidden;
}

.issue-portal-cover {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.issue-portal-card:hover .issue-portal-cover {
    transform: scale(1.05);
}

.issue-portal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.issue-portal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.issue-portal-title {
    font-size: 20px;
    font-weight: 700;
}

.issue-portal-date {
    font-size: 13px;
    color: var(--accent-light);
    font-weight: 600;
}

.issue-portal-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex: 1;
}

/* ── Newsletter & Footer ── */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(79, 128, 255, 0.1) 0%, rgba(19, 22, 34, 0.8) 100%);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.newsletter-box {
    max-width: 580px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.newsletter-input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 14px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* ── Responsive Mobile ── */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 34px;
    }
    .cover-showcase {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .section-title {
        font-size: 28px;
    }
    .newsletter-form {
        flex-direction: column;
    }
}
