@import "tailwindcss";

@theme {
  --color-surface: #fbfbfd;
  --color-background: #fbf8f5;
  --color-bone: #eae7df;
  --color-primary: #36161a;
  --color-primary-container: #123a8c;
  --color-secondary: #7e5318;
  --color-subtle: #6f6760;
  --color-muted: #968e85;
  --color-dark: #16110f;
  
  --color-amber-kraft: #b45309;
  --color-gold-accent: #8a421c;

  --color-dark-navy: #0b1329;

  --font-serif: "EB Garamond", serif;
  --font-sans: "Plus Jakarta Sans", sans-serif;

  --tracking-widest2: 0.28em;
  --tracking-widest3: 0.35em;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
  vertical-align: middle;
}

@utility vertical-rl {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

@utility fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  &.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* View Transition Styles for Smooth Brand Navigation */
::view-transition-old(root) {
  animation: 0.3s cubic-bezier(0.2, 0, 0.2, 1) both fade-out;
}

::view-transition-new(root) {
  animation: 0.35s cubic-bezier(0.2, 0, 0.2, 1) both fade-in;
}

@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 3D Tilt Card Utilities */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-inner {
  transform-style: preserve-3d;
}