/* Näset Spindelsanering - CSS Design i retro 2011 stil */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f5f3ef, #e8e6e0);
  min-height: 100vh;
}

/* Retro 2011 Container Design */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
}

/* Header och Navigation */
header {
  background: linear-gradient(180deg, #6a0080, #4b0066);
  color: white;
  padding: 15px 0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.logo {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  position: relative;
}

.logo::before {
  content: "🕷️";
  position: absolute;
  left: -50px;
  top: 0;
  font-size: 1.5em;
  animation: spinnerMove 3s infinite ease-in-out;
}

.logo::after {
  content: "🕸️";
  position: absolute;
  right: -50px;
  top: 0;
  font-size: 1.2em;
  opacity: 0.8;
}

@keyframes spinnerMove {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.tagline {
  text-align: center;
  font-size: 1.1em;
  color: #f5f3ef;
  margin-bottom: 15px;
  font-style: italic;
}

/* Navigation med 2011 stil */
nav {
  text-align: center;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 8px;
}

nav ul {
  list-style: none;
  display: inline-block;
}

nav ul li {
  display: inline-block;
  margin: 0 3px;
}

nav ul li a {
  display: block;
  padding: 8px 15px;
  text-decoration: none;
  color: white;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

nav ul li a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Mobil hamburgermenyn */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  float: right;
  margin-top: -60px;
  margin-right: 20px;
}

/* Main Content */
main {
  padding: 30px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 0;
  background: linear-gradient(135deg, #f5f3ef, #ffffff);
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: inset 0 0 20px rgba(106,0,128,0.1);
}

.hero h1 {
  color: #6a0080;
  font-size: 2.5em;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.hero p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons med retro gradienter */
.cta-button {
  display: inline-block;
  padding: 12px 25px;
  margin: 8px;
  background: linear-gradient(180deg, #6a0080, #4b0066);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  border: 1px solid #8b0099;
}

.cta-button:hover {
  background: linear-gradient(180deg, #8b0099, #6a0080);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.cta-button.secondary {
  background: linear-gradient(180deg, #e8e6e0, #d4d2cc);
  color: #6a0080;
  border: 1px solid #6a0080;
}

.cta-button.secondary:hover {
  background: linear-gradient(180deg, #d4d2cc, #c0beb8);
}

/* Content Sections */
.content-section {
  background: white;
  padding: 30px;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  border-top: 4px solid #6a0080;
}

.content-section h2 {
  color: #6a0080;
  font-size: 1.8em;
  margin-bottom: 15px;
  border-bottom: 2px solid #f5f3ef;
  padding-bottom: 8px;
}

.content-section h3 {
  color: #4b0066;
  font-size: 1.4em;
  margin: 20px 0 10px 0;
}

/* Tabeller med 2011 stil */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

table th {
  background: linear-gradient(180deg, #6a0080, #4b0066);
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e8e6e0;
}

table tr:nth-child(even) {
  background: #f9f9f9;
}

table tr:hover {
  background: #f5f3ef;
}

/* Listor med retro stil */
ul.benefits-list {
  list-style: none;
  padding: 0;
}

ul.benefits-list li {
  padding: 10px 0;
  border-bottom: 1px dotted #d4d2cc;
  position: relative;
  padding-left: 25px;
}

ul.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6a0080;
  font-weight: bold;
  font-size: 1.2em;
}

/* Info boxar */
.info-box {
  background: linear-gradient(135deg, #f5f3ef, #ffffff);
  border: 2px solid #6a0080;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 10px rgba(106,0,128,0.1);
}

.info-box h3 {
  color: #6a0080;
  margin-bottom: 10px;
}

/* Formulär design */
.form-container {
  background: linear-gradient(135deg, #ffffff, #f5f3ef);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin: 30px 0;
  border: 1px solid #e8e6e0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #d4d2cc;
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6a0080;
  box-shadow: 0 0 8px rgba(106,0,128,0.2);
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.hidden {
  display: none;
}

/* Spam skydd */
.spam-check {
  background: #f5f3ef;
  border: 1px solid #d4d2cc;
  padding: 15px;
  border-radius: 6px;
  margin: 15px 0;
}

.spam-check label {
  font-weight: normal;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.spam-check input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  transform: scale(1.2);
}

/* Footer */
footer {
  background: linear-gradient(180deg, #4b0066, #2d0040);
  color: white;
  padding: 30px;
  border-radius: 0 0 8px 8px;
  margin-top: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #f5f3ef;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: white;
  text-decoration: underline;
}

.footer-address {
  background: rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 8px;
  text-align: right;
}

.footer-address h4 {
  color: #f5f3ef;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.copyright {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: #d4d2cc;
}

/* Responsiv design för mobil */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  nav ul {
    display: none;
    width: 100%;
    background: rgba(0,0,0,0.9);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    border-radius: 0 0 8px 8px;
  }
  
  nav ul.show {
    display: block;
  }
  
  nav ul li {
    display: block;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  nav ul li a {
    padding: 15px 20px;
    border-radius: 0;
  }
  
  .hero h1 {
    font-size: 2em;
  }
  
  .hero p {
    font-size: 1.1em;
  }
  
  main {
    padding: 20px;
  }
  
  .content-section {
    padding: 20px;
  }
  
  table {
    font-size: 0.9em;
  }
  
  table th,
  table td {
    padding: 8px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-address {
    text-align: center;
  }
  
  .logo::before,
  .logo::after {
    display: none;
  }
}

/* Ytterligare mobiloptimering */
@media (max-width: 480px) {
  .container {
    margin: 10px;
    border-radius: 6px;
  }
  
  .hero {
    padding: 25px 0;
  }
  
  .hero h1 {
    font-size: 1.8em;
  }
  
  .cta-button {
    display: block;
    margin: 8px 0;
    text-align: center;
  }
  
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}