/* Dyan Rosenberg Jewelry — Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #8B6914;      /* antique gold */
  --color-primary-light: #C9A84C;
  --color-secondary: #5C3D2E;    /* warm brown */
  --color-accent: #C0392B;       /* coral red */
  --color-bg: #FAF7F2;           /* warm cream */
  --color-bg-dark: #1C1410;      /* deep espresso */
  --color-text: #2C1810;         /* dark brown */
  --color-muted: #7D6650;        /* muted brown */
  --color-border: #E8DDD0;       /* light sand */
  --color-gold: #C9A84C;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* Elegant gold divider */
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 1.5rem auto;
}

/* Hover transitions */
a { transition: color 0.2s ease; }
.hover-lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(44,24,16,0.12); }

/* Hero overlay */
.hero-overlay {
  background: linear-gradient(135deg, rgba(28,20,16,0.65) 0%, rgba(44,24,16,0.3) 60%, transparent 100%);
}

/* Gold button */
.btn-gold {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #FAF7F2;
  padding: 0.875rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-gold:hover { opacity: 0.9; transform: translateY(-1px); color: #FAF7F2; }

/* Outline button */
.btn-outline {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.8rem 2.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-outline:hover { background: var(--color-primary); color: #FAF7F2; }

/* Gallery card */
.gallery-card {
  overflow: hidden;
  background: #fff;
  position: relative;
}
.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(28,20,16,0.75));
  padding: 2rem 1.25rem 1.25rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-card:hover .overlay { transform: translateY(0); }

/* Section heading */
.section-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: rgba(250,247,242,0.97);
  box-shadow: 0 1px 20px rgba(44,24,16,0.08);
  backdrop-filter: blur(8px);
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(44,24,16,0.12);
  border-top: 2px solid var(--color-gold);
  z-index: 100;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.15s;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
}
.dropdown-menu a:hover { background: var(--color-bg); color: var(--color-primary); }

/* FAQ accordion */
.faq-answer { display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Responsive images */
img { max-width: 100%; height: auto; }

/* Form inputs */
.form-input {
  width: 100%;
  border: 1px solid var(--color-border);
  background: white;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--color-gold); }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile menu */
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }
