/* =============================================
   HIGH STAKES EVENTS AND CATERING
   Premium one-page site
   ============================================= */

:root {
  --black: #000000;
  --black-rich: #050505;
  --black-card: #0a0a0a;
  --black-elevated: #0f0f0f;
  --emerald: #145a32;
  --emerald-light: #1a7a45;
  --emerald-glow: rgba(20, 90, 50, 0.15);
  --gold: #c9a84c;
  --gold-light: #d4b965;
  --gold-dim: rgba(201, 168, 76, 0.25);
  --gold-faint: rgba(201, 168, 76, 0.08);
  --gold-glow: rgba(201, 168, 76, 0.12);
  --white: #f0ece2;
  --white-bright: #faf8f2;
  --white-dim: rgba(240, 236, 226, 0.55);
  --white-muted: rgba(240, 236, 226, 0.35);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

/* =============================================
   LAYOUT
   ============================================= */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   INTRO VIDEO + HERO ENTRANCE STATE MACHINE
   ============================================= */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 8;
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}

/* While video is playing: hide bg, content, overlays */
.hero--video-playing .hero-bg,
.hero--video-playing .hero-overlay,
.hero--video-playing .hero-vignette,
.hero--video-playing .hero-glow,
.hero--video-playing .hero-particles,
.hero--video-playing .hero-fade-bottom {
  opacity: 0;
}

.hero--video-playing .hero-inner,
.hero--video-playing .scroll-indicator {
  opacity: 0;
  pointer-events: none;
}

/* When video ends: fade video out, fade everything else in */
.hero--video-ended .hero-video {
  opacity: 0;
  pointer-events: none;
}

.hero--video-ended .hero-bg {
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
}

.hero--video-ended .hero-overlay,
.hero--video-ended .hero-vignette {
  opacity: 1;
  transition: opacity 1s ease-in-out 0.3s;
}

.hero--video-ended .hero-glow,
.hero--video-ended .hero-particles,
.hero--video-ended .hero-fade-bottom {
  opacity: 1;
  transition: opacity 1.2s ease-in-out 0.5s;
}

/* Content fades in with staggered delays after video */
.hero--video-ended .hero-inner {
  opacity: 1;
  pointer-events: auto;
}

.hero--video-ended .hero-anim {
  opacity: 0;
  transform: translateY(30px);
  animation: heroEntrance 1s var(--ease-out-expo) forwards;
}

.hero--video-ended .hero-inner .hero-logo-wrap { animation-delay: 0.4s; }
.hero--video-ended .hero-inner .hero-subtitle { animation-delay: 0.8s; }
.hero--video-ended .hero-inner .hero-buttons { animation-delay: 1.1s; }
.hero--video-ended .scroll-indicator {
  opacity: 1;
  pointer-events: auto;
  animation: heroEntrance 1s var(--ease-out-expo) 1.5s forwards;
}

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

/* Fallback: if no video class, show content immediately */
.hero:not(.hero--video-playing):not(.hero--video-ended) .hero-anim {
  animation: heroEntrance 1s var(--ease-out-expo) 0.1s forwards;
}

/* =============================================
   SCROLL REVEAL SYSTEM
   ============================================= */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo);
}

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

/* No-JS fallback: show everything if JS fails */
noscript + .services .reveal,
noscript + .experience .reveal,
noscript + .contact .reveal {
  opacity: 1;
  transform: none;
}

/* =============================================
   SHARED ELEMENTS
   ============================================= */

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white-bright);
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.gold-rule {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 56px;
  border: none;
}

.diamond {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  transform: rotate(45deg);
}

.diamond-sm {
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: var(--gold);
  transform: rotate(45deg);
}

.diamond-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: var(--gold-dim);
  margin: 0 12px;
  vertical-align: middle;
}

.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;
}

/* =============================================
   SECTION EDGE FADES
   ============================================= */

.section-fade-top,
.section-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 100px;
  pointer-events: none;
  z-index: 4;
}

.section-fade-top {
  top: 0;
  background: linear-gradient(to bottom, var(--black-rich), transparent);
}

.section-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--black-rich), transparent);
}

/* =============================================
   HERO — layered depth
   ============================================= */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
  position: relative;
  background-color: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('HERO.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.08) 0%,
    rgba(20, 90, 50, 0.05) 40%,
    transparent 70%
  );
  z-index: 3;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  15% { opacity: 0.6; }
  85% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-100vh) scale(0); }
}

.hero-inner {
  position: relative;
  z-index: 6;
  max-width: 680px;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-logo {
  width: 320px;
  height: 320px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 30px rgba(201, 168, 76, 0.25))
          drop-shadow(0 0 60px rgba(20, 90, 50, 0.2));
}

.hero-subtitle {
  font-size: 0.95rem;
  color: rgba(240, 236, 226, 0.8);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  line-height: 1.7;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.15); }
}

.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--black-rich));
  z-index: 5;
  pointer-events: none;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  min-width: 220px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease,
    transform 0.3s var(--ease-out-quart);
}

.btn:active {
  transform: scale(0.97);
}

.btn-text {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background-color: var(--emerald);
  color: var(--white-bright);
  border: 1px solid rgba(26, 122, 69, 0.6);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--emerald-light);
  border-color: var(--emerald-light);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: btnShine 4s ease-in-out infinite;
}

@keyframes btnShine {
  0% { left: -100%; }
  30% { left: 100%; }
  100% { left: 100%; }
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--gold-faint);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* =============================================
   SERVICES
   ============================================= */

.services {
  padding: 110px 0;
  position: relative;
  background-color: var(--black-rich);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.service-card {
  text-align: center;
  padding: 52px 32px 44px;
  background-color: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.07);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.5s ease,
    transform 0.5s var(--ease-out-quart),
    background-color 0.5s ease;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(201, 168, 76, 0.25);
  background-color: var(--black-elevated);
  transform: translateY(-4px);
  outline: none;
}

.service-card:hover .card-border,
.service-card:focus-visible .card-border {
  opacity: 1;
}

.card-border {
  position: absolute;
  inset: -1px;
  border-radius: 3px;
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.3),
    transparent 40%,
    transparent 60%,
    rgba(201, 168, 76, 0.15)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

.service-icon {
  color: var(--gold);
  margin-bottom: 28px;
  transition: transform 0.5s var(--ease-out-quart);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white-bright);
  margin-bottom: 16px;
  letter-spacing: 0.015em;
}

.service-rule {
  width: 24px;
  height: 1px;
  background-color: var(--gold-dim);
  margin: 0 auto 18px;
  transition: width 0.4s var(--ease-out-quart), background-color 0.4s ease;
}

.service-card:hover .service-rule {
  width: 40px;
  background-color: var(--gold);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.85;
  max-width: 320px;
  margin: 0 auto;
}

/* =============================================
   EXPERIENCE — layered background
   ============================================= */

.experience {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.experience-img {
  position: absolute;
  inset: 0;
  background-image: url('Craps.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.experience-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 1;
  pointer-events: none;
}

.experience-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 20%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(ellipse at 20% 50%, var(--emerald-glow) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, var(--gold-glow) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.experience .section-fade-top {
  background: linear-gradient(to bottom, var(--black-rich), transparent);
}

.experience .section-fade-bottom {
  background: linear-gradient(to top, var(--black-rich), transparent);
}

.experience .container {
  position: relative;
  z-index: 5;
}

.experience .section-label {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.experience .section-heading {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.experience-content {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.experience-content blockquote {
  border: none;
  padding: 0;
  margin: 0;
}

.experience-content p {
  font-size: 1.05rem;
  color: rgba(240, 236, 226, 0.85);
  line-height: 2.1;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.experience-content p + p {
  margin-top: 24px;
}

/* =============================================
   CONTACT
   ============================================= */

.contact {
  padding: 110px 0;
  background-color: var(--black-rich);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 52px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 24px;
  background-color: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.07);
  border-radius: 3px;
  text-decoration: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.5s ease,
    background-color 0.5s ease,
    transform 0.5s var(--ease-out-quart);
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: rgba(201, 168, 76, 0.25);
  background-color: var(--black-elevated);
  transform: translateY(-3px);
  outline: none;
}

.contact-card:hover .card-border,
.contact-card:focus-visible .card-border {
  opacity: 1;
}

.contact-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 6px;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

.contact-card:hover .contact-icon-wrap {
  border-color: var(--gold);
  background-color: var(--gold-faint);
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-value {
  font-size: 0.9rem;
  color: var(--white-dim);
  font-weight: 300;
}

/* =============================================
   SOCIAL LINKS
   ============================================= */

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white-muted);
  border: 1px solid rgba(240, 236, 226, 0.08);
  border-radius: 50%;
  transition:
    color 0.4s ease,
    border-color 0.4s ease,
    background-color 0.4s ease,
    transform 0.3s var(--ease-out-quart);
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold-dim);
  background-color: var(--gold-faint);
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  padding: 56px 0 44px;
  text-align: center;
  background-color: var(--black);
}

.footer-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.footer-rule::before,
.footer-rule::after {
  content: '';
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim));
}

.footer-rule::after {
  background: linear-gradient(90deg, var(--gold-dim), transparent);
}

.footer-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--white-dim);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--white-muted);
  letter-spacing: 0.06em;
}

/* =============================================
   RESPONSIVE — TABLET (600px+)
   ============================================= */

@media (min-width: 600px) {
  .hero-logo {
    width: 380px;
    height: 380px;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .hero-glow {
    width: 800px;
    height: 800px;
  }

  .hero-fade-bottom {
    height: 160px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-heading {
    font-size: 2.5rem;
  }

  .section-fade-top,
  .section-fade-bottom {
    height: 120px;
  }
}

/* =============================================
   RESPONSIVE — DESKTOP (960px+)
   ============================================= */

@media (min-width: 960px) {
  .hero {
    padding: 80px 24px 100px;
  }

  .hero-logo {
    width: 420px;
    height: 420px;
  }

  .hero-logo-wrap {
    margin-bottom: 24px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-fade-bottom {
    height: 200px;
  }

  .container {
    padding: 0 48px;
  }

  .services {
    padding: 130px 0;
  }

  .experience {
    padding: 150px 0;
  }

  .contact {
    padding: 130px 0;
  }

  .service-card {
    padding: 60px 36px 48px;
  }

  .contact-card {
    padding: 48px 28px;
  }

  .section-heading {
    font-size: 2.8rem;
  }

  .section-fade-top,
  .section-fade-bottom {
    height: 150px;
  }
}

/* =============================================
   REDUCED MOTION
   ============================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .hero-anim {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .hero-video {
    display: none;
  }

  .hero--video-playing .hero-bg,
  .hero--video-playing .hero-overlay,
  .hero--video-playing .hero-vignette,
  .hero--video-playing .hero-glow,
  .hero--video-playing .hero-inner,
  .hero--video-playing .scroll-indicator,
  .hero--video-playing .hero-fade-bottom {
    opacity: 1 !important;
  }

  .particle {
    display: none;
  }
}
