/* BlueStream Entertainment - Pages Directory Specific Fixes
   Fixes styling issues in the pages, services, events, and legal directories
   Created 2025
*/

/* ===== PAGE STRUCTURE FIXES ===== */

/* Fix for pages using relative paths */
body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-50);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

/* Service Hero Section */
.service-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
}

.service-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.service-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.service-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Service Content */
.service-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
  padding: var(--spacing-2xl) var(--spacing-lg);
  max-width: var(--container-xl);
  margin: 0 auto;
}

.service-text h2 {
  margin-top: 0;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--gray-800);
}

.service-text h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--gray-800);
}

.service-text p {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Feature Items */
.service-features {
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-right: 1rem;
  color: var(--primary);
  font-size: 1.25rem;
}

.feature-content {
  flex-grow: 1;
}

.feature-content h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
}

.feature-content p {
  margin: 0;
  color: var(--gray-600);
}

/* Package Cards */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 0 var(--spacing-lg);
  max-width: var(--container-xl);
  margin: 0 auto;
}

.package-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.package-header {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.package-header h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.package-price {
  font-size: 1.1rem;
  font-weight: 600;
}

.package-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.package-features {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.package-feature {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.package-feature i {
  color: var(--primary);
  margin-right: 0.75rem;
  font-size: 0.9rem;
}

.package-feature span {
  color: var(--gray-700);
  font-size: 0.95rem;
}

.package-note {
  text-align: center;
  color: var(--gray-600);
  font-style: italic;
  margin-top: auto;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-2xl) var(--spacing-lg);
  max-width: var(--container-xl);
  margin: 0 auto;
}

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

.faq-item {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--gray-800);
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-lg);
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
}

.legal-content h2 {
  font-size: 1.75rem;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.legal-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-xl);
}

.legal-content li {
  margin-bottom: var(--spacing-sm);
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
  .service-hero h1 {
    font-size: 2rem;
  }
  
  .service-hero p {
    font-size: 1.1rem;
  }
  
  .service-hero-buttons {
    flex-direction: column;
  }
  
  .service-content {
    grid-template-columns: 1fr;
  }
  
  .service-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .legal-content h1 {
    font-size: 2rem;
  }
  
  .legal-content h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .service-hero {
    padding: 6rem 0 3rem;
  }
  
  .service-hero h1 {
    font-size: 1.75rem;
  }
  
  .service-text h2 {
    font-size: 1.5rem;
  }
  
  .service-text h3 {
    font-size: 1.25rem;
  }
  
  .cta-content h2 {
    font-size: 1.5rem;
  }
}

/* ===== HEADER & NAVIGATION FIXES ===== */
.header {
  background-color: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 var(--spacing-lg);
  max-width: var(--container-xl);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--gray-700);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-700);
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block !important;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 100;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  
  .nav-menu.active {
    display: flex !important;
  }
  
  .nav-menu li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-menu li a {
    display: block;
    padding: 10px;
    width: 100%;
  }
  
  .header-container {
    position: relative;
    padding: 0 15px;
  }
}

/* ===== FOOTER FIXES ===== */
.footer {
  background-color: var(--gray-800);
  color: white;
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--spacing-lg);
}

.footer-logo p {
  color: var(--gray-300);
  margin-top: var(--spacing-md);
}

.footer h3 {
  color: white;
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.footer-links ul, .footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li, .footer-services li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a, .footer-services a, .footer-contact a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover, .footer-services a:hover, .footer-contact a:hover {
  color: white;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  color: var(--gray-300);
}

.footer-contact i {
  margin-right: var(--spacing-sm);
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: var(--spacing-md);
}

.footer-legal a {
  color: var(--gray-400);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: white;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* ===== BUTTONS & FORM FIXES ===== */
.btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-size: 1rem;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.form-container {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-xl);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background-color: var(--gray-50);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background-color: white;
}

/* ===== CONTAINER & SECTION FIXES ===== */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

.section {
  padding-top: var(--spacing-3xl);
  padding-bottom: var(--spacing-3xl);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.section-title p {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}