/* ===== Julia's Schatkamer – Elegant Static Website ===== */

:root {
  --cream: #F9F6F1;
  --cream-dark: #F0EBE3;
  --gold: #C9A86C;
  --gold-dark: #B89555;
  --black: #1A1A1A;
  --gray: #6B6560;
  --white: #FFFFFF;
  --border: rgba(201, 168, 108, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--black);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 246, 241, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-diamond {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--black);
}

.logo-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 2.2rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.02em;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--black);
  position: relative;
  display: flex;
  align-items: center;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--gold);
  color: white;
  font-size: 0.65rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--black);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: #333;
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* ===== Hero ===== */
.hero {
  padding: 7rem 0 6rem;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-text {
  max-width: 480px;
  margin: 0 auto 2.5rem;
  color: var(--gray);
  font-size: 1.05rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Categories ===== */
.categories {
  padding: 4rem 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  text-align: center;
  group: hover;
}

.category-img {
  height: 280px;
  border-radius: 2px;
  margin-bottom: 1.2rem;
  transition: transform 0.4s ease;
}

.category-card:hover .category-img {
  transform: scale(1.02);
}

.category-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ===== Products ===== */
.products {
  padding: 5rem 0 6rem;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--gray);
  font-weight: 300;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-img {
  height: 340px;
  border-radius: 2px;
  position: relative;
  margin-bottom: 1.1rem;
  overflow: hidden;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cream);
  color: var(--black);
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.badge.new {
  background: var(--gold);
  color: white;
}

.product-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.8rem;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.add-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--black);
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.add-btn:hover {
  background: var(--black);
  color: white;
}

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

/* ===== About ===== */
.about {
  padding: 6rem 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 1.2rem;
  font-weight: 300;
  max-width: 480px;
}

.about-text .btn {
  margin-top: 1rem;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-box {
  background: var(--white);
  padding: 3rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-width: 260px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.4rem;
  display: block;
}

/* ===== How it works ===== */
.how {
  padding: 5.5rem 0;
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

.step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.step p {
  color: var(--gray);
  font-size: 0.95rem;
  font-weight: 300;
}

/* ===== Newsletter ===== */
.newsletter {
  padding: 4.5rem 0;
  background: var(--black);
  color: var(--white);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.newsletter p {
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  max-width: 380px;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: white;
  font-size: 0.9rem;
  min-width: 260px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form .btn-primary {
  background: var(--gold);
  color: var(--black);
}

.newsletter-form .btn-primary:hover {
  background: var(--gold-dark);
}

/* ===== Contact ===== */
.contact {
  padding: 5.5rem 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 1rem;
}

.contact-info p {
  margin-bottom: 1.8rem;
  color: var(--gray);
  font-weight: 300;
}

.contact-info strong {
  color: var(--black);
  font-weight: 500;
  display: block;
  margin-bottom: 0.2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Footer ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
}

.footer-brand .logo {
  margin-bottom: 1.2rem;
}

.footer-brand .logo-name {
  color: white;
  font-size: 1.25rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-links h4 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  font-weight: 300;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.4rem 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .category-grid,
  .product-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .contact-grid,
  .newsletter-inner,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    min-width: 100%;
  }
}

@media (max-width: 600px) {
  .header-inner {
    height: 70px;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .category-grid,
  .product-grid,
  .steps,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .product-img {
    height: 300px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
