/* ============================================
   Zala Lounge — Base Styles
   Reset, tokens, typography, root settings
   ============================================ */

:root {
  --color-bg:        #0F0F0F;
  --color-surface:   #1A1A1A;
  --color-surface-2: #232323;
  --color-text:      #F5F1E8;
  --color-muted:     #B8B0A0;
  --color-accent:    #C9A24B;
  --color-accent-2:  #8B6B2E;
  --color-border:    rgba(255, 255, 255, 0.08);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 12px 48px rgba(0, 0, 0, 0.55);

  --header-height: 72px;
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw + 0.5rem, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--color-accent-2);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
}

::selection {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Utility */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.section { padding: 4rem 0; }

@media (min-width: 768px) {
  .section { padding: 6rem 0; }
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease, transform 800ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
