/* AkademikAğ - Ana Stil Dosyası */

:root {
    /* Renkler */
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --accent: #F59E0B;
    --danger: #EF4444;

    /* Nötr Renkler */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Beyaz ve Siyah */
    --white: #FFFFFF;
    --black: #000000;

    /* Gölgeler */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Geçişler */
    --transition: all 0.2s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}

.brand-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
}

.brand-accent {
    color: var(--primary);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    color: var(--gray-600);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--gray-50);
}

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

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
}

.user-btn .fa-chevron-down {
    font-size: 10px;
    transition: var(--transition);
}

.user-dropdown.open .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.user-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--gray-700);
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.dropdown-menu a i {
    width: 16px;
    text-align: center;
    color: var(--gray-400);
}

.dropdown-menu a:hover i {
    color: var(--primary);
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 4px 0;
}

.dropdown-menu .text-danger {
    color: var(--danger);
}

.dropdown-menu .text-danger:hover {
    background: #FEF2F2;
    color: var(--danger);
}

.dropdown-menu .text-danger i {
    color: var(--danger);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.nav-dropdown-btn .fa-chevron-down {
    font-size: 10px;
    transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-btn .fa-chevron-down {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 8px 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: var(--gray-50);
    color: var(--primary);
}

.nav-dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
}

.nav-dropdown-menu a:hover i,
.nav-dropdown-menu a.active i {
    color: var(--primary);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-700);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #059669;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Split Layout */
.hero-split {
    padding: 50px 0 40px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

.hero-left {
    padding-top: 20px;
}

.hero-left .hero-badge {
    margin-bottom: 20px;
}

.hero-left h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.hero-left h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-left .hero-desc {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-left .hero-actions {
    justify-content: flex-start;
}

/* Hero Right - Akademi Gündemi */
.hero-right {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gundemi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.gundemi-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gundemi-header h3 i {
    color: var(--primary);
}

.gundemi-more {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gundemi-more:hover {
    text-decoration: underline;
}

.gundemi-list {
    max-height: 400px;
    overflow-y: auto;
}

.gundemi-item {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

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

.gundemi-item:hover {
    background: var(--gray-50);
}

.gundemi-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.gundemi-kategori {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cat-color, var(--primary));
    background: color-mix(in srgb, var(--cat-color, var(--primary)) 12%, transparent);
    padding: 3px 8px;
    border-radius: var(--radius);
}

.gundemi-tarih {
    font-size: 11px;
    color: var(--gray-500);
}

.gundemi-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 4px;
}

.gundemi-item:hover h4 {
    color: var(--primary);
}

.gundemi-kaynak {
    font-size: 11px;
    color: var(--gray-500);
}

/* Hero Split Responsive */
@media (max-width: 992px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
    }

    .hero-left {
        text-align: center;
        padding-top: 0;
    }

    .hero-left .hero-actions {
        justify-content: center;
    }

    .hero-right {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-left h1 {
        font-size: 32px;
    }

    .hero-left .hero-actions {
        flex-direction: column;
    }

    .hero-left .hero-actions .btn {
        width: 100%;
    }
}

/* Stats */
.stats {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

.stat-icon i {
    font-size: 26px;
    color: var(--white);
}

.stat-item h3 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 15px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Services */
.services {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-500);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 24px;
    color: var(--white);
}

.service-icon.green {
    background: linear-gradient(135deg, var(--secondary), #34D399);
}

.service-icon.orange {
    background: linear-gradient(135deg, var(--accent), #FBBF24);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.service-link:hover {
    gap: 10px;
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.features-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.features-content p {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--gray-700);
}

.feature-list li i {
    color: var(--secondary);
    margin-top: 4px;
}

.features-image {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

/* CTA */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background: var(--white);
    color: var(--primary);
}

.cta .btn:hover {
    background: var(--gray-100);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--gray-900);
    color: var(--gray-400);
}

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

.footer-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand .brand-icon {
    background: var(--primary);
}

.footer-brand .brand-text {
    color: var(--white);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: var(--gray-800);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 14px;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-actions {
        display: none;
    }

    /* Mobile Nav Dropdown */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-btn {
        width: 100%;
        justify-content: space-between;
        padding: 8px 16px;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--gray-50);
        border-radius: var(--radius);
        margin-top: 8px;
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 10px 16px 10px 24px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-desc {
        font-size: 17px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item h3 {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================================
   Akademi Gündemi Section (Ana Sayfa)
   =============================================== */
.akademi-gundemi {
    padding: 40px 0 60px;
    background: var(--gray-50);
}

.haberler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.haber-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.haber-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.haber-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
}

.haber-source {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--source-color, var(--primary));
}

.source-logo {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--source-color, var(--primary));
    border-radius: var(--radius-sm);
    padding: 4px;
}

.source-logo svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.source-name {
    font-weight: 600;
    font-size: 12px;
    color: var(--gray-700);
}

.haber-tarih {
    color: var(--gray-500);
    font-size: 12px;
}

.haber-baslik {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 8px;
    flex-grow: 1;
}

.haber-card:hover .haber-baslik {
    color: var(--primary);
}

.haber-ozet {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 12px;
}

.haber-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

.haber-kategori {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .haberler-grid {
        grid-template-columns: 1fr;
    }
}
