
/* ==================================
   BOSSES SIDOR - STYLESHEET
   ================================== */

/* 1. GRUNDINSTÄLLNINGAR */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: #0b1120;
  color: white;
  font-family: Arial, sans-serif;
}

h1 {
  color: #60a5fa;
  font-size: 60px;
  margin-bottom: 10px;
}

p {
  font-size: 20px;
  color: #a9b8ce;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 2. GRUNDSTIL FÖR LÄNKAR */

a {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 1s ease;
}

a:hover {
  background-color: #1d4ed8;
}

/* 3. NAVIGATION */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  color: #60a5fa;
  font-size: 22px;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  background: none;
  padding: 0;
  border-radius: 0;
  color: white;
}

nav a:hover {
  color: #60a5fa;
  background: none;
}

/* 4. HERO-SEKTION */

.hero {
  padding: 20px 0;
}

.hero-label {
  color: #60a5fa;
  font-size: 14px;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: clamp(24px, 5vw, 90px);
  line-height: 1.15;
  max-width: 850px;
}

.hero h1 span {
  color: #60a5fa;
}

.hero-text {
  color: #a9b8ce;
  font-size: 18px;
  max-width: 600px;
}

/* 5. GEMENSAM KNAPPDESIGN */

.hero-button,
.kontakt a {
  display: inline-block;
  margin-top: 20px;
  background-color: #2563eb;
  color: #ffffff;
  padding: 14px 28px;
  border: 1px solid #3b82f6;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease,
              transform 0.3s ease,
              box-shadow 0.3s ease;
}

.hero-button:hover,
.kontakt a:hover {
  background-color: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.secondary-button {
  display: inline-block;
  background-color: #17243a;
  color: #93c5fd;
  border: 1px solid #60a5fa;
  border-radius: 10px;
  padding: 14px 28px;
  margin-left: 10px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease,
              transform 0.3s ease;
}

.secondary-button:hover {
  background-color: #253b5c;
  transform: translateY(-3px);
}

/* 6. TJÄNSTER */

#tjanster {
  margin-top: 100px;
}

.tjanster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

#tjanster .kort {
  background-color: #17243a;
  border: 1px solid #60a5fa;
  border-radius: 20px;
  padding: 25px;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
}

#tjanster .kort:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

#tjanster .kort h3 {
  color: #93c5fd;
  font-size: 22px;
}

.kort p {
  font-size: 16px;
  color: #a9b8ce;
}

/* 7. KONTAKT */

.kontakt {
  margin: 100px 0 60px;
  padding: 60px 30px;
  background-color: #17243a;
  border: 1px solid #334155;
  border-radius: 16px;
  text-align: center;
}

.kontakt h2 {
  color: white;
  font-size: 32px;
}

.kontakt p {
  color: #a9b8ce;
  font-size: 18px;
  max-width: 500px;
  margin: 20px auto;
}

.kontakt a {
  margin-top: 15px;
}

/* 8. SIDFOT */

.footer {
  border-top: 1px solid #334155;
  padding: 40px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer h3 {
  color: #60a5fa;
  font-size: 20px;
}

.footer p {
  color: #94a3b8;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 14px;
}

.footer-links a:hover {
  color: #60a5fa;
}

.footer-bottom {
  margin-top: 35px;
  border-top: 1px solid #334155;
  padding-top: 15px;
}

/* 9. MOBILANPASSNING */

@media (max-width: 768px) {
  .tjanster-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: 92%;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    gap: 15px;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-text {
    font-size: 16px;
  }

  .kontakt {
    margin: 50px 0;
    padding: 30px 20px;
  }

  .kontakt h2 {
    font-size: 26px;
  }

  .footer-top {
    flex-direction: column;
  }
}
/* PORTFOLIO */

.portfolio {
  margin-top: 100px;
}

.portfolio h2 {
  font-size: 36px;
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.projekt-kort {
  background-color: #17243a;
  border: 1px solid #60a5fa;
  border-radius: 20px;
  padding: 30px;
  transition: transform 0.3s ease;
}

.projekt-kort:hover {
  transform: translateY(-8px);
}

.projekt-kort h3 {
  color: #93c5fd;
  font-size: 24px;
}

.projekt-kort p {
  font-size: 16px;
}

.projekt-kort span {
  color: #60a5fa;
  font-size: 14px;
}

/* Mobilanpassning */

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

