/* ============================================================
   style.css — Main stylesheet for VA website
   Edit the :root variables below to retheme the entire site
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES — change these to retheme the site
   ============================================================ */
:root {
  /* Colors — Erica A. VA Co. palette */
  --color-bg:        #f8f7f2;        /* cream background */
  --color-surface:   #cdc6b3;        /* warm linen — alt sections, cards */
  --color-ink:       #373333;        /* deep warm brown — body text */
  --color-ink-muted: #9d9d91;        /* muted sage — captions, labels */
  --color-accent:    #6d6249;        /* coffee brown — CTAs, active states */
  --color-accent-lt: #e4dfd4;        /* soft linen tint — hover, backgrounds */
  --color-white:     #ffffff;
  --color-border:    #cdc6b3;        /* warm tan border */

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Sizing */
  --max-width:    1100px;
  --nav-height:   72px;
  --radius:       4px;

  /* Transitions */
  --transition: 0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================================
   PAGE TRANSITION FADE
   ============================================================ */
.page-wrapper {
  animation: pageFadeIn 0.45s ease forwards;
}

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

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }

p {
  font-size: 1rem;
  color: var(--color-ink-muted);
  max-width: 60ch;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background-color: #9a6b4a;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-ink);
}
.btn-outline:hover {
  background-color: var(--color-ink);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn-ghost:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
}

.section {
  padding-block: 6rem;
}

.section--alt {
  background-color: var(--color-surface);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  background-color: var(--color-bg);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 1px 0 var(--color-border);
}

.nav__inner {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}
.nav__logo:hover { opacity: 0.75; }
.nav__logo img { display: block; }

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink);
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width var(--transition);
}

.nav__link:hover { color: var(--color-accent); }
.nav__link:hover::after { width: 100%; }

/* Active page indicator */
.nav__link.active {
  color: var(--color-accent);
}
.nav__link.active::after {
  width: 100%;
}

/* CTA in nav */
.nav__cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.nav__cta:hover {
  background-color: #9a6b4a;
  transform: translateY(-1px);
}

/* Hamburger button (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-ink);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

/* Hamburger → X when open */
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--color-bg);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav__mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.nav__mobile-menu .nav__link {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
}

.nav__mobile-menu .nav__cta {
  margin-top: 1rem;
  font-size: 0.85rem;
  padding: 0.8rem 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-ink);
  color: var(--color-white);
  padding-block: 3rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-white);
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__link {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--color-white); }

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__social-link:hover { color: var(--color-white); }

.footer__social-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  flex-shrink: 0;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: none;
}

/* ============================================================
   HOME PAGE
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__top,
.hero__bottom {
  position: relative;
  z-index: 1;
}

.hero__label {
  margin-bottom: 1.5rem;
}

.hero__headline {
  margin-bottom: 1.5rem;
}

.hero__headline em {
  font-style: italic;
  color: var(--color-accent);
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 2.5rem;
  max-width: 38ch;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ============================================================
   SERVICES PAGE — The Throughline
   ============================================================ */

.throughline-intro {
  padding-inline: 0;
}

.throughline-section {
  padding-top: 0;
}

.throughline-intro__heading {
  margin-bottom: 1.25rem;
}

.throughline-intro__sub {
  max-width: 58ch;
  font-size: 1.05rem;
}

.services-together {
  max-width: 640px;
  margin-inline: auto;
  padding-inline: 0;
}

.services-together .container {
  max-width: 640px;
}

.services-together__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.services-together p {
  color: var(--color-ink-muted);
  margin-bottom: 0.85rem;
  max-width: 54ch;
}

.services-together__note {
  color: var(--color-accent) !important;
  font-style: italic;
  margin-top: 0.5rem;
}

/* The track — holds the vertical line + all items */
.throughline-track {
  position: relative;
  padding-left: 2rem;
}

/* The unbroken vertical accent line */
.throughline-track::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--color-accent) 4%,
    var(--color-accent) 96%,
    transparent 100%
  );
}

/* Each service row */
.throughline-item {
  position: relative;
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0 3rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}

.throughline-item:last-child {
  border-bottom: none;
}

/* Circle on the line */
.throughline-item__marker {
  position: absolute;
  left: -2rem;
  top: 2.4rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-accent);
  transform: translateX(-4px);
  transition: background var(--transition);
}

.throughline-item:hover .throughline-item__marker {
  background-color: var(--color-accent);
}

/* Ghost number */
.throughline-item__number {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-accent-lt);
  padding-top: 0.2rem;
  transition: color var(--transition);
}

.throughline-item:hover .throughline-item__number {
  color: var(--color-accent);
}

/* Service name — the headline of each row */
.throughline-item__name {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.throughline-item:hover .throughline-item__name {
  color: var(--color-accent);
}

/* One-line description */
.throughline-item__desc {
  font-size: 1rem;
  max-width: 52ch;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Minimal detail line */
.throughline-item__details {
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  color: var(--color-ink-muted);
  max-width: none;
  opacity: 0.7;
}

/* Mobile */
@media (max-width: 640px) {
  .throughline-track {
    padding-left: 1.25rem;
  }

  .throughline-item {
    grid-template-columns: 3.5rem 1fr;
    gap: 0 1.25rem;
    padding-block: 2.5rem;
  }

  .throughline-item__number {
    font-size: 2.8rem;
  }

  .throughline-item__marker {
    left: -1.25rem;
  }
}

/* ============================================================
   WHY-VA PAGE
   ============================================================ */
.why-intro {
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
}

.why-intro p { margin-inline: auto; }

.why-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.benefit-block {
  padding: 2rem;
  border-left: 3px solid var(--color-accent);
  background-color: var(--color-white);
}

.benefit-block__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-accent-lt);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.benefit-block__title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.benefit-block__text {
  font-size: 0.9rem;
  max-width: none;
}

/* Pull quote */
.why-quote {
  text-align: center;
  padding-block: 5rem;
}

.why-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-style: italic;
  font-weight: 300;
  color: var(--color-ink);
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.3;
}

.why-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.why-cta {
  text-align: center;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-photo {
  aspect-ratio: 3/4;
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* When you add a real photo, replace the placeholder div with:
   <img src="/images/erica.jpg" alt="Erica — Virtual Assistant"> */

.about-content .label {
  display: block;
  margin-bottom: 1rem;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
  max-width: none;
}

.about-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.about-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}

.about-detail svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
}

.contact-inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.contact-inner .label {
  display: block;
  margin-bottom: 1.5rem;
}

.contact-inner h1 {
  margin-bottom: 1.5rem;
}

.contact-inner .contact-lede {
  font-size: 1.05rem;
  margin-bottom: 3rem;
  margin-inline: auto;
}

.contact-book-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.1rem 3rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(176, 125, 91, 0.3);
}

.contact-book-btn:hover {
  background-color: #9a6b4a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(176, 125, 91, 0.4);
}

.contact-extras {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-extra-link {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}

.contact-extra-link svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

.contact-extra-link:hover {
  color: var(--color-accent);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.notfound {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.notfound h1 {
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 300;
  color: var(--color-accent-lt);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.notfound h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.notfound p {
  margin-inline: auto;
  margin-bottom: 2rem;
}

@keyframes heroImgIn {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {

  /* Show hamburger, hide desktop links */
  .nav__hamburger { display: flex; }
  .nav__links { display: none; }

  /* Hero — headline → portrait image → subtext + CTAs */
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 2.5rem);
    padding-bottom: 3.5rem;
  }

  .hero__top {
    padding-bottom: 2rem;
  }

  .hero__image {
    display: block;
    position: relative;
    top: auto;
    right: auto;
    width: 72%;
    margin-inline: auto;
    height: auto;
    aspect-ratio: 3 / 4;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(55, 51, 51, 0.16);
    animation: heroImgIn 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s both;
  }

  .hero__bottom {
    padding-top: 0;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* About layout stacks on mobile */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-photo {
    aspect-ratio: 1/1;
    max-width: 320px;
    margin-inline: auto;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer__links {
    gap: 1.25rem;
  }

  /* Section spacing */
  .section { padding-block: 4rem; }
}

/* ============================================================
   INQUIRY FORM — about page
   ============================================================ */
.inquiry-separator {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2.5rem 0 2rem;
}

.inquiry-separator::before,
.inquiry-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.inquiry-field label {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.inquiry-field__optional {
  font-size: 0.68rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-ink-muted);
  opacity: 0.7;
}

.inquiry-field input,
.inquiry-field select,
.inquiry-field textarea {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 0;
  outline: none;
  width: 100%;
  transition: border-color var(--transition);
  appearance: none;
}

.inquiry-field input:focus,
.inquiry-field select:focus,
.inquiry-field textarea:focus {
  border-color: var(--color-accent);
}

.inquiry-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239d9d91' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.inquiry-field textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.inquiry-submit {
  align-self: flex-start;
  background-color: var(--color-ink);
  color: var(--color-bg);
  border: none;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition);
  border-radius: 0;
  margin-top: 0.5rem;
}

.inquiry-submit:hover {
  background-color: var(--color-accent);
}

.inquiry-confirm {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.inquiry-error {
  font-size: 0.9rem;
  color: #7a4040;
  padding: 1rem 1.25rem;
  border: 1px solid #d4aaaa;
  background-color: #fdf7f7;
  margin-bottom: 1rem;
}

.inquiry-error a {
  color: var(--color-accent);
}

.inquiry-field--error input,
.inquiry-field--error select,
.inquiry-field--error textarea {
  border-color: #a05050;
}

.inquiry-field__error {
  font-size: 0.72rem;
  color: #7a4040;
  margin-top: 4px;
}
