/* ═══════════════════════════════════════════════════════════════
   Antiquairs Antwerpen — Full Design System (Pure CSS)
   Navy / Gold / Cream palette · Playfair Display + Lato
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reset & Box Model ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Design Tokens ─── */
:root {
  --navy: #0c1a2e;
  --navy-light: #1a2d47;
  --navy-95: rgba(12, 26, 46, 0.95);
  --navy-50: rgba(12, 26, 46, 0.5);
  --cream: #f5f0e8;
  --gold: #c9a84c;
  --gold-light: #d4b96a;
  --text-dark: #2c2016;
  --text-light: #e8e2d4;
  --text-cream-80: rgba(232, 226, 212, 0.8);
  --text-cream-70: rgba(232, 226, 212, 0.7);
  --text-cream-60: rgba(232, 226, 212, 0.6);
  --text-cream-50: rgba(232, 226, 212, 0.5);
  --text-cream-30: rgba(232, 226, 212, 0.3);
  --muted: #8a7e6f;
  --gold-10: rgba(201, 168, 76, 0.1);
  --gold-15: rgba(201, 168, 76, 0.15);
  --gold-20: rgba(201, 168, 76, 0.2);
  --content-text: #4a3c2d;
}

/* ─── Typography ─── */
body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
}

.font-heading {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

.font-body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Colors ─── */
.bg-navy {
  background-color: var(--navy);
}

.bg-navy-light {
  background-color: var(--navy-light);
}

.bg-cream {
  background-color: var(--cream);
}

.text-navy {
  color: var(--navy);
}

.text-navy-light {
  color: var(--navy-light);
}

.text-cream {
  color: var(--text-light);
}

.text-gold {
  color: var(--gold);
}

.text-muted {
  color: var(--muted);
}

.border-gold {
  border-color: var(--gold);
}

.bg-navy\/95 {
  background-color: var(--navy-95);
}

.bg-navy\/50 {
  background-color: var(--navy-50);
}

.text-cream\/80 {
  color: var(--text-cream-80);
}

.text-cream\/70 {
  color: var(--text-cream-70);
}

.text-cream\/60 {
  color: var(--text-cream-60);
}

.text-cream\/50 {
  color: var(--text-cream-50);
}

.text-cream\/30 {
  color: var(--text-cream-30);
}

.border-gold\/10 {
  border-color: var(--gold-10);
}

.border-gold\/15 {
  border-color: var(--gold-15);
}

.border-gold\/20 {
  border-color: var(--gold-20);
}

.text-navy-light\/80 {
  color: rgba(26, 45, 71, 0.8);
}

/* Content panel text overrides */
.bg-cream h1,
.bg-cream h2,
.bg-cream h3,
.bg-cream h4 {
  color: var(--navy);
}

.bg-cream p,
.bg-cream li,
.bg-cream td {
  color: var(--content-text);
}

/* ─── Layout Utilities ─── */
.flex {
  display: flex;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.min-h-screen {
  min-height: 100vh;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.z-50 {
  z-index: 50;
}

.z-10 {
  z-index: 10;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.block {
  display: block;
}

.hidden {
  display: none;
}

.inline {
  display: inline;
}

.w-full {
  width: 100%;
}

.w-6 {
  width: 1.5rem;
}

.w-3 {
  width: 0.75rem;
}

.h-16 {
  height: 4rem;
}

.h-6 {
  height: 1.5rem;
}

.h-3 {
  height: 0.75rem;
}

.h-full {
  height: 100%;
}

.h-px {
  height: 1px;
}

.w-0 {
  width: 0;
}

.w-56 {
  width: 14rem;
}

.mt-auto {
  margin-top: auto;
}

/* ─── Spacing ─── */
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-8 {
  padding: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.pl-3 {
  padding-left: 0.75rem;
}

.pl-4 {
  padding-left: 1rem;
}

.pl-6 {
  padding-left: 1.5rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-3 {
  padding-bottom: 0.75rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.space-x-2>*+* {
  margin-left: 0.5rem;
}

.space-x-6>*+* {
  margin-left: 1.5rem;
}

.space-y-1>*+* {
  margin-top: 0.25rem;
}

.space-y-2>*+* {
  margin-top: 0.5rem;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

/* ─── Max-Width Containers ─── */
.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-7xl {
  max-width: 80rem;
}

/* ─── Typography Sizes ─── */
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.leading-relaxed {
  line-height: 1.625;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.no-underline {
  text-decoration: none !important;
}

.list-disc {
  list-style-type: disc;
}

.list-decimal {
  list-style-type: decimal;
}

/* ─── Borders ─── */
.border {
  border-width: 1px;
  border-style: solid;
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-b-2 {
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-l-2 {
  border-left-width: 2px;
  border-left-style: solid;
}

.border-l-4 {
  border-left-width: 4px;
  border-left-style: solid;
}

.border-transparent {
  border-color: transparent;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-t-md {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.rounded-b-md {
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

/* ─── Shadows ─── */
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* ─── Images ─── */
img {
  max-width: 100%;
  height: auto;
}

.nav-context {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.object-cover {
  object-fit: cover;
}

.aspect-video {
  aspect-ratio: 16/9;
}

/* ─── Grid ─── */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ─── Transitions ─── */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
  transition-property: transform;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-all {
  transition-property: all;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

/* ─── Effects ─── */
.backdrop-blur-md {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.opacity-0 {
  opacity: 0;
}

.invisible {
  visibility: hidden;
}

/* ─── Links ─── */
a {
  color: var(--gold);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

/* ─── Tables ─── */
table {
  border-collapse: collapse;
}

/* ─── Hover States ─── */
.hover\:text-gold:hover {
  color: var(--gold) !important;
}

.hover\:underline:hover {
  text-decoration: underline;
}

.hover\:bg-navy\/50:hover {
  background-color: var(--navy-50);
}

.hover\:border-gold:hover {
  border-color: var(--gold);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

/* ─── Group Hover ─── */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group:hover .group-hover\:text-gold {
  color: var(--gold);
}

.group:hover .group-hover\:rotate-180 {
  transform: rotate(180deg);
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:visible {
  visibility: visible;
}

/* ─── Pseudo-element underline animation ─── */
a[class*="after:absolute"] {
  position: relative;
}

a[class*="after:absolute"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

a[class*="after:absolute"]:hover::after {
  width: 100%;
}

/* ─── Hero Section ─── */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 80%;
  max-width: 50%;
  object-fit: contain;
  opacity: 0.85;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--navy) 80%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* ─── Responsive: md (768px+) ─── */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
}

/* ─── Responsive: sm (640px+) ─── */
@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ─── Responsive: lg (1024px+) ─── */
@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ─── Print ─── */
@media print {

  header,
  footer,
  nav {
    display: none;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .bg-cream {
    background: #fff !important;
    box-shadow: none !important;
  }

  a {
    color: #000 !important;
    text-decoration: underline;
  }
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ─── HR styling ─── */
hr {
  border: none;
  border-top: 1px solid var(--gold-20);
}

/* ─── Header dropdown fix ─── */
.group .absolute {
  pointer-events: none;
}

.group:hover .absolute {
  pointer-events: auto;
}
