/* ============================================
   BekaRGC Website - Main Stylesheet
   For Google AdSense Approval
   ============================================ */

/* CSS Variables */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #0f172a;
  --accent-color: #06b6d4;
  --text-color: #334155;
  --text-light: #64748b;
  --background: #ffffff;
  --background-alt: #f8fafc;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

ul, ol {
  list-style-position: inside;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

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

/* Header */
.header {
  background: var(--background);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

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

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1e3a5f 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--background-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 1.5rem auto 0;
}

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

.category-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.category-card h3 {
  margin-bottom: 0.75rem;
}

.category-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.category-card .btn {
  width: 100%;
}

/* Article Cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 1.5rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.article-category {
  background: var(--background-alt);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.article-card h3 a {
  color: var(--secondary-color);
}

.article-card h3 a:hover {
  color: var(--primary-color);
}

.article-excerpt {
  color: var(--text-light);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more:hover {
  gap: 0.75rem;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  color: white;
}

.feature-item h3 {
  margin-bottom: 0.75rem;
}

.feature-item p {
  color: var(--text-light);
}

/* Article Page */
.article-page {
  padding: 3rem 0;
}

.article-header {
  margin-bottom: 2rem;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-light);
}

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

.breadcrumb span {
  color: var(--text-color);
}

.article-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.author-info {
  background: var(--background-alt);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-light);
  border-left: 4px solid var(--primary-color);
}

.author-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.author-info-row:last-child {
  margin-bottom: 0;
}

.author-info-label {
  font-weight: 600;
  color: var(--secondary-color);
}

.article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.article-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.article-body {
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body img {
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.article-body blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  background: var(--background-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  font-style: italic;
}

.article-body code {
  background: var(--background-alt);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Fira Code', monospace;
  font-size: 0.9em;
}

.article-body pre {
  background: var(--secondary-color);
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
}

.article-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Sidebar */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-widget {
  background: var(--background-alt);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.sidebar-widget h4 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.related-articles {
  list-style: none;
}

.related-articles li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.related-articles li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.related-articles a {
  color: var(--text-color);
  font-weight: 500;
}

.related-articles a:hover {
  color: var(--primary-color);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1e3a5f 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  color: white;
}

/* Content Section */
.content-section {
  background: var(--background);
  padding: 3rem;
  border-radius: var(--radius-lg);
  margin-top: -2rem;
  box-shadow: var(--shadow-md);
}

/* Contact Method Box */
.contact-method-box {
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: center;
  padding: 2rem;
  background: var(--background-alt);
  border-radius: var(--radius-lg);
}

.contact-method-box h2 {
  margin-bottom: 1rem;
}

.contact-method-box p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.contact-method-box .btn-primary {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.contact-method-box .contact-note {
  margin-top: 1.5rem;
  color: var(--text-light);
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  background: var(--background-alt);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.info-card-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.25rem;
}

.info-card h4 {
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
}

.legal-content ul {
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  opacity: 0.8;
  margin-top: 1rem;
}

.footer-logo {
  color: white !important;
}

.mt-4 {
  margin-top: 3rem !important;
}

.text-center {
  text-align: center !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

/* Newsletter Info Styles */
.newsletter-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-email {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.newsletter-note {
  margin-top: 1rem;
  color: var(--text-light);
}

/* Editor's Note */
.editors-note {
  background: var(--background-alt);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
  border-left: 4px solid var(--primary-color);
}

.editors-note h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.editors-note-content {
  color: var(--text-light);
  line-height: 1.7;
}

.editors-note-content p {
  margin-bottom: 1rem;
}

.editors-note-content p:last-child {
  margin-bottom: 0;
}

.editors-note-content strong {
  color: var(--text-color);
}

.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  opacity: 0.7;
  margin-bottom: 0;
}

/* Footer Logo */
.footer-logo {
  color: white !important;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

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

/* Sitemap */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.sitemap-section h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.sitemap-links {
  list-style: none;
}

.sitemap-links li {
  margin-bottom: 0.5rem;
}

/* Ad Placeholder */
.ad-placeholder {
  background: var(--background-alt);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  color: var(--text-light);
  margin: 2rem 0;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.comparison-table th {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: left;
}

.comparison-table th.text-center {
  text-align: center;
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Full Width Image */
.full-width-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

/* Newsletter Info */
.newsletter-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-info p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.newsletter-email {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
}

.newsletter-note {
  margin-top: 1rem;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--background);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-menu a {
    display: block;
    padding: 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .article-title {
    font-size: 1.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .content-section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .article-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    width: 100%;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Print Styles */
@media print {
  .header, .footer, .sidebar, .ad-placeholder {
    display: none;
  }
  
  body {
    font-size: 12pt;
    color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}
/* Article Sections */
.article-sections {
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.about-article {
  background: linear-gradient(to right, #f8f9ff, #ffffff);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
}

.about-article h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.about-article p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.about-article p:last-child {
  margin-bottom: 0;
}

.about-article strong {
  color: var(--text-color);
}

.content-disclaimer {
  background: linear-gradient(to right, #fffbf8, #ffffff);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border-left: 4px solid #ff6b35;
}

.content-disclaimer h3 {
  color: #e05a2a;
  margin-bottom: 1rem;
}

.content-disclaimer p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

.content-disclaimer p:last-child {
  margin-bottom: 0;
}

.content-disclaimer strong {
  color: var(--text-color);
}

/* Sources Section */
.article-sources {
  background: linear-gradient(to right, #f8fff8, #ffffff);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  border-left: 4px solid #28a745;
}

.article-sources h3 {
  color: #1e7e34;
  margin-bottom: 1rem;
}

.article-sources ul {
  list-style: none;
  padding-left: 0;
}

.article-sources li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.article-sources li:before {
  content: "📄";
  position: absolute;
  left: 0;
}

.article-sources a {
  color: var(--primary-color);
  text-decoration: none;
}

.article-sources a:hover {
  text-decoration: underline;
}
