/* Service detail page components (related services, production excellence,
   service rows, process timeline). Extracted verbatim from
   pages/services/video-production.html so other service pages can share it. */

/* Related Services Section Styles - Dark Theme */
.related-services-section {
  padding: 5rem 0;
  background-color: #1c1c1c; /* Dark background */
}

/* Adjust section header color for dark bg */
.related-services-section .section-header h2,
.related-services-section .section-header p {
  color: var(--white);
}

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

.related-service-card {
  background: rgba(40, 40, 40, 0.7); /* Dark card background */
  border-radius: 12px;
  border: 1px solid rgba(212,175,55,0.15);
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.related-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  border-color: rgba(212,175,55,0.5);
}

.related-service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.related-service-icon i {
  font-size: 1.75rem;
  color: #D4AF37;
}

.related-service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--white); /* White heading */
}

.related-service-card p {
  color: rgba(255, 255, 255, 0.85); /* Light text */
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.related-service-link {
  color: #D4AF37;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.related-service-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.related-service-link:hover {
  color: #b3941e;
}

.related-service-link:hover i {
  transform: translateX(5px);
}

/* Adjust "View All Services" button for dark bg */
.all-services-link .button.button-outline {
   border-color: var(--gold);
   color: var(--gold);
}

.all-services-link .button.button-outline:hover {
   background-color: var(--gold);
   color: #1c1c1c;
   border-color: var(--gold);
}

/* Add space between button text and icon */
.all-services-link .button.button-outline i {
    margin-left: 0.5em; /* Adjust spacing as needed */
}

/* Adjust grid and padding for mobile - Horizontal Scroll */
@media (max-width: 991px) {
  /* Target the correct grid container */
  .related-services-section .grid-container.grid-4-cols {
    /* grid-template-columns: 1fr; <-- Remove */
    display: flex; /* Use flexbox */
    overflow-x: auto; /* Enable horizontal scroll */
    gap: 1rem; /* Space between cards */
    padding: 1rem; /* Padding inside the scroll container */
    /* Optional: Add scroll snapping */
    scroll-snap-type: x mandatory;
    /* Hide scrollbar visually (optional) */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  /* Hide scrollbar visually for Webkit (optional) */
  .related-services-section .grid-container.grid-4-cols::-webkit-scrollbar {
    display: none;
  }

  /* Set card width for horizontal scroll */
  .related-service-card {
    padding: 1.5rem;
    flex: 0 0 75%; /* Each card takes up 75% of container width */
    min-width: 260px; /* Minimum width for a card */
    scroll-snap-align: start; /* Snap alignment */
  }
}

/* Footer Detail Links */
.footer-detail-link {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 0.5rem;
  transition: color 0.3s ease;
}

.footer-detail-link:hover {
  color: #D4AF37;
}

.footer-services li {
  display: flex;
  align-items: center;
}

/* Enhanced Video Production Excellence Section Styles */
.about-section.production-excellence {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: #1c1c1c;
  color: #fff;
}

.about-section.production-excellence::before {
  content: '';
  position: absolute;
  top: -5%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, rgba(212,175,55,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.production-excellence .section-header h2,
.production-excellence .section-header p {
  color: #fff;
}

.production-excellence .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.production-excellence .about-content {
  padding-right: 1.5rem;
}

.production-excellence .lead-text {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 500;
}

.production-excellence p {
  margin-bottom: 1.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.production-excellence .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212,175,55,0.3);
}

.production-excellence .stat-item {
  text-align: center;
  background: rgba(40, 40, 40, 0.6);
  padding: 1.25rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(212,175,55,0.15);
}

.production-excellence .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  border-color: rgba(212,175,55,0.5);
  background: linear-gradient(145deg, rgba(50,50,50,0.6), rgba(35,35,35,0.8));
}

.production-excellence .stat-item h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #D4AF37;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #D4AF37, #B38728);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.production-excellence .stat-item p {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0;
  color: #fff;
}

.production-excellence .about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.production-excellence .about-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(212,175,55,0.25), transparent);
  pointer-events: none;
}

.production-excellence .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.production-excellence .about-image:hover img {
  transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .production-excellence .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .production-excellence .about-content {
    padding-right: 0;
  }

  .production-excellence .lead-text {
    font-size: 1.15rem;
  }

  .production-excellence .stat-item h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 767px) {
  .about-section.production-excellence {
    padding: 4rem 0;
  }

  .production-excellence .stats-grid {
    gap: 1rem;
  }

  .production-excellence .stat-item {
    padding: 1rem 0.75rem;
  }

  .production-excellence .stat-item h3 {
    font-size: 1.6rem;
  }

  .production-excellence .stat-item p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .production-excellence .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Enhanced Video Services Section Styles */
.featured-services {
  padding: 5rem 0;
  background-color: #1c1c1c; /* Dark background */
  position: relative;
  overflow: hidden;
}

/* Optional decorative element */
.featured-services::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, rgba(212,175,55,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.featured-services .section-header h2,
.featured-services .section-header p {
  color: #fff; /* White header text */
  position: relative; /* Ensure header is above pseudo-elements */
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 2rem;
  position: relative; /* Ensure grid is above pseudo-elements */
  z-index: 1;
}

.service-card {
  background: rgba(40, 40, 40, 0.7); /* Dark card background */
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(212,175,55,0.15);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column; /* Align content vertically */
  height: 100%; /* Make cards in a row equal height */
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  border-color: rgba(212,175,55,0.5);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(212,175,55,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.service-icon i {
  font-size: 1.75rem;
  color: #D4AF37; /* Gold icon color */
  display: inline-block; /* Ensure display is correct */
  line-height: 1; /* Ensure proper line height */
}

/* Style for SVG icons within service cards */
.service-icon svg {
  width: 1.75rem;  /* Match the desired size */
  height: 1.75rem;
  color: #D4AF37; /* Set the color (will apply to fill="currentColor") */
  display: block; /* Ensure proper block display */
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff; /* White heading */
  margin-bottom: 1rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.85); /* Lighter white text */
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Allow paragraph to take up space */
}

.service-card ul {
  list-style: none; /* Remove default bullets */
  padding-left: 0;
  margin-bottom: 0; /* Remove bottom margin if it's the last element */
  margin-top: auto; /* Push list to bottom if needed */
  flex-shrink: 0; /* Prevent list from shrinking */
}

.service-card li {
  color: rgba(255, 255, 255, 0.8); /* Lighter white for list items */
  margin-bottom: 0.5rem;
  padding-left: 1.5rem; /* Indent text */
  position: relative;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Custom bullet */
.service-card li::before {
  content: '\2022'; /* Bullet character */
  color: #D4AF37; /* Gold bullet */
  font-weight: bold;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }
}

@media (max-width: 767px) {
  .featured-services {
    padding: 4rem 0;
  }
  .services-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 1.5rem;
  }
  .service-card {
    padding: 2rem 1.5rem;
  }
  .service-card h3 {
    font-size: 1.3rem;
  }
}

/* Production Process Section */
.process-section {
  padding: 5rem 0;
  background-color: #1c1c1c; /* Dark background */
  color: #fff; /* Default white text for the section */
  position: relative;
  overflow: hidden; /* Contain pseudo-elements */
}

.process-section .section-header h2,
.process-section .section-header p {
  color: #fff; /* Ensure header text is white */
  position: relative;
  z-index: 1;
}

.about-timeline {
  position: relative;
  max-width: 800px; /* Constrain width for readability */
  margin: 3rem auto 0; /* Center timeline and add space above */
  padding-left: 4rem; /* Space for the timeline line/year circles */
}

/* The actual timeline vertical line */
.about-timeline::before {
  content: '';
  position: absolute;
  left: 30px; /* Align with center of year circle (half of 60px width) */
  top: 15px; /* Start slightly below the first circle's top */
  bottom: 15px; /* End slightly above the last circle's bottom */
  width: 3px;
  background-color: rgba(212, 175, 55, 0.2); /* Faint gold line */
  border-radius: 3px;
  z-index: 0; /* Behind year circles */
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem; /* Space between items */
}

.timeline-item:last-child {
  margin-bottom: 0; /* No extra space after the last item */
}

.timeline-year {
  position: absolute;
  left: 0; /* Position to the left edge of the padding */
  top: 0;
  transform: translateX(0); /* Reset potential transforms */
  width: 60px;
  height: 60px;
  background-color: #D4AF37; /* Gold background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Above the timeline line */
  border: 4px solid #1c1c1c; /* Create cutout effect against line */
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); /* Subtle gold glow */
}

.timeline-year span {
  color: #1c1c1c; /* Dark text on gold background */
  font-size: 1.2rem;
  font-weight: 700;
}

.timeline-content {
  background: rgba(40, 40, 40, 0.6); /* Match service card background */
  padding: 1.8rem 2rem;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.15);
  margin-left: 2rem; /* Space from the year circle */
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.timeline-content:hover {
   border-color: rgba(212,175,55,0.4);
   background: rgba(45, 45, 45, 0.7);
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff; /* White heading */
  margin-bottom: 0.75rem;
  margin-top: 0; /* Remove default heading margin */
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.85); /* Lighter white text */
  line-height: 1.6;
  margin-bottom: 0; /* Remove default paragraph margin */
}

/* Responsive adjustments for timeline */
@media (max-width: 767px) {
  .process-section {
     padding: 4rem 0;
  }
  .about-timeline {
     padding-left: 3.5rem; /* Adjust padding for mobile */
     max-width: 100%; /* Allow full width */
     margin-top: 2.5rem;
  }
  .about-timeline::before {
     left: 25px; /* Move line closer to edge, align with new year circle pos */
  }
  .timeline-year {
     left: 0; /* Align year circle */
     width: 50px;
     height: 50px;
     border-width: 3px;
  }
  .timeline-year span {
     font-size: 1rem;
  }
  .timeline-content {
     margin-left: 1rem; /* Reduce margin from year */
     padding: 1.5rem;
  }
  .timeline-content h3 {
     font-size: 1.15rem;
  }
}
