/* General Styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure main content (like the contact section) takes the remaining space */
.contact {
  min-height: calc(100vh - 160px); /* Adjust to your footer height */
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
  height: 60px;
  border: none; /* Ensure no border is present */
  box-shadow: none; /* Remove any shadow */
}

.logo img {
  max-height: 150px; /* Adjust the logo size to fit within the navbar */
  height: auto;
  width: auto;
  margin-top: 90px;
  margin-left: 10px;
}


.navbar .logo h1 {
  color: #fff;
  margin: 0;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-links li {
  margin-left: 30px;
  font-size: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  transition: background 0.3s;
}

.nav-links a.active, .nav-links a:hover {
  background-color: #ff0000;
  border-radius: 5px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
@media (max-width: 600px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #000;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .nav-links a {
    font-size: 25px; /* Adjust this value to change the font size */
    color: #fff;
    font-weight: bold;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .navbar {
    padding: 10px;
  }
}

/* Hero Section */
.hero {
  background-image: url(/styles/photos/computers.png);
  background-color: #050505;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 30px;
  color: #fff;
}

.hero-content {
  text-align: center;
  margin-top: 0;
  padding-top: 50px;
  font-size: 15px;
}

.hero-content h1 {
  font-size: 3em;
}

.hero-content p {
  margin-bottom: 40px;
  font-weight: bold;
}

.hero-content .btn-primary {
  margin-top: 20px;
  background-color: #ff0000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.hero-content .btn-primary:hover {
  background-color: #cc0000;
}

/* Sales Pitch Section */
.sales-pitch {
  background-color: #050505; /* Light background */
  padding: 50px;
  text-align: center;
}

.sales-pitch-content {
  max-width: 800px;
  margin: 0 auto;
}

.sales-pitch h2 {
  font-size: 2.5em;
  color: #ff0000; /* Accent color */
  margin-bottom: 20px;
}

.sales-pitch p {
  font-size: 20px;
  color: white;
  margin-bottom: 30px;
  line-height: 1.6;
}

.sales-pitch .btn-primary {
  background-color: #ff0000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.sales-pitch .btn-primary:hover {
  background-color: #cc0000;
}


/* Style for H2 elements */
h2 {
  color: #ff0000; /* Red color */
  font-size: 2.5em; /* Adjust the size as needed */
  margin-bottom: 20px; /* Add some spacing below */
  font-weight: bold; /* Make the text bold */
}

/* Services Section */
.services {
  background-color: #050505;
  padding: 50px;
  text-align: center;
}

.services-content {
  margin-bottom: 40px;
}

.services h1 {
  font-size: 3em;
  color: #ff0000;
  margin-bottom: 20px;
}

.services p {
  font-size: 1.2em;
  color: #fff;
  margin-bottom: 30px;
}

.service-boxes {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service-box {
  background-color: #f3f3f3;
  padding: 20px;
  width: 30%;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 10px;
  transition: transform 0.3s;
}

.service-box:hover {
  transform: translateY(-10px);
}

.service-box h3 {
  margin: 20px 0 10px;
  color: #333;
}

.service-box p {
  color: #666;
}

.service-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* Contact Section */
.contact {
  background-color: #050505;
  padding: 50px;
  text-align: center;
  color: white;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-content h1 {
  font-size: 40px;
  color: #ff0000;
  margin-bottom: 20px;
}

.contact-content p {
  margin-bottom: 30px;
  font-size: 1.2em;
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  text-align: left;
  color: white;
  font-weight: bold;
}

.contact-form input, 
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus, 
.contact-form textarea:focus {
  outline: none;
  border-color: #ff0000;
}

.contact-form .btn-primary {
  background-color: #ff0000;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form .btn-primary:hover {
  background-color: #cc0000;
}

/* Placeholder Styling */
::placeholder {
  color: #999;
  font-style: italic;
  font-size: 16px;
}

/* Service Blocks: Unified Layout */
.service-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  padding: 20px;
  color: #333;
}

.service-text {
  width: 50%;
  padding: 0 20px;
  text-align: left;
  color: #ff0000
}

.service-image {
  width: 45%;
}

.service-image img {
  width: 100%;
  border-radius: 10px;
}

/* Button Styling */
.btn-primary {
  background-color: #ff0000; /* Red background */
  color: #fff; /* White text */
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  font-size: 1.1em;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: #cc0000; /* Darker red on hover */
}

/* Center Contact Us Button */
.center-button {
  text-align: center;
  margin: 20px 0;
}

/* Footer */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* About Us Section */
.about {
  background-color: #050505;
  padding: 50px;
  text-align: center;
  color: #fff;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h1 {
  font-size: 3em;
  color: #ff0000; /* Red accent color */
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.2em;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-content ul {
  list-style-type: none;
  padding: 0;
}

.about-content ul li {
  font-size: 1.1em;
  margin: 10px 0;
  color: #ff0000; /* Red accent */
}

/* Work Examples Section */
.work-examples {
  background-color: #000; /* Black background for the section */
  padding: 50px;
  text-align: center;
}

.work-examples h2 {
  font-size: 2.5em;
  color: #ff0000; /* Red color for section heading */
  margin-bottom: 40px;
}

.work-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.work-card {
  background-color: #1a1a1a; /* Dark gray background for the cards */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Darker shadow */
  width: 30%;
  padding: 20px;
  margin: 10px;
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-10px);
}

.work-card h3 {
  font-size: 1.5em;
  color: #ff0000; /* Red color for the card titles */
  margin-bottom: 10px;
}

.work-card p {
  color: #fff; /* White text for the card descriptions */
  font-size: 1em;
  margin-bottom: 20px;
}

.work-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.work-link:hover .work-image {
  transform: scale(1.05);
}

.work-link {
  display: inline-block;
  text-decoration: none;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .work-card {
    width: 100%; /* Stack the cards on smaller screens */
    margin-bottom: 20px;
  }

  .work-examples h2 {
    font-size: 2em;
  }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .work-card {
    width: 100%; /* Stack the cards on smaller screens */
    margin-bottom: 20px;
  }

  .work-examples h2 {
    font-size: 2em;
  }
}


/* Center the button */
.center-button {
  text-align: center;
  margin: 30px 0;
}

.center-button .btn-primary {
  background-color: #ff0000; /* Red background */
  color: #fff; /* White text */
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.center-button .btn-primary:hover {
  background-color: #cc0000; /* Darker red on hover */
}

/* Media Queries for Tablets */
@media (max-width: 1024px) {
  .hero {
    height: 70vh;
    padding-top: 30px;
  }

  .hero-content h1 {
    font-size: 2.5em;
  }

  .service-box {
    width: 45%;
    margin-bottom: 20px;
  }

  .nav-links li {
    margin-left: 20px;
  }
}

/* Mobile-Specific Styles */

body {
  margin-top: 60px; /* Match this to the navbar height */
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2em;
  }

  @media (max-width: 600px) {
    .navbar {
      height: 80px; /* Adjust the navbar height */
      border: none; /* Remove any border for mobile */
      box-shadow: none; /* Ensure there's no shadow on mobile */
    }
  }

  .btn-primary {
    padding: 8px 16px;
    font-size: 1em;
  }

  .service-box {
    width: 90%;
  }

  .service-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-image {
    width: 100%;
    margin-bottom: 20px;
  }

  .service-text {
    width: 100%;
  }

  footer {
    padding: 10px;
    font-size: 0.9em;
  }
}
