/* Light Page Styles - Inspired by Garage TCS Sterrenhemel */

/* Before & After Section - Exact replica of Garage TCS design */
.light-before-after {
  padding: 80px 0;
  background: var(--bg);
}

.light-before-after .section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--text);
}

.before-after-instruction {
  text-align: center;
  color: var(--sub);
  font-size: 1rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.before-after-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.before-after-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  height: 500px;
  cursor: grab;
  user-select: none;
}

.before-after-slider:active {
  cursor: grabbing;
}

.before-after-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.before-img,
.after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.before-img {
  z-index: 1;
}

.after-img {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--gold-2);
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--gold-2);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(245, 179, 1, 0.5);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.9);
  border: 3px solid var(--gold-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  cursor: grab;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.slider-button:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.1);
}

.slider-button svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-2);
  transition: all 0.3s ease;
}

.slider-button:hover {
  background: var(--gold-2);
  box-shadow: 0 0 25px rgba(245, 179, 1, 0.7);
}

.slider-button:hover svg {
  fill: #1b1400;
}

.before-after-labels {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 5;
}

.before-label,
.after-label {
  background: rgba(0, 0, 0, 0.8);
  color: var(--gold-2);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.before-label {
  margin-right: auto;
}

.after-label {
  margin-left: auto;
}

/* Responsive design for before/after */
@media (max-width: 768px) {
  .before-after-slider {
    height: 300px;
  }
  
  .slider-button {
    width: 40px;
    height: 40px;
  }
  
  .slider-button svg {
    width: 20px;
    height: 20px;
  }
  
  .before-label,
  .after-label {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .before-after-labels {
    padding: 0 15px;
    bottom: 15px;
  }
}

/* Features Section */
.light-features-section {
  padding: 80px 0;
  background: var(--bg2);
}

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

.light-features-content .section-title {
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.light-description {
  font-size: 1.1rem;
  color: var(--sub);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.light-features {
  display: grid;
  gap: 1.5rem;
}

.light-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.light-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.light-feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.light-feature-icon svg {
  width: 24px;
  height: 24px;
  color: #1b1400;
}

.light-feature-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.light-feature-content p {
  margin: 0;
  color: var(--sub);
  font-size: 0.95rem;
  line-height: 1.5;
}

.light-features-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.light-features-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.light-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  padding: 120px 0 80px;
  margin-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.light-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(245, 179, 1, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 206, 69, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(245, 179, 1, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.light-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.light-hero .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--gold-2), var(--gold), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(245, 179, 1, 0.3);
}

.light-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--sub);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.light-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.light-showcase {
  padding: 80px 0;
  background: var(--bg2);
}

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

.light-showcase-content .section-title {
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.light-description {
  font-size: 1.1rem;
  color: var(--sub);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.light-features {
  display: grid;
  gap: 1.5rem;
}

.light-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.light-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.light-feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.light-feature-icon svg {
  width: 24px;
  height: 24px;
  color: #1b1400;
}

.light-feature-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.light-feature-content p {
  margin: 0;
  color: var(--sub);
  font-size: 0.95rem;
  line-height: 1.5;
}

.light-showcase-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.light-image-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.light-image-container:hover {
  transform: scale(1.02);
}

.light-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.light-image-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: var(--gold-2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.light-gallery {
  padding: 80px 0;
  background: var(--bg);
}

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

.light-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.light-gallery-item:hover {
  transform: translateY(-5px);
}

.light-gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.light-pricing {
  padding: 80px 0;
  background: var(--bg2);
}

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

.light-pricing-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.light-pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.light-pricing-card.featured {
  border: 2px solid var(--gold);
  transform: scale(1.05);
}

.light-pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.light-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1b1400;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.light-pricing-card h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  color: var(--text);
  text-align: center;
}

.light-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-2);
  text-align: center;
  margin-bottom: 2rem;
}

.light-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.light-pricing-features li {
  padding: 0.5rem 0;
  color: var(--sub);
  position: relative;
  padding-left: 1.5rem;
}

.light-pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-2);
  font-weight: bold;
}

.light-pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.light-process {
  padding: 80px 0;
  background: var(--bg);
}

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

.light-process-step {
  text-align: center;
  padding: 2rem;
}

.light-process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1b1400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
}

.light-process-step h3 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  color: var(--text);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .light-features-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .light-features-image img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .light-hero {
    padding: 100px 0 60px;
  }
  
  .light-hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .light-hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .light-pricing-card.featured {
    transform: none;
  }
  
  .light-pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 480px) {
  .light-feature {
    flex-direction: column;
    text-align: center;
  }
  
  .light-feature-icon {
    margin: 0 auto;
  }
}
