/* Hikaye Sitesi - Modern CSS - 2025 */

/* ==========================================
   1. RESET & BASE STYLES
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e1e8ed;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(102, 126, 234, 0.3);
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* ==========================================
   2. CONTAINER & LAYOUT
   ========================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* ==========================================
   3. HEADER
   ========================================== */

.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.logo a {
    color: var(--white);
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.amp-link {
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================
   4. HERO SECTION
   ========================================== */

.hero-section {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    margin-bottom: 50px;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   5. STORIES SECTION
   ========================================== */

.stories-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-color);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.story-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.story-image {
    display: block;
    overflow: hidden;
    height: 250px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-content {
    padding: 25px;
}

.story-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.story-title a {
    color: var(--text-color);
}

.story-title a:hover {
    color: var(--primary-color);
}

.story-excerpt {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item svg {
    width: 16px;
    height: 16px;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    transform: translateX(5px);
    color: var(--white);
}

.no-stories {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    font-size: 18px;
    color: var(--text-light);
}

/* ==========================================
   6. STORY DETAIL PAGE
   ========================================== */

.story-detail {
    max-width: 800px;
    margin: 0 auto;
}

.story-header {
    margin-bottom: 40px;
}

.story-header h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--text-color);
}

.story-metadata {
    margin-bottom: 30px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.meta-row span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-row svg {
    width: 16px;
    height: 16px;
}

.story-featured-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.story-featured-image img {
    width: 100%;
    height: auto;
}

.story-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

.story-body h2,
.story-body h3,
.story-body h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-color);
}

.story-body h2 {
    font-size: 32px;
}

.story-body h3 {
    font-size: 26px;
}

.story-body h4 {
    font-size: 22px;
}

.story-body p {
    margin-bottom: 20px;
}

.story-body img {
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.story-body ul,
.story-body ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.story-body li {
    margin-bottom: 10px;
}

.story-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 30px 0;
    background: var(--bg-light);
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* ==========================================
   7. STORY FOOTER
   ========================================== */

.story-footer {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.share-buttons {
    margin-bottom: 30px;
}

.share-buttons h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.share-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 24px;
    border-radius: 6px;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.share-facebook {
    background: #1877F2;
}

.share-facebook:hover {
    background: #145dbf;
    color: var(--white);
}

.share-twitter {
    background: #1DA1F2;
}

.share-twitter:hover {
    background: #0d8bd9;
    color: var(--white);
}

.share-whatsapp {
    background: #25D366;
}

.share-whatsapp:hover {
    background: #1da851;
    color: var(--white);
}

.btn-back {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-back:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==========================================
   8. FOOTER
   ========================================== */

.site-footer {
    background: #2c3e50;
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   9. RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .story-header h1 {
        font-size: 28px;
    }
    
    .story-body {
        font-size: 16px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .nav-link {
        text-align: center;
    }
    
    .meta-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .share-links {
        flex-direction: column;
    }
    
    .share-btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 20px;
    }
    
    .hero-section h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .story-title {
        font-size: 18px;
    }
}

/* ==========================================
   10. UTILITIES
   ========================================== */

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

