/* ========================================
   ADDITIONAL COMPONENTS & FEATURES
   ======================================== */

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 61, 54, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  transition: var(--transition-fast);
  font-weight: 300;
  line-height: 1;
  background: none;
  border: none;
  padding: 0;
}

.lightbox-close:hover {
  color: var(--rose-gold);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(200, 155, 123, 0.8);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--rose-gold);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

/* ===== BEFORE/AFTER SLIDER ===== */
.before-after-slider {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  cursor: ew-resize;
  user-select: none;
}

.before-after-slider img {
  display: block;
  width: 100%;
  height: auto;
}

.before-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.1s ease;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--rose-gold);
  cursor: ew-resize;
  transform: translateX(-50%);
  transition: background 0.3s ease;
}

.slider-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--rose-gold);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: var(--shadow-medium);
}

.slider-handle::after {
  content: '⟷';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 1;
}

.slider-handle:hover {
  background: var(--rose-gold-dark);
}

.slider-labels {
  position: absolute;
  top: 1rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 2;
}

.slider-labels span {
  background: rgba(74, 61, 54, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== PORTFOLIO MASONRY ===== */
.portfolio-masonry {
  column-count: 3;
  column-gap: var(--spacing-md);
}

.portfolio-item {
  break-inside: avoid;
  margin-bottom: var(--spacing-md);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.portfolio-item img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.portfolio-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(74, 61, 54, 0.95) 0%, rgba(74, 61, 54, 0.7) 50%, transparent 100%);
  padding: 1.25rem;
  padding-top: 3rem;
  transform: translateY(100%);
  transition: var(--transition-smooth);
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay h4 {
  color: white;
  margin-bottom: 0.35rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-overlay p {
  color: var(--rose-gold-light);
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  margin: 0;
  font-style: italic;
}

/* ===== PORTFOLIO FILTER ===== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  color: var(--charcoal-brown);
  border: 2px solid var(--warm-sand);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--rose-gold);
  color: white;
  border-color: var(--rose-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: var(--transition-smooth);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 5rem;
  color: var(--blush-pink);
  font-family: var(--font-heading);
  line-height: 1;
  opacity: 0.3;
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
  padding-top: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rose-gold);
}

.author-info h5 {
  margin: 0;
  font-size: 1rem;
  color: var(--charcoal-brown);
}

.author-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--rose-gold);
}

/* ===== SERVICE ITEMS ===== */
.service-item {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(74, 61, 54, 0.08);
  transition: var(--transition-smooth);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.service-item:hover {
  box-shadow: 0 8px 30px rgba(74, 61, 54, 0.12);
  transform: translateY(-3px);
}

.service-item h3 {
  color: var(--charcoal-brown);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  position: relative;
  padding-left: 1.25rem;
}

.service-item h3::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0.4rem;
  color: var(--rose-gold);
  font-size: 0.6rem;
}

.service-item .service-description {
  margin-bottom: var(--spacing-md);
  color: var(--charcoal-brown);
  opacity: 0.85;
  line-height: 1.7;
}

.service-item .service-includes {
  background: var(--soft-nude);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
}

.service-item .service-includes h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--rose-gold);
}

.service-item .service-includes ul {
  margin: 0;
  padding-left: 1.5rem;
}

.service-item .service-includes li {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--rose-gold);
  font-family: var(--font-heading);
}

/* Service item buttons - outlined style */
.service-item .btn,
.service-item .btn.btn-secondary {
  margin-top: auto;
  align-self: flex-start;
  background: transparent;
  color: var(--charcoal-brown);
  border: 1px solid var(--rose-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  padding: 0.875rem 1.5rem;
  font-weight: 500;
  border-radius: 6px;
}

.service-item .btn:hover,
.service-item .btn.btn-secondary:hover {
  background: var(--rose-gold);
  color: white;
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: white;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--charcoal-brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--rose-gold);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--rose-gold);
  transition: var(--transition-fast);
}

.faq-question.active::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  margin: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 400;
  color: var(--charcoal-brown);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--warm-sand);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal-brown);
  transition: var(--transition-fast);
  background: var(--soft-nude);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--rose-gold);
  background: white;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===== PRICING TABLE ===== */
.pricing-badge {
  display: inline-block;
  background: var(--rose-gold);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* ===== LOCATION MAP ===== */
.location-map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  background: var(--warm-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-brown);
  font-style: italic;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 968px) {
  .portfolio-masonry {
    column-count: 2;
  }

  .lightbox-prev,
  .lightbox-next {
    padding: 0.75rem 1rem;
    font-size: 1.5rem;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}

@media (max-width: 640px) {
  .portfolio-masonry {
    column-count: 1;
  }

  .portfolio-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-btn {
    width: 100%;
  }

  .testimonial-card::before {
    font-size: 3rem;
  }
}
