/* Base styles */
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  line-height: 1.6;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
}

.bgimg {
  background-image: url("Bilder/bakgrund.jpg");
  min-height: 100vh;
  background-position: center;
  background-size: cover;
}

/* Header styles */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  position: sticky; 
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px; /* avstånd mellan meny och Instagram-ikon */
}

.nav-toggle {
  display: none; /* visas endast på mobil i media query */
}

.instagram i {
  font-size: 1.5rem;
  color: #000;
  transition: color 0.3s ease;
}

.instagram i:hover {
  color: rgb(175, 150, 124);
}

.main-content {
  margin-top: 70px;
}
  
.logo {
  width: 80px;
}

.logo img {
  max-width: 100%;
  height: auto;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav li {
  display: inline-block;
  margin-right: 40px;
}

nav a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

/* Hamburgarknapp */
.nav-toggle {
  display: none;            /* visas på mobil i media query */
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: #000;
  transition: transform .25s ease, opacity .25s ease;
}

/* Skärmläsar-text */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

nav a:hover {
  color: rgb(175, 150, 124);
}

/* Dropdown menu */
.dropdown {
  position: relative;
}

.dropdown-content,
.dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  background-color: #ffffff;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  min-width: 150px;
  border-radius: 8px;
}

.dropdown:hover .dropdown-content,
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-content li,
.dropdown-menu li {
  padding: 12px 16px;
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-content li:last-child,
.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-content a:hover,
.dropdown-menu a:hover {
  color: rgb(175, 150, 124);
}

/* Hero section */
.center-button {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
}

.center-button button {
  padding: 20px 40px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5em;
  background: linear-gradient(135deg, rgb(175, 150, 124), rgb(195, 170, 144));
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(175, 150, 124, 0.4);
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  transform: translateY(0);
}

.center-button button:hover {
  background: linear-gradient(135deg, rgb(155, 130, 104), rgb(175, 150, 124));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(175, 150, 124, 0.6);
}

.new-line-text {
  font-size: 1.4em;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

/* Products section */
.ads-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  min-height: 100vh;
}

.ads-section h1 {
  font-size: 3em;
  margin-bottom: 10px;
  color: #2c3e50;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.ads-section h2 {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #555;
  font-weight: 400;
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 40px auto;
}

.ad {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.ad:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.ad img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ad:hover img {
  transform: scale(1.05);
}

.ad h3 {
  font-size: 1.4em;
  margin: 20px 0 10px;
  color: #2c3e50;
  padding: 0 20px;
}

.ad p {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 20px;
  padding: 0 20px;
}

.inquiry-btn {
  background: linear-gradient(135deg, rgb(175, 150, 124), rgb(195, 170, 144));
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.inquiry-btn:hover {
  background: linear-gradient(135deg, rgb(155, 130, 104), rgb(175, 150, 124));
  transform: translateY(-2px);
}

/* Filter buttons */
.price-filter {
  margin: 40px 0;
  padding: 5px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.price-filter h3 {
  margin-bottom: 20px;
  color: #2c3e50;
}

.filter-btn {
  background: #e9ecef;
  color: #495057;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: rgb(175, 150, 124);
  color: white;
  transform: translateY(-2px);
}

/* Info section */
.info-section {
  padding: 80px 10%;
  background: #fff;
  text-align: center;
}

.info-section h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #2c3e50;
}

.info-section p {
  font-size: 1.2em;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px;
}

.quality-info {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 40px;
  border-radius: 15px;
  margin-top: 50px;
}

.quality-info h3 {
  color: rgb(175, 150, 124);
  font-size: 1.8em;
  margin-bottom: 20px;
}

/* Contact CTA section */
.contact-cta {
  background: linear-gradient(135deg, rgb(175, 150, 124), rgb(195, 170, 144));
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.contact-cta h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.contact-cta p {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 40px 0;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-content p {
  margin: 10px 0;
  font-size: 1em;
}

/* About us page styles */
.row {
  display: flex;
  align-items: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.row.reverse {
  flex-direction: row-reverse;
}

.row .image {
  flex: 1;
  padding: 20px;
}

.row .image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.row .text {
  flex: 1;
  padding: 20px 40px;
}

.row .text h2 {
  font-size: 2.2em;
  color: #2c3e50;
  margin-bottom: 20px;
}

.row .text p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #555;
}

.omoss-sektion {
  margin-top: 80px;
}

/* Contact page styles */
.kontakt-container {
  max-width: 1200px;
  margin: 100px auto 50px;
  padding: 20px;
  text-align: center;
}

.kontakt-container h1 {
  font-size: 3em;
  color: #2c3e50;
  margin-bottom: 20px;
}

.kontakt-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}

.kontakt-form {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.kontakt-form label {
  display: block;
  font-weight: bold;
  margin-top: 20px;
  color: #2c3e50;
  text-align: left;
}

.kontakt-form input, .kontakt-form textarea {
  width: 100%;
  padding: 15px;
  margin-top: 8px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1em;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.kontakt-form input:focus, .kontakt-form textarea:focus {
  outline: none;
  border-color: rgb(175, 150, 124);
}

.kontakt-form button {
  margin-top: 25px;
  padding: 15px 40px;
  background: linear-gradient(135deg, rgb(175, 150, 124), rgb(195, 170, 144));
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.kontakt-form button:hover {
  background: linear-gradient(135deg, rgb(155, 130, 104), rgb(175, 150, 124));
  transform: translateY(-2px);
}

.kontakt-info {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  background: linear-gradient(135deg, rgb(175, 150, 124), rgb(195, 170, 144));
  color: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(175, 150, 124, 0.3);
  text-align: left;
}

.kontakt-info h2 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.kontakt-info p {
  margin-bottom: 10px;
  opacity: 0.9;
}

.kontakt-info iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  margin-top: 20px;
}

/* Gallery modal styles */
.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.gallery-modal[aria-hidden="false"] {
  display: flex;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.gallery-dialog {
  position: relative;
  max-width: min(90vw, 1000px);
  width: 90%;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-close {
  position: absolute;
  top: 15px;
  right: 15px;
  border: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
}

.gallery-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.gallery-stage {
  position: relative;
  aspect-ratio: 16/10;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
  left: 15px;
}

.gallery-nav.next {
  right: 15px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 20px;
  overflow-x: auto;
  background: #f8f9fa;
  justify-content: flex-start;
}

.gallery-thumbs button {
  border: 3px solid transparent;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  flex: 0 0 auto;
  transition: all 0.3s ease;
}

.gallery-thumbs button:hover {
  border-color: rgb(175, 150, 124);
}

.gallery-thumbs img {
  height: 80px;
  width: 80px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.gallery-thumbs button[aria-current="true"] {
  border-color: rgb(175, 150, 124);
}

/* Prevent background scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 20px;
    padding: 10px 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  
  nav li {
    margin-right: 0;
    text-align: center;
  }
  
  .center-button button {
    font-size: 1.2em;
    padding: 15px 25px;
  }
  
  .new-line-text {
    font-size: 1.1em;
  }
  
  .ads-section h1 {
    font-size: 2.2em;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .kontakt-flex {
    flex-direction: column;
  }
  
  .row {
    flex-direction: column;
    text-align: center;
  }
  
  .row.reverse {
    flex-direction: column;
  }
  
  .row .text {
    padding: 20px;
  }
  
  .gallery-nav {
    display: none;
  }
  
  .info-section {
    padding: 60px 5%;
  }
  
  .contact-cta {
    padding: 60px 20px;
  }

  .nav-toggle {
    display: block;
  }

  /* Göm menyn initialt på mobil */
  #primary-nav {
    display: none;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
  }

  /* När JS lägger klassen .open på nav */
  #primary-nav.open {
    display: block;
  }

  /* Stapla länkarna och fyll bredd */
  #primary-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  #primary-nav li {
    margin-right: 0;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
  }

  #primary-nav a {
    display: block;
    padding: 14px 16px;
    font-size: 1.05rem;
  }

  /* Dropdownen på mobil: låt den bli "inline", dold tills förälder expanderas */
  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    display: none;          /* dold till att börja med */
    border-radius: 0;
    padding-left: 8px;
  }
  .dropdown.open .dropdown-content {
    display: block;         /* visas när .open ligger på .dropdown */
  }

  /* Dölj desktopens hover-öppning på mobil (vi styr med klick) */
  .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 480px) {
  .ads-section h1 {
    font-size: 1.8em;
  }
  
  .center-button button {
    font-size: 1em;
    padding: 12px 20px;
  }
  
  .contact-cta h2 {
    font-size: 2em;
  }
  
  .gallery-thumbs img {
    height: 60px;
    width: 60px;
  }
}

/* Smooth animations */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ad {
  animation: fadeInUp 0.6s ease-out;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

.status-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#form-status {
    font-weight: bold;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Service pages (bygg/verkstad) ===== */
.service-hero {
  background: linear-gradient(180deg, rgb(175, 150, 124), rgb(195, 170, 144)), url('Bilder/snickare.jpg') center/cover no-repeat;
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.service-hero h1 { font-size: 2.2rem; margin-bottom: 8px; }
.service-hero p { font-size: 1.1rem; opacity: 0.95; }

.service-wrap { padding: 40px 0 64px; }
.service-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 900px) {
  .service-intro { grid-template-columns: 1fr 1.2fr; gap: 32px; }
}
.service-text h2 { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 12px 0 16px; }
.checklist li { position: relative; padding-left: 28px; margin: 8px 0; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  font-weight: 700;
}
.cta {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  background: #2f6f3e;
  color: #fff; text-decoration: none; border-radius: 8px;
  transition: transform .06s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }

.service-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 160px;
  gap: 12px;
}
@media (min-width: 700px) {
  .service-gallery { grid-auto-rows: 200px; gap: 14px; }
}
@media (min-width: 1100px) {
  .service-gallery { grid-auto-rows: 220px; gap: 16px; }
}
.img-placeholder {
  display: grid; place-items: center;
  background: #f2f2f2;
  border: 1px dashed #bbb;
  border-radius: 12px;
  font-weight: 600;
  color: #777;
}
.img-placeholder.tall { grid-row: span 2; }

.service-cards {
  margin-top: 36px;
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .service-cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}
.card h3 { margin-top: 4px; margin-bottom: 8px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Tweaks to match index/kontakt styling */
.service-hero { margin-top: 70px; }
.service-hero h1 { font-size: 2.4rem; }
.checklist li::before { content: "✓"; color: rgb(175, 150, 124); }
.cta {
  padding: 12px 20px;
  background: linear-gradient(135deg, rgb(175, 150, 124), rgb(195, 170, 144));
  color: #fff; text-decoration: none; border-radius: 10px; font-weight: bold;
  transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(175, 150, 124, 0.35);
}
.cta:hover {
  background: linear-gradient(135deg, rgb(155, 130, 104), rgb(175, 150, 124));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
/* ===== End service pages ===== */


/* Team / Personal */
.team {
  margin-block: 3rem;
}
.team-intro {
  margin: .5rem 0 1.5rem;
  color: #555;
}
.team-grid {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding: 0;
  margin: 0;
}
.team-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
}
.team-media {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f6f6f6;
}
.team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-body {
  padding: 1rem 1rem 1.25rem;
}
.team-name {
  margin: 0 0 .25rem;
  font-size: 1.125rem;
}
.team-title {
  margin: 0 0 .75rem;
  color: #777;
}
.team-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .35rem;
}
.team-contact a {
  text-decoration: none;
  word-break: break-word;
}
.team-contact a:hover,
.team-contact a:focus {
  text-decoration: underline;
}
.service-gallery > * {
  border-radius: 12px;
  overflow: hidden;
}
.service-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* === Hamburgarknapp: kryss-animation när öppen === */
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Se till att knappen ligger snyggt i headern bredvid loggan */
header .nav-toggle { margin-left: auto; }

/* === SOCIAL LINKS === */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #555;
  margin-left: 0.8rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-link:hover {
  color: #e4405f; /* Instagramrosa */
  transform: scale(1.15);
}

/* Header-version: håll den snyggt placerad */
header .social-link {
  position: relative;
  z-index: 1001;
}

@media (max-width: 768px) {
  header .social-link {
    position: absolute;
    top: 1rem;
    right: 4rem; /* bredvid hamburgaren */
  }

  .nav-toggle {
    display: block;
  }

    .header-layout {
    flex-direction: column;
    align-items: center;
  }
  
  .header-right {
    flex-direction: column;
    gap: 10px;
  }
}

/* Footer-version */
footer .social-link {
  color: #fff;
  margin-left: 1rem;
  font-size: 1.6rem;
}
footer .social-link:hover {
  color: #e4405f;
}

