﻿:root {
    --samaja-red: #b30000;
    --dark-grey: #333;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; background: #f4f4f4; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Top Bar */
.top-utility { background: #eee; border-bottom: 1px solid #ddd; padding: 8px 0; font-size: 13px; }
.lang-btn { background: #fff; border: 1px solid #ccc; cursor: pointer; padding: 2px 8px; margin-right: 5px; }
.lang-btn.active { background: var(--samaja-red); color: white; border-color: var(--samaja-red); }
.social-links a { margin-left: 10px; color: var(--dark-grey); font-size: 16px; }

/* Header */
.main-header { text-align: center; padding: 25px 0; background: white; }
.main-header h1 { font-size: 4rem; color: var(--samaja-red); margin: 0; font-family: serif; letter-spacing: -2px; }
.tagline { margin: 0; color: #666; font-style: italic; }

/* Navigation */
.navbar { background: var(--samaja-red); position: sticky; top: 0; z-index: 1000; }
.nav-menu { list-style: none; display: flex; justify-content: center; margin: 0; padding: 0; }
.nav-menu li { position: relative; }
.nav-menu a { color: white; text-decoration: none; padding: 15px 25px; display: block; font-weight: bold; }
.nav-menu a:hover { background: #800000; }

/* Dropdown */
.dropdown-content { display: none; position: absolute; background: white; min-width: 180px; box-shadow: 0 5px 10px rgba(0,0,0,0.2); }
.dropdown-content a { color: #333; padding: 10px; border-bottom: 1px solid #eee; }
.dropdown:hover .dropdown-content { display: block; }

/* Ticker */
.news-ticker { background: #fff; border-bottom: 2px solid var(--samaja-red); display: flex; align-items: center; }
.news-ticker span { background: var(--samaja-red); color: white; padding: 10px 20px; font-weight: bold; }

/* Main Grid */
.main-content { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 20px; }

/* Slider */
.slider-box { position: relative; height: 450px; overflow: hidden; background: #000; border-radius: 4px; }
.slide { display: none; height: 100%; position: relative; }
.slide.active { display: block; }
.slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.slide-text { position: absolute; bottom: 0; background: linear-gradient(transparent, #000); color: white; padding: 40px 20px; width: 100%; }

.prev, .next { position: absolute; top: 50%; background: rgba(0,0,0,0.5); color: white; border: none; padding: 10px; cursor: pointer; }
.next { right: 0; }

/* Sidebar */
.latest-news { background: white; padding: 20px; border: 1px solid #ddd; }
.story-item { border-bottom: 1px solid #eee; padding: 10px 0; }
.time-stamp { color: var(--samaja-red); font-size: 11px; font-weight: bold; display: block; }

/* Footer 
.footer { text-align: center; background: #222; color: #999; padding: 20px; margin-top: 50px; }*/
/* Stylish Footer */
.footer-col h3 { color: white; border-bottom: 2px solid var(--samaja-red); display: inline-block; padding-bottom: 5px; margin-bottom: 20px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #bbb; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: white; padding-left: 5px; }
.sub-form { display: flex; margin-top: 15px; }
.sub-form input { padding: 10px; border: none; width: 70%; border-radius: 4px 0 0 4px; }
.sub-form button { background: var(--samaja-red); border: none; color: white; padding: 10px; border-radius: 0 4px 4px 0; cursor: pointer; }
.footer-bottom { background: #111; text-align: center; padding: 20px 0; font-size: 12px; border-top: 1px solid #333; }