/* Landing image section */
.landing-image {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  background-image: url('../skraphjalp_hemskarm.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.landing-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.landing-text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.landing-text h1 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 0 0 30px 0;
  line-height: 1.2;
}

.landing-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-shadow: none;
}

.landing-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.landing-button:active {
  transform: translateY(0);
}

/* Home page hero section */
.home-hero {
  padding: 40px 0;
}

.home-hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.home-logo-container {
  flex: 0 0 auto;
  max-width: 50%;
}

.home-logo {
  width: 100%;
  height: auto;
  max-width: 400px;
  display: block;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.home-welcome {
  flex: 1 1 300px;
  min-width: 300px;
}

.home-welcome h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.home-welcome p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 15px;
}

/* Steps section */
.steps-section {
  padding: 60px 0;
  background: var(--light);
}

.steps-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark);
  font-weight: 700;
}

.steps-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.step-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  width: 100%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 30px;
}

.step-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.step-item h3 {
  font-size: 1.3rem;
  color: white;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  padding: 20px;
  margin: 0;
}

.step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  text-align: center;
  margin: 0;
  padding: 0 10px;
}
