/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; overflow-x: hidden; }

/* ─── NAV ─── */
#site-header {
  background: rgba(3,19,9,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  transition: background 0.4s, box-shadow 0.4s;
}
#site-header.scrolled {
  background: rgba(3,19,9,0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; width: 0; height: 1.5px;
  background: linear-gradient(90deg,#C9A84C,#E8D5A0);
  transition: width 0.3s, left 0.3s;
  transform: translateX(-50%);
}
.nav-link:hover::after { width: 60%; }
.nav-link:hover { color: #C9A84C !important; }

/* Mobile menu */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
.mobile-link { transition: color 0.2s, background 0.2s; }
.menu-line { transition: transform 0.3s, opacity 0.3s; }
#menu-btn.active .menu-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#menu-btn.active .menu-line:nth-child(2) { opacity: 0; }
#menu-btn.active .menu-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 5px; }

/* ─── HERO ─── */
.hero-glow { animation: heroGlow 6s ease-in-out infinite alternate; }
.hero-glow-2 { animation: heroGlow2 8s ease-in-out infinite alternate; }
@keyframes heroGlow {
  0% { opacity: 0.15; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1.15); }
}
@keyframes heroGlow2 {
  0% { opacity: 0.08; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0.18; transform: translate(-50%, -50%) scale(1.2); }
}
.hero-badge {
  animation: badgeIn 0.8s ease-out both;
}
.hero-title {
  animation: titleIn 0.9s ease-out 0.15s both;
}
.hero-sub {
  animation: subIn 0.9s ease-out 0.3s both;
}
.hero-ctas {
  animation: ctaIn 0.9s ease-out 0.45s both;
}
.hero-trust {
  animation: trustIn 0.9s ease-out 0.6s both;
}
@keyframes badgeIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes titleIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes subIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ctaIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes trustIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.cta-primary { position: relative; overflow: hidden; }
.cta-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(255,255,255,0.15) 0%,transparent 60%);
  border-radius: inherit;
}
.cta-secondary { transition: all 0.3s; }

/* ─── SECTION HEADERS ─── */
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: #C9A84C;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: linear-gradient(90deg,#C9A84C,transparent);
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700; font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15; color: #FAFAF7;
}
.section-sub { line-height: 1.7; }

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,transparent,#C9A84C,transparent);
  opacity: 0; transition: opacity 0.35s;
}
.service-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(201,168,76,0.06);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15) 0%, rgba(201,168,76,0.05) 100%);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.35s;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(201,168,76,0.25) 0%, rgba(201,168,76,0.1) 100%);
  border-color: rgba(201,168,76,0.4);
  transform: scale(1.05);
}
.service-icon svg {
  width: 26px; height: 26px;
  color: #C9A84C;
  stroke: #C9A84C;
}
.service-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem; font-weight: 600;
  color: #FAFAF7; margin-bottom: 0.6rem;
}
.service-desc {
  color: rgba(217,217,204,0.6);
  font-size: 0.9rem; line-height: 1.65;
}

/* ─── WHY US ─── */
.why-item {
  border-left: 1px solid rgba(201,168,76,0.15);
  padding-left: 0;
  transition: border-color 0.3s;
}
.why-item:hover { border-left-color: rgba(201,168,76,0.5); }

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,19,9,0.4) 0%, transparent 40%);
  pointer-events: none;
}
.gallery-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }

/* ─── CONTACT ─── */
.contact-info-card {
  display: flex; align-items: center; gap: 1rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}
.contact-info-card:hover {
  border-color: rgba(201,168,76,0.25);
  transform: translateX(4px);
}
.contact-form-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  color: #FAFAF7;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  transition: all 0.25s;
  outline: none;
}
.form-input::placeholder { color: rgba(217,217,204,0.35); }
.form-input:focus {
  border-color: rgba(201,168,76,0.5);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-select { cursor: pointer; 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='%23C9A84C' stroke-width='2' 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-select option { background: #0B3D20; color: #FAFAF7; }
.form-textarea { resize: vertical; min-height: 100px; }

.form-submit {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #C9A84C 0%, #A88A3A 100%);
  color: #062412;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700; font-size: 0.95rem;
  padding: 0.875rem 2rem;
  border: none; border-radius: 0.625rem;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.3);
}
.form-submit:active { transform: translateY(0); }
.form-submit-arrow { width: 18px; height: 18px; transition: transform 0.3s; }
.form-submit:hover .form-submit-arrow { transform: translateX(4px); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.5rem !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(30px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
