/*
Theme Name: Halstead Images
Theme URI: https://halsteadimages.com
Author: Halstead Images
Author URI: https://halsteadimages.com
Description: Custom wedding photography theme for Halstead Images
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: halstead-images
Tags: photography, wedding, portfolio
*/

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

:root {
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --charcoal: #1a1a1a;
  --warm-grey: #8a7f72;
  --mid-grey: #6b6258;
  --white: #ffffff;
  --warm-white: #faf8f5;
  --cream: #f0ebe3;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--charcoal); background: var(--white); overflow-x: hidden; }

/* NAV */
nav#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s ease;
  background: transparent;
}
nav#site-nav.scrolled {
  background: rgba(255,255,255,0.97);
  padding: 16px 48px;
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { 
  height: 56px !important; 
  width: auto !important; 
  max-width: 180px !important;
  max-height: 56px !important;
  object-fit: contain;
  transition: all 0.3s; 
}
.nav-logo a img {
  height: 56px !important;
  max-height: 56px !important;
  width: auto !important;
  max-width: 180px !important;
}
nav#site-nav.scrolled .nav-logo img { 
  height: 42px !important; 
  max-height: 42px !important;
}
nav#site-nav.scrolled .nav-logo a img {
  height: 42px !important;
  max-height: 42px !important;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--sans); font-size: 13px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  color: var(--white); transition: color 0.2s;
}
nav#site-nav.scrolled .nav-links a { color: var(--charcoal); }
.nav-links a:hover { color: var(--gold); }
nav#site-nav.scrolled .nav-links a:hover { color: var(--gold); }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 24px; height: 1px; background: white; margin: 6px 0; transition: background 0.3s; }
nav#site-nav.scrolled .nav-mobile-toggle span { background: var(--charcoal); }

/* HERO */
.hero {
  height: 100vh; min-height: 600px;
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2c2420 0%, #1a1510 40%, #2d2218 100%);
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.6) 100%);
}
.hero-content {
  position: relative; text-align: center; color: var(--white);
  padding: 0 24px; max-width: 800px;
  animation: fadeUp 1.2s ease both;
}
.hero-eyebrow {
  font-family: var(--sans); font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 20px; display: block;
}
.hero-headline {
  font-family: var(--serif); font-size: clamp(42px, 8vw, 90px);
  font-weight: 300; line-height: 1.05; margin-bottom: 24px; color: var(--white);
}
.hero-headline em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-family: var(--sans); font-size: 15px; font-weight: 300;
  letter-spacing: 0.5px; line-height: 1.7; color: rgba(255,255,255,0.85);
  margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--white);
  padding: 14px 36px; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: #b8944f; color: var(--white); }
.btn-outline {
  background: transparent; color: var(--white);
  padding: 14px 36px; border: 1px solid rgba(255,255,255,0.5); cursor: pointer;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; font-family: var(--sans);
  animation: bounce 2s ease infinite;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* USP STRIP */
.usp-strip {
  background: var(--charcoal); padding: 20px 48px;
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.usp-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--cream); font-family: var(--sans); font-size: 13px; font-weight: 300;
}
.usp-item span { color: var(--gold); font-size: 18px; }

/* SECTIONS */
section { padding: 100px 48px; }
.section-eyebrow {
  font-family: var(--sans); font-size: 10px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block;
}
.section-title {
  font-family: var(--serif); font-size: clamp(32px, 5vw, 56px);
  font-weight: 300; line-height: 1.1; color: var(--charcoal); margin-bottom: 20px;
}
.section-title em { font-style: italic; }
.section-body {
  font-family: var(--sans); font-size: 15px; font-weight: 300;
  line-height: 1.8; color: var(--warm-grey); max-width: 560px;
}
.divider { width: 48px; height: 1px; background: var(--gold); margin: 20px 0; }

/* ABOUT */
.about { background: var(--warm-white); }
.about-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-image { aspect-ratio: 3/4; background: var(--cream); position: relative; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px; border: 2px solid var(--gold); z-index: 0; pointer-events: none;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.stat { border-left: 2px solid var(--gold); padding-left: 16px; }
.stat-number { font-family: var(--serif); font-size: 36px; font-weight: 300; color: var(--charcoal); line-height: 1; }
.stat-label { font-family: var(--sans); font-size: 11px; color: var(--warm-grey); letter-spacing: 1px; margin-top: 4px; }

/* HOW IT WORKS */
.how { background: var(--white); }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 64px; }
.how-header .section-body { margin: 0 auto; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.how-steps::before {
  content: ''; position: absolute; top: 32px; left: 16.67%; right: 16.67%;
  height: 1px; background: linear-gradient(to right, var(--gold), var(--gold-light), var(--gold));
}
.step { text-align: center; padding: 0 20px; }
.step-number {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--serif); font-size: 24px; font-weight: 300; color: var(--gold);
  position: relative; z-index: 1;
}
.step-title { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--charcoal); margin-bottom: 12px; }
.step-body { font-family: var(--sans); font-size: 14px; color: var(--warm-grey); line-height: 1.7; }

/* PRICING */
.pricing { background: var(--cream); }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-header { text-align: center; margin-bottom: 64px; }
.pricing-header .section-body { margin: 0 auto; }
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card { background: var(--white); padding: 48px 36px; position: relative; transition: transform 0.2s; }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured { background: var(--charcoal); color: var(--white); }
.pricing-card.featured::before {
  content: 'Best Value'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white); font-family: var(--sans);
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase; padding: 4px 16px;
}
.card-label { font-family: var(--sans); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }
.card-title { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--charcoal); margin-bottom: 8px; }
.pricing-card.featured .card-title { color: var(--white); }
.card-price { font-family: var(--serif); font-size: 56px; font-weight: 300; color: var(--charcoal); line-height: 1; margin: 24px 0 8px; }
.pricing-card.featured .card-price { color: var(--gold); }
.card-price-note { font-family: var(--sans); font-size: 12px; color: var(--warm-grey); margin-bottom: 32px; }
.pricing-card.featured .card-price-note { color: rgba(255,255,255,0.5); }
.card-features { list-style: none; margin-bottom: 36px; }
.card-features li { font-family: var(--sans); font-size: 13px; color: var(--warm-grey); padding: 10px 0; border-bottom: 1px solid var(--cream); display: flex; align-items: center; gap: 10px; }
.pricing-card.featured .card-features li { color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.1); }
.card-features li::before { content: '✓'; color: var(--gold); font-weight: 500; flex-shrink: 0; }
.card-note { font-family: var(--sans); font-size: 11px; color: var(--warm-grey); font-style: italic; }
.pricing-card.featured .card-note { color: rgba(255,255,255,0.4); }

/* GALLERY */
.gallery-section { background: var(--white); padding: 100px 0; }
.gallery-header { text-align: center; padding: 0 48px; margin-bottom: 48px; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 4px; }
.gallery-item { background: var(--cream); overflow: hidden; position: relative; }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background 0.3s; }
.gallery-item:hover .gallery-item-overlay { background: rgba(0,0,0,0.15); }
.gallery-cta { text-align: center; padding: 48px 48px 0; }
.envira-gallery-wrap { padding: 0 48px; }

/* TESTIMONIALS */
.testimonials { background: var(--charcoal); padding: 100px 48px; }
.testimonials-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.testimonials .section-eyebrow { color: var(--gold); }
.testimonials .section-title { color: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.testimonial { background: rgba(255,255,255,0.05); padding: 32px 28px; text-align: left; border-top: 2px solid var(--gold); }
.testimonial-text { font-family: var(--serif); font-size: 17px; font-style: italic; font-weight: 300; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { font-family: var(--sans); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.testimonial-stars { color: var(--gold); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }

/* CTA */
.cta-section { background: var(--warm-white); padding: 120px 48px; text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-buttons { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-outline-dark { background: transparent; color: var(--charcoal); padding: 14px 36px; border: 1px solid var(--charcoal); cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }

/* PRICING CTA */
.pricing-cta { text-align: center; margin-top: 48px; }

/* PRICING BADGE */
.card-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white); font-family: var(--sans);
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 16px; white-space: nowrap;
}

/* FOOTER */
footer.site-footer { background: var(--charcoal); padding: 36px 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand { font-family: var(--serif); font-size: 20px; color: rgba(255,255,255,0.5); letter-spacing: 2px; }
.footer-brand img { height: 32px; width: auto; filter: brightness(0) invert(1) opacity(0.5); }
.footer-copy { font-family: var(--sans); font-size: 12px; color: rgba(255,255,255,0.35); letter-spacing: 0.5px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-social a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-family: var(--sans); font-size: 11px; color: rgba(255,255,255,0.35); text-decoration: none; letter-spacing: 1px; }
.footer-links a:hover { color: var(--gold); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* MOBILE */
@media (max-width: 768px) {
  nav#site-nav { padding: 20px 24px; }
  nav#site-nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--charcoal); flex-direction: column; align-items: center; justify-content: center; gap: 32px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links.open a { font-size: 20px; color: var(--white); }
  .nav-mobile-toggle { display: block; z-index: 101; }
  section { padding: 72px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-image { aspect-ratio: 4/3; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .pricing-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .gallery-item:first-child { grid-row: auto; grid-column: 1 / 3; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .usp-strip { padding: 20px 24px; gap: 20px; }
  footer.site-footer { padding: 36px 24px; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .envira-gallery-wrap { padding: 0 24px; }
}
