/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Hero Slider - Manşet */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.slider-container {
    position: relative;
    width: 100%;
    max-height: 500px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 500px;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 60px 0 40px;
}

.slide-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 25px;
    max-width: 700px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.btn-hero {
    display: inline-block;
    background: #c41e3a;
    color: white;
    padding: 14px 35px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: #a01528;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.4);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(196, 30, 58, 0.9);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #c41e3a;
    transform: scale(1.2);
}

/* Header */
.header {
    background: #2b2b2b;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
}

.logo .tagline {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 300;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
}

.main-nav a {
    color: white;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255,255,255,0.2);
}

.search-box {
    display: flex;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-box input {
    border: none;
    padding: 10px 20px;
    outline: none;
    width: 200px;
    font-size: 14px;
}

.search-box button {
    background: transparent;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 50px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Section Titles */
.section-title {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Categories Section */
.categories {
    padding: 60px 0;
    background: white;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
    transition: left 0.5s ease;
    z-index: 0;
}

.category-card:hover::before {
    left: 0;
}

.category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.25);
    border-color: #c41e3a;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
}

.category-card > * {
    position: relative;
    z-index: 1;
}

.category-icon {
    font-size: 72px;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(196, 30, 58, 0.3));
}

.category-card h4 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-card p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 15px;
}

.btn-link {
    color: #c41e3a;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 16px;
    padding: 10px 20px;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 25px;
    margin-top: 10px;
}

.btn-link:hover {
    color: white;
    background: #c41e3a;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

/* Featured Biographies */
.featured {
    padding: 60px 0;
    background: #f8f9fa;
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.bio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.bio-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bio-card:hover .bio-image img {
    transform: scale(1.05);
}

.bio-content {
    padding: 14px;
}

.category-tag {
    display: inline-block;
    background: #c41e3a;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 8px;
}

.bio-content h4 {
    font-size: 15px;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.bio-excerpt {
    color: #6c757d;
    margin-bottom: 12px;
    line-height: 1.4;
    font-size: 12px;
}

.btn-read {
    display: inline-block;
    background: #c41e3a;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-read:hover {
    background: #a01729;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

/* Latest Section */
.latest {
    padding: 60px 0;
    background: white;
}

.latest-list {
    max-width: 800px;
    margin: 0 auto;
}

.latest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.latest-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.latest-item .date {
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    min-width: 120px;
}

.latest-item h5 {
    flex: 1;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 500;
    margin: 0 20px;
}

.latest-item a {
    color: #667eea;
    font-weight: 600;
    white-space: nowrap;
}

.latest-item a:hover {
    color: #764ba2;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #667eea;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #c41e3a;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-nav a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        border-radius: 0;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background: rgba(255,255,255,0.15);
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
    }

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

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

    /* Slider mobil düzenlemeleri */
    .slide {
        height: 350px;
    }

    .slide-content {
        padding: 40px 0 25px;
    }

    .slide-content h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .btn-hero {
        padding: 10px 20px;
        font-size: 14px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .slider-dots {
        bottom: 10px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    /* Tab butonları mobil */
    .home-tab {
        font-size: 14px !important;
        padding: 12px 15px !important;
    }

    /* Kategori kartları mobil */
    .category-card {
        padding: 30px 25px;
    }

    .category-icon {
        font-size: 52px;
    }

    .category-card h4 {
        font-size: 20px;
    }

    .category-card p {
        font-size: 14px;
    }

    .latest-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .latest-item h5 {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .search-box input {
        width: 150px;
    }

    .hero {
        padding: 50px 20px;
    }

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

    /* Slider küçük ekranlar */
    .slide {
        height: 280px;
    }

    .slide-content h2 {
        font-size: 20px;
    }

    .slide-content p {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Tab butonları küçük ekranlar */
    .home-tab {
        font-size: 12px !important;
        padding: 10px 12px !important;
    }

    /* Kategori kartları küçük ekranlar */
    .category-icon {
        font-size: 48px;
    }

    .category-card h4 {
        font-size: 18px;
    }
}