/* Modern, responsive styling for PunchNewspaper.com */
:root {
  --primary-color: #1a365d;
  --secondary-color: #d02a2a;
  --accent-color: #f8f0e3;
  --text-color: #333333;
  --light-color: #f5f5f5;
  --dark-color: #222222;
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: white;
  text-decoration: none;
}

.logo svg {
  margin-right: 10px;
  height: 32px;
  width: 32px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--accent-color);
}

.hero {
  background-color: var(--accent-color);
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #b52222;
}

.features {
  padding: 4rem 0;
  background-color: white;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--primary-color);
}

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

.feature-card {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.news-section {
  background-color: var(--accent-color);
  padding: 4rem 0;
}

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

.news-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.news-image {
  width: 100%;
  height: 200px;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-content {
  padding: 1.5rem;
}

.news-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.news-excerpt {
  margin-bottom: 1rem;
  color: #555;
}

.read-more {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
}

.about {
  padding: 4rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-text {
  padding-right: 2rem;
}

.about-image {
  width: 100%;
  height: 400px;
  background-color: #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: white;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo svg {
  margin-right: 10px;
  height: 24px;
  width: 24px;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

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

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

.footer-links ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

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

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #aaa;
  font-size: 0.9rem;
}

.related-links {
  margin-top: 2rem;
  padding: 1rem;
  background-color: var(--light-color);
  border-radius: 8px;
}

.related-links h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.related-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.related-links ul li a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.related-links ul li a:hover {
  color: var(--secondary-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  
  nav ul {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0.5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-text {
    padding-right: 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.hamburger {
  display: none;
}

@media (max-width: 568px) {
  .hamburger {
    display: block;
    cursor: pointer;
  }
  
  nav {
    display: none;
  }
  
  nav.active {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    padding: 1rem;
  }
  
  nav.active ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav.active ul li {
    margin: 0.5rem 0;
  }
}
