* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

img {
  display: block;
  max-width: 100%;
}

.wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.half-width {
  flex: 1;
  min-width: 300px;
}

.third-width {
  flex: 1;
  min-width: 250px;
}

header {
  background-color: black;
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #333;
}

header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  height: 40px; 
  width: auto;
}

nav ul {
  display: flex;
  flex-wrap: wrap; 
}

nav li {
  margin-left: 20px;
}

nav a {
  font-size: 0.85rem; 
  font-weight: bold;
  text-transform: uppercase;
  color: #ccc;
  letter-spacing: 0.5px;
}

nav a:hover,
nav a.active {
  color: white;
  text-decoration: none;
  border-bottom: 2px solid white;
  padding-bottom: 4px;
}

.intro-section {
  height: 85vh;
  background-color: #111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/cam-main.png');
  background-size: cover;
  background-position: center;
}

.intro-text h1 {
  font-size: 4rem;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.intro-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-family: "Courier New", Courier, monospace;
}

.page-header {
  background-color: #111;
  color: white;
  padding: 80px 0;
  text-align: center;
  margin-bottom: 50px;
}

.page-header h1 {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-header p {
  color: #ccc;
  font-family: "Courier New", Courier, monospace;
}

section {
  padding: 80px 0;
}

.title-block {
  text-align: center;
  margin-bottom: 60px;
}

.title-block h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.button-style {
  display: inline-block;
  padding: 15px 40px;
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid white;
  color: white;
  background: transparent;
  cursor: pointer;
}

.button-style:hover {
  background: white;
  color: black;
}

.button-filled {
  background: white;
  color: black;
  border-color: white;
}

.button-filled:hover {
  background: #ccc;
  border-color: #ccc;
}

.gray-bg {
  background-color: #e5e5e5;
}

.info-box, 
.display-card {
  background: white;
  padding: 20px;
  border: 1px solid #ccc;
  transition: transform 0.2s;
}

.info-box {
  padding: 40px;
  text-align: center;
}

.info-box:hover, 
.display-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.display-card img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s;
  margin-bottom: 15px;
}

.display-card:hover img {
  filter: grayscale(0%);
}

.spec-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  font-family: "Courier New", monospace;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin-bottom: 40px;
}

.comparison-table th {
  background-color: black;
  color: white;
  text-align: left;
  padding: 15px;
  text-transform: uppercase;
}

.comparison-table td {
  padding: 15px;
  border-bottom: 1px solid #ccc;
}

.input-block {
  margin-bottom: 20px;
}

.input-block label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.input-block input, 
.input-block textarea, 
.input-block select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

.input-block input:focus, 
.input-block textarea:focus {
  outline: 2px solid black;
}

footer {
  background-color: #111;
  color: white;
  padding: 60px 0 20px 0;
  border-top: 5px solid #333;
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h4 {
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: white;
  text-transform: uppercase;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #aaa;
}

.footer-section a:hover {
  color: white;
  text-decoration: underline;
}

.bottom-line {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #666;
  font-size: 0.8rem;
}

@media screen and (max-width: 768px) {
  .intro-text h1 {
    font-size: 2.5rem;
  }

  header .wrapper {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    padding-top: 20px;
  }

  nav li {
    margin: 0;
    margin-bottom: 15px;
  }
  
  .half-width, .third-width {
    min-width: 100%;
  }
}

#scroll-up {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: black;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background-color 0.3s;
}

#scroll-up:hover {
  background-color: #333;
}