/* =====================================================
   WonderLAN – Global Stylesheet
   Stable Nav / No Layout Shift / Production Safe
   ===================================================== */

/* ------------------
   Root Variables
------------------- */
:root {
  --navy: #032d60;
  --blue: #0b5ed7;
  --orange: #f47c20;
  --light-gray: #f5f7fa;
  --dark-gray: #333;
  --white: #ffffff;
}

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

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.5;
}

/* ------------------
   Layout Helpers
------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ------------------
   Header / Navigation
------------------- */
header {
  background-color: var(--white);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  height: 72px;
  display: flex;
  align-items: center;
}

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

/* Logo */
.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

/* ------------------
   Nav Links (NO SHIFT)
------------------- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

/* Reserve space so NOTHING moves */
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 2px;
  font-size: 0.95rem;
  font-weight: 500;                 /* NEVER changes */
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid transparent; /* space reserved */
  transition: color 0.15s ease;
}

/* Hover / Active = COLOR ONLY */
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ------------------
   Buttons
------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

/* Secondary (Login) */
.btn-secondary {
  background-color: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* Primary (Contact Us) */
.btn-primary {
  background-color: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #dd6f1c;
}

/* ------------------
   Hero Section
------------------- */
.hero {
  background-color: var(--light-gray);
  padding: 5rem 0;
}

.hero h1 {
  font-size: 2.6rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
}

/* ------------------
   Sections
------------------- */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--navy);
}

.section-header p {
  margin-top: 0.75rem;
  color: #555;
}

/* ------------------
   Footer
------------------- */
footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
}

footer p {
  text-align: center;
  font-size: 0.9rem;
}

/* ------------------
   Mobile
------------------- */
.mobile-menu-button {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--navy);
  }
}
