/*
Theme Name: IWED Photography
Theme URI: https://iwedphotography.com
Author: Kristin Shelly
Author URI: https://iwedphotography.com
Description: Custom wedding photography theme for IWED Photography by Kristin Shelly — Asheville, NC wedding photographer specializing in weddings, elopements, engagements, and boudoir sessions.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
License: Private
Text Domain: iwed-photography
Tags: photography, wedding, one-page, custom
*/

/* ── Skip to Content (accessibility) ── */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--gold);
  color: #fff;
  padding: 10px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  z-index: 99999;
  transition: top 0.2s;
}
.skip-to-content:focus { top: 10px; }

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: #2d2d2d;
  background: #fff;
  line-height: 1.7;
}

/* ── Brand Colors ── */
:root {
  --gold: #c4871a;
  --gold-light: #dca840;
  --charcoal: #2d2d2d;
  --off-white: #faf8f5;
  --light-gray: #f2eeea;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 50px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,150,90,0.15);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--charcoal);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 1px;
  letter-spacing: 0.15em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--charcoal) !important; color: #fff !important; }

/* ── Hero ── */
#home {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.55;
  transition: transform 0.1s;
}
.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}
.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0.85;
}
.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.hero-btn:hover { background: var(--gold); border-color: var(--gold); }
.hero-scroll {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── Section Shared ── */
section { padding: 100px 50px; }
.section-label {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 30px;
}
.section-title em { font-style: italic; color: var(--gold); }
.divider { width: 50px; height: 1px; background: var(--gold); margin-bottom: 30px; }

/* ── About ── */
#about {
  background: var(--off-white);
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 50px;
}
.about-image {
  flex: 0 0 420px;
  height: 550px;
  background: var(--light-gray);
  overflow: hidden;
  position: relative;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-image-label {
  position: absolute;
  bottom: -1px; left: -1px;
  background: var(--gold);
  color: #fff;
  padding: 10px 20px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.about-text { flex: 1; }
.about-text p { color: #555; margin-bottom: 18px; font-size: 0.92rem; line-height: 1.9; }
.about-signature { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-style: italic; color: var(--gold); margin-top: 10px; }

/* ── Portfolio ── */
#portfolio { background: var(--charcoal); padding: 100px 50px; text-align: center; }
#portfolio .section-label { color: var(--gold-light); }
#portfolio .section-title { color: #fff; }
#portfolio .divider { margin: 0 auto 50px; }
.gallery-grid { columns: 3; column-gap: 8px; max-width: 1400px; margin: 0 auto; }
.gallery-item { break-inside: avoid; cursor: pointer; position: relative; background: #1a1a1a; margin-bottom: 8px; display: block; overflow: hidden; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.6s ease, opacity 0.3s; }
.gallery-item:hover img { transform: scale(1.04); opacity: 0.85; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(184,150,90,0.7) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text { color: #fff; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; }
.gallery-cta { margin-top: 50px; }
.btn-outline-light {
  display: inline-block; padding: 14px 40px;
  border: 1px solid rgba(255,255,255,0.4); color: #fff;
  text-decoration: none; font-size: 0.65rem; letter-spacing: 0.25em;
  text-transform: uppercase; transition: all 0.3s;
}
.btn-outline-light:hover { background: var(--gold); border-color: var(--gold); }

/* ── Pricing ── */
#services { background: var(--off-white); text-align: center; }
#services .section-label, #services .section-title, #services .divider { margin-left: auto; margin-right: auto; }
#services .divider { margin-bottom: 60px; }
.pricing-grid { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; }
.pricing-card {
  background: #fff; border: 1px solid #e8e0d5;
  padding: 50px 40px; flex: 1 1 280px; max-width: 340px;
  text-align: center; position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.pricing-card.featured { background: var(--charcoal); border-color: var(--charcoal); }
.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-desc,
.pricing-card.featured .pricing-features li { color: #fff; }
.featured-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff; font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 18px;
}
.pricing-icon { width: 40px; height: 1px; background: var(--gold); margin: 0 auto 24px; }
.pricing-name { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; color: var(--charcoal); margin-bottom: 10px; }
.pricing-price { font-size: 2.5rem; font-weight: 300; color: var(--gold); margin-bottom: 6px; }
.pricing-price sup { font-size: 1.2rem; vertical-align: super; }
.pricing-starting { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: #999; margin-bottom: 24px; }
.pricing-desc { font-size: 0.82rem; color: #777; margin-bottom: 24px; line-height: 1.7; }
.pricing-features { list-style: none; margin-bottom: 34px; text-align: left; }
.pricing-features li { font-size: 0.8rem; color: #555; padding: 7px 0; border-bottom: 1px solid #f0ebe4; display: flex; align-items: center; gap: 10px; }
.pricing-features li::before { content: '✦'; color: var(--gold); font-size: 0.55rem; flex-shrink: 0; }
.pricing-card.featured .pricing-features li { border-color: rgba(255,255,255,0.1); }
.btn-gold {
  display: inline-block; padding: 13px 32px; background: var(--gold);
  color: #fff; text-decoration: none; font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase; transition: background 0.3s;
  border: none; cursor: pointer; width: 100%;
}
.btn-gold:hover { background: var(--charcoal); }
.btn-outline-dark {
  display: inline-block; padding: 13px 32px; background: transparent;
  color: #fff; text-decoration: none; font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.4); transition: all 0.3s; width: 100%;
}
.btn-outline-dark:hover { background: var(--gold); border-color: var(--gold); }
.pricing-note { margin-top: 50px; font-size: 0.78rem; color: #888; font-style: italic; }

/* ── Contact ── */
#contact { background: var(--charcoal); display: flex; gap: 80px; align-items: flex-start; max-width: 100%; padding: 100px 100px; }
.contact-left { flex: 1; }
.contact-left .section-label { color: var(--gold-light); }
.contact-left .section-title { color: #fff; }
.contact-left .divider { margin-bottom: 24px; }
.contact-left p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.9; margin-bottom: 40px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; color: rgba(255,255,255,0.7); font-size: 0.82rem; }
.contact-detail-icon { width: 36px; height: 36px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.9rem; flex-shrink: 0; }
.contact-form { flex: 1.2; }
.form-row { display: flex; gap: 16px; }
.form-group { flex: 1; margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  padding: 13px 16px; color: #fff; font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem; font-weight: 300; transition: border-color 0.2s; outline: none; appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--charcoal); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 8px; }
.form-submit .btn-gold { width: auto; padding: 15px 50px; }

/* ── Footer ── */
footer { background: var(--charcoal); text-align: center; padding: 40px 50px; }
.footer-tagline { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.footer-social { display: flex; gap: 20px; justify-content: center; margin-bottom: 30px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; transition: all 0.2s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-copy { font-size: 0.62rem; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; }

/* ── Lightbox ── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: #fff; font-size: 2rem; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; }
.lightbox-close:hover { opacity: 1; }

/* ── Promo Popup ── */
.promo-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 10000; align-items: center; justify-content: center; padding: 20px; }
.promo-overlay.open { display: flex; }
.promo-modal { background: var(--charcoal); max-width: 520px; width: 100%; position: relative; text-align: center; overflow: hidden; }
.promo-top-bar { background: var(--gold); padding: 10px 20px; font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: #fff; }
.promo-body { padding: 48px 48px 40px; }
.promo-eyebrow { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.promo-percent { font-family: 'Cormorant Garamond', serif; font-size: clamp(4rem, 12vw, 6.5rem); font-weight: 300; line-height: 1; color: var(--gold); margin-bottom: 4px; }
.promo-off { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; font-style: italic; color: #fff; letter-spacing: 0.1em; margin-bottom: 20px; }
.promo-divider { width: 40px; height: 1px; background: var(--gold); margin: 0 auto 20px; }
.promo-desc { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 32px; }
.promo-desc strong { color: #fff; font-weight: 500; }
.promo-cta { display: inline-block; padding: 14px 40px; background: var(--gold); color: #fff; text-decoration: none; font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; transition: background 0.25s; margin-bottom: 16px; }
.promo-cta:hover { background: #fff; color: var(--charcoal); }
.promo-dismiss { display: block; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.3); cursor: pointer; transition: color 0.2s; background: none; border: none; width: 100%; padding-bottom: 4px; }
.promo-dismiss:hover { color: rgba(255,255,255,0.6); }
.promo-close { position: absolute; top: 14px; right: 18px; color: rgba(255,255,255,0.4); font-size: 1.4rem; cursor: pointer; line-height: 1; transition: color 0.2s; background: none; border: none; }
.promo-close:hover { color: #fff; }

/* ── Hamburger Button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px 4px;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s;
  border-radius: 1px;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { gap: 20px; }
  section { padding: 70px 24px; }
  #about { flex-direction: column; padding: 70px 24px; }
  .about-image { flex: none; width: 100%; height: 380px; }
  .gallery-grid { columns: 2; }
  #contact { flex-direction: column; padding: 70px 24px; gap: 40px; }
  .form-row { flex-direction: column; gap: 0; }
}
@media (max-width: 600px) {
  body { overflow-x: hidden; }
  /* Hamburger visible, nav links hidden by default */
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 61px;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 20px;
    border-bottom: 1px solid rgba(184,150,90,0.2);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(0,0,0,0.05); }
  .nav-links a {
    display: block;
    padding: 15px 28px;
    font-size: 0.72rem;
  }
  .nav-links .nav-cta {
    margin: 12px 28px 4px;
    text-align: center;
    padding: 12px 20px;
    border-radius: 0;
  }
  /* Hero – shift right to show couple */
  .hero-bg { background-position: 68% 30%; }
  /* Gallery */
  .gallery-grid { columns: 1; }
  /* Promo popup */
  .promo-body { padding: 32px 24px 28px; }
  .promo-modal { margin: 0 8px; }
  /* Contact */
  #contact { padding: 60px 20px; }
  .contact-form { min-width: 0 !important; width: 100%; max-width: 100%; }
  .contact-left { max-width: 100%; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; max-width: 100%; } /* prevents iOS zoom */
}
