/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background-color: #7B2D5B;
  color: #fff;
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
  background: rgba(249, 240, 244, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(123, 45, 91, 0.08);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e5ad35;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

#navbar.scrolled .nav-link {
  color: #7B2D5B;
}

#navbar.scrolled .nav-link:hover {
  color: #b87a1f;
}

/* Mobile menu */
.mobile-nav-link {
  position: relative;
}

.mobile-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #e5ad35;
  transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
  width: 60%;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

/* Hamburger animation */
.menu-line {
  transition: all 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

#menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menu-toggle.active .menu-line:nth-child(3) {
  width: 24px;
  transform: translateY(-5px) rotate(-45deg);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: #e5ad35;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  border: 2px solid #e5ad35;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: #d4952a;
  border-color: #d4952a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 173, 53, 0.35);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-dark {
  background: #4a1b37;
  color: #fff;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  border: 2px solid #4a1b37;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-dark:hover {
  background: #5e2245;
  border-color: #5e2245;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 27, 55, 0.35);
}

.btn-amber-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-amber-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===== SECTION HEADERS ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7B2D5B;
  background: linear-gradient(135deg, #f2dce6 0%, #f9f0f4 100%);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  border: 1px solid #e8bcd0;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #4a1b37;
  line-height: 1.15;
}

/* ===== FLOATING CARDS ===== */
.floating-card {
  animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  animation-delay: -2s;
}

.floating-card:nth-child(3) {
  animation-delay: -4s;
}

.floating-card:nth-child(4) {
  animation-delay: -1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.card-plum .bg-white {
  border-color: rgba(123, 45, 91, 0.1);
}

.card-amber .bg-white {
  border-color: rgba(229, 173, 53, 0.15);
}

/* ===== SERVICE CARDS ===== */
.service-card {
  opacity: 1;
}

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

/* ===== INPUT FIELDS ===== */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e8bcd0;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-family: 'Lato', system-ui, sans-serif;
  color: #4a1b37;
  background: #fff;
  transition: all 0.3s ease;
  outline: none;
}

.input-field::placeholder {
  color: #c46d93;
  opacity: 0.6;
}

.input-field:focus {
  border-color: #7B2D5B;
  box-shadow: 0 0 0 3px rgba(123, 45, 91, 0.1);
}

.input-field:hover:not(:focus) {
  border-color: #d894b4;
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .floating-card {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  .scroll-reveal {
    transition: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .section-title {
    font-size: 2rem;
  }
}
