/**
 * Sasha Khan — Main Styles
 * Global styles and resets
 */

/* ═══════════════════════════════════════════════════════════
   CSS RESET & BASE
   ═══════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-x: none;
}

body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-background);
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body.modal-open {
  overflow-y: hidden;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY BASE
   ═══════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-wide);
}

h1 {
  font-size: var(--font-size-hero);
}

h2 {
  font-size: var(--font-size-5xl);
}

h3 {
  font-size: var(--font-size-4xl);
}

h4 {
  font-size: var(--font-size-3xl);
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-smooth);
}

a:hover {
  color: var(--color-text-primary);
}

/* ═══════════════════════════════════════════════════════════
   MEDIA DEFAULTS
   ═══════════════════════════════════════════════════════════ */

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

video {
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ═══════════════════════════════════════════════════════════
   SELECTION STYLES
   ═══════════════════════════════════════════════════════════ */

::selection {
  background-color: var(--color-champagne-gold);
  color: var(--color-noir);
}

::-moz-selection {
  background-color: var(--color-champagne-gold);
  color: var(--color-noir);
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR STYLING
   ═══════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-noir);
}

::-webkit-scrollbar-thumb {
  background: var(--color-platinum);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-champagne-gold);
}

/* ═══════════════════════════════════════════════════════════
   FOCUS STYLES
   ═══════════════════════════════════════════════════════════ */

:focus-visible {
  outline: 2px solid var(--color-champagne-gold);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   GRAFFITI DIVIDER
   ═══════════════════════════════════════════════════════════ */

.graffiti-divider {
  position: relative;
  width: 100%;
  height: 35vh;
  overflow: hidden;
  background-color: var(--color-noir);
}

.graffiti-divider__video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════
   FIXED HOME BUTTON
   ═══════════════════════════════════════════════════════════ */

.home-button {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 9999;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-havana);
  background: rgba(10, 10, 10, 0.7);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid rgba(196, 167, 125, 0.3);
  transition: background 0.3s var(--ease-luxury),
              color 0.3s var(--ease-luxury),
              border-color 0.3s var(--ease-luxury);
}

.home-button:hover {
  background: rgba(196, 167, 125, 0.9);
  color: var(--color-noir);
  border-color: var(--color-havana);
}

/* ═══════════════════════════════════════════════════════════
   TABLET MENU BUTTON & NAV (hidden by default, shown via responsive.css)
   ═══════════════════════════════════════════════════════════ */

.menu-button {
  display: none;
}

.tablet-nav {
  display: none;
}
