/* CZI Handmade Jewellery — v3 */
:root {
  --gold:    #C4A060;
  --gold-l:  #E2CFA0;
  --gold-d:  #9E7C3A;
  --black:   #18181B;
  --ink:     #2C2C2C;
  --grey-d:  #555555;
  --grey-m:  #909090;
  --grey-l:  #E0DBD3;
  --white:   #FFFFFF;
  --cream:   #FAF8F4;
  --cream-2: #F3EEE5;
  --nav-h:   76px;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Raleway', system-ui, sans-serif;
  --ease:    cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.8; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 52px; }
.section   { padding: 120px 0; }

/* TYPE */
.eyebrow {
  display: inline-block; font-family: var(--sans);
  font-size: .62rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.heading {
  font-family: var(--serif); font-size: clamp(2.6rem,4.5vw,4rem);
  font-weight: 300; line-height: 1.1; color: var(--ink);
}
.heading em { font-style: italic; color: var(--gold); font-weight: 300; }
.rule  { width: 44px; height: 1px; background: var(--gold); margin: 24px 0 30px; }
.rule--center { margin: 24px auto 30px; }
.section-head { text-align: center; max-width: 580px; margin: 0 auto 80px; }
.section-sub  { font-size: .95rem; font-weight: 300; color: var(--grey-d); }

/* BUTTONS */
.btn {
  display: inline-block; font-family: var(--sans);
  font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  padding: 16px 44px; border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
}
.btn--light   { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--gold    { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-d); border-color: var(--gold-d); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--gold-sm {
  display: inline-block; font-family: var(--sans);
  font-size: .65rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 12px 28px; background: var(--gold); color: var(--white);
  transition: background .3s var(--ease);
}
.btn--gold-sm:hover { background: var(--gold-d); }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 200;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.nav--top    { background: transparent; }
.nav--solid  { background: rgba(250,248,244,.97); backdrop-filter: blur(16px); box-shadow: 0 1px 24px rgba(0,0,0,.08); }
.nav__inner  {
  max-width: 1160px; margin: 0 auto; padding: 0 52px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav__logo   { height: 54px; width: auto; transition: opacity .3s; }
.nav__logo:hover { opacity: .8; }
.nav--top   .nav__logo--dark  { display: none; }
.nav--solid .nav__logo--light { display: none; }

/* Nav links white on hero, dark after scroll */
.nav--top .nav__link  { color: var(--white); }
.nav--top .nav__link--cta { color: var(--gold-l); }
.nav--solid .nav__link { color: var(--ink); }
.nav--solid .nav__link--cta { color: var(--gold); }

.nav__links {
  list-style: none; display: flex; align-items: center; gap: 48px;
}
.nav__link {
  font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  position: relative; padding-bottom: 2px; transition: color .3s;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .35s var(--ease);
}
.nav__link:hover::after { width: 100%; }
.nav__link--cta::after { display: none; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__toggle span {
  display: block; width: 26px; height: 1.5px;
  transition: transform .3s var(--ease), opacity .3s, background .3s;
}
.nav--top .nav__toggle span    { background: var(--white); }
.nav--solid .nav__toggle span  { background: var(--ink); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* HERO */
.hero {
  position: relative; height: 100svh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  animation: hero-scale 12s ease-in-out infinite alternate;
}
@keyframes hero-scale {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(20,18,14,.55) 0%,
    rgba(20,18,14,.45) 50%,
    rgba(20,18,14,.65) 100%
  );
}
.hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  padding: 0 24px; max-width: 760px;
}
.hero__eyebrow {
  font-family: var(--sans); font-size: .65rem; font-weight: 600;
  letter-spacing: .38em; text-transform: uppercase; color: var(--gold-l);
}
.hero__title {
  font-family: var(--serif); font-size: clamp(3.2rem,7vw,6.5rem);
  font-weight: 300; line-height: 1.06; color: var(--white);
}
.hero__title em { font-style: italic; color: var(--gold-l); }
.hero__line { width: 52px; height: 1px; background: var(--gold); }
.hero__sub {
  font-size: clamp(.88rem,1.4vw,1.05rem); font-weight: 300;
  color: rgba(255,255,255,.75); line-height: 1.85; letter-spacing: .02em;
}
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
}
.hero__scroll-bar {
  display: block; width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(196,160,96,.8), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; }
  50%      { opacity: 1;  transform: scaleY(1);  transform-origin: top; }
}

/* DESPRE */
.despre { background: var(--white); }
.despre__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.despre__frame { position: relative; }
.despre__frame::before {
  content: ''; position: absolute;
  top: -20px; left: -20px; right: 24px; bottom: 24px;
  border: 1px solid var(--gold-l); pointer-events: none;
}
.despre__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; position: relative; z-index: 1; }
.despre__body { display: flex; flex-direction: column; gap: 20px; }
.despre__body p { font-size: 1rem; font-weight: 300; color: var(--grey-d); }

/* COLECTII */
.colectii { background: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card { background: var(--white); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0,0,0,.10); }
.card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__img { transform: scale(1.07); }
.card__hover {
  position: absolute; inset: 0; background: rgba(24,24,27,.28);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .35s var(--ease);
}
.card:hover .card__hover { opacity: 1; }
.card__body { padding: 22px 24px 28px; }
.card__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; margin-bottom: 6px; }
.card__text  { font-size: .88rem; font-weight: 300; color: var(--grey-d); }
.card--cta   { background: var(--black); display: flex; align-items: center; justify-content: center; min-height: 340px; }
.card--cta:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0,0,0,.22); }
.card__body--cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 28px; }
.card--cta .card__title { color: var(--white); }
.card--cta .card__text  { color: rgba(255,255,255,.5); }
.cta-star { font-size: 2rem; color: var(--gold); line-height: 1; }

/* PROCES */
.proces { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 48px; position: relative; }
.steps::before {
  content: ''; position: absolute;
  top: 42px; left: calc(12.5% + 6px); right: calc(12.5% + 6px); height: 1px;
  background: var(--gold-l);
}
.step { text-align: center; }
.step__num {
  font-family: var(--serif); font-size: .85rem; font-weight: 300; letter-spacing: .18em;
  color: var(--gold); display: block; margin-bottom: 12px;
}
.step__dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--white);
  margin: 0 auto 28px; position: relative; z-index: 1;
}
.step__title { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; margin-bottom: 10px; }
.step__text  { font-size: .88rem; font-weight: 300; color: var(--grey-d); line-height: 1.75; }

/* CONTACT */
.contact { background: var(--cream); }
.ccards {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
  max-width: 900px; margin: 0 auto;
}
.ccard {
  background: var(--white); padding: 40px 20px 34px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  border: 1px solid transparent;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ccard:hover { border-color: var(--gold-l); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.07); }
.ccard__icon { width: 36px; height: 36px; color: var(--gold); }
.ccard__icon svg { width: 100%; height: 100%; }
.ccard__label { font-size: .6rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--grey-m); }
.ccard__val   { font-family: var(--serif); font-size: 1rem; color: var(--ink); }

/* FOOTER */
.footer { background: var(--black); padding: 80px 40px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer__logo  { height: 72px; width: auto; opacity: .9; }
.footer__tagline { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold-l); }
.footer__nav {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: center; margin-top: 4px;
}
.footer__nav a {
  font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.4); transition: color .3s;
}
.footer__nav a:hover { color: var(--gold-l); }
.footer__nav span   { color: var(--gold); font-size: .5rem; }
.footer__copy { font-size: .7rem; font-weight: 300; color: rgba(255,255,255,.2); letter-spacing: .05em; margin-top: 8px; }

/* ANIMATIONS */
.reveal, .fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible, .fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cards  { grid-template-columns: repeat(2,1fr); }
  .steps  { grid-template-columns: repeat(2,1fr); }
  .steps::before { display: none; }
  .ccards { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .despre__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .container { padding: 0 28px; }
  .section   { padding: 80px 0; }
  .nav__inner { padding: 0 28px; }
  .nav__links {
    display: none; flex-direction: column; gap: 28px;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(250,248,244,.98); backdrop-filter: blur(16px);
    padding: 32px 36px 44px;
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
    border-top: 1px solid var(--grey-l);
  }
  .nav--top .nav__links.is-open .nav__link { color: var(--ink); }
  .nav__links.is-open { display: flex; }
  .nav__link { font-size: .82rem; }
  .nav__toggle { display: flex; }
  .hero__title { font-size: clamp(2.8rem, 10vw, 4rem); }
}
@media (max-width: 520px) {
  .cards  { grid-template-columns: 1fr; }
  .ccards { grid-template-columns: 1fr 1fr; }
}
