/* =========================
   Genel
========================= */
:root {
    --primary-color: #0f172a;
    --secondary-color: #1e293b;
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --text-color: #334155;
    --light-text: #64748b;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --success-soft: #eff6ff;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.10);
    --radius-md: 14px;
    --radius-lg: 22px;
    --transition: all 0.25s ease;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-wrapper {
    overflow-x: hidden;
}

.section-badge,
.hero-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--success-soft);
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-heading h2 {
    font-size: 38px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 14px;
    font-weight: 700;
}

.section-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--light-text);
    font-size: 17px;
}

.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 22px;
    transition: var(--transition);
}

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

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

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

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

/* =========================
   Header / Navbar
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.navbar {
    padding: 18px 0;
}

.site-logo {
    max-height: 52px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
    margin-left: 16px;
    position: relative;
}

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

.nav-cta-btn {
    padding-left: 20px;
    padding-right: 20px;
}

/* =========================
   Hero
========================= */
.hero-section {
    padding: 90px 0 70px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.12;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 22px;
}

.hero-content p {
    font-size: 18px;
    color: var(--light-text);
    max-width: 640px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hero-highlight-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.hero-highlight-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 15px;
    margin-bottom: 6px;
}

.hero-highlight-item span {
    display: block;
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.5;
}

.hero-image-box {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #eef4ff;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   Modül Kartları
========================= */
.home-modules-section {
    background: var(--white);
}

.module-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.module-card-image-link {
    display: block;
    overflow: hidden;
}

.module-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.module-card:hover .module-card-image {
    transform: scale(1.04);
}

.module-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.module-category-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
    text-decoration: none;
}

.module-category-badge:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.module-card-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.module-card-title a {
    color: var(--primary-color);
}

.module-card-title a:hover {
    color: var(--accent-color);
}

.module-card-description {
    color: var(--light-text);
    font-size: 15px;
    margin-bottom: 18px;
    min-height: 72px;
}

.module-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.module-meta-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 12px 14px;
}

.module-meta-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 13px;
    margin-bottom: 4px;
}

.module-meta-item span {
    color: var(--light-text);
    font-size: 14px;
}

.module-card-footer {
    margin-top: auto;
}

.empty-state-box {
    background: var(--bg-light);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px 20px;
}

.empty-state-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* =========================
   Feature Alanı
========================= */
.why-media-blu {
    background: var(--bg-light);
}

.feature-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.feature-box h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--light-text);
    margin-bottom: 0;
}

/* =========================
   CTA
========================= */
.cta-section {
    background: var(--white);
}

.cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: var(--white);
    border-radius: 28px;
    padding: 60px 24px;
    box-shadow: var(--shadow-md);
}

.cta-box h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 14px;
    font-weight: 800;
}

.cta-box p {
    max-width: 720px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-box .btn-light {
    color: var(--primary-color);
    font-weight: 700;
}

.cta-box .btn-outline-light {
    font-weight: 700;
}

/* =========================
   Footer
========================= */
.site-footer {
    background: #0b1220;
    color: rgba(255, 255, 255, 0.82);
    padding: 70px 0 24px;
}

.footer-logo {
    max-height: 54px;
    margin-bottom: 18px;
}

.footer-widget h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-widget p,
.footer-widget li,
.footer-widget a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.7;
}

.footer-links li + li,
.footer-contact-list li + li {
    margin-top: 10px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.58);
}

.site-header.scrolled {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.page-hero-sm {
    padding: 70px 0 40px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.page-hero-content h1 {
    font-size: 42px;
    line-height: 1.2;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 14px;
}

.page-hero-content p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--light-text);
    font-size: 17px;
}

.module-detail-hero {
    padding: 72px 0 40px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.module-detail-hero-content h1 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.module-detail-short {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 24px;
}

.module-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.module-detail-meta-item {
    min-width: 180px;
    background: var(--bg-light);
    border-radius: 14px;
    padding: 14px 16px;
}

.module-detail-meta-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 4px;
}

.module-detail-meta-item span {
    color: var(--light-text);
    font-size: 15px;
}

.module-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.module-detail-cover-box {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #eef4ff;
}

.module-detail-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-box,
.detail-sidebar-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.detail-box h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.detail-text {
    color: var(--text-color);
    line-height: 1.8;
}

.detail-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.detail-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-color);
    position: absolute;
    left: 0;
    top: 11px;
}

.gallery-item {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.detail-sidebar-box h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.sidebar-meta-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-meta-item:last-child {
    border-bottom: none;
}

.sidebar-meta-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-size: 14px;
}

.sidebar-meta-item span {
    color: var(--light-text);
    font-size: 15px;
}

.sidebar-cta-box {
    margin-top: 22px;
}

.sidebar-cta-box p {
    color: var(--light-text);
    font-size: 15px;
    margin-bottom: 14px;
}

.not-found-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.not-found-box {
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px 24px;
    box-shadow: var(--shadow-sm);
}

.not-found-box h1 {
    font-size: 40px;
    line-height: 1.2;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 14px;
}

.not-found-box p {
    color: var(--light-text);
    font-size: 17px;
    margin-bottom: 24px;
}

.not-found-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.admin-login-section {
    min-height: calc(100vh - 120px);
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    display: flex;
    align-items: center;
}

.admin-login-wrapper {
    max-width: 520px;
    margin: 0 auto;
}

.admin-login-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 34px;
    box-shadow: var(--shadow-md);
}

.admin-login-head h1 {
    font-size: 34px;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 10px;
}

.admin-login-head p {
    color: var(--light-text);
    margin-bottom: 24px;
}

.admin-login-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
}

.admin-login-form .form-control {
    min-height: 50px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.admin-login-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.08);
}

.admin-dashboard-section {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    min-height: calc(100vh - 120px);
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.admin-page-title {
    font-size: 36px;
    line-height: 1.2;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 8px;
}

.admin-page-text {
    color: var(--light-text);
    margin-bottom: 0;
}

.admin-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-stat-card,
.admin-link-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.admin-stat-card h3,
.admin-link-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.admin-stat-number {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.admin-stat-card p,
.admin-link-card p {
    color: var(--light-text);
    margin-bottom: 0;
}

.admin-link-card .btn {
    margin-top: 18px;
}

.admin-table-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.admin-table th {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 700;
    border-bottom-width: 1px;
}

.admin-table td {
    vertical-align: middle;
}

.admin-module-thumb {
    width: 76px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.status-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-active {
    background: #ecfdf3;
    color: #027a48;
}

.status-passive {
    background: #fef3f2;
    color: #b42318;
}

.admin-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-form-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.admin-form-card .form-label {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.admin-form-card .form-control {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    min-height: 48px;
    box-shadow: none;
}

.admin-form-card textarea.form-control {
    min-height: auto;
}

.admin-form-card .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.08);
}

.admin-current-image-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 18px;
}

.admin-current-image {
    max-width: 280px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
}

.contact-page-section {
    background: var(--white);
}

.contact-info-card,
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.contact-info-card h2,
.contact-form-card h2 {
    font-size: 30px;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 14px;
}

.contact-info-card p,
.contact-form-card p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.contact-info-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-info-list strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.contact-info-list span {
    color: var(--light-text);
}

.contact-form-card .form-label {
    font-weight: 700;
    color: var(--primary-color);
}

.contact-form-card .form-control {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    min-height: 48px;
    box-shadow: none;
}

.contact-form-card textarea.form-control {
    min-height: auto;
}

.contact-form-card .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.08);
}

.about-page-section {
    background: var(--white);
}

.about-content-card,
.about-feature-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.about-content-card h2,
.about-feature-card h3 {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 14px;
}

.about-content-card h2 {
    font-size: 30px;
}

.about-feature-card h3 {
    font-size: 24px;
}

.about-content-card p,
.about-feature-card p {
    color: var(--light-text);
    margin-bottom: 0;
}

.about-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.about-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-color);
    position: absolute;
    left: 0;
    top: 11px;
}

.btn-outline-danger {
    border-color: #dc2626;
    color: #dc2626;
}

.btn-outline-danger:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}