/*
 * Atlas Marketing (atlasmkt.net) - Shared Stylesheet
 * Minimalist aesthetic: White, warm beige, light grey + deep forest green (#143b1e) accent.
 */

:root {
  --bg-primary: #FAF8F5;
  --bg-secondary: #F2EFE9;
  --text-primary: #161816;
  --text-secondary: #5A5D58;
  --accent-forest: #143b1e;
  --border-subtle: rgba(20, 59, 30, 0.1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-serif-editorial {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Soft studio light behind hero areas */
.studio-glow {
  background: radial-gradient(
    circle at 50% 30%,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(242, 239, 233, 0.45) 45%,
    rgba(250, 248, 245, 0) 75%
  );
}

.studio-shadow {
  box-shadow:
    0 20px 50px -12px rgba(20, 59, 30, 0.07),
    0 4px 16px -4px rgba(74, 55, 40, 0.04);
}

.studio-shadow-hover {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-shadow-hover:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 60px -12px rgba(20, 59, 30, 0.12),
    0 8px 24px -6px rgba(74, 55, 40, 0.06);
}

/* Frame ratios */
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-9-16 { aspect-ratio: 9 / 16; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Image zoom */
.img-zoom-container { overflow: hidden; }
.img-zoom-container img { transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1); }
.img-zoom-container:hover img { transform: scale(1.035); }

/* Header */
.nav-glass {
  background: rgba(250, 248, 245, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav-glass.is-scrolled {
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.nav-link.is-current {
  color: var(--accent-forest);
}

/* Mobile drawer */
#mobile-menu {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

#mobile-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Flow arrows (↓) used in About page */
.flow-step + .flow-step::before {
  content: '↓';
  display: block;
  color: rgba(20, 59, 30, 0.35);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FAF8F5; }
::-webkit-scrollbar-thumb { background: #D0C9BD; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #143b1e; }

/* Form input */
.atlas-input {
  background-color: #FAF8F5;
  border: 1px solid rgba(22, 24, 22, 0.14);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.atlas-input:focus {
  outline: none;
  border-color: #143b1e;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(20, 59, 30, 0.08);
}
