/* =========================================
   Susi Photography — Shared Styles
   Palette: warm cream + slate/dusty blue
   ========================================= */

:root {
  --bg:           #f6f3ee;   /* warm cream */
  --bg-alt:       #efeae3;   /* slightly deeper cream for sections */
  --ink:          #1f2a33;   /* deep slate ink, near-black */
  --ink-soft:     #4a5862;   /* secondary text */
  --muted:        #8a8579;   /* captions, meta */
  --line:         #d9d3c8;   /* hairline divider */
  --blue:         #4a6a85;   /* medium-dark slate blue (primary accent) */
  --blue-deep:    #2f4858;   /* darker blue on hover */
  --blue-soft:    #b9c7d3;   /* tint for backgrounds */
  --placeholder:  #cfc9bf;   /* placeholder block */
  --placeholder-2:#bfb8ac;   /* placeholder block alt */

  --serif: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --sans:  "Inter", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--blue-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  display: inline-block;
}

/* ----------- Navigation ----------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand span { color: var(--blue); }

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 18px var(--gutter);
    gap: 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
}

/* ----------- Buttons ----------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--blue);
  color: var(--bg);
}
.btn.solid {
  background: var(--blue);
  color: var(--bg);
}
.btn.solid:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--bg);
}

/* ----------- Hero ----------- */
.hero {
  padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 80px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-text h1 {
  margin-bottom: 0.3em;
}
.hero-text .accent-line {
  width: 60px;
  height: 1px;
  background: var(--blue);
  margin: 24px 0;
}
.hero-image {
  aspect-ratio: 4 / 5;
  background: var(--placeholder);
  position: relative;
}

/* ----------- Placeholder image styling ----------- */
.ph {
  background: var(--placeholder);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), rgba(0,0,0,0.04));
  pointer-events: none;
}
.ph.alt  { background: var(--placeholder-2); }
.ph.blue { background: var(--blue-soft); color: var(--blue-deep); }

/* ----------- Sections ----------- */
.section {
  padding: clamp(60px, 8vw, 110px) 0;
}
.section.alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 70px);
}
.section-head h2 { margin-bottom: 0.3em; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ----------- Featured grid (Home) ----------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.featured-grid .ph { aspect-ratio: 3 / 4; }
.featured-grid .tall { grid-row: span 2; aspect-ratio: 3 / 5; }
@media (max-width: 820px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid .tall { grid-row: auto; aspect-ratio: 3 / 4; }
}

/* ----------- Portfolio grid ----------- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.portfolio-filters button {
  background: none;
  border: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}
.portfolio-filters button:hover,
.portfolio-filters button.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery .ph { aspect-ratio: 3 / 4; }
.gallery .wide { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (max-width: 820px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .wide { grid-column: span 2; aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* ----------- Service cards ----------- */
.services-list {
  display: grid;
  gap: clamp(40px, 6vw, 90px);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-row .ph { aspect-ratio: 4 / 5; }
.service-row h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.service-row .price {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--blue);
  margin-top: 18px;
  letter-spacing: 0.06em;
}
.service-row ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  color: var(--ink-soft);
}
.service-row li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.service-row li:last-child { border-bottom: 0; }

@media (max-width: 820px) {
  .service-row,
  .service-row.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ----------- About page ----------- */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}
.about-grid .ph { aspect-ratio: 4 / 5; }
.about-text p { font-size: 1.05rem; }
.about-text .signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--blue);
  margin-top: 30px;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ----------- Contact ----------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
.contact-info p { font-size: 1.05rem; }
.contact-info .info-block {
  margin: 30px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.contact-info .info-block:last-child { border-bottom: 0; }
.contact-info .label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
  display: block;
}
.contact-info .value {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
}
.contact-grid .ph { aspect-ratio: 4 / 5; }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ----------- CTA Banner ----------- */
.cta {
  background: var(--blue);
  color: var(--bg);
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 0;
}
.cta h2 { color: var(--bg); }
.cta p { color: rgba(246,243,238,0.85); max-width: 560px; margin: 0 auto 30px; }
.cta .btn {
  border-color: var(--bg);
  color: var(--bg);
}
.cta .btn:hover {
  background: var(--bg);
  color: var(--blue);
}

/* ----------- Footer ----------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 50px 0 30px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-inner h4 {
  color: var(--blue);
  margin-bottom: 14px;
}
.footer-inner a { color: var(--ink-soft); }
.footer-inner a:hover { color: var(--blue); }
.footer-inner ul { list-style: none; padding: 0; margin: 0; }
.footer-inner li { padding: 4px 0; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

/* ----------- Page header (inner pages) ----------- */
.page-header {
  text-align: center;
  padding: clamp(70px, 9vw, 130px) 0 clamp(40px, 5vw, 60px);
}
.page-header h1 { margin-bottom: 0.2em; }
.page-header p { color: var(--ink-soft); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.page-header .accent-line {
  width: 60px;
  height: 1px;
  background: var(--blue);
  margin: 26px auto 0;
}

/* Subtle fade-in */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.fade-up { animation: fadeUp 0.7s ease both; }
