* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100vw; overflow-x: hidden; font-family: 'Source Sans Pro', sans-serif; line-height: 1.6; color: #1a202c; background: #0a0a0a; }

.nav { position: fixed; top: 0; left: 0; right: 0; background: rgba(0,0,0,0.9); backdrop-filter: blur(20px); z-index: 1000; padding: 1rem 0; }
.nav.scrolled { background: rgba(0,0,0,0.95); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; position: relative; }
.logo { font-size: 2rem; font-weight: 900; color: white; text-decoration: none; background: linear-gradient(45deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: white; text-decoration: none; font-weight: 600; padding: 0.5rem 1rem; border-radius: 25px; transition: all 0.3s; }
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.btn { padding: 1rem 2rem; border: none; border-radius: 50px; font-size: 1.1rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s; cursor: pointer; }
.btn-primary { background: #e74c3c; color: white; }
.btn-primary:hover { background: #c0392b; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4); }
.btn-secondary { background: transparent; color: white; border: 2px solid white; }
.btn-secondary:hover { background: white; color: #2c3e50; transform: translateY(-2px); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; text-align: center; margin-bottom: 3rem; color: white; }
.section-subtitle { font-size: 1.3rem; color: #a0a0a0; text-align: center; margin-bottom: 3rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 2rem; }
.pagination-btn, .pagination-num { padding: 0.5rem 1rem; border-radius: 8px; background: #2a2a2a; color: white; text-decoration: none; border: 1px solid #444; transition: all 0.2s; }
.pagination-btn:hover, .pagination-num:hover { background: #667eea; border-color: #667eea; }
.pagination-num.active { background: #667eea; border-color: #667eea; }
.pagination-ellipsis { padding: 0 0.25rem; color: #888; }

.feature-card, .story-card { background: linear-gradient(145deg, #2a2a2a, #1a1a1a); border-radius: 25px; padding: 2rem; box-shadow: 0 20px 40px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s; position: relative; overflow: hidden; }
.feature-card:hover, .story-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 30px rgba(102,126,234,0.3); }
.feature-card::before, .story-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #667eea, #764ba2, #f093fb); }
.feature-card h3, .story-card h3 { color: #667eea; font-size: 1.4rem; margin-bottom: 1rem; }
.feature-card p, .story-card p { color: #a0a0a0; line-height: 1.8; }
.story-card a { background: linear-gradient(45deg, #667eea, #764ba2); color: white; padding: 0.75rem 1.5rem; border-radius: 25px; text-decoration: none; font-weight: 600; display: inline-block; }
.story-card .meta { color: #667eea; font-size: 0.9rem; margin-bottom: 1rem; }
.news-page .story-card h3 { color: #a8b4ff; }
.news-page .story-card p,
.news-page .story-card .meta { color: #d0d0d0; line-height: 1.7; }
.news-page .feature-card p { color: #d0d0d0; }
.news-page .feature-card h2 { color: #e74c3c; }

.content-section h2 { color: #667eea; font-size: 2.5rem; font-weight: 800; margin-bottom: 3rem; text-align: center; }

.stat-card { text-align: center; background: linear-gradient(145deg, #2a2a2a, #1a1a1a); border-radius: 25px; padding: 2rem; position: relative; }
.stat-number { font-size: 3rem; font-weight: 900; color: #667eea; margin-bottom: 0.5rem; }
.stat-label { color: #a0a0a0; font-size: 1.1rem; font-weight: 600; }

.hero { min-height: 80vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; margin-top: 80px; padding: 2rem 0; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%); }
.hero-content { text-align: center; color: white; z-index: 2; position: relative; max-width: 1200px; padding: 0 20px; }
.hero h1 { font-size: 4rem; font-weight: 900; margin-bottom: 1rem; text-shadow: 0 0 30px rgba(255,255,255,0.3); }
.hero p { font-size: 1.3rem; margin-bottom: 2rem; opacity: 0.95; }
.hero-subtitle { font-size: 1.1rem; opacity: 0.9; margin-bottom: 3rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.footer { background: #0a0a0a; color: white; padding: 3rem 0; text-align: center; margin-top: 4rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { font-family: 'Playfair Display', serif; margin-bottom: 1rem; color: #e74c3c; }
.footer-section p, .footer-section a { color: #bdc3c7; text-decoration: none; line-height: 1.8; }
.footer-section a:hover { color: #e74c3c; }
.footer-share { margin-bottom: 1.5rem; }
.footer-share .share-buttons { justify-content: center; }
.footer-share .share-label { color: #95a5a6; }
.footer-bottom { border-top: 1px solid #34495e; padding-top: 2rem; color: #95a5a6; }

.main-content { margin-top: 80px; min-height: calc(100vh - 80px); }
.page-hero { padding: 4rem 0 3rem; text-align: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.page-hero h1 { font-size: 3rem; color: white; margin-bottom: 0.5rem; }
.page-hero p { font-size: 1.2rem; color: rgba(255,255,255,0.9); }

.photo-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }

.post-content { margin-bottom: 1rem; color: #a0a0a0; line-height: 1.8; }
.post-content p { margin-bottom: 1rem; color: #a0a0a0; }
.post-content p:last-child { margin-bottom: 0; }
.post-content a { color: #667eea; text-decoration: underline; }
.post-content a:hover { color: #764ba2; }
.post-content h2, .post-content h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; color: #667eea; }
.post-content ul, .post-content ol { margin: 1rem 0 1rem 1.5rem; color: #a0a0a0; }

.post-img-wrap { margin: 1.5rem auto; cursor: pointer; display: block; max-width: 400px; }
.post-img-wrap img { width: 100%; max-width: 400px; height: auto; object-fit: cover; border-radius: 8px; display: block; }
.post-img-wrap:hover img { opacity: 0.9; }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 10000; justify-content: center; align-items: center; }
.lightbox.open { display: flex; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: transparent; border: none; color: white; font-size: 2.5rem; cursor: pointer; line-height: 1; opacity: 0.9; }
.lightbox-close:hover { opacity: 1; }
.lightbox-zoom-controls { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.6); padding: 0.75rem 1.25rem; border-radius: 8px; display: flex; align-items: center; gap: 1rem; }
.lightbox-zoom-controls button { background: #667eea; color: white; border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; line-height: 1; display: flex; align-items: center; justify-content: center; }
.lightbox-zoom-controls button:hover { background: #764ba2; }
.lightbox-zoom-level { color: white; min-width: 4rem; text-align: center; font-size: 0.9rem; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); border: none; color: white; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 2rem; line-height: 1; z-index: 10002; display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: rgba(255,255,255,0.35); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-content { overflow: auto; max-width: 95vw; max-height: 90vh; display: flex; justify-content: center; align-items: center; }
.lightbox-content img { max-width: 100%; max-height: 85vh; object-fit: contain; transition: transform 0.2s; transform-origin: center center; }

.newspaper-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 10000; overflow: hidden; padding: 1rem; align-items: center; justify-content: center; }
.newspaper-modal[style*="flex"] { display: flex !important; }
.newspaper-content { max-width: 900px; max-height: calc(100vh - 2rem); background: #1a1a1a; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); overflow: hidden; display: flex; flex-direction: column; }
.newspaper-header { background: #2c3e50; color: white; padding: 2rem; position: relative; }
.newspaper-header h1, .newspaper-header h2, .newspaper-header .modal-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin: 0 0 1rem 0; line-height: 1.2; }
.newspaper-meta { font-size: 0.9rem; opacity: 0.9; }
.newspaper-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,0.2); border: none; color: white; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.newspaper-close:hover { background: rgba(255,255,255,0.3); }
.newspaper-body { padding: 2rem; flex: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; min-height: 0; -webkit-overflow-scrolling: touch; }
.newspaper-article { max-width: 100%; }
.newspaper-article p { margin-bottom: 1.2rem; line-height: 1.8; font-size: 1rem; color: #a0a0a0; }
.newspaper-article p:first-child { font-weight: 600; font-size: 1.1rem; color: #ffffff; }
.newspaper-article a { color: #667eea; text-decoration: underline; }
.newspaper-article a:hover { color: #764ba2; }
.newspaper-image { display: block; max-width: 400px; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,0.3); cursor: pointer; transition: transform 0.3s; margin: 1.5rem auto; border: 2px solid #333; }
.newspaper-image:hover { transform: scale(1.02); }

.image-zoom-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 10001; }
.image-zoom-modal[style*="flex"] { display: flex !important; }
.zoom-modal-content { width: 100%; height: 100%; display: flex; flex-direction: column; position: relative; align-items: center; justify-content: center; }
.zoom-close { position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(255,255,255,0.2); border: none; color: white; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; z-index: 10002; }
.zoom-close:hover { background: rgba(255,255,255,0.3); }
.zoom-controls { position: absolute; top: 1.5rem; left: 1.5rem; display: flex; align-items: center; gap: 1rem; background: rgba(0,0,0,0.7); padding: 0.75rem 1rem; border-radius: 8px; z-index: 10002; }
.zoom-btn { background: rgba(255,255,255,0.2); border: none; color: white; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.zoom-btn:hover { background: rgba(255,255,255,0.3); }
.zoom-level { color: white; font-weight: 600; min-width: 50px; text-align: center; }
.zoom-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); border: none; color: white; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 2rem; line-height: 1; z-index: 10002; display: none; align-items: center; justify-content: center; }
.zoom-nav:hover { background: rgba(255,255,255,0.35); }
.zoom-prev { left: 1.5rem; }
.zoom-next { right: 1.5rem; }
.image-container { flex: 1; display: flex; align-items: center; justify-content: center; overflow: auto; padding: 2rem; }
.zoom-image { max-width: 100%; max-height: 85vh; object-fit: contain; cursor: grab; transition: transform 0.1s; user-select: none; }
.zoom-image:active { cursor: grabbing; }

.share-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.share-label { color: #a0a0a0; font-size: 0.9rem; margin-right: 0.5rem; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: white; text-decoration: none; transition: transform 0.2s, opacity 0.2s; }
.share-btn:hover { transform: scale(1.1); opacity: 0.9; }
.share-fb { background: #1877f2; }
.share-twitter { background: #000; }
.share-linkedin { background: #0a66c2; }
.share-whatsapp { background: #25d366; }
.share-email { background: #667eea; }

.mobile-menu { display: none; flex-direction: column; cursor: pointer; z-index: 1001; }
.mobile-menu span { width: 25px; height: 3px; background: white; margin: 3px 0; transition: 0.3s; }

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(0,0,0,0.98); padding: 1rem; gap: 0.5rem; }
    .nav-links.open { display: flex; }
    .mobile-menu { display: flex; }
    .hero { min-height: auto; margin-top: 70px; padding: 2rem 1rem 3rem; overflow: visible; }
    .hero h1 { font-size: 1.75rem; line-height: 1.3; }
    .hero p { font-size: 1rem; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.5; }
    .cta-buttons { flex-direction: column; align-items: center; gap: 0.75rem; }
    .card-grid { grid-template-columns: 1fr; }
    .post-img-wrap { max-width: 100%; margin: 1.5rem auto !important; }
    .post-img-wrap img { width: 100%; max-width: 280px; height: auto; }
}
