/* Woodward Auto Detailing — Coming Soon */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --muted: #c4c4c4;
  --border: rgba(255, 255, 255, 0.12);
  --btn-bg: #f5f5f5;
  --btn-fg: #0a0a0a;
  --btn-hover: #e5e5e5;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

/* Full-bleed detailing background */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
  background-image: url("assets/bg-detailing.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

/* Dark veil so text stays readable over the photo */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.55) 40%,
      rgba(0, 0, 0, 0.78) 100%
    ),
    radial-gradient(
      ellipse at 50% 30%,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.55) 70%
    );
}

/* Subtle grain overlay for depth */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

.header,
.hero,
.footer {
  position: relative;
  z-index: 3;
}

/* Header — more breathing room from top, larger brand mark */
.header {
  padding: 3.5rem 1.5rem 1.5rem;
  display: flex;
  justify-content: center;
}

.logo {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

/* Hero — sit a bit lower so content isn’t jammed to the top */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 4rem 1.5rem 5rem;
  max-width: 48rem;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  animation: fadeUp 0.8s ease both;
}

.headline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.8s ease 0.1s both;
}

.subcopy {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 28rem;
  margin-bottom: 2.75rem;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  animation: fadeUp 0.8s ease 0.2s both;
}

/* Instagram CTA */
.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  animation: fadeUp 0.8s ease 0.3s both;
}

.instagram-btn:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.instagram-btn:active {
  transform: translateY(0);
}

.instagram-btn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.ig-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

/* Footer */
.footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.footer p {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* Entrance */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .eyebrow,
  .headline,
  .subcopy,
  .instagram-btn {
    animation: none;
  }

  .instagram-btn:hover {
    transform: none;
  }
}

/* Small screens */
@media (max-width: 480px) {
  .header {
    padding: 2.75rem 1.25rem 1rem;
  }

  .hero {
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .instagram-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
