@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700');

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Roboto Condensed', sans-serif;
  color: #fff;
  background: #0b1117;
}

a { color: inherit; text-decoration: none; }

p {
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    letter-spacing: 0.05rem;
}

/* Top bar (white, centered brand, hamburger right) */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: #ffffff;
  z-index: 100;
}

.topbar-inner {
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand centered like screenshot */
.brand {
  font-weight: 600;
  color: #2b3a46;
  letter-spacing: 0.2px;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.brand img {
  height: 26px;
  width: auto;
  display: block;
}

/* Hamburger button */
.menu-btn, .menu-close {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.menu-icon {
  width: 18px;
  height: 2px;
  background: #2b3a46;
  position: relative;
  display: inline-block;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #2b3a46;
}

.menu-icon::before { top: -6px; }
.menu-icon::after  { top: 6px; }

/* Close icon state (X) */
.menu-icon.is-x {
  background: transparent;
}
.menu-icon.is-x::before {
  top: 0;
  transform: rotate(45deg);
  background: #ffffff;
}
.menu-icon.is-x::after {
  top: 0;
  transform: rotate(-45deg);
  background: #ffffff;
}

.hero {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: grid;
  place-items: center;

  /* UPDATED */
  padding: 140px 24px 120px;  /* top | left-right | bottom */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  /* soft grey/blue overlay like screenshots */
  background: rgba(40, 58, 72, 0.5);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 920px;
  padding: 32px 20px;
}

.hero-content h1 {
  font-size: clamp(30px, 4.8vw, 54px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(25px, 2vw, 30px);
  font-weight: 500;
  opacity: 0.95;
  margin-bottom: 18px;
  line-height: 1.5;
}

/* Paragraph blocks like about/what/why */
.hero-body {
  margin: 14px auto 18px;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.95;
}

.hero-body.small {
  max-width: 720px;
  font-size: 12px;
  line-height: 1.55;
  opacity: 0.9;
}

/* Outline button like screenshot */
.btn-outline {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
  background: white;
  border-color: rgba(255,255,255,0.85);
  color: black;;
}

/* Backgrounds per page (use your actual filenames) */
.hero-home  { background-image: url("../images/home-bg.jpg"); }
.hero-about { background-image: url("../images/about-bg.jpg"); }
.hero-what  { background-image: url("../images/what-bg.jpg"); }
.hero-why   { background-image: url("../images/why-bg.jpg"); }

/* Fullscreen menu overlay (polygon background feel) */
.menu-overlay {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  background:
    linear-gradient(rgba(30, 44, 58, 0.70), rgba(30, 44, 58, 0.70)),
    url("../images/menu-bg.jpg");
  background-size: cover;
  background-position: center;
}

.menu-overlay[hidden] { display: none !important; }

.menu-overlay { cursor: default; }
.menu-content { cursor: default; }

body.menu-open {
  overflow: hidden;
}

.menu-content {
  min-height: 100%;
  width: 100%;
  max-width: 600px;

  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding-top: 80px;   /* top breathing room */
  gap: 28px;
}

/* FORCE bottom space */
.menu-content::after {
  content: "";
  display: block;
  height: 100px;       /* bottom padding */
  flex-shrink: 0;
}

.menu-content a {
  font-size: 26px;           /* bigger items */
  font-weight: 400;
  opacity: 0.95;
}

.menu-touch {
  font-size: 22px;
  opacity: 0.95;
  margin-top: 6px;
}

.menu-email {
  font-size: 24px;
  opacity: 0.95;
}

/* Slightly smaller on phones */
@media (max-width: 480px) {
  .menu-content a { font-size: 22px; }
  .menu-email { font-size: 20px; }
}

@media (min-width: 1024px) {
  .menu-content {
    padding-top: 200px;   /* increase from 80px */
  }
}

/* Prevent scroll when menu open */
body.menu-open {
  overflow: hidden;
}
