/**
 * Guide Pages Styling
 * Custom styles for brewery travel guide pages
 */

/* Guide Container */
.guide-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Guide Hero */
.guide-hero {
  padding: 100px 2rem 3rem;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.1), transparent);
  margin-bottom: 2rem;
}

.guide-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.1;
}

.guide-title .highlight {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* Guide Stats */
.guide-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 12px;
  transition: all 0.3s;
}

.stat-item:hover {
  background: rgba(245, 166, 35, 0.05);
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-2px);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(254, 252, 232, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Map Section */
.guide-map-section {
  padding: 4rem 2rem;
  background: rgba(26, 43, 60, 0.3);
  border-top: 1px solid rgba(245, 166, 35, 0.1);
  border-bottom: 1px solid rgba(245, 166, 35, 0.1);
  margin-bottom: 3rem;
}

.guide-map-section h2 {
  text-align: center;
  color: var(--primary-amber);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.interactive-map {
  height: 500px;
  border: 2px solid rgba(245, 166, 35, 0.3);
  border-radius: 16px;
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4);
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.marker-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
}

.marker-icon.featured {
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
}

.marker-icon.default {
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid var(--primary-amber);
}

/* Guide Content Layout */
.guide-content-section {
  padding: 3rem 2rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  margin-top: 2rem;
}

/* Main Content */
.guide-main {
  max-width: 800px;
}

.guide-main h2 {
  color: var(--primary-amber);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 600;
}

.guide-main h3 {
  color: var(--primary-gold);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.guide-main p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(254, 252, 232, 0.95);
}

.guide-main ul,
.guide-main ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.guide-main li {
  margin: 0.75rem 0;
  line-height: 1.7;
  color: rgba(254, 252, 232, 0.9);
}

.guide-main strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Brewery Links */
.brewery-link {
  color: var(--primary-amber);
  text-decoration: none;
  border-bottom: 1px dotted var(--primary-amber);
  transition: all 0.2s;
  font-weight: 500;
}

.brewery-link:hover {
  color: var(--primary-gold);
  border-bottom-style: solid;
  border-bottom-width: 2px;
}

/* Sidebar */
.guide-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-card h3 {
  color: var(--primary-amber);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(245, 166, 35, 0.15);
}

/* Table of Contents */
.toc-card .table-of-contents {
  list-style: none;
  padding: 0;
}

.toc-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-card li {
  margin: 0.5rem 0;
}

.toc-card li.toc-sub {
  margin-left: 1rem;
  font-size: 0.9rem;
}

.toc-card a {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.toc-card a:hover {
  background: rgba(245, 166, 35, 0.1);
  color: var(--primary-gold);
  padding-left: 1rem;
}

/* Quick Stats in Sidebar */
.quick-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-stat {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.quick-stat .stat-label {
  color: rgba(254, 252, 232, 0.7);
  font-size: 0.9rem;
}

.quick-stat .stat-value {
  color: var(--primary-gold);
  font-weight: 600;
}

/* Related Section */
.guide-related-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.05), transparent);
  text-align: center;
}

.guide-related-section h2 {
  color: var(--primary-amber);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.guide-cta-container {
  margin-top: 2rem;
}

/* More Guides Section */
.more-guides-section {
  padding: 3rem 2rem;
}

.more-guides-section h2,
.guides-grid-section h2 {
  text-align: center;
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.guides-grid-section {
  padding: 2rem 2rem 4rem;
}

.guides-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.guide-card {
  background: linear-gradient(135deg, rgba(26, 43, 60, 0.45), rgba(26, 43, 60, 0.25));
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.guide-card:hover {
  background: linear-gradient(135deg, rgba(26, 43, 60, 0.65), rgba(245, 166, 35, 0.08));
  border-color: rgba(245, 166, 35, 0.4);
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.5);
}

.guide-card h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}

.guide-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--primary-amber);
}

.guide-card-stats span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 6px;
  white-space: nowrap;
  font-weight: 500;
  transition: all 0.2s;
}

.guide-card:hover .guide-card-stats span {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.5);
}

.guide-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.guide-card .btn-link {
  display: inline-block;
  color: var(--primary-gold);
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Guides Landing Page Specific */
.guides-hero {
  min-height: 50vh;
  padding: 120px 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(255, 255, 255, 0.08));
  border: 1px solid var(--primary-gold);
  border-radius: 50px;
  color: var(--primary-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(254, 252, 232, 0.7);
  margin-top: 0.5rem;
}

/* Value Proposition Section */
.guides-value-section {
  padding: 5rem 2rem;
  background: rgba(26, 43, 60, 0.2);
}

.guides-value-section h2 {
  text-align: center;
  color: var(--primary-amber);
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.value-card:hover {
  background: rgba(245, 166, 35, 0.05);
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-5px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--primary-gold);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.guides-cta-section {
  padding: 5rem 2rem;
  text-align: center;
}

.guides-cta-section h2 {
  color: var(--primary-amber);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.guides-cta-section p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Footer */
.footer-premium {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 1));
  border-top: 1px solid rgba(245, 166, 35, 0.1);
  padding: 3rem 2rem 2rem;
  margin-top: 5rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  color: var(--primary-gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-column p,
.footer-column a {
  color: rgba(254, 252, 232, 0.7);
  line-height: 1.8;
  text-decoration: none;
  display: block;
  margin: 0.5rem 0;
}

.footer-column a:hover {
  color: var(--primary-amber);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 166, 35, 0.1);
  color: rgba(254, 252, 232, 0.6);
  font-size: 0.9rem;
}

.last-updated {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .guide-hero {
    padding: 80px 1rem 2rem;
  }

  .guide-title {
    font-size: 2rem;
  }

  .guide-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .interactive-map {
    height: 400px;
  }

  .guide-main h2 {
    font-size: 1.5rem;
  }

  .guide-main h3 {
    font-size: 1.2rem;
  }

  .guide-main p {
    font-size: 1rem;
  }

  .guides-hero {
    padding: 100px 1rem 3rem;
    min-height: 60vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .guide-container {
    padding: 0 1rem;
  }

  .guide-map-section,
  .guide-content-section,
  .guide-related-section,
  .more-guides-section,
  .guides-value-section,
  .guides-cta-section {
    padding: 2rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}
