/* Gleam by Ghenwa — Custom CSS
   Ported from GleamWebsite/styles/globals.css
   Complements Tailwind CDN classes. */

:root {
  --gleam-green:  #454c35;
  --gleam-brown:  #8C7657;
  --gleam-oasis:  #fef0cf;
  --gleam-white:  #FFFFFF;
  --font-cormorant: "Cormorant Garamond", "Times New Roman", serif;
  --font-poppins:   "Poppins", "Avenir Next", "Segoe UI", sans-serif;
}

html {
  font-family: var(--font-poppins), sans-serif;
  color: var(--gleam-oasis);
  background-color: var(--gleam-green);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--gleam-green); }
::-webkit-scrollbar-thumb { background: var(--gleam-brown); border-radius: 3px; }

/* Grain texture overlay */
.grain-overlay { position: relative; }
.grain-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
}

/* Gold hairline divider */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gleam-brown), transparent);
  width: 100%;
}

/* All-caps tracked label */
.label-caps {
  font-family: var(--font-poppins), sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
@media (max-width: 640px) {
  .label-caps { letter-spacing: 0.18em; }
}

/* Hero entrance animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes expandX {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.hero-fade-1 { animation: fadeInUp 0.6s ease forwards; animation-delay: 0s;    opacity: 0; }
.hero-fade-2 { animation: fadeInUp 0.6s ease forwards; animation-delay: 0.15s; opacity: 0; }
.hero-fade-3 { animation: fadeInUp 0.6s ease forwards; animation-delay: 0.3s;  opacity: 0; }
.hero-fade-4 { animation: fadeInUp 0.6s ease forwards; animation-delay: 0.45s; opacity: 0; }
.hero-fade-5 { animation: fadeInUp 0.6s ease forwards; animation-delay: 0.6s;  opacity: 0; }
.hero-divider { animation: expandX 0.8s ease forwards; animation-delay: 0.6s; transform: scaleX(0); }
.hero-scroll  { animation: fadeInUp 0.6s ease forwards; animation-delay: 1.2s; opacity: 0; }

/* Rich text (long_desc from admin) */
.rich-text h2 { font-family: var(--font-cormorant), serif; font-size: 2rem;  font-weight: 300; margin-bottom: 1rem; }
.rich-text h3 { font-family: var(--font-cormorant), serif; font-size: 1.5rem; font-weight: 300; margin-bottom: 0.75rem; }
.rich-text p  { font-weight: 300; line-height: 1.8; margin-bottom: 1rem; }
.rich-text ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.rich-text li { font-weight: 300; line-height: 1.8; margin-bottom: 0.5rem; }

/* Font families as utility classes for use alongside Tailwind */
.font-display { font-family: var(--font-cormorant), serif; }
.font-body    { font-family: var(--font-poppins), sans-serif; }
