/* ==========================================================================
   Ann Forde Photography — stylesheet
   ========================================================================== */

:root {
  --ink: #15130f;
  --ink-soft: #2a261f;
  --cream: #f7f3ec;
  --cream-soft: #efe9dd;
  --gold: #b8935a;
  --gold-light: #d9bd8f;
  --muted: #7a7368;
  --white: #ffffff;
  --radius: 2px;
  --maxw: 1200px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 110px 32px;
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

.section-sub { color: var(--muted); margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  text-align: center;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--gold); }
.btn-ghost { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--cream); }
.btn-full { width: 100%; border: none; }

/* Placeholder backgrounds (swap in real photos via CSS background-image URLs in the HTML) */
.placeholder-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--ink-soft);
  background-image:
    linear-gradient(135deg, rgba(184,147,90,0.35), rgba(21,19,15,0.85)),
    var(--fallback, none);
  position: relative;
}
.placeholder-bg::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 26px 0;
}
.site-header.scrolled {
  background: rgba(21,19,15,0.94);
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
  padding: 14px 0;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--white);
}
.logo-main {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}
.logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--gold-light);
}
.main-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
}
.main-nav a {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}
.main-nav a:hover::after { right: 0; }
.nav-cta { margin-left: 30px; border-color: var(--white); color: var(--white); }
.nav-cta:hover { background: var(--white); color: var(--ink); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 
0;background-size: contain;
  --fallback: radial-gradient(circle at 30% 20%, #3a2f22, #15130f 70%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.6) 100%);}
.hero-content {
    position: relative;
    top: 180px;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 780px;
    padding: 0 24px;
}

.hero-content .eyebrow { color: var(--gold-light); }
.hero-content h1 {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-style: italic;
  margin-bottom: 20px;
color: white;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-cue span {
  display: block;
  width: 1px; height: 46px;
  background: rgba(255,255,255,0.55);
  position: relative;
}
.scroll-cue span::after {
  content: '';
  position: absolute;
  bottom: 0; left: -2.5px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-14px); opacity: 0.3; } }

/* ---------------- Announcement ---------------- */
.announce {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 14px 24px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.86rem;
}
.announce strong { color: var(--gold-light); }
.announce a {
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
  white-space: nowrap;
}

/* ---------------- About ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-media {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  --fallback: radial-gradient(circle at 70% 30%, #4a3c28, #15130f 75%);
}
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; max-width: 52ch; }
.about-copy h2 { margin-bottom: 22px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 30px !important;
}

/* ---------------- Services ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.service-card { text-align: center; padding: 10px; }
.service-icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  color: var(--gold);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------------- Split sections (Maternity / Weddings) ---------------- */
.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.split-grid.split-reverse .split-media { order: 2; }
.split-grid.split-reverse .split-copy { order: 1; }
.split-media {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  --fallback: radial-gradient(circle at 30% 70%, #4a3c28, #15130f 75%);
}
.split-copy p { color: var(--ink-soft); margin-bottom: 18px; max-width: 52ch; }
.split-copy h2 { margin-bottom: 22px; font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* ---------------- Gallery ---------------- */
/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3 columns on desktop */
  gap: 18px;
  grid-auto-rows: 550px;                   /* matches the portrait shape of the real photos */
}

.gallery-item {
  position: relative;
  background-size: cover;
  background-position: center 20%;         /* keeps faces higher in the frame */
  background-repeat: no-repeat;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item.g-tall {
  grid-row: span 2;                        /* optional tall items */
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.gallery-item .g-num {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* Tablet */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);  /* 2 side-by-side */
    grid-auto-rows: 180px;
    gap: 12px;
  }
}
/* ---------------- Press ---------------- */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.press-item {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  --fallback: linear-gradient(160deg, #4a3c28, #15130f);
}
.press-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}
.press-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.press-mag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--white);
}
.press-issue {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---------------- Pricing ---------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.price-card {
  background: var(--white);
  padding: 46px 36px;
  border: 1px solid rgba(21,19,15,0.08);
  border-radius: var(--radius);
  text-align: center;
}
.price-card h3 { font-size: 1.35rem; margin-bottom: 16px; }
.price-card p { color: var(--muted); margin-bottom: 20px; font-size: 0.95rem; }
.price-card ul { margin-bottom: 30px; text-align: left; }
.price-card ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.92rem;
  border-top: 1px solid rgba(21,19,15,0.06);
}
.price-card ul li:first-child { border-top: none; }
.price-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 17px;
  width: 8px; height: 1px;
  background: var(--gold);
}
.price-card-featured {
  background: var(--ink);
  color: var(--cream);
  transform: scale(1.04);
  box-shadow: 0 30px 60px rgba(21,19,15,0.18);
}
.price-card-featured h3, .price-card-featured p, .price-card-featured ul li { color: var(--cream); }
.price-card-featured ul li { border-color: rgba(247,243,236,0.12); }
.price-tag {
  display: inline-block;
  color: var(--gold-light) !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem !important;
  margin-bottom: 14px !important;
}

/* ---------------- Contact ---------------- */
.contact { background: var(--cream-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.contact-info p { color: var(--ink-soft); max-width: 46ch; margin-bottom: 34px; }
.contact-details { margin-bottom: 34px; }
.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-top: 1px solid rgba(21,19,15,0.1);
}
.contact-details li:last-child { border-bottom: 1px solid rgba(21,19,15,0.1); }
.contact-details .label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-details a:hover { color: var(--gold); }
.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 42px; height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.social-links svg { width: 18px; height: 18px; }
.social-links a:hover { background: var(--ink); color: var(--cream); }

.contact-form {
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(21,19,15,0.16);
  border-radius: var(--radius);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: var(--cream); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-brand .logo-main { color: var(--cream); }
.footer-brand p { color: rgba(247,243,236,0.6); margin-top: 10px; font-size: 0.88rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(247,243,236,0.75); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-social a { color: rgba(247,243,236,0.75); font-size: 0.9rem; }
.footer-social a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(247,243,236,0.1);
  padding: 22px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(247,243,236,0.5);
}

/* ---------------- Lightbox ---------------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,9,7,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 2px; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 34px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------------- Scroll reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .contact-grid, .split-grid { grid-template-columns: 1fr; gap: 46px; }
  .split-grid.split-reverse .split-media, .split-grid.split-reverse .split-copy { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card-featured { transform: none; }
}


@media (max-width: 760px) {
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(21,19,15,0.98);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
  }
  .section { padding: 80px 22px; }
  .footer-inner { flex-direction: column; }
}

/* ===== PRICING - FOUR BLACK CARDS ===== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing .price-card {
  background: #15130f;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.08);
}

.pricing .price-card h3,
.pricing .price-card p,
.pricing .price-card li {
  color: #ffffff;
}

.pricing .price-card .price {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
}

.pricing .price-card li {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.pricing .price-card li::marker {
  color: #c6a15b;
}

.pricing .price-card .btn {
  background: #c6a15b;
  color: #15130f;
  border-color: #c6a15b;
}

.pricing .price-card .btn:hover {
  background: #ffffff;
  color: #15130f;
  border-color: #ffffff;
}

/* Keep all four cards the same height */
.pricing .price-card {
  height: 100%;
  box-sizing: border-box;
}

/* Tablet */
@media (max-width: 1000px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================= MOBILE ================= */

@media (max-width: 760px) {

    /* Header */
    .site-header {
        background: rgba(21, 19, 15, 0.97);
        padding: 16px 0;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
        height: auto;
        padding: 90px 20px 50px;
        box-sizing: border-box;
        overflow: visible;
    }

    /* Hide desktop navigation */
    .main-nav,
    .nav-cta {
        display: none;
    }

    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Main hero text */
    .hero-content {
        position: relative;
      top: 110px;

        max-width: 100%;
        padding: 0 18px;
        text-align: center;
        z-index: 3;
    }

    /* Perth, Western Australia */
    .hero-content .eyebrow {
        position: relative;
top: -10px;
  margin-bottom: 10px;
font-size: 12px;
text-shadow: 0 1px 4px rgba(0,0,0,0.8);
line-height: 1.3;

    }

    /* Main heading */
    .hero-content h1 {
        font-size: 26px;
        line-height: 1.1;
        margin-bottom: 14px;
    }

    /* Main paragraph */
    .hero-content p {
        font-size: 13px;
        line-height: 1.35;
    }

    /* Empowering Women */

.hero-sub {
    font-size: 12px;

    line-height: 1.3;

    margin-bottom: 18px;
}

    /* Buttons */
    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-top: 8px;
    }
 .hero-actions .btn {
  }
  .hero-actions .btn-ghost {
    margin-top: 14px;
  }

}

@media (max-width: 760px) {
/* ===== MOBILE ABOUT + PRESS ===== */

/* Make About photo smaller on mobile */
.about-media {
    width: 55%;
    margin: 0 auto;
}
/* ===== MOBILE GALLERY ===== */
@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
  }

  .gallery-item {
    background-size: cover;
    background-position: center 18%;
  }

  /* Kill the tall/skinny ones on mobile */
  .gallery-item.g-tall {
    grid-row: span 1 !important;
  }
}

/* ===== MOBILE PRESS ===== */
/* ===== MOBILE PRESS ===== */
@media (max-width: 760px) {
  .press-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 100%;
    padding: 0 10px;
    justify-content: center;
  }

  .press-item {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 0.77;                 /* matches the actual cover images */
    margin: 0 !important;
    background-size: contain !important;   /* shows the whole cover, no side cropping */
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: var(--ink-soft);
  }

  /* Hide the “Featured Publication” text */
  .press-caption {
    display: none !important;
  }

  /* Keep Pricing one column on mobile */
  .pricing-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }
}
}
