/* ============================================
   Carina Dawson Photography — stylesheet
   ============================================ */

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

:root {
  --cream: #fdfcfb;
  --white: #ffffff;
  --ink: #3a332d;
  --taupe: #7a6a5d;
  --taupe-light: #a89b8d;
  --line: #d8d2c8;
  --band: #eeece9;
  --black: #1c1a18;
  --max-width: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--ink);
  background: var(--white);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.small-caps {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 400;
  color: var(--taupe);
}

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: 44px; }
h2 { font-size: 34px; }
h3 { font-size: 26px; }

p { margin: 0 0 1em; }

.btn {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover { background: var(--taupe); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--black);
  color: var(--black);
}

.btn-outline:hover { background: var(--black); color: var(--white); }

.section { padding: 90px 0; }
.section-tight { padding: 50px 0; }

.divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 40px 0;
}

.centered { text-align: center; }

.seashell-mark {
  width: 90px;
  margin: 0 auto 24px;
  display: block;
  opacity: 0.85;
}

/* ---------------- Header / Nav ---------------- */

header.site-header {
  position: relative;
  z-index: 100;
  background: var(--white);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img { height: 130px; width: auto; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav.main-nav a {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

nav.main-nav a:hover,
nav.main-nav a.active { border-bottom-color: var(--taupe); }

.nav-item.dropdown { position: relative; }

.dropdown-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 11px;
  color: var(--taupe);
  padding: 4px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nav-item.dropdown.open .dropdown-caret { transform: rotate(180deg); }
.nav-item.dropdown:hover .dropdown-caret,
.nav-item.dropdown:focus-within .dropdown-caret { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 170px;
  padding: 6px 0;
  display: none;
  z-index: 200;
  box-shadow: 0 10px 24px rgba(20, 17, 14, 0.08);
}

.dropdown-menu a {
  display: block;
  padding: 11px 20px;
  border-bottom: none;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a.active { background: var(--band); border-bottom-color: transparent; }

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu,
.nav-item.dropdown.open .dropdown-menu { display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 1px;
  background: var(--ink);
  display: block;
}

@media (max-width: 880px) {
  .logo img { height: 90px; }
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 32px 26px;
    border-top: 1px solid var(--line);
    display: none;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }

  .nav-item.dropdown { width: 100%; }
  .dropdown-row { width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .dropdown-row a { border-bottom: none !important; padding: 12px 0; }
  .dropdown-caret { display: block; font-size: 16px; padding: 12px 4px; transition: transform 0.2s ease; }
  .nav-item.dropdown.open .dropdown-caret { transform: rotate(180deg); }
  .nav-item.dropdown:hover .dropdown-menu { display: none; }
  .nav-item.dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 18px;
    min-width: 0;
  }
  .dropdown-menu a { padding: 11px 0; border-bottom: 1px solid var(--line); }
}

/* ---------------- Hero (Home) ---------------- */

.home-hero {
  padding: 50px 0 70px;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 26px;
}

.hero-col {
  height: 660px;
  display: flex;
  flex-direction: column;
}

.hero-col-left {
  justify-content: space-between;
}

.home-hero .tagline {
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-photo { overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-col-left .hero-photo { height: 400px; }

.hero-col-middle .hero-photo { flex: 1; }

.hero-col-right .hero-photo { height: 400px; }

.hero-rotator { position: relative; }
.hero-rotator img { transition: opacity 0.4s ease; }

.carousel-nav {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  font-family: 'Jost', sans-serif;
}

.carousel-nav button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink);
}

@media (max-width: 880px) {
  .hero-mosaic { grid-template-columns: 1fr; gap: 20px; }
  .hero-col { height: auto; }
  .hero-col-left { order: 3; flex-direction: row; gap: 16px; align-items: flex-start; }
  .hero-col-left .tagline { flex: 1; }
  .hero-col-left .hero-photo { height: 160px; width: 140px; flex-shrink: 0; }
  .hero-col-middle { order: 1; }
  .hero-col-middle .hero-photo, .hero-col-right .hero-photo { height: 340px; }
  .hero-col-right { order: 2; }
}

/* ---------------- Positioning statement ---------------- */

.positioning {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  font-size: 23px;
  color: var(--ink);
}

/* ---------------- View my work / category cards ---------------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.category-card { text-align: center; }

.category-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  margin-bottom: 20px;
}

.category-card h3 { margin-bottom: 6px; }

.category-card .see-gallery {
  font-style: italic;
  color: var(--taupe);
  font-size: 17px;
}

@media (max-width: 880px) {
  .category-grid { grid-template-columns: 1fr; }
}

/* ---------------- About teaser / split sections ---------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split img { width: 100%; }

.split .arch-photo {
  position: relative;
  max-width: 420px;
}

.split .arch-photo img { border-radius: 0; }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------------- Testimonials ---------------- */
/* Full-bleed client-review screenshots; quote text, name and "Kind Words"
   label are baked into the images themselves. Left/right hotspots sit over
   the arrow icons printed in each screenshot and crossfade between slides. */

.testimonial-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 2.03 / 1;
  overflow: hidden;
  background: var(--band);
}

.testimonial-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-slide-img.is-active {
  opacity: 1;
}

.testimonial-hotspot {
  position: absolute;
  top: 68%;
  bottom: 3%;
  width: 11%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.testimonial-hotspot.prev { left: 71%; }
.testimonial-hotspot.next { left: 87%; }

@media (max-width: 880px) {
  .testimonial-hotspot { top: 74%; width: 16%; }
  .testimonial-hotspot.prev { left: 62%; }
  .testimonial-hotspot.next { left: 82%; }
}

/* ---------------- Full width banner ---------------- */

.full-banner img { width: 100%; height: 56vw; max-height: 620px; object-fit: cover; }

/* ---------------- Closing CTA ---------------- */

.closing-cta {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}

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

.closing-cta .label { font-style: italic; color: var(--taupe); margin-bottom: 10px; display: block; }

.closing-cta .stacked { display: grid; gap: 24px; }

.closing-cta img { width: 100%; object-fit: cover; }
.closing-cta .stacked img { height: 220px; }
.closing-cta .single img { height: 464px; }

@media (max-width: 880px) {
  .closing-cta { grid-template-columns: 1fr; }
  .closing-cta .stacked { grid-template-columns: 1fr 1fr; }
  .closing-cta .stacked img { height: 180px; }
}

/* ---------------- Footer ---------------- */

footer.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding-top: 50px;
}

.footer-instagram-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.footer-instagram-label .handle { font-family: 'Jost', sans-serif; letter-spacing: 0.08em; }

.instagram-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.instagram-strip img { width: 100%; height: 160px; object-fit: cover; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--taupe);
}

.footer-bottom .socials { display: flex; gap: 16px; font-size: 16px; }

@media (max-width: 880px) {
  .instagram-strip { grid-template-columns: repeat(3, 1fr); }
  .instagram-strip img { height: 120px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-instagram-label { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------------- Quick link band (Home footer section of some pages) ---------------- */

.quicklink-band {
  background: var(--band);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
}

.quicklink-band a {
  padding: 36px 20px;
  font-size: 20px;
  border-right: 1px solid var(--line);
  display: block;
}

.quicklink-band a:last-child { border-right: none; }

@media (max-width: 880px) {
  .quicklink-band { grid-template-columns: 1fr; }
  .quicklink-band a { border-right: none; border-bottom: 1px solid var(--line); }
  .quicklink-band a:last-child { border-bottom: none; }
}

/* ---------------- Page hero (interior pages) ---------------- */

.page-hero {
  text-align: center;
  padding: 70px 0 30px;
}

.page-hero .small-caps { display: block; margin-bottom: 14px; }

.page-hero h1 { max-width: 780px; margin: 0 auto; }

.flanking-photos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin: 40px 0;
}

.flanking-photos img { height: 360px; object-fit: cover; width: 100%; }

.flanking-photos .center { text-align: center; padding: 0 20px; }

@media (max-width: 880px) {
  .flanking-photos { grid-template-columns: 1fr; }
  .flanking-photos img { height: 260px; }
  .flanking-photos .center { order: -1; }
}

/* ---------------- Pull quote band ---------------- */

.pull-quote {
  background: var(--band);
  text-align: center;
  padding: 60px 40px;
}

.pull-quote p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 24px;
  font-style: italic;
  color: var(--ink);
}

/* ---------------- Two column text ---------------- */

.two-col-photo {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.two-col-photo h4 {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 15px;
  color: var(--taupe);
  margin-bottom: 14px;
}

@media (max-width: 880px) {
  .two-col-photo { grid-template-columns: 1fr; text-align: center; }
}

/* ---------------- Packages / pricing ---------------- */

.package {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}

.package:nth-child(even) .package-photo { order: 2; }

.package-label {
  font-style: italic;
  color: var(--taupe);
  display: block;
  margin-bottom: 10px;
}

.package ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.package li {
  padding: 8px 0 8px 26px;
  position: relative;
  border-bottom: 1px dotted var(--line);
}

.package li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--taupe);
}

.package .price {
  font-size: 30px;
  margin: 18px 0;
}

.package-photo img { width: 100%; height: 440px; object-fit: cover; }

@media (max-width: 880px) {
  .package, .package:nth-child(even) .package-photo { grid-template-columns: 1fr; order: initial; }
}

/* ---------------- FAQ ---------------- */

.faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq-item h4 { font-size: 21px; margin-bottom: 10px; }

/* ---------------- Gallery grid ---------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-grid figure { margin: 0; overflow: hidden; cursor: pointer; }

.gallery-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid figure:hover img { transform: scale(1.04); }

@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 220px; }
}

/* lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 14, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 30px;
}

.lightbox.open { display: flex; }

.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; }

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 34px;
  color: var(--white);
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
  padding: 10px 16px;
}

.lightbox-arrow.prev { left: 10px; }
.lightbox-arrow.next { right: 10px; }

/* ---------------- Contact form ---------------- */

.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--taupe);
  margin-bottom: 8px;
}

.contact-form .req::after { content: ' *'; color: var(--taupe); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  margin-bottom: 26px;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form .checkbox-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  font-size: 18px;
}

.contact-form .checkbox-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: normal;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 0;
}

.contact-form .helper-text {
  font-style: italic;
  color: var(--taupe);
  font-size: 15px;
  margin-top: -18px;
  margin-bottom: 26px;
}

.contact-form .form-note { font-style: italic; margin-bottom: 20px; }

.contact-form .consent-row {
  margin: 4px 0 30px;
  padding: 18px 20px;
  background: var(--band);
  border: 1px solid var(--line);
}

.contact-form .consent-row label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-transform: none;
  letter-spacing: normal;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 0;
  cursor: pointer;
}

.contact-form .consent-row input[type="checkbox"] {
  margin-top: 5px;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  accent-color: var(--ink);
}

.contact-form .req-inline { color: var(--taupe); }

.honeypot { position: absolute; left: -9999px; }

/* ---------------- Utility ---------------- */

.bg-band { background: var(--band); }

@media (max-width: 880px) {
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .section { padding: 60px 0; }
}
