/* Reset some basic styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Basic styling */
body {
  font-family: Arial, sans-serif;
  color: #333;
  background: linear-gradient(to right, #ece9e6, #ffffff);
}

/* Navigation */
nav {
  background-color: #2c3e50;
  padding: 1em;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 1em;
}

.nav-left a,
.nav-right a {
  color: white;
  text-decoration: none;
  padding: 0.5em 1em;
}

.nav-right a:hover {
  background-color: #34495e;
  border-radius: 5px;
}

/* Section styling */
section {
  padding: 100px 20px;
  min-height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Section Colors */
/* Hero Section Background with Blur Effect */
#hero {
  position: relative;
  color: white;
  text-align: center;
  padding: 100px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Background image with blur effect */
#hero::before {
  content: "";
  background: url("../assets/home.webp") center/cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  filter: blur(8px);
  z-index: -1;
}

/* Hero text styling */
#hero h1 {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: white;
  text-shadow: 5px 5px 10px #ceccccb0, -2px -2px 6px rgba(255, 255, 255, 0.3);
}

#hero p {
  font-size: 1.5em;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#about {
  color: black;
  background-image: url("../assets/about.avif");
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

#about div {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  z-index: 1;
}

#about div::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8);
  filter: blur(5px);
  z-index: -1;
}

#services {
  background: linear-gradient(135deg, #43cea2, #185a9d);
  color: white;
}

#services h2 {
  padding: 30px;
}

#contact {
  background: linear-gradient(135deg, #ff6f61, #de4e25);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}

/* Flexbox layout for services */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-item {
  background-color: #fff;
  color: #333;
  width: 250px;
  padding: 20px;
  border: 2px solid #333;
  border-radius: 10px;
  transition: transform 0.3s;
}

.service-item img {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.service-item:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 1em;
}
