/* ============================================
   On The Rocks Bar — Custom Styles
   ============================================ */

/* Base & Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
}

/* Selection Color */
::selection {
  background: rgba(245, 166, 35, 0.3);
  color: #fff;
}

/* ============================================
   Geometric Hero Shapes
   ============================================ */

.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.geo-circle-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(155, 59, 191, 0.2) 0%, transparent 70%);
  bottom: 10%;
  left: -50px;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
  width: 180px;
  height: 180px;
  border: 2px solid rgba(245, 166, 35, 0.15);
  top: 25%;
  left: 8%;
  animation: float-medium 12s ease-in-out infinite;
}

.geo-triangle {
  position: absolute;
  pointer-events: none;
  width: 0;
  height: 0;
}

.geo-triangle-1 {
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(245, 166, 35, 0.08);
  top: 20%;
  right: 10%;
  animation: spin-slow 25s linear infinite;
  transform-origin: center;
}

.geo-square {
  position: absolute;
  pointer-events: none;
}

.geo-square-1 {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(155, 59, 191, 0.2);
  bottom: 25%;
  right: 15%;
  animation: spin-slow 20s linear infinite;
  transform-origin: center;
}

.geo-diamond {
  position: absolute;
  pointer-events: none;
}

.geo-diamond-1 {
  width: 50px;
  height: 50px;
  background: rgba(245, 166, 35, 0.06);
  top: 40%;
  left: 5%;
  transform: rotate(45deg);
  animation: float-medium 10s ease-in-out infinite;
}

.geo-arc {
  position: absolute;
  pointer-events: none;
}

.geo-arc-1 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid rgba(245, 166, 35, 0.08);
  border-top-color: transparent;
  border-left-color: transparent;
  bottom: 15%;
  left: 30%;
  animation: spin-slow 18s linear infinite;
  transform-origin: center;
}

/* Dot Pattern */
.dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* ============================================
   Animations
   ============================================ */

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.02); }
  66% { transform: translate(-15px, 20px) scale(0.98); }
}

@keyframes float-medium {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -20px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   Navbar
   ============================================ */

#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(26, 3, 32, 0.92);
  backdrop-blur-xl;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0;
  padding-bottom: 0;
}

#navbar.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(40px);
  }

  .reveal-left {
    opacity: 0;
    transform: translateX(-40px);
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(40px);
  }

  .reveal-up.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   Menu Cards
   ============================================ */

.menu-card {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .menu-card {
    opacity: 0;
    transform: translateY(30px);
  }

  .menu-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Mobile Menu
   ============================================ */

.mobile-link {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobileMenu.open .mobile-link {
  opacity: 1;
  transform: none;
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* Hamburger Animation */
.menu-line {
  transition: all 0.3s ease;
}

#menuToggle.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menuToggle.active .menu-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#menuToggle.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 20px;
}

/* ============================================
   Focus Styles
   ============================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(245, 166, 35, 0.6);
  outline-offset: 2px;
}

/* ============================================
   Scrollbar
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1A0320;
}

::-webkit-scrollbar-thumb {
  background: #4A0E4E;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6D217E;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 768px) {
  .geo-circle-1 {
    width: 300px;
    height: 300px;
  }

  .geo-circle-2 {
    width: 180px;
    height: 180px;
  }

  .geo-triangle-1 {
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 69px solid rgba(245, 166, 35, 0.08);
  }

  .geo-square-1 {
    width: 50px;
    height: 50px;
  }

  .dot-pattern {
    background-size: 20px 20px;
  }
}
