
/* Show logo text on contact page */
.logo-text {
  display: inline-block !important;
}

:root {
  --bg: #05080f;
  --text: #eaeaea;
  --muted: #9aa0a6;
  --accent: #1e90ff;
  --accent-hover: #1873cc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  background-image: url("./assets/contactbg.jpg");
  color: var(--text);
  font-family: var(--font-body);
  line-height: var(--leading);
  font-size: var(--fs-base);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(5, 8, 15, 0.7);
  padding: 14px 28px;
  transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.2, 1);
  transform: translateY(0);
  will-change: transform;
}

.navbar.navbar-hidden {
  transform: translateY(-100%);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-hero);
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  align-items: center;
}

.hamburger {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 0.25s ease;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, top 0.25s ease, bottom 0.25s ease, opacity 0.2s ease;
}
.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle.open .hamburger { transform: rotate(45deg); }
.nav-toggle.open .hamburger::before { transform: rotate(90deg); top: 0; }
.nav-toggle.open .hamburger::after { opacity: 0; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* Main Content */
.content-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 28px 60px;
  position: relative;
  z-index: 1;
  background-color: rgba(5, 8, 15, 0.75);
  background-image: linear-gradient(180deg, rgba(5, 8, 15, 0.75), rgba(5, 8, 15, 0.85)), url('./assets/contactbg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.content-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  z-index: -1;
  pointer-events: none;
}

.content-section {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.content-section.show {
  opacity: 1;
  transform: translateY(0);
}

.content-section h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  margin-bottom: 32px;
  font-weight: 600;
}

.content-section h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-item {
  margin-bottom: 28px;
}

.contact-item p {
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: var(--leading);
  margin: 0;
  font-family: var(--font-body);
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.closing-line {
  margin-top: 20px !important;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-inner {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    gap: 16px;
    font-size: 12px;
  }

  .content-main {
    padding: 90px 20px 40px;
  }

  .content-section h1 {
    font-size: 26px;
  }
}