@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  background-color: #14130F; /* brand.base */
  color: #F0EBE1; /* brand.textPrimary */
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
  margin-bottom: 1rem;
}

section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #14130F;
}
::-webkit-scrollbar-thumb {
  background: #3A3630;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C8A24A;
}

/* Glassmorphism utility - adapted for new surface */
.glass {
  background: rgba(28, 26, 22, 0.85); /* brand.surface */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(58, 54, 48, 0.5); /* brand.border */
}

/* Base styles for scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Product Card Behaviors */
.product-card {
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  background-color: #1C1A16; /* brand.surface */
  border: 1px solid #3A3630; /* brand.border */
  border-radius: 4px;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  border-color: #C8A24A; /* brand.accent */
}

.product-card-img-wrapper {
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}

.product-card-img-wrapper img, 
.product-card img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-card-img-wrapper img,
.product-card:hover img {
  transform: scale(1.05);
}

/* Button System overrides for new brand */
.btn-primary {
  background-color: #C8A24A;
  color: #14130F;
  transition: all 0.3s ease;
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #DAB866;
  transform: translateY(-2px);
}
.btn-primary:focus {
  outline: 2px solid #DAB866;
  outline-offset: 2px;
}
.btn-primary:disabled {
  background-color: #3A3630;
  color: #9B948A;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background-color: transparent;
  color: #F0EBE1;
  transition: all 0.3s ease;
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #3A3630;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn-secondary:hover {
  background-color: #262320;
  border-color: #C8A24A;
  color: #C8A24A;
}
.btn-secondary:focus {
  outline: 2px solid #C8A24A;
  outline-offset: 2px;
}
.btn-secondary:disabled {
  border-color: #262320;
  color: #9B948A;
  cursor: not-allowed;
  background-color: transparent;
}

/* Form Overrides */
input, select, textarea {
  background-color: #14130F;
  border: 1px solid #3A3630;
  color: #F0EBE1;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #C8A24A;
  box-shadow: 0 0 0 1px #C8A24A;
}

input::placeholder, textarea::placeholder {
  color: #9B948A;
}
