/* ====================================================================
   Claudiu Daj — Photography site
   Design tokens
   - Ink:        #271B1A   (near-black warm ink, text)
   - Ivory:      #FAF4EC   (warm paper background)
   - Wine:       #6E2A35   (deep burgundy, primary accent)
   - Rose:       #C98E8E   (dusty rose, secondary accent)
   - Gold:       #C7A05B   (soft gold, hairlines / signature)
   Type:
   - Display: 'Cormorant Garamond' (romantic serif, restrained)
   - Body:    'Jost' (clean geometric sans)
   - Utility: 'Jost' uppercase, tracked, small
   ==================================================================== */

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

:root {
  --ink: #271B1A;
  --ivory: #FAF4EC;
  --ivory-dim: #F1E8DA;
  --wine: #6E2A35;
  --wine-dark: #4E1D26;
  --rose: #C98E8E;
  --gold: #C7A05B;
  --line: rgba(39, 27, 26, 0.14);
  --shadow: 0 18px 40px -18px rgba(39, 27, 26, 0.35);

  --display: 'Cormorant Garamond', serif;
  --body: 'Jost', sans-serif;

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 500;
  margin: 0 0 .4em;
  letter-spacing: .01em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-style: italic;
  font-weight: 500;
}

h3 {
  font-size: 1.3rem;
  letter-spacing: .04em;
}

p {
  margin: 0 0 1em;
}

.eyebrow {
  font-family: var(--body);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 500;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 244, 236, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: .03em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand .dot {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.nav a {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  font-weight: 500;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav a.active {
  color: var(--wine);
}

.lang-switch {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-switch button {
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  padding: 3px;
  border-radius: 50%;
  line-height: 0;
  opacity: .55;
  transition: opacity .2s, border-color .2s, transform .2s;
}

.lang-switch button img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.lang-switch button:hover {
  opacity: .85;
  transform: translateY(-1px);
}

.lang-switch button.active {
  opacity: 1;
  border-color: var(--gold);
}

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

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

@media (max-width:880px) {
  .nav {
    position: fixed;
    inset: 0 0 0 30%;
    top: 67px;
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px var(--pad);
    gap: 26px;
    transform: translateX(100%);
    transition: transform .4s ease;
    border-left: 1px solid var(--line);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav a {
    font-size: 1rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(39, 27, 26, .08), rgba(39, 27, 26, .55)), var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
}

.hero-inner {
  position: relative;
  z-index: 2;
  color: var(--ivory);
  padding: 0 var(--pad) 72px;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

.hero-inner .eyebrow {
  color: var(--rose);
}

.hero-frame {
  position: absolute;
  inset: 24px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(250, 244, 236, .35);
}

.hero-frame::before,
.hero-frame::after,
.hero-frame span::before,
.hero-frame span::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--gold);
  border-style: solid;
}

.hero-frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.hero-frame::after {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

.hero-frame span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-frame span::before {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}

.hero-frame span::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.hero h1 {
  max-width: 780px;
}

.hero p.lead {
  max-width: 520px;
  font-size: 1.05rem;
  color: rgba(250, 244, 236, .85);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background .3s, color .3s, border-color .3s;
}

.btn:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--ivory);
}

.btn-light {
  border-color: var(--ivory);
  color: var(--ivory);
}

.btn-light:hover {
  background: var(--ivory);
  color: var(--ink);
}

.btn-wine {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--ivory);
}

.btn-wine:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
}

/* ---------- Sections ---------- */
section {
  padding: clamp(60px, 10vw, 120px) 0;
}

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 18px 0;
}

.section-head.center .divider {
  margin-left: auto;
  margin-right: auto;
}

.tinted {
  background: var(--ivory-dim);
}

.dark {
  background: var(--ink);
  color: var(--ivory);
}

.dark .eyebrow {
  color: var(--rose);
}

/* ---------- Gallery / Masonry ---------- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filters button {
  background: none;
  border: 1px solid var(--line);
  padding: 9px 18px;
  cursor: pointer;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  font-family: var(--body);
  transition: all .25s;
}

.filters button:hover,
.filters button.active {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--ivory);
}

.masonry {
  column-count: 3;
  column-gap: 18px;
}

@media (max-width:980px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width:560px) {
  .masonry {
    column-count: 1;
  }
}

.g-item {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: 2px;
  box-shadow: 0 10px 30px -16px rgba(39, 27, 26, .4);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s;
}

.g-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s ease;
}

.g-item:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 24px 46px -16px rgba(39, 27, 26, .5);
  z-index: 2;
}

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

.g-item .g-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(39, 27, 26, .78), transparent);
  color: var(--ivory);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}

.g-item:hover .g-cap {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 14, 13, .97);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.lightbox img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  user-select: none;
  -webkit-user-drag: none;
  animation: lbIn .35s ease;
}

@keyframes lbIn {
  from {
    opacity: 0;
    transform: scale(.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: none;
  border: 1px solid rgba(250, 244, 236, .3);
  color: var(--ivory);
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-family: var(--display);
  transition: background .25s, border-color .25s;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: rgba(250, 244, 236, .12);
  border-color: var(--gold);
}

.lb-close {
  top: 24px;
  right: 24px;
}

.lb-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(250, 244, 236, .7);
  font-size: .78rem;
  letter-spacing: .1em;
}

@media (max-width:640px) {
  .lb-prev {
    left: 6px;
  }

  .lb-next {
    right: 6px;
  }

  .lb-close {
    top: 14px;
    right: 14px;
  }
}

/* ---------- Cards / grid ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

@media (max-width:880px) {

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 40px 32px;
  transition: box-shadow .3s, transform .3s;
}

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

/* Pricing */
.price-card {
  border: 1px solid var(--line);
  padding: 44px 34px;
  position: relative;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.price-card .tag {
  position: absolute;
  top: -13px;
  right: 30px;
  background: var(--wine);
  color: var(--ivory);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
}

.price {
  font-family: var(--display);
  font-size: 2.6rem;
  font-style: italic;
  color: var(--wine);
  margin: 6px 0 18px;
}

.price span {
  font-size: 1rem;
  font-family: var(--body);
  color: var(--ink);
  font-style: normal;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.price-card li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: .92rem;
}

.price-card li:first-child {
  border-top: none;
}

/* Contact */
.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wine);
  display: block;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-family: var(--body);
  font-size: .95rem;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--wine);
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width:600px) {
  .row-2 {
    grid-template-columns: 1fr;
  }
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}

.info-list li:first-child {
  border-top: none;
}

.info-list b {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  min-width: 90px;
  color: var(--wine);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(250, 244, 236, .75);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.site-footer h4 {
  color: var(--ivory);
  font-style: italic;
  margin-bottom: 18px;
}

.site-footer a {
  opacity: .8;
  transition: opacity .2s;
}

.site-footer a:hover {
  opacity: 1;
  color: var(--gold);
}

.site-footer .foot-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-bottom {
  border-top: 1px solid rgba(250, 244, 236, .12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
  opacity: .6;
}

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

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Utility */
.center {
  text-align: center;
}

.mt0 {
  margin-top: 0;
}

[data-i18n],
[data-i18n-ph] {}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--wine);
  color: #fff;
  padding: 10px 16px;
  z-index: 2000;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* ========== ADDITIONS & POLISH ========== */

/* Scroll cue on hero */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(250, 244, 236, .6);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: fadeUp 1.6s 1.2s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(250, 244, 236, .5));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: .6;
  }

  50% {
    transform: scaleY(.5);
    opacity: 1;
  }
}

/* Lazy image fade-in */
img {
  transition: opacity .4s ease;
}

img[loading] {
  opacity: 0;
}

img.loaded {
  opacity: 1;
}

/* Stats number accent */
.stat-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 3rem;
  color: var(--wine);
  line-height: 1;
  margin-bottom: 6px;
}

/* About portrait frame */
.portrait-frame {
  position: relative;
  display: inline-block;
  width: 100%;
}

.portrait-frame::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  border: 1px solid var(--gold);
  z-index: -1;
}

/* Process step line connector */
.process-steps {
  display: grid;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.process-step:first-child {
  border-top: none;
}

/* Testimonial quote style */
.testimonial {
  border-left: 3px solid var(--gold);
  padding: 18px 24px;
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
}

.testimonial cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: var(--body);
  font-size: .78rem;
  letter-spacing: .08em;
  opacity: .7;
}

/* Sticky gallery filter bar on scroll */
.filters-sticky {
  position: sticky;
  top: 68px;
  z-index: 10;
  background: rgba(241, 232, 218, .9);
  backdrop-filter: blur(6px);
  padding: 14px 0;
  margin: -14px 0 24px;
}

/* Events image strip */
.event-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 40px;
}

.event-strip img {
  height: 180px;
  object-fit: cover;
  filter: brightness(.92);
  transition: filter .3s;
}

.event-strip img:hover {
  filter: brightness(1.02);
}

/* Price card checkmark bullets */
.price-card li::before {
  content: '✓ ';
  color: var(--gold);
  font-weight: bold;
}

/* Contact form fieldset look */
.contact-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* Mobile nav hamburger animation */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle span {
  transition: transform .25s, opacity .25s;
}

/* Active page underline always visible */
.nav a.active::after {
  transform: scaleX(1);
}

/* Footer social icons spacing */
.foot-links a {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Focus ring (accessibility) */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

/* ========== RESPONSIVE FINE-TUNING ========== */
@media (max-width:760px) {
  .event-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .portrait-frame::after {
    display: none;
  }
}

@media (max-width:480px) {
  .hero-inner {
    padding-bottom: 80px;
  }

  .hero-frame {
    inset: 12px;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}