/* ===============================
   GLOBAL RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #222;
}



/* ===============================
   NAVBAR (GRID — FIXED PROPERLY)
================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);

  /* 🔥 GRID MAGIC */
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 70px auto;
  align-items: center;
}

/* Top row positioning */
.logo {
  grid-column: 1;
  grid-row: 1;
  padding-left: 30px;
}

.nav-links {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.toggle {
  grid-column: 3;
  grid-row: 1;
  padding-right: 30px;
}

/* Links */
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 6px;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.12);
}

.logo img {
  height: 60px;
  object-fit: contain;
}

/* 🔥 BOTTOM BLACK BAR TITLE */
.navbar h1 {
  grid-column: 1 / -1; /* span full width */
  grid-row: 2;
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 14px;
  letter-spacing: 3px;
  padding: 10px 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}


/* ===============================
   HERO SECTION (OFFSET FIXED)
================================ */
.hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
  padding-top: 110px; /* 🔥 navbar total height */
  color: #fff;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 40px;
  text-align: center;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  text-transform: uppercase;
}

.hero-text p {
  margin-top: auto;
  margin-bottom: 40px;
  font-size: 1.1rem;
  opacity: 0.9;
} 

/* ===============================
   MOBILE NAV
================================ */
.toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding-right: 30px;
}

.toggle span {
  height: 3px;
  width: 30px;
  background: #fff;
  margin: 4px 0;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {

  .toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100vh;
    background: linear-gradient(180deg, #000, #111);
    flex-direction: column;
    justify-content: center;
    padding: 200px 30px 40px;
    transition: 0.4s ease;
    z-index: 950;
  }

  .nav-links.active {
    left: 0;
  }

  /*.nav-links::before {*/
  /*  content: "- THEOCONCRETE";*/
  /*  position: absolute;*/
  /*  top: 80px;*/
  /*  left: 30px;*/
  /*  color: rgba(255,255,255,0.6);*/
  /*  letter-spacing: 3px;*/
  /*  font-size: 12px;*/
  /*}*/

  /*.nav-links::after {*/
  /*  content: "POOLS | CONCRETE | OUTDOOR LIVING";*/
  /*  position: absolute;*/
  /*  top: 110px;*/
  /*  left: 30px;*/
  /*  right: 30px;*/
  /*  font-size: 16px;*/
  /*  color: #fff;*/
  /*  letter-spacing: 2px;*/
  /*}*/
}
