/* ============================================
   NEWLEAF INTERIORS CO.
   Considered interiors, rooted in how you live.
   ============================================ */

:root {
  /* Botanical-warm interior palette */
  --sage: #8FA68C;
  --sage-deep: #6F8A6C;
  --forest: #2D3E2C;
  --cream: #F5F1EA;
  --warm-white: #FAFAF7;
  --sand: #D9CDB8;
  --terracotta: #C97B5A;
  --terracotta-soft: #E5B49B;
  --stone: #6B7B68;
  --charcoal: #2A2A2A;
  --off-white: #FFFDF9;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
}

/* Subtle background texture */
.background-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(143, 166, 140, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 90% 85%, rgba(201, 123, 90, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(217, 205, 184, 0.04) 0%, transparent 60%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 3rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.5px;
}

.logo-amp {
  font-style: italic;
  font-weight: 400;
  color: var(--sage-deep);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--forest);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sage-deep);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--sage-deep);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding: 8rem 4rem 4rem;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--cream) 65%, var(--sand) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(143, 166, 140, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  z-index: 10;
  padding-left: 1rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--sage);
  color: var(--off-white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 30px;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  margin-bottom: 1.75rem;
}

.title-main {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 500;
  color: var(--forest);
  line-height: 1.05;
  letter-spacing: -1.5px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-main em {
  font-style: italic;
  color: var(--sage-deep);
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--stone);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-button {
  display: inline-block;
  padding: 1.05rem 2.25rem;
  background: var(--forest);
  color: var(--off-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(45, 62, 44, 0.2);
}

.cta-button:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45, 62, 44, 0.28);
}

.cta-link {
  color: var(--forest);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.cta-link:hover {
  color: var(--sage-deep);
  border-color: var(--sage-deep);
}

/* Hero image collage */
.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1.05;
  animation: floatIn 1s ease-out 0.3s both;
}

.hero-image {
  position: absolute;
  border-radius: 4px;
  box-shadow: 0 25px 60px rgba(45, 62, 44, 0.18);
  background-size: cover;
  background-position: center;
}

.hero-placeholder {
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-placeholder-1 {
  top: 0;
  left: 0;
  width: 68%;
  height: 72%;
  background: linear-gradient(135deg, #c9c0a8 0%, #a8b3a0 50%, #8FA68C 100%);
}

.hero-placeholder-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,253,249,0.35) 0%, transparent 35%),
    radial-gradient(circle at 75% 70%, rgba(45,62,44,0.18) 0%, transparent 40%);
  border-radius: 4px;
}

.hero-placeholder-2 {
  bottom: 0;
  right: 0;
  width: 50%;
  height: 48%;
  background: linear-gradient(160deg, #E5B49B 0%, #C97B5A 100%);
  z-index: 2;
  border: 6px solid var(--off-white);
}

.hero-placeholder-3 {
  top: 8%;
  right: 0;
  width: 32%;
  height: 32%;
  background: linear-gradient(135deg, #D9CDB8 0%, #b8aa92 100%);
  z-index: 1;
  border: 5px solid var(--off-white);
}

/* ============================================
   SECTION LABELS & TITLES
   ============================================ */

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}

.section-label.center {
  text-align: center;
}

.section-label.light {
  color: var(--terracotta-soft);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section-title.center {
  text-align: center;
}

.section-title.light {
  color: var(--cream);
}

.section-subtitle {
  text-align: center;
  color: var(--stone);
  font-size: 1.05rem;
  margin-bottom: 4rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   STUDIO / ABOUT SECTION
   ============================================ */

.story-section {
  padding: 8rem 0;
  background: var(--off-white);
}

.story-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
}

.story-paragraph {
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.85;
}

.story-paragraph.highlight {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--sage-deep);
  padding-left: 1.5rem;
  border-left: 2px solid var(--sage);
  margin-top: 2rem;
  line-height: 1.5;
}

.story-image {
  position: relative;
}

.story-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background:
    linear-gradient(170deg, rgba(143, 166, 140, 0.25) 0%, transparent 60%),
    linear-gradient(135deg, #D9CDB8 0%, #b8aa92 60%, #8FA68C 100%);
  box-shadow: 0 20px 50px rgba(45, 62, 44, 0.15);
  position: relative;
}

.story-image::before {
  content: '';
  position: absolute;
  top: -18px;
  right: -18px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--sage);
  border-radius: 4px;
  z-index: -1;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.treats-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--off-white) 100%);
}

.treats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.treat-card {
  background: var(--off-white);
  padding: 2.75rem 2rem;
  border-radius: 4px;
  text-align: left;
  box-shadow: 0 10px 40px rgba(45, 62, 44, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(143, 166, 140, 0.18);
  position: relative;
  overflow: hidden;
}

.treat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--terracotta-soft));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.treat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(45, 62, 44, 0.1);
}

.treat-card:hover::before {
  opacity: 1;
}

.treat-icon {
  font-size: 2rem;
  color: var(--sage-deep);
  margin-bottom: 1.25rem;
  display: block;
}

.treat-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.85rem;
}

.treat-card p {
  color: var(--stone);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.treat-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--cream);
  color: var(--sage-deep);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 30px;
  border: 1px solid rgba(143, 166, 140, 0.3);
}

.treats-note {
  margin-top: 3.5rem;
  text-align: center;
}

.treats-note p {
  display: inline-block;
  padding: 1.1rem 2rem;
  background: rgba(143, 166, 140, 0.1);
  border-radius: 4px;
  color: var(--sage-deep);
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid rgba(143, 166, 140, 0.2);
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.memory-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--forest) 0%, #1f2c1f 100%);
  position: relative;
  overflow: hidden;
}

.memory-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(143, 166, 140, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201, 123, 90, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.memory-content {
  position: relative;
  z-index: 10;
}

.memory-subtitle {
  text-align: center;
  color: var(--terracotta-soft);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 4rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto 4rem;
}

.process-step {
  text-align: left;
  padding: 0 0.5rem;
  position: relative;
}

.step-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--sage);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--terracotta-soft);
  font-size: 0.97rem;
  line-height: 1.75;
  opacity: 0.9;
}

.memory-quote {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--cream);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.5;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--cream) 100%);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(143, 166, 140, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(201, 123, 90, 0.06) 0%, transparent 45%);
  pointer-events: none;
}

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-text {
  color: var(--stone);
  font-size: 1.1rem;
  margin: 0 auto 3.5rem;
  line-height: 1.8;
  max-width: 520px;
}

/* The form sits in a stationery card — soft, paper-like, with a thin botanical edge */
.contact-form {
  background: var(--off-white);
  border-radius: 4px;
  padding: 3.5rem 3.25rem 3rem;
  text-align: left;
  margin-bottom: 2.5rem;
  box-shadow:
    0 1px 0 rgba(45, 62, 44, 0.04),
    0 24px 60px -28px rgba(45, 62, 44, 0.22),
    0 8px 24px -16px rgba(45, 62, 44, 0.12);
  position: relative;
  border-top: 3px solid var(--sage);
}

.contact-form::after {
  content: '❦';
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  color: var(--sage-deep);
  font-size: 1rem;
  border-radius: 50%;
  border: 1px solid rgba(143, 166, 140, 0.35);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2rem;
}

.form-field {
  display: block;
  margin-bottom: 2rem;
  position: relative;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.85rem;
}

/* Underline-only inputs — reads like writing on paper, not filling out a web form */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0 0.85rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--forest);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(45, 62, 44, 0.2);
  border-radius: 0;
  transition: border-color 0.3s ease, padding 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236F8A6C' d='M0 0l6 8 6-8z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.15rem center;
  background-size: 0.65rem auto;
  padding-right: 1.75rem;
  cursor: pointer;
  color: var(--forest);
}

.contact-form select:invalid,
.contact-form select option[disabled] {
  color: var(--stone);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
  padding-top: 0.75rem;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-bottom-color: var(--sage);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--sage-deep);
  box-shadow: 0 1px 0 0 var(--sage-deep);
}

.contact-form ::placeholder {
  color: var(--stone);
  opacity: 0.5;
  font-style: italic;
  font-weight: 300;
}

.form-submit {
  margin-top: 1.25rem;
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 1.15rem 2.25rem;
  letter-spacing: 2px;
  font-size: 0.8rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-alt {
  text-align: center;
  color: var(--stone);
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-style: italic;
  margin: 0 0 2rem;
  position: relative;
  z-index: 1;
}

.contact-alt-link {
  color: var(--sage-deep);
  text-decoration: none;
  font-weight: 500;
  font-style: normal;
  font-family: var(--font-body);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 1px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-alt-link:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.paw-divider {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-size: 1.25rem;
  color: var(--sage);
  opacity: 0.5;
}

/* ============================================
   THANK YOU PAGE
   ============================================ */

.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--cream) 65%, var(--sand) 100%);
}

.thanks-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.thanks-text {
  color: var(--stone);
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 1rem 0 2.5rem;
}

.thanks-page .paw-divider {
  margin-top: 2.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--forest);
  padding: 4rem 0 3rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.footer-tagline {
  color: var(--terracotta-soft);
  font-size: 0.95rem;
  font-style: italic;
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
}

.footer-instagram {
  display: inline-block;
  color: var(--sage);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.footer-instagram:hover {
  color: var(--terracotta-soft);
}

.footer-small {
  color: var(--sand);
  font-size: 0.8rem;
  opacity: 0.6;
  letter-spacing: 0.5px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 8rem 2rem 4rem;
    min-height: auto;
  }

  .hero-content {
    padding-left: 0;
    order: 2;
  }

  .hero-image-container {
    order: 1;
    margin-bottom: 2.5rem;
  }

  .hero-image-wrapper {
    max-width: 360px;
  }

  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .nav {
    padding: 1.25rem 1.5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .story-content {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .story-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.78rem;
  }

  .title-main {
    font-size: 2.6rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .treats-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-section,
  .treats-section,
  .memory-section,
  .contact-section {
    padding: 5rem 0;
  }

  .story-paragraph.highlight {
    font-size: 1.15rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row .form-field {
    margin-bottom: 2rem;
  }

  .contact-form {
    padding: 2.75rem 1.75rem 2.25rem;
  }

  .hero {
    padding: 7rem 1.5rem 3rem;
  }
}
