/* Modern News Website - Complete Redesign */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette - Sophisticated and Professional */
  --color-ink: #0a0a0a;
  --color-slate: #2d3748;
  --color-steel: #4a5568;
  --color-smoke: #718096;
  --color-pearl: #e2e8f0;
  --color-snow: #f7fafc;
  --color-white: #ffffff;
  --color-accent: #d4af37;

  /* Typography */
  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--color-slate);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

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

/* Typography Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.875rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1.125rem;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-steel);
}

/* Header */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-pearl);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 2px;
}

.site-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-ink);
  letter-spacing: 0.02em;
  margin: 0;
}

.main-nav {
  position: relative;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--color-ink);
  transition: var(--transition-base);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  margin: 0;
}

.nav-list a {
  color: var(--color-steel);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-ink);
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, var(--color-snow) 0%, var(--color-white) 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
  border-bottom: 1px solid var(--color-pearl);
}

.hero-title {
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: var(--space-md);
  color: var(--color-ink);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-steel);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  background-color: var(--color-ink);
  color: var(--color-white);
  padding: 1rem 2.5rem;
  border-radius: 2px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition-base);
  border: 1px solid var(--color-ink);
}

.cta-button:hover {
  background-color: var(--color-white);
  color: var(--color-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 400px);
}

/* Page Header */
.page-header {
  background: linear-gradient(180deg, var(--color-snow) 0%, var(--color-white) 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
  border-bottom: 1px solid var(--color-pearl);
}

.page-header h2 {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.page-header p {
  font-size: 1.125rem;
  color: var(--color-steel);
  max-width: 600px;
  margin: 0 auto;
}

/* Intro Section */
.intro-section {
  padding: var(--space-3xl) 0;
  background-color: var(--color-white);
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content h3 {
  font-size: 2.25rem;
  margin-bottom: var(--space-lg);
  font-weight: 400;
  color: var(--color-ink);
}

.intro-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-steel);
  margin-bottom: var(--space-lg);
}

/* Features Section */
.features-section {
  background-color: var(--color-snow);
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--color-pearl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: var(--space-xl);
  background-color: var(--color-white);
  border: 1px solid var(--color-pearl);
  text-align: center;
  transition: var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.feature-card h4 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-ink);
  font-weight: 400;
}

.feature-card p {
  color: var(--color-steel);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Content Sections */
.content-section {
  padding: var(--space-3xl) 0;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: var(--space-3xl);
}

.about-content h3,
.legal-content h3 {
  font-size: 1.875rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--color-ink);
  font-weight: 400;
}

.about-content h3:first-child,
.legal-content h3:first-child {
  margin-top: 0;
}

.about-content p,
.legal-content p {
  margin-bottom: var(--space-md);
  color: var(--color-steel);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.about-content ul,
.legal-content ul {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.about-content li,
.legal-content li {
  margin-bottom: var(--space-sm);
  color: var(--color-steel);
  line-height: 1.7;
}

/* Reporters Grid */
.reporters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.reporter-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-pearl);
  overflow: hidden;
  transition: var(--transition-base);
}

.reporter-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.reporter-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
  background-color: var(--color-snow);
}

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

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

.reporter-info {
  padding: var(--space-lg);
}

.reporter-info h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--color-ink);
  font-weight: 400;
}

.reporter-title {
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.reporter-bio {
  color: var(--color-steel);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.reporter-expertise {
  color: var(--color-smoke);
  font-size: 0.9375rem;
  font-style: italic;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: var(--space-xl);
}

.news-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-pearl);
  overflow: hidden;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.news-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: var(--color-snow);
}

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

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

.news-content {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  font-size: 0.8125rem;
}

.news-category {
  background-color: var(--color-ink);
  color: var(--color-white);
  padding: 0.375rem 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.news-date {
  color: var(--color-smoke);
  letter-spacing: 0.02em;
}

.news-content h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-md);
  color: var(--color-ink);
  font-weight: 400;
  line-height: 1.4;
}

.news-content p {
  color: var(--color-steel);
  margin-bottom: var(--space-md);
  line-height: 1.7;
  flex: 1;
}

.read-more {
  color: var(--color-ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-ink);
  padding-bottom: 2px;
}

.read-more:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info h3,
.contact-form-wrapper h3 {
  font-size: 1.875rem;
  margin-bottom: var(--space-lg);
  color: var(--color-ink);
  font-weight: 400;
}

.contact-item {
  margin-bottom: var(--space-xl);
}

.contact-item h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--color-ink);
  font-weight: 500;
  font-family: var(--font-body);
}

.contact-item p {
  color: var(--color-steel);
  line-height: 1.7;
}

.contact-item a {
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-pearl);
  transition: var(--transition-base);
}

.contact-item a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--color-ink);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  padding: 0.875rem;
  border: 1px solid var(--color-pearl);
  background-color: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-ink);
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-ink);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.05);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.submit-button {
  padding: 1rem 2.5rem;
  background-color: var(--color-ink);
  color: var(--color-white);
  border: 1px solid var(--color-ink);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-base);
  align-self: flex-start;
}

.submit-button:hover {
  background-color: var(--color-white);
  color: var(--color-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
  background-color: var(--color-ink);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-lg);
  margin-top: var(--space-3xl);
  border-top: 1px solid var(--color-accent);
}

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

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  font-weight: 400;
  letter-spacing: 0.02em;
  /* Ensure headings are white on dark background */
  color: var(--color-white);
}

.footer-col p {
  /* Ensure paragraphs are light colored on dark background */
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 0.9375rem;
  margin-bottom: 0;
}

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

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-base);
  font-size: 0.9375rem;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.25rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .reporters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav.active .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .main-nav.active .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .main-nav.active .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-list {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    gap: 0;
    padding: var(--space-md);
    border: 1px solid var(--color-pearl);
    box-shadow: var(--shadow-lg);
    display: none;
    min-width: 200px;
  }

  .main-nav.active .nav-list {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: var(--space-sm);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .page-header h2 {
    font-size: 2rem;
  }

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

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .content-wrapper {
    padding: var(--space-lg);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .site-title {
    font-size: 1.5rem;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .content-wrapper {
    padding: var(--space-md);
  }

  h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 1.875rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}

/* Utility Classes */
.text-balance {
  text-wrap: balance;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
