/* Trail Talk Website Styles */

:root {
  /* Brand Colors */
  --primary: #1C3A5F;
  --secondary: #CF7935;
  --background: #F5F3EF;
  --text: #1a1a1a;
  --text-secondary: #666;
  --text-muted: #999;
  --border: #e0e0e0;
  --white: #ffffff;
  --success: #10B981;
  --error: #C43737;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.header {
  background-color: var(--primary);
  color: var(--white);
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.1em;
  opacity: 0.9;
}

.logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 10px;
}

.logo-image {
  height: 60px;
  width: auto;
  display: block;
  /* Removed filter - logo should display in original colors */
  transition: transform 0.3s ease;
}

.logo:hover .logo-image {
  transform: scale(1.05);
}

/* Navigation */
.nav {
  background-color: var(--white);
  border-bottom: 2px solid var(--border);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

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

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

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

/* Content */
.content {
  background-color: var(--white);
  padding: 40px;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content h2 {
  color: var(--primary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.8em;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 10px;
}

.content h3 {
  color: var(--primary);
  margin-top: 25px;
  margin-bottom: 12px;
  font-size: 1.4em;
}

.content h4 {
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.content p {
  margin-bottom: 15px;
  color: var(--text);
}

.content ul, .content ol {
  margin-left: 30px;
  margin-bottom: 15px;
}

.content li {
  margin-bottom: 8px;
}

.content a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
}

.content a:hover {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

/* Info Box */
.info-box {
  background-color: #e8f4f8;
  border-left: 4px solid var(--primary);
  padding: 20px;
  margin: 25px 0;
  border-radius: 4px;
}

.warning-box {
  background-color: #fff3cd;
  border-left: 4px solid var(--secondary);
  padding: 20px;
  margin: 25px 0;
  border-radius: 4px;
}

/* FAQ Section */
.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-question {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1em;
  margin-bottom: 10px;
}

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Category Section */
.category {
  margin: 40px 0;
}

.category-title {
  color: var(--primary);
  font-size: 1.8em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--secondary);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary) 0%, #2a5280 100%);
  color: var(--white);
  padding: 50px 30px;
  text-align: center;
  border-radius: 8px;
  margin: 40px 0;
}

.contact-section h2 {
  color: var(--white);
  border: none;
  margin-top: 0;
}

.contact-section a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.2em;
  border-bottom: 2px solid var(--white);
}

.contact-section a:hover {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, #2a5280 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 40px;
}

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

.hero-logo {
  width: 120px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
  /* Removed filter - logo should display in original colors */
  opacity: 1;
  animation: fadeInDown 0.8s ease-out;
}

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

.hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Download Section */
.download-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
}

.download-title {
  font-size: 2em;
  margin-bottom: 10px;
  color: var(--white);
}

.download-subtitle {
  font-size: 1.1em;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* App Download Buttons */
.app-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.app-store-button,
.google-play-button {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.app-store-button:hover,
.google-play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.app-store-button svg,
.google-play-button svg {
  display: block;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.feature-item {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--secondary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-item h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1em;
}

.feature-item p {
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

.footer p {
  opacity: 0.9;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

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

/* Last Updated */
.last-updated {
  text-align: right;
  color: var(--text-muted);
  font-size: 0.9em;
  margin-top: 30px;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .content {
    padding: 25px;
    margin: 20px 10px;
  }

  .header h1 {
    font-size: 1.5em;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 15px;
  }

  .content h2 {
    font-size: 1.5em;
  }

  .content h3 {
    font-size: 1.2em;
  }

  .hero-section {
    padding: 60px 20px;
  }

  .hero-logo {
    width: 100px;
    margin-bottom: 25px;
  }

  .hero-title {
    font-size: 2.2em;
  }

  .hero-subtitle {
    font-size: 1.1em;
  }

  .logo-image {
    height: 50px;
  }

  .download-section {
    padding: 30px 20px;
  }

  .download-title {
    font-size: 1.6em;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .content {
    padding: 20px;
  }

  .header {
    padding: 20px 15px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-section {
    padding: 40px 15px;
  }

  .hero-logo {
    width: 80px;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: 1.8em;
  }

  .hero-subtitle {
    font-size: 1em;
    padding: 0 10px;
  }

  .logo-image {
    height: 45px;
  }

  .download-section {
    padding: 25px 15px;
  }

  .download-title {
    font-size: 1.3em;
  }

  .download-subtitle {
    font-size: 0.95em;
  }

  .app-buttons {
    flex-direction: column;
    align-items: center;
  }

  .feature-item {
    padding: 20px;
  }
}
