/* ==========================================================================
   Nirvanaa Studios — Main Stylesheet
   Version: 1.0.0
   Description: Production-grade CSS for NirvanaaStudios landing page.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens (CSS Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  --bg-base: #FBF4E4;
  --bg-card: rgba(245, 236, 215, 0.45);
  --ink-primary: #1A1510;
  --ink-soft: #3D352A;
  --ink-muted: #736754;
  --gold-primary: #AF8A4C;
  --gold-light: #C9A961;
  --gold-glow: rgba(175, 138, 76, 0.18);
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--ink-primary);
  font-family: 'Space Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  background:
    radial-gradient(circle at 10% 15%, rgba(175, 138, 76, 0.09), transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(175, 138, 76, 0.09), transparent 45%),
    var(--bg-base);
}

/* --------------------------------------------------------------------------
   3. Layout — Ambient Glow & Main Frame
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  animation: fadeInFrame 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes fadeInFrame {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   4. Logo & Wordmark
   -------------------------------------------------------------------------- */
.logo-wrapper {
  margin-bottom: 24px;
  display: inline-block;
}

.logo-mark {
  width: 115px;
  height: 115px;
  object-fit: contain;
  display: block;
}

.wordmark {
  font-family: 'Cinzel', serif;
  font-size: 23px;
  letter-spacing: 0.4em;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.wordmark .space {
  margin: 0 6px;
}

/* --------------------------------------------------------------------------
   5. Decorative Divider
   -------------------------------------------------------------------------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  width: 100%;
}

.divider-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(175, 138, 76, 0.4), transparent);
}

.divider-diamond {
  width: 5px;
  height: 5px;
  background: var(--gold-primary);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   6. Typography — Headline & Subtitle
   -------------------------------------------------------------------------- */
h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(32px, 5.5vw, 46px);
  line-height: 1.18;
  color: var(--ink-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-primary);
}

.subtitle {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 36px;
}

/* --------------------------------------------------------------------------
   7. Service Pillars
   -------------------------------------------------------------------------- */
.pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 44px;
  padding: 8px 20px;
  width: 100%;
}

.pillar-item {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.pillar-dot {
  color: var(--gold-primary);
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   8. Contact Section
   -------------------------------------------------------------------------- */
.contact-container {
  width: 100%;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-title {
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.contact-card {
  background: rgba(245, 236, 215, 0.4);
  border-radius: 8px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink-primary);
  position: relative;
  cursor: pointer;
}

.contact-card-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 10px;
  color: var(--gold-primary);
  stroke-width: 1.5;
}

.contact-card-label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-primary);
  letter-spacing: 0.01em;
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   9. CTA Button — Polished Gold
   -------------------------------------------------------------------------- */
.contact-action-btn {
  grid-column: span 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #D4B475, #AF8A4C);
  color: #1A1510;
  border: none;
  border-radius: 999px;
  padding: 17px 38px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.26em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  margin-top: 8px;
  justify-self: center;
  box-shadow: 0 6px 20px rgba(175, 138, 76, 0.22);
}

.contact-action-btn svg {
  width: 14px;
  height: 14px;
  color: #1A1510;
}

/* --------------------------------------------------------------------------
   10. Toast Notification
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink-primary);
  color: var(--bg-base);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
footer {
  margin-top: 48px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--ink-muted);
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

footer .tagline {
  color: var(--gold-primary);
  font-size: 9.5px;
  letter-spacing: 0.3em;
}

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .frame {
    padding: 30px 16px;
  }

  h1 {
    font-size: 26px;
  }

  .subtitle {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .pillars {
    flex-direction: column;
    gap: 6px;
    padding: 0;
  }

  .pillar-dot {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-action-btn {
    grid-column: span 1;
    width: 100%;
    padding: 16px 24px;
  }
}

/* --------------------------------------------------------------------------
   13. Accessibility — Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .frame {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
