/*
  Aurelian Photography — Minimalist Theme
  Palette: White (#fff), Black (#000), Charcoal (#2b2b2b)
  Typeface: Montserrat (preferred), Calibri (fallback), system sans
*/

:root {
  --bg: #ffffff;
  --text: #0d0d0d;
  --charcoal: #2b2b2b;
  --muted: #7a7a7a;
  --border: #e6e6e6;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', Calibri, 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.site-header { position: sticky; top: 0; background: var(--bg); border-bottom: 1px solid var(--border); z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.brand { font-weight: 600; color: var(--text); text-decoration: none; letter-spacing: 0.5px; font-size: 16px; }
.nav { display: flex; flex-wrap: wrap; gap: 8px; }
.nav a { color: var(--text); text-decoration: none; padding: 6px 12px; opacity: 0.9; font-size: 14px; }
.nav a[aria-current="page"] { font-weight: 500; opacity: 1; border-bottom: 2px solid var(--charcoal); }
.nav a:hover { opacity: 1; }

/* Hamburger menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.3s; border-radius: 1px; }
.menu-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translateY(10px); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translateY(-10px); }

/* Hero */
.hero { padding: 56px 0 32px; background: var(--bg); }
.hero-inner { text-align: center; }
.hero h1 { font-size: clamp(24px, 5vw, 52px); margin: 0 0 12px; letter-spacing: -0.5px; }
.lede { color: var(--muted); max-width: 720px; margin: 0 auto 16px; font-size: 14px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn { display: inline-block; padding: 10px 16px; border: 1px solid var(--charcoal); color: var(--charcoal); text-decoration: none; border-radius: 6px; font-size: 14px; white-space: nowrap; }
.btn.primary { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.btn.black { background: #000; color: #fff; border-color: #000; }
.btn.black:hover { color: #fff; }
.btn:hover { transform: translateY(-1px); }

/* Sections */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 20px; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.gallery-grid figure { margin: 0; grid-column: span 6; }
.gallery-grid figure a { display: block; border-radius: 2px; overflow: hidden; transition: box-shadow 0.18s ease, transform 0.18s ease; }
.gallery-grid figure a:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18); transform: translateY(-2px); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; display: block; background: #f5f5f5; }

/* Page head */
.page-head { padding: 32px 0 8px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.page-head h1 { margin: 0 0 6px; font-size: 28px; }
.page-head .lede { margin: 0; font-size: 14px; }

/* Contact */
.contact-card { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin: 8px 0 16px; }
.contact-card > div { grid-column: span 4; border: 1px solid var(--border); border-radius: 8px; padding: 16px; background: #fafafa; }
.contact-card h2 { margin: 0 0 6px; font-size: 16px; }
.contact-card p { margin: 0; font-size: 14px; }
.note { color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 32px; }
.footer-inner { height: 56px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }

/* Links */
a { color: var(--charcoal); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 8px; }
.card { grid-column: span 4; border: 1px solid var(--border); border-radius: 10px; padding: 18px; background: #ffffff; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.featured-card { border-color: var(--charcoal); }
.card h2 { margin: 0 0 6px; font-size: 18px; }
.price { font-size: 20px; font-weight: 600; color: var(--charcoal); margin: 4px 0 10px; }
.features { list-style: none; padding: 0; margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.features li { margin: 5px 0; }

/* Deposit */
.deposit-section { text-align: center; margin-top: 24px; padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: #fafafa; }
.deposit-section h3 { margin: 0 0 8px; font-size: 16px; }
.deposit-section p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.deposit-section .btn { margin-top: 8px; }

/* Lightbox */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 100; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.lightbox-overlay.is-open { opacity: 1; pointer-events: auto; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; display: flex; align-items: center; justify-content: center; }
.lightbox-content img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.lightbox-meta { position: absolute; bottom: -44px; left: 50%; transform: translateX(-50%); color: #f5f5f5; font-size: 12px; display: flex; gap: 8px; align-items: center; opacity: 0.92; flex-wrap: wrap; justify-content: center; }
.lightbox-count { padding: 3px 6px; background: rgba(0,0,0,0.6); border-radius: 999px; }
.lightbox-caption { padding: 3px 8px; background: rgba(0,0,0,0.6); border-radius: 999px; }
.lightbox-close { position: absolute; top: -12px; right: -12px; background: rgba(0,0,0,0.75); color: #fff; border: none; width: 32px; height: 32px; border-radius: 16px; cursor: pointer; font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: rgba(0,0,0,0.9); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.75); color: #fff; border: none; width: 40px; height: 40px; border-radius: 20px; cursor: pointer; font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: rgba(0,0,0,0.9); }
.lightbox-prev { left: -50px; }
.lightbox-next { right: -50px; }

body.lightbox-open main,
body.lightbox-open header,
body.lightbox-open footer { filter: blur(6px); }

/* Mobile: 480px and down */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-inner { height: 48px; gap: 12px; }
  .brand { font-size: 14px; }
  .nav { position: absolute; top: 48px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .nav.is-open { max-height: 200px; }
  .nav a { padding: 12px 16px; font-size: 13px; border-bottom: 1px solid var(--border); border: none; display: block; }
  .nav a[aria-current="page"] { border-bottom: none; background: #f5f5f5; }
  .menu-toggle { display: flex; flex-direction: column; gap: 0; }
  .hero { padding: 40px 0 24px; }
  .hero h1 { font-size: clamp(20px, 5vw, 32px); }
  .lede { font-size: 13px; margin: 0 auto 12px; }
  .cta { gap: 8px; }
  .btn { padding: 8px 14px; font-size: 12px; }
  .section-head { gap: 8px; }
  .section-head h2 { font-size: 18px; }
  .section-head p { font-size: 12px; }
  .gallery-grid { gap: 8px; }
  .gallery-grid figure { grid-column: span 12; }
  .page-head { padding: 24px 0 8px; }
  .page-head h1 { font-size: 22px; }
  .contact-card { gap: 10px; }
  .contact-card > div { grid-column: span 12; padding: 12px; }
  .contact-card h2 { font-size: 14px; }
  .contact-card p { font-size: 13px; }
  .note { font-size: 12px; }
  .footer-inner { height: 48px; font-size: 11px; }
  .pricing-grid { gap: 10px; }
  .card { grid-column: span 12; padding: 14px; }
  .card h2 { font-size: 16px; margin-bottom: 4px; }
  .price { font-size: 18px; }
  .features { font-size: 12px; margin-bottom: 10px; }
  .features li { margin: 4px 0; }
  .deposit-section { margin-top: 16px; padding: 14px; }
  .deposit-section h3 { font-size: 14px; margin-bottom: 6px; }
  .deposit-section p { font-size: 12px; margin-bottom: 10px; }
  .lightbox-nav { width: 36px; height: 36px; font-size: 14px; }
  .lightbox-prev { left: -40px; }
  .lightbox-next { right: -40px; }
  .lightbox-meta { bottom: -40px; font-size: 11px; gap: 6px; }
  .lightbox-close { width: 28px; height: 28px; font-size: 14px; top: -8px; right: -8px; }
}

/* Tablet: 481px to 900px */
@media (max-width: 900px) and (min-width: 481px) {
  .container { padding: 0 18px; }
  .header-inner { height: 52px; }
  .brand { font-size: 15px; }
  .nav a { font-size: 13px; padding: 5px 10px; }
  .hero { padding: 48px 0 28px; }
  .hero h1 { font-size: clamp(26px, 5.5vw, 42px); }
  .lede { font-size: 13px; margin: 0 auto 14px; }
  .btn { padding: 10px 16px; font-size: 13px; }
  .gallery-grid { gap: 10px; }
  .gallery-grid figure { grid-column: span 12; }
  .page-head { padding: 32px 0 8px; }
  .page-head h1 { font-size: 26px; }
  .contact-card { gap: 12px; }
  .contact-card > div { grid-column: span 12; }
  .card { grid-column: span 12; }
  .pricing-grid { gap: 12px; }
  .footer-inner { height: 52px; font-size: 13px; }
}
