/* ===== CSS Reset & Design Tokens ===== */
:root {
  /* Dark Earthy Palette */
  --bg-color: #0d0b09;
  --bg-elevated: #151210;
  --text-primary: #e8dfd4;
  --text-secondary: #8a7e72;
  --accent-color: #c69f5a;      /* Burnished brass/gold */
  --accent-warm: #a3714a;       /* Aged copper */
  --accent-deep: #5c3d2e;       /* Dark leather */

  /* Card Surface */
  --card-bg: rgba(21, 18, 16, 0.7);
  --card-border: rgba(198, 159, 90, 0.12);
  --card-glow: rgba(198, 159, 90, 0.06);

  /* Fonts */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --transition-speed: 0.4s;
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* ===== Ambient Background — warm candlelight ===== */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(198, 159, 90, 0.06), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(163, 113, 74, 0.04), transparent 45%),
    radial-gradient(ellipse at 50% 90%, rgba(92, 61, 46, 0.05), transparent 40%);
  filter: blur(60px);
}

/* Subtle grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 1.05;
  font-weight: 300;
  font-style: italic;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1.5rem;
}

/* Ornamental underline for section headers */
h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

h3 {
  font-size: 1.4rem;
  font-weight: 400;
}

p {
  font-size: 0.95rem;
}

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

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Header & Nav ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2rem 0;
  z-index: 100;
  background: rgba(13, 11, 9, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.hero-content {
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  animation: heroFadeIn 2s ease-out;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.35em;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 500px;
  margin-top: 0.5rem;
  line-height: 1.8;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.35;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: sepia(0.15) saturate(0.85);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, rgba(13, 11, 9, 0.3), var(--bg-color)),
    radial-gradient(ellipse at center, transparent 30%, var(--bg-color) 80%);
}


/* ===== Section Divider ===== */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--card-border), transparent);
  margin: 0 auto;
}

/* ===== Sections ===== */
.section {
  padding: 7rem 0;
  position: relative;
}

.section-intro {
  text-align: center;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== Cards ===== */
.curation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;

  /* Scroll-reveal initial state */
  opacity: 0;
  transform: translateY(30px);
}

.glass-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Warm light sweep on hover */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(198, 159, 90, 0.04),
    transparent
  );
  transform: skewX(-15deg);
  transition: var(--transition-speed);
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 159, 90, 0.25);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 30px var(--card-glow);
}

.glass-card:hover::before {
  left: 200%;
  transition: 0.8s;
}

.card-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(0.9);
}

.glass-card:hover .card-image img {
  transform: scale(1.04);
  filter: saturate(1);
}

.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.8rem 1.8rem;
}

.card-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-color);
  margin-bottom: 0.6rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  font-weight: 400;
  color: var(--text-primary);
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--card-border);
  padding-top: 1.2rem;
}

.card-price {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--accent-color);
}

.btn {
  font-family: var(--font-body);
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  padding: 0.5rem 1.6rem;
  border-radius: 2px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--bg-color);
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--card-border);
  padding: 4rem 0 2.5rem;
  margin-top: 2rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.footer-content {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-copy {
  color: var(--text-secondary);
  font-size: 0.75rem;
  opacity: 0.4;
  margin-top: 1.5rem;
}

/* ===== Animations ===== */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes gentleBounce {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50%      { transform: translateY(-8px) translateX(-50%); }
}

/* ===== Media Queries ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .curation-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 5rem 0;
  }

  h1 {
    font-size: 3rem;
  }
}
