.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.carousel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
}

.carousel-item.active {
  opacity: 1;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--text-light);
  width: 90%;
  max-width: 800px;
  z-index: 2;
}

.carousel-caption h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text-light);
  text-shadow: 0 4px 12px rgba(44, 24, 16, 0.6);
  letter-spacing: 1px;
}

.carousel-caption p {
  font-size: 1.125rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(44, 24, 16, 0.4);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--text-light);
  width: 52px;
  height: 52px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.carousel-control:hover,
.carousel-control:focus {
  background: var(--gradient-warm);
  border-color: var(--secondary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-warm);
}

.carousel-control.prev {
  left: 16px;
}

.carousel-control.next {
  right: 16px;
}

.carousel-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.indicator.active {
  background: var(--gradient-warm);
  width: 32px;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(210, 105, 30, 0.5);
}

.indicator:hover,
.indicator:focus {
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.hero .cta-button {
   top: 100px;
   margin-top: 80px;
}

.cta-button {
  position: relative;
  z-index: 3;
  display: inline-block;
  background: var(--gradient-warm);
  color: white;
  padding: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  box-shadow: var(--shadow-warm);
  overflow: hidden;
  border: 2px solid transparent;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover,
.cta-button:focus {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 36px rgba(210, 105, 30, 0.3);
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.cta-button.secondary:hover,
.cta-button.secondary:focus {
  background: var(--gradient-warm);
  color: white;
  border-color: transparent;
}

section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-warm);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 400;
}

.section-header.light h2,
.section-header.light p {
  color: var(--text-light);
}

.our-story .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.story-content h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--primary);
  position: relative;
  padding-bottom: 16px;
}

.story-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--gradient-warm);
  border-radius: 2px;
}

.story-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.story-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--border-light);
  transition: all 0.4s ease;
}

.story-image img:hover {
  box-shadow: var(--shadow-warm);
  border-color: var(--secondary);
  transform: scale(1.02);
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 14px 28px;
  background-color: white;
  border: 2px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(210, 105, 30, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.filter-btn:hover::before {
  width: 300px;
  height: 300px;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus {
  background: var(--gradient-warm);
  border-color: var(--secondary);
  color: white;
  box-shadow: var(--shadow-warm);
  transform: translateY(-2px);
}

/* Masonry Layout - Mobile */


.gallery-grid {
  column-count: 2;
  column-gap: 1rem;
  margin-bottom: 48px;
} 

 .gallery-item {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  break-inside: avoid;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-light);
  transition: all 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gallery-item:hover {
  box-shadow: var(--shadow-warm);
  transform: translateY(-12px);
  border-color: var(--secondary);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cta-center {
  text-align: center;
  margin-top: 40px;
}

.services-cta {
  background-color: var(--primary);
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--gradient-bronze);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-warm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 12px 32px rgba(205, 127, 50, 0.4);
}

.service-icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0);
}

.service-card h3 {
  color: var(--text-light);
  margin-bottom: 16px;
}

.service-card p {
  color: rgba(250, 246, 240, 0.9);
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-link {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}

.service-link::after {
  content: '→';
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.service-link:hover::after {
  transform: translateX(4px);
}

.service-link:hover {
  color: var(--text-bronze);
}

.testimonials {
  background: linear-gradient(180deg, var(--cream) 0%, var(--accent) 100%);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-warm), transparent);
}

#testimonials-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider-wrapper {
  position: relative;
  height: fit-content;
  overflow: hidden;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
  transition: all 0.4s ease;
}

.testimonial-slider-wrapper:hover {
  box-shadow: var(--shadow-warm);
  border-color: var(--border-warm);
}

.testimonial-slider-track {
  display: flex;
  position: relative;
  width: 100%;
  min-height: 525px;
}

.testimonial-slide {
  position: absolute;
  height: inherit;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  width: 100%;
  animation: slideIn 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.testimonial-card-slider {
  padding: 48px 32px;
  position: relative;
}

.testimonial-quote-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  opacity: 0.05;
}

.testimonial-header {
  margin-bottom: 24px;
  text-align: center;
}

.star-display {
  color: var(--secondary);
  font-size: 1.5rem;
  letter-spacing: 4px;
  filter: drop-shadow(0 2px 4px rgba(210, 105, 30, 0.2));
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-style: italic;
  text-align: center;
  margin-bottom: 32px;
  font-weight: 400;
  position: relative;
  padding: 0 20px;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  position: absolute;
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.15;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.testimonial-text::before {
  top: -10px;
  left: 0;
}

.testimonial-text::after {
  bottom: -20px;
  right: 0;
  transform: rotate(180deg);
}

.testimonial-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 2px solid var(--border-light);
  position: relative;
}

.testimonial-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gradient-warm);
  border-radius: 2px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 4px;
  font-family: 'Playfair Display', serif;
}

.testimonial-service {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.testimonial-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.testimonial-slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.testimonial-slider-btn:hover,
.testimonial-slider-btn:focus {
  background: var(--gradient-warm);
  color: white;
  border-color: var(--secondary);
  transform: scale(1.1);
  box-shadow: var(--shadow-warm);
}

.testimonial-slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.testimonial-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-warm);
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.testimonial-slider-dot.active {
  background: var(--gradient-warm);
  width: 32px;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(210, 105, 30, 0.4);
}

.testimonial-slider-dot:hover:not(.active) {
  background: var(--secondary);
  transform: scale(1.2);
}