/* ═══════════════════════════════════════════════════════════
   HERO SECTION — Navbar + Hero + İstanbul Skyline
   ═══════════════════════════════════════════════════════════ */

/* ─── Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: var(--z-navbar);
  transition: all var(--transition-base);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  height: 90px;
  background: rgba(10, 15, 28, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 164, 92, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  justify-self: start;
}

.navbar-logo img {
  height: 150px;
  width: auto;
  transition: all var(--transition-base);
  filter: drop-shadow(0 0 10px rgba(200, 164, 92, 0.5)) brightness(1.2);
  mix-blend-mode: lighten;
  transform-origin: left center;
}

.navbar.scrolled .navbar-logo img {
  height: 110px;
}

.navbar-logo:hover img {
  transform: scale(1.05);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  justify-self: center;
}

.navbar-actions {
  display: flex;
  align-items: center;
  justify-self: end;
}

.mobile-only-cta {
  display: none !important;
}

.navbar-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: var(--space-2) 0;
  transition: color var(--transition-fast);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-base);
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--gold-primary);
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

.navbar-cta {
  margin-left: 0;
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero Section ──────────────────────────────────────── */
/* ─── Hero Section ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--navbar-height);
  overflow: hidden;
  background: transparent;
}

/* Glowing premium gold separator line at the bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  box-shadow: 0 0 12px rgba(200, 164, 92, 0.4);
  z-index: 3;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in;
}

.hero-video.loaded {
  opacity: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 10, 19, 0.75) 0%,
    rgba(7, 10, 19, 0.3) 40%,
    rgba(7, 10, 19, 0.6) 80%,
    rgba(7, 10, 19, 0.95) 100%
  ),
  radial-gradient(
    circle at center,
    transparent 0%,
    rgba(7, 10, 19, 0.2) 60%,
    rgba(7, 10, 19, 0.7) 100%
  );
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: calc(100vh - var(--navbar-height));
  padding-bottom: var(--space-8);
}

.hero-content {
  max-width: 900px;
  margin: auto auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(200, 164, 92, 0.15);
  border: 1px solid rgba(200, 164, 92, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(5px);
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  color: var(--text-primary);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title span {
  display: block;
}

.hero-title .hero-top-title {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--gold-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.hero-title .accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-description {
  font-size: var(--text-xl);
  line-height: 1.8;
  margin-bottom: var(--space-8);
  color: #FFFFFF;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: flex;
  gap: var(--space-12);
  justify-content: center;
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(200, 164, 92, 0.15);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gold-primary);
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: color var(--transition-base);
}

.hero-scroll-indicator:hover {
  color: var(--gold-primary);
}

.hero-scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: var(--radius-full);
  position: relative;
}

.hero-scroll-indicator:hover .hero-scroll-mouse {
  border-color: var(--gold-primary);
}

.hero-scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: var(--radius-full);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

.hero-scroll-indicator:hover .hero-scroll-wheel {
  background: var(--gold-primary);
}

@keyframes scrollWheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 15px); }
}


/* Floating elements */
.hero-float-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-float-1 {
  width: 300px;
  height: 300px;
  background: rgba(200, 164, 92, 0.08);
  top: 10%;
  right: -5%;
  animation: floatOrb 15s ease-in-out infinite;
}

.hero-float-2 {
  width: 200px;
  height: 200px;
  background: rgba(59, 130, 246, 0.05);
  bottom: 20%;
  left: -5%;
  animation: floatOrb 20s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 30px); }
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 90px;
    background: transparent;
  }
  
  .navbar.scrolled {
    height: 56px;
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-logo img {
    height: 75px;
  }

  .navbar.scrolled .navbar-logo img {
    height: 40px;
  }

  .navbar-actions {
    display: none !important;
  }

  .mobile-only-cta {
    display: inline-flex !important;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 280px;
    height: 100vh;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    transform: translateX(100%);
    transition: transform var(--transition-base), visibility var(--transition-base);
    visibility: hidden;
    border-left: 1px solid rgba(200, 164, 92, 0.15);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
  }

  .navbar-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  .navbar-toggle {
    display: flex;
    z-index: 10000;
    padding: 12px; /* Increase tap target size */
    gap: 6px;
  }

  /* Significantly Enlarged Hamburger Menu Icon Spans */
  .navbar-toggle span {
    width: 34px; /* Increased from 28px */
    height: 3.5px; /* Increased from 2.5px */
    background: var(--text-primary);
  }

  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .navbar-link {
    font-size: var(--text-lg);
  }

  /* Hero Content Mobile Adjustments */
  .hero-container {
    padding-top: 95px !important;
    min-height: auto;
  }

  .hero-badge {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-4);
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: var(--space-4);
  }

  .hero-title .hero-top-title {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: var(--space-1);
  }

  .hero-description {
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
    padding: 0 var(--space-2);
  }

  .hero-stats-row {
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
  }

  .hero-stat {
    text-align: center;
  }
}
