/* ==============================================
   Redcrest Photography — main stylesheet
   To update pricing: search for CHANGE THIS
   ============================================== */

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

:root {
  --sky: #f0f4f8;
  --white: #ffffff;
  --sand: #f7f0e6;
  --grass: #4a7c59;
  --grass-light: #e8f0eb;
  --bark: #3d2b1f;
  --text: #2a2018;
  --muted: #7a6e64;
  --border: #e4ddd5;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--bark);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bark);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--grass);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 0;
}
.mobile-menu a {
  display: block;
  padding: 0.9rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.06em;
}
.mobile-menu a:last-child {
  border-bottom: none;
}
.mobile-menu.open {
  display: flex;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  height: 100vh; /* fixed, not min */
  max-height: 900px; /* cap on very tall screens */
  min-height: 560px; /* floor on short screens */
  padding-top: 57px;
}
.hero-image {
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1s ease 0.2s forwards;
  /* image column must not overflow its grid cell */
  min-height: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  /* belt-and-braces: never let the img set its own size */
  max-width: 100%;
  max-height: 100%;
}
.mobile-hero {
  display: none;
}
.desktop-hero {
  display: block;
}
.hero-pill {
  position: absolute;
  bottom: 2rem;
  right: 0;
  background: var(--white);
  padding: 0.9rem 1.5rem 0.9rem 1.2rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grass);
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}
.pill-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bark);
}
.pill-sub {
  font-size: 0.7rem;
  color: var(--muted);
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3.5rem 3rem 3rem;
  background: var(--sand);
  overflow: hidden;
  min-height: 0;
}
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grass);
  font-weight: 600;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}
h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--bark);
  margin-bottom: 1.3rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.55s forwards;
}
h1 em {
  font-style: italic;
  color: var(--grass);
}
.hero-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 360px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.7s forwards;
}
.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grass-light);
  border: 1.5px solid var(--grass);
  color: var(--grass);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 1.3rem;
  align-self: flex-start;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.82s forwards;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bark);
  color: white;
  padding: 0.9rem 1.8rem;
  border: none;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 4px;
  align-self: flex-start;
  transition:
    background 0.25s,
    transform 0.2s;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.95s forwards;
}
.hero-cta:hover {
  background: var(--grass);
  transform: translateY(-2px);
}

/* ── BAND ── */
.band {
  background: var(--grass);
  color: white;
  padding: 1.3rem 2rem;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
}

/* ── HOW IT WORKS ── */
.how-section {
  padding: 5rem 2rem;
  background: var(--white);
  text-align: center;
}
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--grass);
  margin-bottom: 0.7rem;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--bark);
  margin-bottom: 3rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.step {
  padding: 1.8rem 1.4rem;
  background: var(--sky);
  border-radius: 12px;
  text-align: left;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}
.step-num {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.9rem;
}
.step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bark);
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── GALLERY ── */
.gallery-section {
  padding: 5rem 1.5rem;
  background: var(--sand);
}
.gallery-section .section-title {
  text-align: center;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.6fr;
  grid-template-rows: 300px 300px;
  gap: 0.7rem;
  max-width: 1060px;
  margin: 0 auto;
}
.gitem {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  min-width: 0;
  min-height: 0;
}
.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  max-width: 100%;
  max-height: 100%;
}
.gitem:hover img {
  transform: scale(1.05);
}

.gitem:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
}
.gitem:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}
.gitem:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}
.gitem:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}
.gitem:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

/* ── OFFER ── */
/* =====================================================
   CHANGE THIS WHEN READY TO CHARGE
   1. Update .offer-price in index.html
   2. Update .offer-detail in index.html
===================================================== */
.offer-wrapper {
  padding: 5rem 2rem;
  background: var(--white);
}
.offer-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.offer-text .eyebrow {
  text-align: left;
}
.offer-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--bark);
  line-height: 1.2;
  margin-bottom: 1.1rem;
}
.offer-body {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.offer-card {
  background: var(--sand);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grass);
}
.offer-tag {
  display: inline-block;
  background: var(--grass);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}
.offer-price {
  font-family: "Playfair Display", serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--bark);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.offer-detail {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
  line-height: 1.6;
}
.offer-includes {
  list-style: none;
  text-align: left;
  font-size: 0.85rem;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 1.8rem;
}
.offer-includes li::before {
  content: "✓ ";
  color: var(--grass);
  font-weight: 700;
}
.offer-cta {
  display: block;
  width: 100%;
  background: var(--bark);
  color: white;
  padding: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.25s;
}
.offer-cta:hover {
  background: var(--grass);
}

/* ── ABOUT ── */
.about-section {
  padding: 5rem 2rem;
  background: var(--sky);
  text-align: center;
}
.about-inner {
  max-width: 600px;
  margin: 0 auto;
}
.about-inner p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bark);
  text-decoration: none;
  border: 1.5px solid var(--border);
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.social-link:hover {
  border-color: var(--grass);
  color: var(--grass);
}

/* ── CONTACT ── */
.contact-section {
  padding: 5rem 2rem;
  background: var(--white);
  text-align: center;
}
.contact-sub {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.contact-socials {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.contact-social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.6rem 2.4rem;
  border-radius: 12px;
  text-decoration: none;
  min-width: 200px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: 2px solid transparent;
}
.contact-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.contact-social-btn span {
  font-size: 1.05rem;
  font-weight: 700;
}
.contact-social-btn small {
  font-size: 0.78rem;
  opacity: 0.75;
  letter-spacing: 0.02em;
}
.contact-social-btn.tiktok {
  background: var(--bark);
  color: white;
}
.contact-social-btn.instagram {
  background: var(--sand);
  color: var(--bark);
  border-color: var(--border);
}
.contact-social-btn.instagram:hover {
  border-color: var(--bark);
}
.contact-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── FOOTER ── */
footer {
  background: var(--bark);
  color: rgba(255, 255, 255, 0.55);
  padding: 1.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: white;
  font-weight: 400;
}

/* ── ANIMATIONS ── */
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 124, 89, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(74, 124, 89, 0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── TABLET ── */
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
  }

  .mobile-hero {
    display: block;
  }
  .desktop-hero {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    max-height: none;
  }
  .hero-image {
    height: 56vw;
    min-height: 220px;
    max-height: 380px;
  }
  .hero-text {
    padding: 2.5rem 1.5rem 3rem;
    overflow: visible;
  }
  h1 {
    font-size: 2.2rem;
  }
  .hero-body {
    max-width: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 0.5rem;
  }
  .gitem {
    aspect-ratio: 1;
  }
  .gitem.tall {
    grid-row: span 1;
  }
  .gitem.wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
  }

  .offer-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .offer-wrapper {
    padding: 4rem 1.5rem;
  }

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

  footer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .band {
    padding: 1.1rem 1.2rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gitem.wide {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
  .gitem {
    aspect-ratio: 4/3;
  }
}
