/* =============================================================================
   YXE Wedding Collective - Photography Service Page Styles
   ============================================================================= */

/* Service Hero Section */
.service-hero {
  height: 60vh;
  margin-top: 70.4px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
              url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?w=1920&h=800&fit=crop') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.service-hero-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-hero-content {
  max-width: 800px;
  padding: 0 2rem;
}

.service-hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

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

/* Service Content Section */
.service-content {
  padding: 5rem 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-text h2 {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.service-text p {
  margin-bottom: 2rem;
  line-height: 1.8;
  color: var(--light-gray);
}

.service-text h3 {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.service-text ul {
  list-style: none;
  padding: 0;
}

.service-text li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
  color: var(--light-gray);
}

.service-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.service-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

/* Process Section (match Videography) */
.process-section {
  padding: 5rem 0;
  background: var(--white);
}

/* Centered flexible grid that adapts to widths */
.process-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
  justify-content: center;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  width: 100%;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--dark-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step h3 {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.process-step p {
  color: var(--light-gray);
  line-height: 1.6;
}

/* Packages Section */
.packages-section {
  padding: 5rem 0;
  background: var(--secondary-color);
}

.packages-note {
  margin-top: 1rem;
  text-align: center;
  color: var(--light-gray);
}

/* Ensure the note spans the full grid width and centers within the grid */
.packages-grid .packages-note {
  grid-column: 1 / -1;
  justify-self: center;
}

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

/* Ensure equal heights */
.packages-grid { align-items: stretch; }

.package-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.package-card.featured {
  border: 2px solid var(--primary-color);
}

/* Pin CTA to bottom */
.package-card .cta-button { margin-top: auto; }

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--dark-gray);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.package-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.package-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.package-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.package-card li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--light-gray);
}

.package-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--accent-color);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.cta-section p {
  margin-bottom: 2rem;
  color: var(--light-gray);
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-hero-title {
    font-size: 2.5rem;
  }
  
  .service-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-image img {
    height: 300px;
  }

  /* Process grid spacing on mobile */
  .process-grid { gap: 2rem; }
  .process-step { width: 100%; }
  
  .packages-grid {
    grid-template-columns: 1fr;
  }
  
  .package-card.featured {
    transform: none;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet: 2 cards per row */
@media (min-width: 769px) and (max-width: 1023px) {
  .process-step { width: calc((100% - 3rem) / 2); }
}

/* Desktop: 3 cards per row */
@media (min-width: 1024px) {
  .process-step { width: calc((100% - 6rem) / 3); }
}

@media (max-width: 480px) {
  .service-hero-title {
    font-size: 2rem;
  }
  
  .package-card {
    padding: 2rem;
  }
  
  .package-price {
    font-size: 2rem;
  }
}


