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

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

/* ===== NAVIGATION ===== */
.nav-header {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav-header.scrolled {
  background: rgba(10, 21, 33, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  padding-top: 0;
  padding-bottom: 0;
}

.nav-header.scrolled nav {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4a017;
  border-radius: 1px;
  transition: width 0.25s ease;
}

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

/* Mobile menu */
#mobileMenu {
  transition: max-height 0.35s ease, padding 0.35s ease;
}

#mobileMenu.open {
  max-height: 400px;
  padding-bottom: 1rem;
}

.menu-line {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

#menuToggle.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 1.5rem;
}

.mobile-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
}

/* ===== HERO ===== */
.hero-pattern {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212, 160, 23, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 160, 23, 0.05) 0%, transparent 40%);
}

.hero-glow {
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

.hero-text {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn-gold {
  background: linear-gradient(135deg, #f5df8a 0%, #d4a017 50%, #b8860b 100%);
  color: #0a1521;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.45);
  color: #0a1521;
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-outline:hover {
  border-color: #d4a017;
  background: rgba(212, 160, 23, 0.1);
  color: #ffffff;
}

.btn-navy {
  background: #0a1521;
  color: #ffffff;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-navy:hover {
  background: #14263d;
  transform: translateY(-2px);
  color: #ffffff;
}

/* ===== SECTION HEADERS ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d4a017;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: #0a1521;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #3a6494;
}

.body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #2d4e75;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #eaf0f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(10, 21, 33, 0.1);
  border-color: #f5df8a;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fdf8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon-wrap {
  background: #faf0c8;
}

.service-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0a1521;
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #3a6494;
}

/* ===== ABOUT ===== */
.about-images {
  position: relative;
}

/* ===== PROCESS ===== */
.process-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.process-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 160, 23, 0.3);
}

.process-step-num {
  font-family: 'Lora', Georgia, serif;
  line-height: 1;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #eaf0f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 21, 33, 0.08);
}

/* ===== CTA ===== */
.cta-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230a1521' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ===== FORM STYLES ===== */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f3856;
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #c5d4e8;
  border-radius: 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #0a1521;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input::placeholder {
  color: #9fb8d9;
}

.form-input:focus {
  border-color: #d4a017;
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.form-input.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233a6494' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form-error {
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 0.3rem;
  min-height: 1.2em;
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-glow { animation: none; }
  .service-card, .process-card, .testimonial-card {
    transition: none;
  }
  .btn-gold:hover, .btn-navy:hover {
    transform: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-images {
    order: -1;
  }

  .hero-images .relative {
    max-width: 100%;
    margin: 0 auto;
  }

  .about-images {
    margin-bottom: 2rem;
  }

  .about-images .absolute {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 1rem;
  }
}
