/* ===== LOGO ===== */

.navbar-logo {
  background: transparent;
}

/* ===== GLASSMORPHISM — iOS 26 STYLE ===== */

.glass-nav {
  background: rgba(253, 251, 247, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(227, 208, 173, 0.25);
}

.glass-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.glass-card-dark {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-card-featured {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 2px solid rgba(196, 164, 110, 0.3);
  box-shadow:
    0 8px 40px rgba(196, 164, 110, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.glass-chip {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* ===== BUTTONS ===== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: #1A1A1A;
  color: #FAF6EE;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.2);
}

.btn-primary:hover {
  background-color: #2D2D2D;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1A1A1A;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 9999px;
  border: 1px solid rgba(227, 208, 173, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(227, 208, 173, 0.7);
  transform: translateY(-1px);
}

.btn-primary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* ===== NAVIGATION LINKS ===== */

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #3D3D3D;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #C4A46E;
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: #1A1A1A;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-link {
  font-size: 1.0625rem;
  font-weight: 500;
  color: #2D2D2D;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(227, 208, 173, 0.2);
  transition: color 0.2s;
}

.mobile-link:hover {
  color: #C4A46E;
}

/* ===== HOVER LIFT ===== */

.hover-lift {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ===== SCROLL ANIMATIONS ===== */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-600 { transition-delay: 0.6s; }

/* ===== MARQUEE ===== */

.marquee {
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SMOOTH SCROLLBAR ===== */

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FAF6EE;
}

::-webkit-scrollbar-thumb {
  background: #D4BA8B;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #C4A46E;
}

/* ===== SELECTION ===== */

::selection {
  background-color: rgba(196, 164, 110, 0.3);
  color: #1A1A1A;
}

/* ===== BEFORE/AFTER SLIDER ===== */

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-after {
  z-index: 1;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle-line {
  width: 3px;
  flex: 1;
  background: white;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.ba-handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  pointer-events: auto;
  cursor: col-resize;
  transition: transform 0.15s ease;
}

.ba-handle-circle:hover {
  transform: scale(1.1);
}

.ba-label {
  position: absolute;
  bottom: 12px;
  z-index: 4;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.ba-label-before {
  left: 12px;
  background: rgba(26, 26, 26, 0.7);
  color: white;
}

.ba-label-after {
  right: 12px;
  background: rgba(196, 164, 110, 0.8);
  color: white;
}

/* ===== FORM INPUTS ===== */

.form-input {
  width: 100%;
  padding: 0.8125rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(227, 208, 173, 0.35);
  border-radius: 1rem;
  font-size: 0.9375rem;
  color: #1A1A1A;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: #9CA3AF;
}

.form-input:focus {
  border-color: #C4A46E;
  box-shadow: 0 0 0 3px rgba(196, 164, 110, 0.15);
  background: rgba(255, 255, 255, 0.75);
}

.form-input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #EF4444;
}

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233D3D3D' stroke-width='2'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* ===== MOBILE OPTIMIZATIONS ===== */

@media (max-width: 640px) {
  .btn-primary,
  .btn-secondary,
  .btn-primary-light {
    padding: 0.8125rem 1.5rem;
    font-size: 0.875rem;
    width: 100%;
  }
}

@media (hover: none) {
  .hover-lift:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee {
    animation: none;
  }
}


.testimonials-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 0 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
}

.testimonial-card {
  min-width: 340px;
  max-width: 340px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .testimonial-card {
    min-width: 300px;
    max-width: 300px;
  }
}
