/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #0d0d0d;
  color: white;
  line-height: 1.6;
}

.logo img {
  height: 20px; 
  width: auto;
}

header {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0d0d0d;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header a {
  display: inline-flex;
  align-items: center;
}

header a svg {
  height: 40px; 
  width: auto;
  display: block;
}

header nav a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;

  
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/main.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 100;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;

}
/*
section {
  max-width: 960px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}
  
.services, h2, .service, .portfolio-item, .portfolio-items {
  max-width: 960px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

*/

.mainlayer {
  max-width: 960px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.services,
.portfolio-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service,
.portfolio-item {
  flex: 1 1 250px;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-family: inherit;
}

button {
  padding: 10px 20px;
  background: #e63946;
  border: none;
  color: white;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #b32c35;
}

footer {
  background: #0a0a0a;
  padding: 40px 20px;
  text-align: center;
}

footer .logo {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.socials a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.socials a:hover {
  text-decoration: underline;
}

footer nav {
  margin-top: 1rem;
}

footer nav a {
  color: #888;
  text-decoration: none;
  margin: 0 5px;
}

footer nav a:hover {
  text-decoration: underline;
}

.form-message {
  margin-top: 10px;
  font-weight: 600;
  color: #e63946;
}

@media (max-width: 768px) {
  .services,
  .portfolio-items {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}
