/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal:nth-child(2) { transition-delay: 0.08s; }
  .reveal:nth-child(3) { transition-delay: 0.16s; }
}
.reveal { /* default: visible for no-JS */ opacity: 1; transform: none; }

/* ── Navigation ── */
.nav { background: transparent; }
.nav.scrolled { background: rgba(61, 19, 69, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav.scrolled .nav-logo,
.nav.scrolled .nav-link { color: rgba(255,255,255,0.9) !important; }

/* ── Mobile Menu ── */
.mobile-menu { transition: opacity 0.4s ease, visibility 0.4s ease; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu.open .mobile-menu-link { animation: fadeUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
.mobile-menu.open .mobile-menu-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.open .mobile-menu-link:nth-child(4) { animation-delay: 0.2s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hamburger-line { transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

/* ── Hero ── */
.hero { background: linear-gradient(135deg, #3d1345 0%, #7B2D8B 40%, #a344a3 70%, #d4a00a 100%); }
.hero-gradient { background: radial-gradient(ellipse at 30% 50%, rgba(212, 160, 10, 0.15) 0%, transparent 60%), radial-gradient(ellipse at 70% 30%, rgba(123, 45, 139, 0.3) 0%, transparent 50%); }
.hero-scrim { background: linear-gradient(180deg, rgba(61,19,69,0.3) 0%, rgba(61,19,69,0.1) 50%, rgba(61,19,69,0.4) 100%); }

.hero-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.hero-line-1 { width: 1px; height: 100%; left: 15%; top: 0; }
.hero-line-2 { width: 1px; height: 100%; right: 20%; top: 0; }
.hero-line-3 { width: 100%; height: 1px; top: 35%; left: 0; }
.hero-line-4 { width: 100%; height: 1px; bottom: 25%; left: 0; }

.hero-title { letter-spacing: -0.01em; }
.hero-eyebrow { letter-spacing: 0.3em; }

/* ── Section ── */
.section { position: relative; }

/* ── Eyebrow ── */
.eyebrow { letter-spacing: 0.3em; }

/* ── Service Cards ── */
.service-card { padding: 0 0 0 0; border-left: 1px solid rgba(123, 45, 139, 0.12); padding-left: 24px; transition: border-color 0.4s ease; }
.service-card:hover { border-left-color: rgba(245, 197, 24, 0.5); }

/* ── Gallery ── */
.gallery-item { overflow: hidden; border-radius: 12px; }
.gallery-item img { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-item:hover img { transform: scale(1.05); }

/* ── Testimonials ── */
.testimonial-slide { transition: opacity 0.5s ease, transform 0.5s ease; }
.testimonial-dot { transition: background-color 0.3s ease, transform 0.3s ease; }
.testimonial-dot.active { background: #f5c518; transform: scale(1.3); }

/* ── Contact Form ── */
.contact-input { width: 100%; }
.contact-input:focus { border-color: #862d86 !important; }
.contact-submit { transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease; }
.contact-submit:hover { transform: translateY(-1px); }
.contact-submit:active { transform: translateY(0); }

/* ── Footer ── */
.footer { background: #3d1345; }

/* ── Responsive ── */
@media (max-width: 767px) {
  .hero-title { font-size: 2.5rem; }
  .hero-title br { display: none; }
  .hero-title span { display: block; }
  .about-accent { display: none; }
  .section { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
  .section { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 1024px) {
  .section { padding-left: 0; padding-right: 0; }
}
