body {
  margin: 0;
  padding: 0;
  background: url("../images/bakrundsbild.png") no-repeat center center fixed;
  background-size: cover;
  text-align: center;
}

.hero {
  margin-top: 8vh;
}

.logo {
  width: 400px;
  height: auto;
  margin-bottom: 20px;
}

/* .logo:hover {
  filter: drop-shadow(0 0 6px #d8c4a1);
  transition: filter 0.3s ease-in-out;
} */


.section-divider {
  background-color: #061227; /* Mörkblå ton */
  color: white;
  text-align: center;
  padding: 60px 20px 60px;
  margin: 0;
}

.section-divider h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.section-divider p {
  font-size: 1.1em;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 0;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* Project Cards */

.projects-section {
  background-color: #061227;
  padding: 40px 20px 60px; 
  color: white;
  text-align: center;
}

.projects-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.project-card {
  background-color: #0b1e3f;
  padding: 30px 20px;
  width: 260px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 0 0 transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.project-card .icon svg {
  width: 40px;
  height: 40px;
  fill: #9bb3d3;
  margin-bottom: 10px;
}


.project-card h3 {
  margin: 0;
  font-size: 1.3em;
}

.project-card p {
  font-size: 0.95em;
  opacity: 0.85;
  text-align: center;
}


/* kontakt-sektion */

.contact-section {
  background-color: #061227;
  padding: 60px 20px 60px;
  color: white;
  text-align: center;
}

.contact-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.contact-section form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-section textarea {
  min-height: 75px; /* t.ex. 140–180px beroende på vad du gillar */
}


.contact-section input,
.contact-section textarea {
  background-color: #0b1e3f;
  color: white;
  border: 1px solid #1f365a;
  border-radius: 6px;
  padding: 12px;
  font-size: 1em;
  resize: vertical;
  font-family: inherit;
}

.contact-section input::placeholder,
.contact-section textarea::placeholder {
  color: #9bb3d3;
  opacity: 0.8;
}

.contact-section button {
  background-color: #0b1e3f;
  color: white;
  border: 1px solid #1f365a;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: fit-content;
  align-self: center;
}


.contact-section button:hover {
  background-color: #15305e;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
}

.modal-content {
  background-color: #0b1e3f;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  color: white;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-content h2 {
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 1em;
  opacity: 0.9;
}

.close {
  float: right;
  font-size: 1.5em;
  cursor: pointer;
  color: white;
}

/* Footer */
.site-footer {
  background-color: #061227;
  color: white;
  padding: 40px 20px;
  text-align: center;
  padding: 20px 0;
}

.site-footer p {
  margin-bottom: 20px;
  font-size: 0.95em;
  opacity: 0.7;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons svg {
  fill: white;
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

.social-icons a:hover svg {
  transform: scale(1.2);
  fill: #9bb3d3;
}