/* Portraits by David Davis - Elegant Luxury Stylesheet */
:root {
  --bg: #faf9f7;
  --bg-alt: #f3f1ed;
  --text: #2c2c2c;
  --text-light: #5a5a5a;
  --accent: #8b7355;
  --accent-dark: #6b5742;
  --gold: #c9a86c;
  --border: #e5e0d8;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.1);
  --radius: 4px;
  --font-serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1.25rem; color: var(--text-light); }
a { color: var(--accent-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* Layout */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,249,247,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.logo span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f6f2 0%, #efeae3 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 4rem 0;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48%;
  max-width: 580px;
  opacity: 0.95;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--accent-dark);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-dark);
  color: var(--white);
  border-color: var(--accent-dark);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card .icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1.15;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
}

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

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

.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .caption {
  opacity: 1;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(201,168,108,0.15);
}

.price-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: white;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
}

.price-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.price-card .price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--accent-dark);
  margin: 1.25rem 0;
}

.price-card .price span {
  font-size: 1rem;
  color: var(--text-light);
  font-family: var(--font-sans);
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0 2rem;
}

.price-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-light);
}

.price-card li::before {
  content: "✓ ";
  color: var(--gold);
  font-weight: bold;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 3rem;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.7;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info a {
  font-weight: 500;
}

.contact-box {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Footer */
footer {
  background: #2c2c2c;
  color: #c0b8ad;
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

footer .logo {
  color: white;
  margin-bottom: 1rem;
}

footer .logo span {
  color: var(--gold);
}

footer p {
  color: #9a9288;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links a {
  color: #c0b8ad;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.15rem; }

/* Responsive */
@media (max-width: 900px) {
  .two-col,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-image {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 2rem auto 0;
    transform: none;
    top: auto;
    right: auto;
  }
  .hero {
    min-height: auto;
    padding: 3rem 0;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .btn-group {
    justify-content: center;
  }
}

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

/* Page specific */
.page-header {
  background: linear-gradient(135deg, #f8f6f2 0%, #efeae3 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

.page-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-light);
}

/* Quote / highlight */
.highlight-box {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
  font-style: italic;
  color: var(--text);
}

/* Album showcase */
.album-showcase {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin: 3rem 0;
}

.album-showcase img {
  max-width: 280px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}
