/* ============================================
   Yulianto & Partners — Custom Styles
   Tailwind CSS handles most utility styling;
   this file contains only non-utility patterns.
   ============================================ */

/* ---------- Google Fonts ---------- */
.font-display {
  font-family: 'Playfair Display', Georgia, serif;
}

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

/* ---------- Navbar ---------- */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: #0d2147;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
#navbar:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(13,33,71,0.9) 0%, transparent 100%);
}

.nav-link {
  display: inline-block;
  color: #e5e7eb;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: #c9a227;
  background: rgba(201, 162, 39, 0.08);
}

.mobile-nav-link {
  display: block;
  color: #d1d5db;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav-link:hover {
  color: #c9a227;
  background: rgba(201, 162, 39, 0.08);
}

/* ---------- Hero Section ---------- */
.hero-section {
  background: #0d2147;
}
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(8, 20, 50, 0.78) 0%,
    rgba(8, 20, 50, 0.65) 40%,
    rgba(8, 20, 50, 0.82) 100%
  );
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #c9a227;
  color: #0d2147;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: 2px solid transparent;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #a8841f;
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-1px);
}

/* ---------- Section Shared ---------- */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .section-padding {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(201,162,39,0.3);
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  background: rgba(201,162,39,0.06);
}

.section-label-light {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(201,162,39,0.4);
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  background: rgba(201,162,39,0.1);
}

.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #0d2147;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13, 33, 71, 0.1);
  border-color: #c9a227;
}
.service-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: background 0.2s;
}
.service-card:hover .service-icon-wrap {
  background: rgba(201, 162, 39, 0.2);
}

/* ---------- Team Cards ---------- */
.team-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13, 33, 71, 0.1);
}
.team-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Testimonial Cards ---------- */
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: background 0.25s, border-color 0.25s;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201, 162, 39, 0.4);
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.875rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open {
  border-color: #c9a227;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.1);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0d2147;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: #c9a227; }
.faq-item.open .faq-question { color: #c9a227; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}
.faq-answer.expanded {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}

/* ---------- Contact Form ---------- */
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.375rem;
}
.form-input {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: #1f2937;
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: 0.625rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-input:focus {
  border-color: #0d2147;
  box-shadow: 0 0 0 3px rgba(13, 33, 71, 0.08);
}
.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}
.form-input.success {
  border-color: #22c55e;
}
.form-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.3rem;
  min-height: 1rem;
}

/* ---------- Contact Info Cards ---------- */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-info-card:hover {
  border-color: #c9a227;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.08);
}
.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer-link {
  color: #9ca3af;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #c9a227;
}

/* ---------- Back to Top ---------- */
#back-to-top {
  display: none;
}
#back-to-top.visible {
  display: flex;
}
