/* ============================================
   GAIA Jewellery — Global Styles
   ============================================ */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Serif headings everywhere by default */
h1, h2, h3, h4, .font-serif {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.01em;
}

/* Letter-spaced brand wordmark, matches IG identity */
.brand-wordmark {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.25em;
  font-weight: 500;
}

.brand-wordmark-sub {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0.15em;
  font-weight: 400;
}

/* Tagline signature style */
.tagline-signature {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0.05em;
}

/* Smooth fade-in on scroll */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gold underline hover for nav links */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background-color: #A58A55;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Gold outline button */
.btn-gold {
  background-color: #A58A55;
  color: #F4F0E5;
  border: 1px solid #A58A55;
  transition: all 0.3s ease;
  letter-spacing: 0.08em;
}
.btn-gold:hover {
  background-color: transparent;
  color: #A58A55;
}

.btn-outline-cream {
  background-color: transparent;
  color: #F4F0E5;
  border: 1px solid #F4F0E5;
  transition: all 0.3s ease;
  letter-spacing: 0.08em;
}
.btn-outline-cream:hover {
  background-color: #F4F0E5;
  color: #31493C;
}

.btn-outline-green {
  background-color: transparent;
  color: #31493C;
  border: 1px solid #31493C;
  transition: all 0.3s ease;
  letter-spacing: 0.08em;
}
.btn-outline-green:hover {
  background-color: #31493C;
  color: #F4F0E5;
}

/* Product image zoom on hover (shop grid) */
.product-image-wrap {
  overflow: hidden;
}
.product-image-wrap img {
  transition: transform 0.6s ease;
}
.product-image-wrap:hover img {
  transform: scale(1.06);
}

/* Custom scrollbar for gallery thumbnails */
.gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}
.gallery-thumbs::-webkit-scrollbar-thumb {
  background-color: #A58A55;
}

/* Zoom cursor for product gallery main image */
.zoomable {
  cursor: zoom-in;
}

/* Lightbox / zoom modal */
#zoom-modal {
  display: none !important;
}
#zoom-modal.active {
  display: flex !important;
}

/* Loading spinner */
.spinner {
  border: 2px solid rgba(165, 138, 85, 0.3);
  border-top-color: #A58A55;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* AI chat widget bubble pulse */
@keyframes gentle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(165, 138, 85, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(165, 138, 85, 0); }
}
.chat-bubble-pulse {
  animation: gentle-pulse 2.5s infinite;
}

/* Mobile menu slide */
#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
#mobile-menu.open {
  transform: translateX(0);
}
