/* 35th Chamber - Custom Styles */
/* Minimal utility-first CSS with enhanced visual design */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

/* CSS Custom Properties */
:root {
  --color-gold: #D4AF37;
  --color-amber: #FFA500;
  --color-emerald: #34d399;
  --color-black: #000000;
  --color-neutral-900: #171717;
  --color-neutral-800: #262626;
  --color-neutral-700: #404040;
  --color-neutral-600: #525252;
  --color-neutral-400: #a3a3a3;
  --color-white: #ffffff;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  --gradient-gold: linear-gradient(135deg, var(--color-gold), var(--color-amber));
  --gradient-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 165, 0, 0.05));
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Link Reset - Prevent purple visited links */
a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

/* Display */
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-block { display: inline-block; }
.grid { display: grid; }

/* Flex & Grid */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-\[6px\] { gap: 6px; }

/* Space Between Children */
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Header Styling */
header {
  background-color: var(--color-black) !important;
}

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-4 { padding-top: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-8 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }

/* Sizing */
.w-6 { width: 1.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-full { width: 100%; }
.h-6 { height: 1.5rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-0\.5 { height: 0.125rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-md { max-width: 28rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.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-5xl { font-size: 3rem; line-height: 1; letter-spacing: -0.025em; }
.text-6xl { font-size: 3.75rem; line-height: 1; letter-spacing: -0.025em; }
.font-display { font-family: var(--font-display); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.tracking-tight { letter-spacing: -0.025em; }
.underline { text-decoration: underline; }

/* Colors */
.bg-black { background-color: var(--color-black); }
.bg-white { background-color: var(--color-white); }
.bg-neutral-800 { background-color: var(--color-neutral-800); }
.bg-neutral-900 { background-color: var(--color-neutral-900); }
.bg-gradient-gold { background: var(--gradient-gold); }
.bg-gradient-subtle { background: var(--gradient-subtle); }
.text-black { color: var(--color-black); }
.text-white { color: var(--color-white); }
.text-neutral-400 { color: var(--color-neutral-400); }
.text-neutral-600 { color: var(--color-neutral-600); }
.text-gold { color: var(--color-gold); }
.text-amber { color: var(--color-amber); }
.text-emerald { color: var(--color-emerald); }

/* Borders */
.border { border-width: 1px; }
.border-neutral-700 { border-color: var(--color-neutral-700); }
.border-gold { border-color: var(--color-gold); }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Effects */
.shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5); }
.shadow-gold { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
.shadow-gold-lg { box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), 0 10px 30px rgba(0, 0, 0, 0.5); }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }

/* Transitions */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* Transforms */
.object-contain { object-fit: contain; }
.overflow-hidden { overflow: hidden; }

/* Hover States */
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:bg-neutral-200:hover { background-color: #e5e5e5; }
.hover\:text-emerald-400:hover { color: var(--color-emerald); }
.hover\:text-gold:hover { color: var(--color-gold); }
.hover\:border-gold:hover { border-color: var(--color-gold); }
.hover\:shadow-gold:hover { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
.hover\:shadow-gold-lg:hover { box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), 0 10px 30px rgba(0, 0, 0, 0.5); }

/* Focus States */
input:focus, textarea:focus, button:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

input:focus-visible, textarea:focus-visible {
  border-color: var(--color-gold);
}

/* Responsive - Medium screens (768px+) */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Animations */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { opacity: 0; animation: fade-in-up 0.8s ease-out forwards; }
.animate-delay { animation-delay: 0.3s; }

/* Menu Animations */
.menu-open .bar:nth-child(1) { transform: rotate(45deg) translateY(8px); }
.menu-open .bar:nth-child(2) { opacity: 0; }
.menu-open .bar:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }

.menu-animate-in { animation: fade-in-up 0.3s ease-out forwards; }
.menu-animate-out { animation: fade-in-up 0.2s ease-in reverse; }

/* Hamburger menu toggle */
#menu-toggle { background: transparent; border: none; }
.bar { height: 0.125rem; width: 100%; background-color: #fff; transition: all 0.3s; }

/* Mobile Menu Styling */
#mobile-menu-dropdown {
  background-color: var(--color-black) !important;
}

#mobile-menu-dropdown a {
  background-color: transparent;
}

/* Enhanced Component Styles */

/* Chamber Cards */
.chamber-card {
  position: relative;
  overflow: hidden;
}

.chamber-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.chamber-card:hover::before {
  opacity: 1;
}

.chamber-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px) scale(1.02);
}

/* CTA Buttons */
.btn-primary {
  position: relative;
  background: var(--gradient-gold);
  color: var(--color-black);
  font-weight: 700;
  font-size: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* Form Inputs */
input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  transition: all 0.3s ease;
  background-color: var(--color-neutral-800);
  border: 1px solid var(--color-neutral-700);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
textarea:hover {
  border-color: var(--color-neutral-600);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus {
  background-color: var(--color-black);
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Portfolio Cards */
.portfolio-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover {
  transform: translateY(-8px);
}

.portfolio-card picture {
  transition: transform 0.4s ease;
}

.portfolio-card:hover picture {
  transform: scale(1.1);
}

/* Hero Section Gradient Text */
.hero-title {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Staggered Fade Animations */
@keyframes stagger-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-1 { animation: stagger-fade-in 0.6s ease-out 0.1s both; }
.stagger-2 { animation: stagger-fade-in 0.6s ease-out 0.2s both; }
.stagger-3 { animation: stagger-fade-in 0.6s ease-out 0.3s both; }
.stagger-4 { animation: stagger-fade-in 0.6s ease-out 0.4s both; }
.stagger-5 { animation: stagger-fade-in 0.6s ease-out 0.5s both; }
.stagger-6 { animation: stagger-fade-in 0.6s ease-out 0.6s both; }

/* Accent Border Glow */
.accent-border {
  position: relative;
}

.accent-border::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-gold);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.accent-border:hover::after {
  opacity: 0.5;
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea {
  transition: all 0.3s ease;
}

/* Shop & Cart Styles */
.product-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.product-image-circle {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  border: 4px solid var(--color-neutral-700);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}

.product-card:hover .product-image-circle {
  border-color: var(--color-gold);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.3);
  transform: scale(1.05);
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.animate-bounce {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Cart Modal */
#cart-modal {
  backdrop-filter: blur(10px);
}

/* Fixed positioning utilities */
.fixed {
  position: fixed;
}

.bottom-6 {
  bottom: 1.5rem;
}

.right-6 {
  right: 1.5rem;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-50 {
  z-index: 50;
}

.bg-black.bg-opacity-90 {
  background-color: rgba(0, 0, 0, 0.9);
}

.max-h-\[80vh\] {
  max-height: 80vh;
}

.overflow-y-auto {
  overflow-y: auto;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.border-b {
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.p-8 {
  padding: 2rem;
}

/* Hover underline utility */
.hover\:underline:hover {
  text-decoration: underline;
}

/* Hide number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}
