/*
 * Stylesheet for the PoeticFM website.
 *
 * This CSS defines a dark, modern look suitable for a professional app landing page. It
 * uses CSS variables for easy colour adjustments and ensures the layout is responsive
 * on smaller devices. The design emphasises readability, clean spacing and simple
 * transitions. Cards hover slightly when the pointer moves over them to give a
 * tactile feel.
 */

/*
 * Updated design for the PoeticFM website.
 *
 * The site now features a light colour palette and a
 * professional layout reminiscent of modern enterprise sites.
 */

:root {
  --bg-color: #f8f9fb;
  --primary: #0078d4; /* Microsoft blue */
  --accent: #005a9e; /* Darker accent */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #666666;
  --card-bg: #ffffff;
  --card-border: #e5e5e5;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

header {
  background-color: #ffffff;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e0e0e0;
}

.header-logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
}

.header-logo span:first-child {
  margin-right: 8px;
  color: var(--primary);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

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

.hero {
  color: var(--text-light);
  text-align: center;
  padding: 140px 20px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.section {
  background-color: var(--card-bg);
  margin: 40px auto;
  padding: 60px 20px;
  max-width: 1100px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 32px;
  color: var(--primary);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--primary);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  color: var(--text-dark);
}

.card p {
  color: var(--text-muted);
  font-size: 14px;
}

footer {
  background-color: #f1f1f1;
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--primary);
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  margin-top: 10px;
}

.footer-social a {
  color: var(--primary);
  margin: 0 8px;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--accent);
}

.main-content {
  min-height: calc(100vh - 220px);
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 20px;
  }
  nav ul {
    gap: 12px;
  }
  .btn {
    padding: 10px 20px;
  }
}