html { scroll-behavior: smooth; height: 100%; }
body { margin: 0; font-family: 'Open Sans', sans-serif; background: black; color: white; overflow-x: hidden; position: relative; min-height: 100%; }

.background-image {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transition: opacity 2s ease-in-out;
}
#bg1 { background-image: url('images/background1.jpg'); opacity: 1; }
#bg2 { background-image: url('images/background2.jpg'); opacity: 0; }
#bg3 { background-image: url('images/background3.jpg'); opacity: 0; }
#bg4 { background-image: url('images/background4.jpg'); opacity: 0; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: rgba(18,18,18,0.85);
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}
.logo img { height: 50px; margin-right: 10px; }
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  font-family: 'Arial Black', sans-serif;
}
.logo-text .correct { font-size: 2em; font-weight: bold; color: #228B22; }
.logo-text .house-watch { font-size: 1.2em; font-weight: bold; color: #ffffff; }

.hamburger {
  display: none;
  font-size: 2em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-left: 10px;
}
.mobile-section {
  display: none;
  font-size: 0.8em;
  color: #ccc;
  margin-left: 20px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
nav a {
  color: white;
  text-decoration: none;
  margin: 10px;
  font-size: 1em;
  font-weight: 600;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #ffffff;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}
nav a.active::after,
nav a:hover::after {
  width: 100%;
}

section {
  min-height: 100vh;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero {
  flex-direction: column;
  overflow: hidden;
  position: relative;
  text-align: center;
  padding: 50px 20px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}
.hero-text, .hero-image {
  flex: 1;
  min-width: 250px;
  position: relative;
  z-index: 1;
}
.hero-text h1 {
  font-size: 4em;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-text p {
  font-size: 1.5em;
  max-width: 90%;
  margin-bottom: 30px;
}
.hero-text a.button {
  display: inline-block;
  background-color: #228B22;
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  font-size: 1.2em;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.3s;
}
.hero-text a.button:hover {
  background-color: #2fbf2f;
  transform: scale(1.05);
}
.hero-image img {
  max-width: 50%;
  height: auto;
  margin-top: -20%;
}

/* 🔧 Responsive Adjustments */
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .logo {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }
  .logo img {
    height: 40px;
  }
  .logo-text {
    align-items: center;
    text-align: center;
  }
  .hamburger {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
  }
  .mobile-section {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }
  nav {
    flex-direction: column;
    background-color: rgba(18,18,18,0.95);
    width: 100%;
    display: none;
  }
  nav.open {
    display: flex !important;
    flex-direction: column;
    animation: fadeIn 0.3s ease-in-out;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  nav a {
    margin: 15px 0;
    font-size: 1.2em;
  }
  section {
    padding: 100px 20px;
  }
  .hero {
    padding: 40px 20px 60px;
    justify-content: flex-start;
  }
  .hero-text h1 {
    font-size: 2.2em;
  }
  .hero-text p {
    font-size: 1.2em;
  }
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    padding: 100px 40px;
  }
  .hero-text {
    text-align: left;
  }
  nav {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 5em;
  }
  .hero-text p {
    font-size: 1.8em;
  }
}
