/* =========================
   GLOBAL RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0f0f0f;
  --bg-dark: #1a1a1a;
  --accent: #f57c00;
  --accent-hover: #ff9800;
  --text: #ffffff;
  --muted: #dddddd;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* =========================
   HEADER
========================= */

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  padding: 15px 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

/* HAMBURGER BUTTON (mobile) */
.nav-toggle {
  display: none;            /* hidden on desktop */
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  padding: 6px 10px;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  position: relative;
  transition: .3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0%;
  background: var(--accent);
  transition: .3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* =========================
   GENERAL LAYOUT
========================= */

.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
  padding: 100px 0 60px; /* spacing for fixed header */
}

h1, h2 {
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* =========================
   HERO SECTION
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  background: url("lefty logo.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;       /* vertical center */
  justify-content: center;   /* horizontal center */
  text-align: center;
  padding: 0 20px;
}

/* Remove extra container spacing inside hero */
.hero .container {
  padding: 0;   /* THIS fixes the vertical shift */
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* Make hero title orange (works if you use h1 OR h2) */
.hero h1,
.hero h2 {
  color: var(--accent);
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 30px;
  color: var(--muted);
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: all .3s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(245,124,0,.3);
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 80px 0;
  text-align: center;
}

.section.dark {
  background: var(--bg-dark);
}

/* =========================
   CONTACT FORM
========================= */

form {
  max-width: 500px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  padding: 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.15);
  background: #1f1f1f;
  color: #fff;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

button {
  border: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .nav-links {
    gap: 20px;
  }

  .hero {
    min-height: 90vh;
  }
}

@media (max-width: 768px) {

  /* Center nav area, hamburger sits on LEFT */
  .nav-container {
    position: relative;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    left: 0;                  /* 👈 hamburger on LEFT */
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #000;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    display: none;
  }

  /* JS should toggle .active */
  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .container {
    padding-top: 120px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: .95rem;
  }

  .btn {
    width: 100%;
  }
}
