/**
 * Venue Pages CSS
 * Styles for venue index, county hubs, and individual venue pages
 */

/* ========================================
   Hero Sections
   ======================================== */

.venues-hero,
.venue-hero {
  background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)),
              url('/assets/tony-dj.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  margin-bottom: 0;
}

.venue-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
}

.venue-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.7));
  z-index: 0;
}

.venue-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.venues-hero h1,
.venue-hero h1 {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  color: white;
}

.venues-hero p,
.venue-hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: white;
}

.venue-tagline {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ========================================
   Breadcrumb Navigation
   Note: Base .breadcrumb styles are in style.css
   This file only contains venue-specific overrides if needed
   ======================================== */

/* ========================================
   Container & Layout
   ======================================== */

.venues-container,
.venue-container {
  max-width: 1200px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
}

/* ========================================
   Introduction Section
   ======================================== */

.venues-intro {
  margin: 3rem 0;
  text-align: center;
}

.venues-intro h2 {
  color: var(--bg-primary, #0A0A0A);
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.venues-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.service-link {
  text-align: center;
  margin-top: 2rem;
}

.service-link a {
  color: var(--gold-accessible, #9B7B1B);
  font-weight: 600;
  text-decoration: none;
}

.service-link a:hover {
  text-decoration: underline;
}

/* ========================================
   Awards Band
   ======================================== */

.awards-band {
  padding: clamp(16px, 2vw, 28px) 0;
  margin: 2rem 0;
}

.awards-band picture,
.awards-band img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* ========================================
   County Grid (Main venues page)
   ======================================== */

.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.county-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.county-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.county-card-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
}

.county-card-image {
  height: 200px;
  overflow: hidden;
}

.county-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.county-card:hover .county-card-image img {
  transform: scale(1.05);
}

.county-card-content {
  padding: 1.5rem;
  text-align: center;
}

.county-card-content h3 {
  color: var(--bg-primary, #0A0A0A);
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
}

.county-card-content p {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.county-card-link {
  display: inline-block;
  color: var(--gold-accessible, #9B7B1B);
  font-weight: 600;
  transition: color 0.3s ease;
}

.county-card:hover .county-card-link {
  color: var(--bg-primary, #0A0A0A);
}

/* ========================================
   Venue Grid (County pages)
   ======================================== */

.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.venue-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.venue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.venue-card-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
}

.venue-card-image {
  height: 200px;
  overflow: hidden;
}

.venue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.venue-card:hover .venue-card-image img {
  transform: scale(1.05);
}

.venue-card-content {
  padding: 1.5rem;
}

.venue-card-content h3 {
  color: var(--bg-primary, #0A0A0A);
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
}

.venue-card-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.venue-card-link {
  display: inline-block;
  color: var(--gold-accessible, #9B7B1B);
  font-weight: 500;
  transition: color 0.3s ease;
}

.venue-card:hover .venue-card-link {
  color: var(--bg-primary, #0A0A0A);
}

.no-venues {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #666;
  font-style: italic;
}

/* ========================================
   Nearby Counties Section
   ======================================== */

.nearby-counties {
  margin: 3rem 0;
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #f8f9fa;
}

.nearby-counties h2 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  color: var(--bg-primary, #0A0A0A);
}

.nearby-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nearby-list li {
  margin: 0;
}

.nearby-list a {
  color: var(--gold-accessible, #9B7B1B);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  display: inline-block;
  transition: all 0.2s ease;
}

.nearby-list a:hover {
  background: var(--gold-brand, #D4AF37);
  color: white;
  border-color: var(--gold-brand, #D4AF37);
}

/* ========================================
   Individual Venue Page - Sections
   ======================================== */

.venue-section {
  margin: 3rem 0;
}

.venue-section h2 {
  color: var(--bg-primary, #0A0A0A);
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--gold-brand, #D4AF37);
}

.venue-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #333;
}

.venue-list {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  padding-left: 1.5rem;
}

.venue-list li {
  margin-bottom: 0.5rem;
}

/* ========================================
   Venue Features Grid
   ======================================== */

.venue-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.venue-feature {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #e9ecef;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.venue-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.venue-feature h3 {
  color: var(--bg-primary, #0A0A0A);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
}

.venue-feature p {
  color: #666;
  margin: 0;
  font-size: 1rem;
}

/* ========================================
   Testimonials
   ======================================== */

.testimonial {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  position: relative;
  border-left: 4px solid var(--gold-brand, #D4AF37);
}

.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--gold-brand, #D4AF37);
  position: absolute;
  top: -10px;
  left: 15px;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial p {
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--bg-primary, #0A0A0A);
  text-align: right;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq,
.faq-section {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 3rem 0;
}

.faq h2 {
  color: var(--bg-primary, #0A0A0A);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq details,
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
}

.faq summary,
.faq-item summary {
  background: #f8f9fa;
  padding: 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--bg-primary, #0A0A0A);
  transition: background-color 0.3s ease;
  list-style: none;
}

.faq summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq-item summary::before {
  content: '+';
  float: right;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--gold-brand, #D4AF37);
  transition: transform 0.2s ease;
}

.faq details[open] summary::before,
.faq-item[open] summary::before {
  transform: rotate(45deg);
}

.faq summary:hover,
.faq-item summary:hover {
  background: #e9ecef;
}

.faq details[open] summary,
.faq-item[open] summary {
  background: var(--gold-brand, #D4AF37);
  color: white;
}

.faq details[open] summary::before,
.faq-item[open] summary::before {
  color: white;
}

.faq p,
.faq-item > p {
  padding: 1.25rem;
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
  background: var(--bg-primary, #0A0A0A);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 10px;
  margin: 3rem 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1.5rem;
  border-bottom: none;
  padding-bottom: 0;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--gold-brand, #D4AF37);
  color: var(--bg-primary, #0A0A0A);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: white;
  color: var(--bg-primary, #0A0A0A);
  transform: translateY(-2px);
}

/* ========================================
   Location / Map Section
   ======================================== */

.venue-map {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.venue-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.venue-address {
  color: #666;
  font-size: 1rem;
}

/* ========================================
   Back Navigation
   ======================================== */

.venue-back-nav {
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.venue-back-nav a {
  color: var(--gold-accessible, #9B7B1B);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.venue-back-nav a:hover {
  color: var(--bg-primary, #0A0A0A);
  text-decoration: underline;
}

/* ========================================
   Responsive Adjustments
   ======================================== */

@media (max-width: 768px) {
  .venues-hero,
  .venue-hero {
    padding: 5rem 1.5rem;
  }

  .venue-hero {
    min-height: 50vh;
    background-attachment: scroll;
  }

  .venues-hero h1,
  .venue-hero h1 {
    font-size: 2rem;
  }

  .county-grid,
  .venue-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .venue-features {
    grid-template-columns: 1fr;
  }

  .nearby-list {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nearby-list a {
    display: block;
    text-align: center;
  }

  .cta-section {
    padding: 3rem 1.5rem;
  }

  .faq,
  .faq-section {
    padding: 1.5rem;
  }
}

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

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

  .testimonial {
    padding: 1.5rem;
  }

  .testimonial::before {
    font-size: 3rem;
  }
}
