/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0A1628;
  color: #fff;
  overflow-x: hidden;
}

::selection {
  background: rgba(200, 150, 12, 0.3);
  color: #fff;
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C8960C;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #fde68a !important;
}

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

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

.mobile-link {
  position: relative;
}

.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #C8960C;
  transition: width 0.3s ease;
}

.mobile-link:hover::after {
  width: 60%;
}

/* Hamburger animation */
#menu-toggle.active .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle.active .line2 {
  opacity: 0;
}

#menu-toggle.active .line3 {
  transform: rotate(-45deg) translate(5px, -5px);
  background: #fde68a;
}

/* ===== HERO ===== */
.hero-gradient {
  background: linear-gradient(135deg, #0A1628 0%, #1b3871 35%, #0A1628 60%, #060f1e 100%);
}

/* Geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.geo {
  position: absolute;
  opacity: 0.07;
}

.geo-1 {
  top: 8%;
  right: 5%;
  width: 280px;
  height: 280px;
  background: #C8960C;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: float1 8s ease-in-out infinite;
}

.geo-2 {
  top: 25%;
  left: -3%;
  width: 200px;
  height: 200px;
  background: #fde68a;
  border-radius: 50%;
  animation: float2 10s ease-in-out infinite;
}

.geo-3 {
  bottom: 15%;
  right: 10%;
  width: 150px;
  height: 150px;
  border: 3px solid #C8960C;
  border-radius: 50%;
  animation: float3 7s ease-in-out infinite;
}

.geo-4 {
  top: 60%;
  left: 8%;
  width: 100px;
  height: 100px;
  background: #C8960C;
  transform: rotate(45deg);
  animation: float1 9s ease-in-out infinite reverse;
}

.geo-5 {
  top: 15%;
  left: 20%;
  width: 60px;
  height: 60px;
  background: #fde68a;
  border-radius: 12px;
  transform: rotate(30deg);
  animation: float2 6s ease-in-out infinite;
}

.geo-6 {
  bottom: 30%;
  right: 25%;
  width: 80px;
  height: 80px;
  border: 2px solid #fde68a;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: float3 11s ease-in-out infinite;
}

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

@keyframes float2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(15px) rotate(-10deg); }
}

/* Decorative lines */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.h-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 150, 12, 0.15), transparent);
}

.h-line-1 {
  top: 30%;
  left: 0;
  right: 0;
  width: 100%;
}

.h-line-2 {
  top: 70%;
  left: 0;
  right: 0;
  width: 100%;
}

.v-line {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(200, 150, 12, 0.1), transparent);
}

.v-line-1 {
  top: 0;
  bottom: 0;
  left: 15%;
  height: 100%;
}

.v-line-2 {
  top: 0;
  bottom: 0;
  right: 15%;
  height: 100%;
}

/* Scroll indicator */
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(253, 230, 138, 0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ===== ABOUT ===== */
.about-img-wrapper {
  position: relative;
}

.about-img-accent {
  z-index: -1;
  transition: transform 0.5s ease;
}

.about-img-wrapper:hover .about-img-accent {
  transform: translate(8px, 8px);
}

/* ===== MENU ===== */
.menu-tab {
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

.menu-tab.active {
  background: #C8960C;
  color: #0A1628;
  box-shadow: 0 4px 15px rgba(200, 150, 12, 0.3);
}

.menu-tab:not(.active):hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

.menu-card {
  position: relative;
  overflow: hidden;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: #C8960C;
  transition: height 0.3s ease;
}

.menu-card:hover::before {
  height: 100%;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== GALLERY ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ===== CONTACT FORM ===== */
input:focus,
select:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.08) !important;
}

select option {
  background: #0A1628;
  color: #fff;
}

/* ===== SCROLL REVEAL ===== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up {
  transform: translateY(0);
}

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

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

/* Hidden states for JS to animate */
@media (prefers-reduced-motion: no-preference) {
  .reveal-up.hidden-reveal {
    opacity: 0;
    transform: translateY(40px);
  }
  .reveal-left.hidden-reveal {
    opacity: 0;
    transform: translateX(-40px);
  }
  .reveal-right.hidden-reveal {
    opacity: 0;
    transform: translateX(40px);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .geo-1 { width: 150px; height: 150px; }
  .geo-2 { width: 100px; height: 100px; }
  .geo-3 { width: 80px; height: 80px; }
  .geo-4 { width: 60px; height: 60px; }
  .geo-5 { display: none; }
  .geo-6 { display: none; }

  h1 {
    font-size: 2.8rem !important;
  }

  h1 span {
    display: inline;
  }

  .about-img-badge {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin-top: 1rem;
    display: inline-block;
  }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0A1628;
}

::-webkit-scrollbar-thumb {
  background: rgba(200, 150, 12, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 150, 12, 0.5);
}
