/* ============================================================
   ZANNINIGROUP.COM — Shared Stylesheet
   Palette: Deep Navy · Gold · Ivory · Charcoal
   ============================================================ */

:root {
  --navy:      #0d1b2a;
  --navy-mid:  #162638;
  --gold:      #c9a84c;
  --gold-light:#e8c97a;
  --ivory:     #f8f4ec;
  --cream:     #f2ede3;
  --charcoal:  #2c2c2c;
  --gray:      #6b7280;
  --white:     #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius:     4px;
  --shadow:     0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.18);
  --transition: 0.3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; color: var(--charcoal); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }
.section--dark  { background: var(--navy); color: var(--ivory); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--ivory); }
.section--dark p  { color: rgba(248,244,236,0.82); }
.section--cream { background: var(--cream); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Gold Divider ── */
.gold-line {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 1.25rem 0 2rem;
}
.gold-line--center { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn--outline {
  background: transparent;
  color: var(--ivory);
  border-color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn--navy {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-mid);
}

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0 2rem;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.03em;
}
.nav__logo span { color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248,244,236,0.8);
  transition: color var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--gold); }
.nav__links .btn {
  padding: 0.5rem 1.4rem;
  font-size: 0.72rem;
}
.nav__toggle { display: none; background: none; border: none; cursor: pointer; }
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ivory); margin: 5px 0;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3050 60%, #0d1b2a 100%);
  display: flex; align-items: center;
  position: relative;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M0 0h60v60H0z" fill="none"/><path d="M30 0v60M0 30h60" stroke="rgba(201,168,76,0.06)" stroke-width="1"/></svg>');
  opacity: 0.5;
}
.hero__content {
  position: relative;
  max-width: 760px;
}
.hero__tag {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}
.hero h1 { color: var(--ivory); margin-bottom: 1.5rem; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero__sub {
  font-size: 1.1rem;
  color: rgba(248,244,236,0.75);
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Page Header (inner pages) ── */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3050 100%);
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px;
  background: var(--gold);
}
.page-header h1 { color: var(--ivory); margin-bottom: 1rem; }
.page-header p  { color: rgba(248,244,236,0.7); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__image {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
}
.card__img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-mid), #243d57);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card__body { padding: 1.75rem; }
.card__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.card__title { font-family: var(--font-serif); font-size: 1.1rem; color: var(--navy); margin-bottom: 0.5rem; }
.card__desc { font-size: 0.9rem; color: var(--gray); }

/* ── Profile ── */
.profile {
  display: grid; grid-template-columns: 380px 1fr;
  gap: 5rem; align-items: start;
}
.profile--reverse { direction: rtl; }
.profile--reverse > * { direction: ltr; }
.profile__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.profile__photo-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy-mid), #243d57);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  flex-direction: column; gap: 1rem;
}
.profile__photo-placeholder svg { opacity: 0.4; }
.profile__meta { list-style: none; margin: 2rem 0; }
.profile__meta li {
  display: flex; gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 0.9rem;
}
.profile__meta strong { color: var(--navy); min-width: 120px; }

/* ── Stats / Highlights ── */
.stat-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; border-top: 1px solid rgba(201,168,76,0.2);
}
.stat {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(201,168,76,0.2);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat__number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat__label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(248,244,236,0.6); }

/* ── Product Page ── */
.product-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.product-image-wrap {
  position: relative;
}
.product-image {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.product-placeholder {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, #e8f4e8, #c8e6c9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  color: #2e7d32;
}
.product-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  border: 1px solid #a5d6a7;
  margin-bottom: 1rem;
}
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 2.5rem;
}
.feature-item {
  display: flex; gap: 1rem; align-items: flex-start;
}
.feature-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.feature-item h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.feature-item p  { font-size: 0.85rem; color: var(--gray); margin: 0; }

/* ── Gallery ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.gallery__item {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.gallery__item img,
.gallery__img-placeholder {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__img-placeholder {
  background: linear-gradient(135deg, var(--navy-mid), #243d57);
  display: flex; align-items: flex-end; padding: 1.5rem;
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__overlay h4 { color: var(--ivory); font-size: 0.95rem; margin-bottom: 0.25rem; }
.gallery__overlay p  { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em; margin: 0; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: rgba(248,244,236,0.5);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(248,244,236,0.5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ── Footer ── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 4rem 0 2rem;
  color: rgba(248,244,236,0.7);
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ivory);
  margin-bottom: 1rem;
}
.footer__logo span { color: var(--gold); }
.footer__tagline { font-size: 0.85rem; max-width: 240px; line-height: 1.6; }
.footer h4 {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { font-size: 0.88rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--gold); }
.footer__contact p { font-size: 0.88rem; margin-bottom: 0.5rem; }
.footer__contact a { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(201,168,76,0.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem;
  color: rgba(248,244,236,0.35);
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ── Mobile ── */
@media (max-width: 1024px) {
  .grid-2, .product-hero { grid-template-columns: 1fr; gap: 3rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile--reverse { direction: ltr; }
  .profile__photo, .profile__photo-placeholder { max-width: 360px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.2); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .gallery { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
}

/* ── Google Fonts Import (simulated via system fonts fallback) ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600&display=swap');
