/* Reset and Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Great+Vibes&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --color-obsidian: #0A0A0A;
  --color-champagne: #C9A84C;
  --color-ivory: #FAF6EF;
  --color-burgundy: #4A0E2B;
  --color-platinum: #C0C0C0;
  --color-blush: #F2D4D4;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-script: 'Great Vibes', cursive;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

body {
  background-color: var(--color-obsidian);
  color: var(--color-ivory);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

::selection {
  background-color: var(--color-champagne);
  color: var(--color-obsidian);
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Typography Utilities */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }
.font-script { font-family: var(--font-script); }
.italic { font-style: italic; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.025em; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.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; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }

/* Wrapper */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.5rem 0;
  transition: all 0.5s ease-in-out;
}

.navbar.scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(250, 246, 239, 0.8);
  position: relative;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--color-champagne);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-champagne);
  transition: width 0.3s;
}

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

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: height 0.5s;
}
.navbar.scrolled .logo img { height: 45px; }

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-icons button, .nav-icons a {
  color: var(--color-ivory);
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.nav-icons button:hover, .nav-icons a:hover {
  color: var(--color-champagne);
}

.cart-icon { position: relative; }
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background-color: var(--color-champagne);
  color: var(--color-obsidian);
  font-size: 9px;
  font-weight: 500;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  color: var(--color-ivory);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--color-obsidian);
  z-index: 60;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu-link {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  color: var(--color-ivory);
  transition: color 0.3s;
}
.mobile-menu-link:hover { color: var(--color-champagne); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 2rem;
  height: 3rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.5s ease;
  min-width: 220px;
}

.btn-primary {
  background-color: var(--color-champagne);
  color: var(--color-obsidian);
}
.btn-primary:hover {
  background-color: var(--color-ivory);
}

.btn-outline {
  border: 1px solid var(--color-champagne);
  color: var(--color-champagne);
}
.btn-outline:hover {
  background-color: var(--color-champagne);
  color: var(--color-obsidian);
}

.btn-ghost {
  color: var(--color-champagne);
  position: relative;
}
.btn-ghost::after {
  content: "";
  position: absolute;
  bottom: 0px; left: 0;
  width: 0; height: 1px;
  background-color: var(--color-champagne);
  transition: width 0.3s;
}
.btn-ghost:hover::after { width: 100%; }

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  mix-blend-mode: screen;
  transform: scale(1.05);
  animation: pulseBg 10s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.8), transparent, rgba(10,10,10,1));
}

@keyframes pulseBg {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  max-width: 56rem;
  padding-top: 5rem;
}

.hero-divider {
  width: 1px;
  height: 4rem;
  background-color: rgba(201, 168, 76, 0.5);
  margin-bottom: 2rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  color: var(--color-ivory);
}
.hero-subtitle {
  color: rgba(250, 246, 239, 0.8);
  margin-bottom: 3rem;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
}

.scroll-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-champagne);
  margin-bottom: 1rem;
}

.scroll-line-container {
  width: 1px;
  height: 3rem;
  background-color: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--color-champagne);
  animation: slideDown 2s infinite;
}

@keyframes slideDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* Sections */
section {
  padding: 6rem 1.5rem;
}

.new-collection .collection-card {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  display: block;
}

.collection-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 1s;
}

.collection-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.collection-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10,10,10,0.4);
  transition: background-color 0.7s;
}
.collection-card:hover .collection-overlay {
  background-color: rgba(10,10,10,0.2);
}

.collection-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.collection-tag {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-champagne);
  margin-bottom: 0.75rem;
}

.collection-link {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ivory);
  border-bottom: 1px solid rgba(201, 168, 76, 0.5);
  padding-bottom: 4px;
  transition: color 0.3s;
}
.collection-link:hover { color: var(--color-champagne); }

/* Featured Products */
.featured-section {
  background-color: #0c0c0c;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  group: hover;
}

.product-image-container {
  position: relative;
  width: 100%;
  background-color: #111;
  margin-bottom: 1.5rem;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.product-image-container.large { aspect-ratio: 4/5; }

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s;
}
.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

.product-wishlist {
  position: absolute;
  top: 1rem; right: 1rem;
  color: rgba(255,255,255,0.4);
  z-index: 10;
  transition: color 0.3s;
}
.product-wishlist:hover { color: var(--color-champagne); }

.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background-color: var(--color-obsidian);
  color: var(--color-ivory);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 10;
}

.product-info {
  text-align: center;
  padding: 0 1rem;
}
.product-collection {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-champagne);
  display: block;
  margin-bottom: 0.5rem;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-ivory);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.product-card:hover .product-name { color: var(--color-champagne); }
.product-price {
  font-size: 0.875rem;
  color: rgba(250, 246, 239, 0.7);
  letter-spacing: 0.1em;
}

/* Brand Story */
.brand-story {
  display: flex;
  padding: 0;
  min-height: 80vh;
}
.brand-img {
  width: 50%;
  position: relative;
}
.brand-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.75);
}
.brand-content {
  width: 50%;
  background-color: var(--color-obsidian);
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem;
}
.brand-content h2 {
  color: var(--color-champagne);
  line-height: 1.2;
  margin-bottom: 2rem;
}

/* Bespoke CTA */
.bespoke {
  position: relative;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 8rem 1.5rem;
  text-align: center;
}
.bespoke-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  z-index: 0;
}
.bespoke-bg img { width: 100%; height: 100%; object-fit: cover; }
.bespoke-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
}
.bespoke-content p {
  font-size: 1.125rem;
  color: rgba(250, 246, 239, 0.7);
  font-weight: 300;
  margin-bottom: 3rem;
}

/* Gift Guide */
.gift-guide {
  background-color: #080808;
}
.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.gift-card {
  position: relative;
  aspect-ratio: 1/1;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  display: block;
}
.gift-card img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.6;
  transition: all 1s;
}
.gift-card:hover img {
  transform: scale(1.1);
  opacity: 1;
}
.gift-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9), transparent);
}
.gift-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  text-align: center;
}
.gift-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  filter: grayscale(100%);
  opacity: 0.8;
}
.gift-content h3 {
  color: var(--color-ivory);
  transition: color 0.3s;
}
.gift-card:hover h3 { color: var(--color-champagne); }

/* Instagram Feed */
.instagram {
  padding: 6rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.insta-marquee {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
  animation: slideLeft 20s linear infinite;
}
.insta-marquee:hover { animation-play-state: paused; }
.insta-item {
  position: relative;
  width: 20rem;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  cursor: pointer;
}
.insta-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s;
}
.insta-item:hover img { filter: grayscale(0); }
.insta-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10,10,10,0.4);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.insta-item:hover .insta-overlay { opacity: 1; }
.insta-overlay span {
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-ivory);
}

@keyframes slideLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Footer */
.footer {
  background-color: var(--color-obsidian);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 5rem 1.5rem 2.5rem;
  font-size: 0.875rem;
  color: rgba(250, 246, 239, 0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}
.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.footer-social svg {
  width: 20px; height: 20px;
  stroke: currentColor;
  transition: color 0.3s;
}
.footer-social a:hover svg { color: var(--color-champagne); }
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-ivory);
  margin-bottom: 1.5rem;
  font-weight: normal;
  letter-spacing: 0.05em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: var(--color-champagne); }

.newsletter input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 0.5rem;
  color: var(--color-ivory);
  font-size: 0.875rem;
  width: 100%;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter input:focus { border-color: var(--color-champagne); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--color-ivory); }

/* Utilities / FadeIn JS classes */
.fade-in {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up { transform: translateY(40px); }
.fade-down { transform: translateY(-40px); }
.fade-left { transform: translateX(40px); }
.fade-right { transform: translateX(-40px); }

.fade-in.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-links, .nav-icons { display: none; }
  .mobile-menu-btn { display: block; }
  .mobile-menu { display: flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-story { flex-direction: column; }
  .brand-img, .brand-content { width: 100%; min-height: 50vh; }
  .brand-content { padding: 3rem; }
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .hero-subtitle { font-size: 1.25rem; }
  .collection-info { padding: 2.5rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}
