/* ==========================================================================
   ADIL EVENT - BASE STYLES & RESET (WHITE & COLORFUL FESTIVE THEME)
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--color-bg-body);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--color-bg-body);
  color: var(--color-text-primary);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Full-Screen Celebration Party Canvas */
.party-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: var(--color-party-pink);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

/* Custom Selection Highlight */
::selection {
  background-color: #ff007a;
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--color-party-pink), var(--color-party-purple));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-party-pink);
}

/* Focus Visibility for Accessibility */
:focus-visible {
  outline: 3px solid var(--color-party-pink);
  outline-offset: 3px;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1, .display-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2, .section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

p {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: 1.7;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Fluid Widescreen Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Section Wrapper */
.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(1.5rem, 1.25rem + 1.2vw, 4rem);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary);
}

@media (max-width: 640px) {
  .section-header {
    margin: 0 auto 1.35rem;
  }
  .section-title {
    font-size: clamp(1.38rem, 5.2vw, 1.7rem);
    line-height: 1.22;
    margin-bottom: 0.45rem;
  }
  .section-header p {
    font-size: 0.82rem;
    line-height: 1.5;
  }
}

/* Decorative Eyebrow Pill */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(255, 0, 122, 0.08) 0%, rgba(121, 40, 202, 0.08) 100%);
  border: 1.5px solid rgba(255, 0, 122, 0.35);
  color: var(--color-party-pink);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(255, 0, 122, 0.1);
}

@media (max-width: 640px) {
  .eyebrow-pill {
    padding: 0.35rem 0.85rem;
    font-size: 0.68rem;
    margin-bottom: 0.65rem;
    gap: 0.35rem;
  }
}

.eyebrow-pill svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Vibrant Gradient Text Effect */
.text-gradient-party {
  background: linear-gradient(135deg, #ff007a 0%, #7928ca 45%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.text-gradient-warm {
  background: linear-gradient(135deg, #ff007a 0%, #fb8500 55%, #ffb703 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

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