/* ============================================
   18 Street Raspas — Custom Styles
   ============================================ */

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

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

body {
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0d1530;
}
::-webkit-scrollbar-thumb {
  background: #2d4391;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d49a1a;
}

/* ============================================
   Geometric Background Shapes
   ============================================ */
.geo-shape {
  position: absolute;
  pointer-events: none;
}

.geo-circle-1 {
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border: 2px solid rgba(212, 154, 26, 0.08);
  border-radius: 50%;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
  bottom: 15%;
  left: 5%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(212, 154, 26, 0.06);
  border-radius: 50%;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
  top: 40%;
  left: 30%;
  width: 150px;
  height: 150px;
  background: rgba(212, 154, 26, 0.03);
  border-radius: 50%;
  animation: float-medium 12s ease-in-out infinite;
}

.geo-rect-1 {
  top: 20%;
  left: -3%;
  width: 120px;
  height: 120px;
  background: rgba(212, 154, 26, 0.04);
  transform: rotate(45deg);
  animation: float-medium 18s ease-in-out infinite;
}

.geo-triangle {
  bottom: 10%;
  right: 20%;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(212, 154, 26, 0.04);
  animation: float-slow 22s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes float-medium {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(-3deg); }
}

/* ============================================
   Scroll Indicator
   ============================================ */
.scroll-dot {
  animation: scroll-dot-anim 2s ease-in-out infinite;
}

@keyframes scroll-dot-anim {
  0% { top: 0; opacity: 1; }
  50% { top: 100%; opacity: 0.5; }
  100% { top: 0; opacity: 1; }
}

/* ============================================
   Marquee
   ============================================ */
.marquee-track {
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   Menu Tabs
   ============================================ */
.menu-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
}

.menu-tab:hover {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(212, 154, 26, 0.3);
  background: rgba(212, 154, 26, 0.05);
}

.menu-tab.active {
  background: rgba(212, 154, 26, 0.15);
  border-color: rgba(212, 154, 26, 0.5);
  color: #f5e0a0;
}

.menu-panel {
  animation: fadeIn 0.4s ease forwards;
}

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

/* ============================================
   Diagonal Clip Paths
   ============================================ */
.clip-diagonal {
  clip-path: polygon(50% 0%, 100% 0, 100% 100%, 0% 100%);
}

.clip-diagonal-reverse {
  clip-path: polygon(0% 0%, 100% 0, 100% 100%, 0% 100%);
}

/* ============================================
   Navbar Scroll State
   ============================================ */
#navbar.scrolled {
  background: rgba(13, 21, 48, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

#navbar.scrolled .menu-line {
  background: white;
}

#navbar .menu-line {
  background: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu.closed {
  opacity: 0;
  pointer-events: none;
}

/* ============================================
   Selection Color
   ============================================ */
::selection {
  background: rgba(212, 154, 26, 0.3);
  color: #f5e0a0;
}

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

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 767px) {
  .geo-circle-1 {
    width: 250px;
    height: 250px;
  }
  .geo-circle-2 {
    width: 150px;
    height: 150px;
  }
  .geo-circle-3 {
    display: none;
  }
  .geo-rect-1 {
    width: 60px;
    height: 60px;
  }
  .geo-triangle {
    display: none;
  }
}
