/* ================================================
   COMPONENT LIBRARY
   All reusable components connected to design system
   maabaglamuki.guru v2.0
   ================================================ */

/* ----------------------------------------
   BUTTONS - Connected to design tokens
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #6B1C23, #4A0E14);
  color: white;
  box-shadow: 0 4px 15px rgba(107,28,35,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,28,35,0.4);
}

.btn-gold {
  background: linear-gradient(135deg, #D4AF37, #FFD700);
  color: #1c0000;
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #D4AF37;
  color: #D4AF37;
}

.btn-outline:hover {
  background: #D4AF37;
  color: #1c0000;
}

.btn-white {
  background: white;
  color: #6B1C23;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }

/* ----------------------------------------
   CARDS - Unified card system
   ---------------------------------------- */
.card {
  background: white;
  border-radius: var(--radius-2xl, 20px);
  box-shadow: 0 4px 20px rgba(74,14,20,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(74,14,20,0.15);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.25rem;
  color: #6B1C23;
  margin-bottom: 0.75rem;
}

.card-text {
  color: #666;
  line-height: 1.7;
}

/* Card Variants */
.card-gold {
  border: 2px solid #D4AF37;
}

.card-gold:hover {
  border-color: #FFD700;
  box-shadow: 0 8px 30px rgba(212,175,55,0.2);
}

.card-dark {
  background: linear-gradient(135deg, #6B1C23, #4A0E14);
  color: white;
}

.card-dark .card-title {
  color: #FFD700;
}

.card-dark .card-text {
  color: rgba(255,255,255,0.9);
}

.card-glass {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
}

/* ----------------------------------------
   FAQ ACCORDION
   ---------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: var(--radius-xl, 16px);
  box-shadow: 0 4px 15px rgba(74,14,20,0.06);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.1);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #4A0E14;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: #6B1C23;
}

.faq-question i {
  color: #D4AF37;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

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

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: #666;
  line-height: 1.7;
}

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

/* ----------------------------------------
   TESTIMONIAL CARD
   ---------------------------------------- */
.testimonial-card {
  background: white;
  border-radius: var(--radius-2xl, 20px);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(74,14,20,0.08);
  border: 1px solid rgba(212,175,55,0.1);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: #D4AF37;
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #6B1C23);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.testimonial-name {
  font-weight: 600;
  color: #4A0E14;
  margin-bottom: 0.25rem;
}

.testimonial-location {
  font-size: 0.875rem;
  color: #888;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  color: #D4AF37;
  margin-top: 0.5rem;
}

/* ----------------------------------------
   TRUST BADGE
   ---------------------------------------- */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius-full, 9999px);
  font-size: 0.875rem;
  color: #4A0E14;
}

.trust-badge i {
  color: #D4AF37;
}

/* ----------------------------------------
   SERVICE CARD
   ---------------------------------------- */
.service-card {
  background: white;
  border-radius: var(--radius-2xl, 20px);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(74,14,20,0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(74,14,20,0.15);
}

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.25rem;
  color: #6B1C23;
  margin-bottom: 0.75rem;
}

.service-card-text {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #6B1C23;
  margin-bottom: 1rem;
}

.service-card-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: #888;
}

/* ----------------------------------------
   PRICING CARD
   ---------------------------------------- */
.pricing-card {
  background: white;
  border-radius: var(--radius-2xl, 20px);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(74,14,20,0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
}

.pricing-card.featured {
  border-color: #D4AF37;
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(212,175,55,0.2);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

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

.pricing-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #6B1C23;
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6B1C23;
  margin-bottom: 0.5rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #888;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: #D4AF37;
}

/* ----------------------------------------
   CTA COMPONENTS
   ---------------------------------------- */
.cta-box {
  background: linear-gradient(135deg, #2D0505 0%, #4D0A0A 100%);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 2rem;
  color: white;
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}

/* CTA Buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 16px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.btn-cta:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,215,0,0.4);
  transform: translateY(-2px);
}

.btn-cta i {
  font-size: 1.5rem;
  color: #FFD700;
}

.btn-cta .cta-text-wrapper {
  display: flex;
  flex-direction: column;
}

.btn-cta .cta-text-wrapper .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.7;
}

.btn-cta .cta-text-wrapper .sub {
  font-size: 1rem;
  font-weight: 600;
}

/* Trust indicators in CTA */
.trust-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
}

.trust-indicator-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-indicator-icon i {
  color: #D4AF37;
}

/* ----------------------------------------
   TRUST STRIP
   ---------------------------------------- */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem;
  background: rgba(212,175,55,0.05);
  border-top: 1px solid rgba(212,175,55,0.1);
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #4A0E14;
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-strip-item i {
  color: #D4AF37;
  font-size: 1.25rem;
}

/* ----------------------------------------
   ACCORDION (Bootstrap Override)
   ---------------------------------------- */
.accordion-item {
  background: white;
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: #4A0E14;
  padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(107,28,35,0.05), rgba(74,14,20,0.08));
  color: #6B1C23;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D4AF37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.25rem 1.5rem;
  color: #666;
  line-height: 1.7;
}

/* ----------------------------------------
   CAROUSEL CONTROLS
   ---------------------------------------- */
.carousel-control-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-control-btn:hover {
  background: #D4AF37;
  color: #1c0000;
  transform: scale(1.1);
}

/* ----------------------------------------
   BADGE COMPONENTS
   ---------------------------------------- */
.badge-sacred {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #6B1C23;
  text-transform: uppercase;
}

.badge-sacred i {
  color: #D4AF37;
}

/* ----------------------------------------
   LOADER SPINNER
   ---------------------------------------- */
.btn-loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: btn-spin 0.8s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* ----------------------------------------
   GRID LAYOUTS
   ---------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.services-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.services-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------
   TESTIMONIAL SECTION STYLES
   ---------------------------------------- */
.testimonial-bg-dark {
  background: linear-gradient(135deg, #2D0505 0%, #4D0A0A 100%);
  position: relative;
  overflow: hidden;
}

.testimonial-deco {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-deco--top {
  top: -100px;
  right: -100px;
}

.testimonial-deco--bottom {
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, transparent 70%);
}

.testimonial-glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,215,0,0.1);
  transition: all 0.3s ease;
}

.testimonial-glass-card:hover {
  border-color: rgba(255,215,0,0.25);
  transform: translateY(-4px);
}

.avatar-circle {
  background: linear-gradient(45deg, #FFD700, #B8860B);
  color: #300;
}

/* ----------------------------------------
   DIVIDER UTILITIES
   ---------------------------------------- */
.divider-gold {
  width: 80px;
  height: 3px;
  background: #FFD700;
  border-radius: 2px;
}

/* ----------------------------------------
   SECTION HEADERS
   ---------------------------------------- */
.section-header-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D4AF37;
}

.section-header-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 2.5rem;
  color: var(--color-primary, #6B1C23);
}

.section-header-title span {
  color: #D4AF37;
}

/* ----------------------------------------
   PREMIUM CARD VARIANTS
   ---------------------------------------- */
.card-premium {
  background: linear-gradient(135deg, #2D0505, #4D0A0A);
  color: white;
  border: 1px solid rgba(212,175,55,0.2);
}

.card-premium .card-title {
  color: #FFD700;
}

.card-premium .card-text {
  color: rgba(255,255,255,0.85);
}

/* ----------------------------------------
   CONTACT METHOD CARDS
   ---------------------------------------- */
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.contact-method:hover {
  transform: translateX(8px);
  border-color: #D4AF37;
  background: rgba(212,175,55,0.05);
}

.method-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6B1C23, #4A0E14);
  border-radius: 12px;
  flex-shrink: 0;
}

.method-icon i {
  font-size: 1.5rem;
  color: #D4AF37;
}

.method-icon.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.method-icon.whatsapp i {
  color: white;
}

.method-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.method-value {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}