/* Clean Live Stream Display Page */

/* Ensure proper spacing from fixed navigation */
body {
  padding-top: 80px;
}

#stream-display {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background-color: #f5f5f5;
  gap: 2rem;
}

/* Override navigation styling for this page */
#navigation .background-color-div {
  background-color: #fff !important;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px !important;
}

#navigation .logo .dark {
  display: block !important;
}

#navigation .logo .light {
  display: none !important;
}

/* Fix navigation text color - make it dark for visibility */
#navigation #navbar-menu ul li a {
  color: #1a1a1a !important;
}

#navigation .hamburger-menu span,
#navigation .hamburger-menu span:before,
#navigation .hamburger-menu span:after {
  background: #1a1a1a !important;
}

.stream-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 3rem;
  text-align: center;
}

@media (max-width: 768px) {
  .stream-container {
    max-width: 95%;
    padding: 2rem;
    margin: 1rem auto;
  }
}

/* Service Information */
.service-info {
  margin-bottom: 2rem;
}

.service-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: #2c3e50;
  margin: 0 0 1rem 0;
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .service-meta {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

.service-date,
.service-time {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c3e50;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  min-width: 200px;
  text-align: center;
}

/* Stream Embed */
.stream-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #000;
  position: relative;
}

.stream-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* Action Buttons */
.stream-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .stream-actions {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
}

.stream-button {
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.stream-button.primary {
  background: #3498db;
  color: white;
}

.stream-button.primary:hover {
  background: #2980b9;
  transform: translateY(-1px);
}

.stream-button.secondary {
  background: transparent;
  color: #3498db;
  border: 2px solid #3498db;
}

.stream-button.secondary:hover {
  background: #3498db;
  color: white;
}

.contact-button {
  padding: 0.875rem 1.75rem;
  background: #3498db;
  color: white;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background: #2980b9;
  transform: translateY(-1px);
}

/* Service Description */
.service-description {
  border-top: 1px solid #eee;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.service-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: #5a6c7d;
  margin: 0;
}

/* Error and No Service States */
.error-state,
.no-service-state {
  padding: 2.5rem 1.25rem;
}

.error-state h1,
.no-service-state h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #e74c3c;
  margin: 0 0 1rem 0;
}

.no-service-state h1 {
  color: #95a5a6;
}

.error-state p,
.no-service-state p {
  font-size: 1rem;
  color: #5a6c7d;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

/* Scheduled Services Styling */
.scheduled-services-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.scheduled-services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scheduled-service-item {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
  border-left: 0.25rem solid #3498db;
}

.scheduled-service-item:hover {
  background: #f0f1f2;
  transform: translateY(-1px);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
}

.scheduled-service-content {
  text-align: left;
}

.scheduled-service-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.scheduled-service-meta {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  justify-content: center;
}

@media only screen and (min-width: 48rem) {
  .scheduled-service-meta {
    flex-direction: row;
    gap: 1.25rem;
  }
}

.scheduled-service-date,
.scheduled-service-time {
  font-size: 0.875rem;
  font-weight: 500;
  color: #5a6c7d;
  padding: 0.375rem 0.75rem;
  background: #fff;
  border-radius: 0.25rem;
  display: inline-block;
}

.scheduled-service-date:before {
  content: "📅 ";
  margin-right: 0.25rem;
}

.scheduled-service-time:before {
  content: "🕐 ";
  margin-right: 0.25rem;
}

.scheduled-service-actions {
  margin-top: 1rem;
  text-align: center;
}

.scheduled-service-watch-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #3498db;
  border: 2px solid #3498db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.scheduled-service-watch-link:hover {
  background: #3498db;
  color: #fff;
  transform: translateY(-1px);
}