/* index.css – desktop only (≥ 1025px) */

:root {
  --header-height: 5rem;
  --sidebar-border: 0.25rem;
  --gold: #ffcc00;
  --bg-dark: #000000;
  --btn-dark: #0b0b0b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ===== Base reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 0;
  background-color: var(--bg-dark);
  font-family: inherit;
}

/* =========================
   HEADER (top bar)
   ========================= */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  border: 0.2rem solid var(--gold);
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-text h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.04rem;
  line-height: 1.1;
  color: #000000;
}

.logo-text h2 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  color: #333333;
}

/* header right side container */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* desktop contact text with icons */
.contact-info {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  white-space: nowrap;
}

.contact-info a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info a i {
  font-size: 0.95rem;
  color: var(--gold);
}

.contact-info a:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-0.12rem);
  box-shadow: 0 0.6rem 1rem rgba(0, 0, 0, 0.1);
}

/* mobile-only bits are hidden on desktop */
.header-actions {
  display: none;
}

.menu-toggle {
  display: none;
}

/* =========================
   MAIN LAYOUT
   ========================= */

.main-container {
  display: flex;
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
}

/* =========================
   SIDEBAR (nav)
   ========================= */

.sidebar {
  width: 10%;
  background: #ffffff;
  color: #000000;
  padding: 2rem 1rem;
  position: fixed;
  top: var(--header-height);
  bottom: 0;
  left: 0;
  overflow-y: auto;

  border-top: var(--sidebar-border) solid var(--gold);
  border-right: var(--sidebar-border) solid var(--gold);
  border-left: none;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.08);
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li + li {
  margin-top: 0.25rem;
}

.nav-link {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  transition: all 0.25s ease;
  text-transform: none;
}

.nav-link:hover,
.nav-link.nav-active {
  background: var(--gold);
  transform: translateX(0.3rem);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 0 1.2rem rgba(255, 204, 0, 0.8);
  text-transform: uppercase;
}

/* =========================
   CONTENT / IFRAME
   ========================= */

.content {
  width: 90%;
  margin-left: 10%;
  padding: 0;
  background: transparent;
  overflow: hidden;
  position: relative;
}

.page-frame {
  width: 100%;
  height: calc(100vh - var(--header-height));
  border: none;
  display: block;
  margin: 0;
  background-color: var(--bg-dark);
}

/* overlay never used on desktop, keep hidden */
.nav-overlay {
  display: none;
}

/* =========================
   ADVANCED SCROLL TOGGLE BUTTON (↑ / ↓)
   ========================= */

.back-to-top-btn {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 30% 20%, #222, #050505 70%);
  color: var(--gold);
  cursor: pointer;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.9),
    0 0 18px rgba(255, 204, 0, 0.15);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

/* inner arrow style */
.back-to-top-btn .arrow {
  position: relative;
  z-index: 3;
  line-height: 1;
}

/* rotating light ring */
.back-to-top-btn .btn-ring {
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(255, 204, 0, 0.4) 60deg,
      transparent 120deg,
      transparent 360deg
    );
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity 0.3s ease;
  z-index: 1;
}

.back-to-top-btn:hover .btn-ring {
  opacity: 1;
  animation: spinRing 2s linear infinite;
}

/* soft outer glow */
.back-to-top-btn .btn-glow {
  position: absolute;
  width: 130%;
  height: 130%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.3), transparent 70%);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.25s ease;
}

/* hover & active depth */
.back-to-top-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 204, 0, 0.6);
  background: radial-gradient(circle at 30% 20%, #333, #050505 80%);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.95),
    0 0 28px rgba(255, 204, 0, 0.35);
}

.back-to-top-btn:hover .btn-glow {
  opacity: 1;
}

.back-to-top-btn:active {
  transform: translateY(0px) scale(0.97);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.8),
    0 0 16px rgba(255, 204, 0, 0.25);
}

/* direction-based animations for arrow */
.back-to-top-btn.dir-up .arrow {
  animation: floatUp 1.8s ease-in-out infinite;
}

.back-to-top-btn.dir-down .arrow {
  animation: floatDown 1.8s ease-in-out infinite;
}

/* keyframes */

@keyframes spinRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatUp {
  0%, 100% {
    transform: translateY(1px);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes floatDown {
  0%, 100% {
    transform: translateY(-1px);
  }
  50% {
    transform: translateY(4px);
  }
}