/* ===========================
   OPENING SCREEN CSS
   Barnum Roma Style
   =========================== */

:root {
  --primary: #094742;
  --primary-light: #e2fde0;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;

  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --duration-slow: 600ms;
}

/* ===========================
   RESET & BASE
   =========================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  overflow: hidden;
}

/* ===========================
   OPENING SCREEN
   =========================== */

.opening {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video Background */
.opening__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Dark Overlay */
.opening__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 71, 66, 0.45);
  z-index: 2;
}

/* Main Content */
.opening__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fadeIn 0.8s var(--ease-out);
}

/* Brand/Logo */
.opening__brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Divider */
.opening__divider {
  width: 100px;
  height: 2px;
  background: var(--primary-light);
  opacity: 0.8;
}

/* Menu Items */
.opening__menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.opening__menu-item {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
  color: var(--white);
  opacity: 0.95;
}

/* Location & Hours */
.opening__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
}

.opening__location {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--white);
  opacity: 0.85;
}

.opening__hours {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 600;
  margin: 0;
  color: var(--primary-light);
}

/* Scroll Hint */
.opening__scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--white);
  cursor: pointer;
  z-index: 3;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease-out);
  animation: bounce 3s ease-in-out infinite;
}

.opening__scroll-hint:hover {
  opacity: 1;
}

.opening__scroll-icon {
  width: 20px;
  height: 20px;
  animation: slideIndicator 1.5s ease-in-out infinite;
}

.opening__scroll-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-12px);
  }
}

@keyframes slideIndicator {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .opening__brand {
    font-size: 72px;
  }

  .opening__menu-item {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .opening__brand {
    font-size: 52px;
    letter-spacing: 2px;
  }

  .opening__divider {
    width: 80px;
  }

  .opening__menu {
    gap: 12px;
  }

  .opening__menu-item {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .opening__location,
  .opening__hours {
    font-size: 12px;
  }

  .opening__scroll-hint {
    bottom: 32px;
  }
}

@media (max-width: 480px) {
  .opening__brand {
    font-size: 36px;
  }

  .opening__divider {
    width: 60px;
    height: 1.5px;
  }

  .opening__menu {
    gap: 10px;
  }

  .opening__menu-item {
    font-size: 11px;
  }

  .opening__location,
  .opening__hours {
    font-size: 11px;
  }

  .opening__scroll-hint {
    bottom: 24px;
  }

  .opening__scroll-text {
    font-size: 10px;
  }
}

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

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

/* ===== OPENING FONTS - Plus Jakarta Sans + Cabin ===== */

.opening__brand {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
}

.opening__menu-item {
  font-family: 'Cabin', sans-serif !important;
  font-weight: 500 !important;
}

.opening__location,
.opening__hours,
.opening__scroll-text {
  font-family: 'Cabin', sans-serif !important;
  font-weight: 400 !important;
}

/* Divider - Primary Green */
.opening__divider {
  background: #094742 !important;
}
/* FIX: Divider - Primary Dark Green */
.opening__divider {
  background: #094742 !important;
}

/* FIX: Scroll Hint - Remove absolute positioning */
.opening__scroll-hint {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 24px !important;
}
/* ===== FINAL FIXES ===== */

/* Divider - Primary Dark Green */
.opening__divider {
  background: #094742 !important;
}

/* Scroll Hint - Below Info */
.opening__scroll-hint {
  position: static;
  bottom: auto;
  left: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  color: var(--white);
  opacity: 0.7;
  cursor: pointer;
  animation: bounce 3s ease-in-out infinite;
}

/* Scroll Hint - Center Text */
.opening__scroll-hint {
  justify-content: center !important;
  text-align: center !important;
}

.opening__scroll-text {
  text-align: center !important;
}

/* Divider - Light Green */
.opening__divider {
  background: #e2fde0 !important;
}
