/* Base Styles */
:root {
  --primary-color: #1a3a6e;
  --secondary-color: #c41e3a;
  --accent-color: #f8f8f8;
  --text-color: #333;
  --light-text: #fff;
  --dark-bg: #0a1a2f;
  --light-bg: #f5f5f5;
  --border-color: #ddd;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Roboto', sans-serif;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 20px;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
  margin: 15px auto 0;
}

p {
  margin-bottom: 20px;
}

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

a:hover {
  color: var(--secondary-color);
}

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

section {
  padding: 80px 0;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--box-shadow);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

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

.nav-links a:hover:after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  color: var(--light-text);
  margin-top: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 20px;
  text-align: left;
}

.hero h2:after {
  display: none;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-style: italic;
}

.author {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.release-date {
  font-size: 1.1rem;
  margin-bottom: 15px;
  opacity: 0.8;
}

.countdown {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 10px;
  min-width: 60px;
}

.countdown-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pre-order-date {
  font-size: 0.9rem;
  margin-top: 10px;
  opacity: 0.8;
  font-style: italic;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: var(--light-text);
  font-weight: 700;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: #a01a30;
  color: var(--light-text);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.book-cover {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
}

.book-cover img {
  max-height: 80vh;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-radius: 5px;
  transition: var(--transition);
}

.book-cover img:hover {
  transform: scale(1.02);
}

/* Audio Preview Section */
.audio-preview-section {
  background-color: var(--light-bg);
  padding: 60px 0;
}

.audio-player-container {
  max-width: 800px;
  margin: 0 auto 30px;
  box-shadow: var(--box-shadow);
  border-radius: 8px;
  overflow: hidden;
}

.audio-description {
  text-align: center;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: #555;
}

/* About Section */
.about-section {
  background-color: #fff;
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-text {
  flex: 2;
}

.book-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stat {
  text-align: center;
  padding: 30px;
  background-color: var(--light-bg);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
}

/* Synopsis Section */
.synopsis-section {
  background-color: var(--light-bg);
}

.synopsis-content {
  display: flex;
  gap: 50px;
  margin-bottom: 50px;
  align-items: center;
}

.synopsis-image {
  flex: 1;
}

.synopsis-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.synopsis-text {
  flex: 1;
}

.quote {
  background-color: #fff;
  padding: 30px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 0 8px 8px 0;
  box-shadow: var(--box-shadow);
  max-width: 800px;
  margin: 0 auto;
}

.quote p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 10px;
}

.quote cite {
  font-weight: 700;
  color: #555;
}

/* Author Section */
.author-section {
  background-color: #fff;
}

.author-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.author-image {
  flex: 1;
}

.author-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.author-bio {
  flex: 1;
}

.author-bio h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Order Section */
.order-section {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.order-section h2:after {
  background-color: var(--light-text);
}

.pre-order-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
}

.formats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.format-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  width: 220px;
  transition: var(--transition);
}

.format-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.format-card.special {
  background-color: rgba(196, 30, 58, 0.3);
  border: 2px solid var(--secondary-color);
}

.format-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.format-card h3 {
  margin-bottom: 10px;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.special-note {
  font-size: 0.9rem;
  margin-bottom: 20px;
  opacity: 0.8;
}

.order-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: var(--light-text);
  border-radius: 5px;
  font-weight: 700;
  transition: var(--transition);
}

.order-button:hover {
  background-color: #a01a30;
  color: var(--light-text);
}

.retailers {
  text-align: center;
}

.retailers p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.retailer-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.retailer {
  color: var(--light-text);
  font-weight: 500;
  transition: var(--transition);
}

.retailer:hover {
  color: var(--secondary-color);
}

.retailer i {
  margin-right: 5px;
}

/* Events Section */
.events-section {
  background-color: var(--light-bg);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.event-card {
  display: flex;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 20px;
  min-width: 100px;
}

.month {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.day {
  font-size: 2rem;
  font-weight: 900;
}

.event-details {
  padding: 20px;
  flex: 1;
}

.event-details h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.location, .time {
  margin-bottom: 10px;
  font-weight: 500;
}

.description {
  margin-bottom: 20px;
}

.event-button {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 5px;
  font-weight: 700;
  transition: var(--transition);
}

.event-button:hover {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

/* Mailing List Section */
.mailing-list {
  background-color: var(--primary-color);
  color: var(--light-text);
  text-align: center;
}

.mailing-list h2:after {
  background-color: var(--light-text);
}

.mailing-list p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.signup-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.signup-form input, .signup-form select {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-family: var(--font-body);
}

.signup-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.submit-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: var(--light-text);
  border: none;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.submit-button:hover {
  background-color: #a01a30;
  transform: translateY(-3px);
}

/* Endorsements Section */
.endorsements {
  background-color: #fff;
}

.endorsement-slider {
  max-width: 900px;
  margin: 0 auto;
}

.endorsement {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}

.endorsement p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 15px;
}

.endorsement cite {
  font-weight: 700;
  color: #555;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
  color: var(--light-text);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover, .footer-contact a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-social .social-icons {
  display: flex;
  gap: 15px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
    height: auto;
  }
  
  .hero-content {
    margin-bottom: 50px;
  }
  
  .hero h2 {
    text-align: center;
  }
  
  .about-content, .synopsis-content, .author-content {
    flex-direction: column;
  }
  
  .synopsis-image, .author-image {
    margin-bottom: 30px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .formats {
    flex-direction: column;
    align-items: center;
  }
  
  .format-card {
    width: 100%;
    max-width: 300px;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    padding: 10px;
    flex-direction: row;
    gap: 10px;
  }
  
  .month, .day {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .cta-button {
    padding: 12px 20px;
  }
  
  .retailer-logos {
    flex-direction: column;
    gap: 15px;
  }
}
