/* Fixcon Developers – shared styles for the redesign-v2 templates
   (Architectural Atelier design system from Stitch) */

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  background-color: #ffffff;
  color: #1c1d22;
}
.font-luxury {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.015em;
}
.text-gold-gradient {
  background: linear-gradient(135deg, #d6113f 0%, #b27b16 50%, #8c6112 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header */
.glass-nav {
  background: rgba(253, 243, 245, 0.9); /* bg-sand tint #fdf3f5 */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px -12px rgba(21, 22, 27, 0.22);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.glass-nav.is-scrolled {
  background: rgba(253, 243, 245, 0.96);
  box-shadow: 0 10px 30px -14px rgba(21, 22, 27, 0.32);
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: #d6113f;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Cards */
.glass-card {
  background: #ffffff;
  border: 1px solid #e2e5e9;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.glass-card:hover {
  border-color: #ed94a9;
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -16px rgba(180, 14, 53, 0.18), 0 4px 12px rgba(0, 0, 0, 0.04);
}
.img-zoom {
  overflow: hidden;
}
.img-zoom img {
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom:hover img,
.group:hover .img-zoom img {
  transform: scale(1.06);
}

/* Hero */
.blueprint-dots {
  background-image: radial-gradient(#d6113f 1.2px, transparent 1.2px);
  background-size: 32px 32px;
}
.hero-huge-title {
  font-size: clamp(4.5rem, 16vw, 13rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(35, 37, 42, 0.95) 0%, rgba(100, 105, 115, 0.5) 55%, rgba(200, 195, 185, 0.18) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glow-dot {
  box-shadow: 0 0 12px 2px rgba(214, 17, 63, 0.5);
}

/* Motion */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.6deg); }
}
.animate-float { animation: floatSlow 7s ease-in-out infinite; }
.animate-float-delayed { animation: floatSlow 8s ease-in-out 1.2s infinite; }

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}
.animate-orb { animation: orbDrift 14s ease-in-out infinite; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes shine {
  from { transform: translateX(-150%) skewX(-20deg); }
  to { transform: translateX(250%) skewX(-20deg); }
}
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-150%) skewX(-20deg);
  pointer-events: none;
}
.btn-shine:hover::after { animation: shine 0.9s ease forwards; }

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(214, 17, 63, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(214, 17, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 17, 63, 0); }
}
.pulse-ring { animation: pulseRing 2.4s ease-out infinite; }

/* Scroll reveal – only when JS is running, so content is never hidden without it */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* Side-slides would push past the viewport on small screens – slide up instead */
@media (max-width: 1023px) {
  .js [data-reveal="left"]:not(.is-visible),
  .js [data-reveal="right"]:not(.is-visible) { transform: translateY(28px); }
}
html, body { overflow-x: clip; }

/* Process timeline line */
.process-line {
  background: linear-gradient(90deg, #d6113f, #ffb020, #d6113f);
  background-size: 200% 100%;
  animation: lineFlow 4s linear infinite;
}
@keyframes lineFlow {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

/* Mobile navigation drawer */
.mobile-nav { transition: opacity 0.25s ease, visibility 0.25s ease; }
.mobile-nav[hidden] { display: block; visibility: hidden; opacity: 0; pointer-events: none; }
.mobile-nav .mobile-nav-panel { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-nav[hidden] .mobile-nav-panel { transform: translateX(100%); }
body.nav-open { overflow: hidden; }

/* "Contact Now" modal */
.modal { transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal[hidden] { display: flex; visibility: hidden; opacity: 0; pointer-events: none; }
.modal .modal-panel { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.modal[hidden] .modal-panel { transform: translateY(24px) scale(0.97); }
body.modal-open { overflow: hidden; }

.form-status { display: none; }
.form-status.is-visible { display: block; }

/* Global vertical rhythm – every <section> gets exactly one of these
   (applied by _build/build.py normalize_sections). */
.section { padding-top: 4rem; padding-bottom: 4rem; }
.section-hero { padding-top: 2.5rem; padding-bottom: 4rem; }
@media (min-width: 768px) {
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  .section-hero { padding-top: 3.5rem; padding-bottom: 5rem; }
}
@media (min-width: 1024px) {
  .section { padding-top: 6rem; padding-bottom: 6rem; }
  .section-hero { padding-top: 2.5rem; padding-bottom: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Blog article typography */
.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 600;
  color: #15161b;
  margin: 2.5rem 0 0.75rem;
}
.article-body p { color: #4a4e57; line-height: 1.85; margin: 0 0 1.1rem; font-size: 1.0625rem; }
.article-body a { color: #b40e35; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: #15161b; }
.article-body ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.article-body ul li {
  position: relative;
  padding: .85rem 1rem .85rem 2.75rem;
  border-radius: .9rem;
  background: #f2f4f6;
  border: 1px solid #e2e5e9;
  color: #25262b;
  line-height: 1.6;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: .75rem;
  height: .75rem;
  border-radius: 9999px;
  background: #d6113f;
  box-shadow: 0 0 0 4px #fae0e6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: #d6113f; color: #fff; }
.faq-item a { color: #b40e35; font-weight: 600; text-decoration: underline; }

/* Soft, theme-tinted shadow for bordered cards and boxes (added by build.py) */
.shadow-card {
  box-shadow: 0 1px 2px rgba(21, 22, 27, 0.04), 0 10px 24px -14px rgba(180, 14, 53, 0.22);
  transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.shadow-card:hover,
.shadow-card[open] {
  box-shadow: 0 2px 4px rgba(21, 22, 27, 0.05), 0 20px 38px -16px rgba(180, 14, 53, 0.32);
}
