/* style.css - Global styles for Echoes of the Ice website */

:root {
  --primary: #2c3e50;
  --accent: #e67e22;
  --light: #f8f9fa;
  --text: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

header {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 100px 20px 80px;
}

h1 {
  font-size: 3.2rem;
  margin-bottom: 15px;
}

.book-cover {
  max-width: 350px;
  display: block;
  margin: 40px auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-radius: 8px;
}

.cta {
  text-align: center;
  margin: 40px 0;
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  margin: 12px;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.btn.amazon {
  background: #0071c6;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.teasers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 60px 0;
}

.teaser-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.teaser-card h3 {
  margin-top: 0;
  color: var(--primary);
}

nav {
  background: var(--primary);
  padding: 15px;
  text-align: center;
  margin-bottom: 20px;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: var(--accent);
}

footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 50px 20px;
  margin-top: 80px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .book-cover { max-width: 280px; }
  .btn { padding: 14px 28px; font-size: 1.1rem; }
}