/* ===================================
   Tales of The Lake District - Styles
   =================================== */

:root {
  --primary-blue: #1a4d6d;
  --light-blue: #2e7a99;
  --accent-gold: #d4af37;
  --accent-red: #c53a2a;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --background: #f8f9fa;
  --card-bg: #ffffff;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--primary-blue) var(--background);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--light-blue);
}

body {
  font-family: 'Georgia', 'Garamond', serif;
  color: var(--text-dark);
  background-color: var(--background);
  line-height: 1.8;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  padding: 40px 20px;
  animation: fadeInDown 1s ease-out;
}

.eyebrow {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  opacity: 0.9;
  font-weight: 600;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: 20px;
  opacity: 0.95;
  line-height: 1.6;
}

/* ===================================
   Content Section
   =================================== */

main.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section {
  background-color: var(--card-bg);
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.3s ease;
}

.section:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.section h2 {
  font-size: 2.2rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--light-blue);
}

.section h3 {
  font-size: 1.6rem;
  color: var(--light-blue);
  margin-top: 30px;
  margin-bottom: 15px;
}

.section p {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: var(--text-dark);
  line-height: 1.9;
}

/* Special Sections */

.section.highlight {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  border-left: 5px solid var(--accent-gold);
}

.section.highlight h2 {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.section.caution {
  background: linear-gradient(135deg, rgba(197, 58, 42, 0.08) 0%, rgba(197, 58, 42, 0.03) 100%);
  border-left: 5px solid var(--accent-red);
}

.section.caution h2 {
  color: var(--accent-red);
  border-bottom-color: var(--accent-red);
}

/* ===================================
   Footer
   =================================== */

.footer {
  background-color: var(--primary-blue);
  color: var(--text-light);
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer p {
  font-size: 1.2rem;
  margin: 0;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }

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

  .section {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .section h3 {
    font-size: 1.4rem;
  }

  .section p {
    font-size: 1rem;
  }

  .eyebrow {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 80vh;
    min-height: 500px;
  }

  .hero h1 {
    font-size: 2rem;
    letter-spacing: 0;
  }

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

  main.content {
    padding: 40px 15px;
  }

  .section {
    padding: 20px 15px;
    margin-bottom: 15px;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .section h3 {
    font-size: 1.1rem;
  }

  .section p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .footer p {
    font-size: 1rem;
  }
}

/* ===================================
   Accessibility
   =================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for keyboard navigation */
a:focus,
button:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .hero {
    page-break-after: always;
  }

  .section {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}