/* ===============================
   RESET & BAS
   =============================== */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background: #fff;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===============================
   HEADER
   =============================== */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  height: 160px; /* fast höjd som täcker logo + paddings */
  box-sizing: border-box;
}
.header-top {
  flex-shrink: 0;
}
.logo {
  height: 120px; /* logga alltid samma höjd */
  transition: transform 0.3s ease; /* skala istället för height */
}
header.scrolled .logo {
  transform: scale(0.8); /* krymp logga utan att ändra höjd på headern */
}

.logo {
  height: 150px;
  width: auto;
  max-width: none;
  display: block;
  transition: height 0.3s ease;
}
#menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0;
}
#menu a {
  display: inline-block;
  padding: 0.4rem 0;
  color: #475569;
  font-weight: 600;
  transition: color 0.3s ease;
}
#menu a.active,
header.scrolled #menu a {
  color: #0f172a;
}
#menu a.btn.btn-primary {
  background: #0ea5e9;
  color: #fff !important;
}
#menu a.btn.btn-primary:hover {
  background: #0284c7;
  color: #fff !important;
}
header.scrolled .logo {
  height: 100px;
}
@media (max-width: 768px) {
  .logo {
    height: 100px;
  }
  #menu {
    gap: 1rem;
  }
}

/* ===============================
   HERO
   =============================== */
.hero {
  padding: 4rem 0;
  text-align: center;
}
.hero .badge {
  background: #0ea5e9;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
}
.hero h1 {
  font-size: 2.5rem;
  margin: 1rem 0;
}
.hero p {
  font-size: 1.1rem;
  color: #475569;
}
.hero-cta {
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.trust span {
  display: block;
  margin: 0.3rem 0;
}

/* ===============================
   BUTTONS
   =============================== */
.btn {
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-primary {
  background: #0ea5e9;
  color: #fff;
}
.btn-primary:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-outline {
  border: 2px solid #0ea5e9;
  color: #0ea5e9;
  background: transparent;
}
.btn-outline:hover {
  background: #0ea5e9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ===============================
   SERVICES
   =============================== */
.services {
  padding: 3rem 0;
  border-top: 1px solid #e2e8f0;
  background: #f9f9f9;
}
.section-title {
  text-align: center;
  margin: 0 0 2rem;
  position: relative;
}
.section-title h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  margin: 0.2rem 0;
}
.section-title h2::after {
  content: '';
  display: block;
  height: 3px;
  width: 50%;
  background: #0ea5e9;
  margin-top: 6px;
  border-radius: 2px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
.service {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
  display: grid;
  gap: 0.4rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.service h3 {
  margin: 0.2rem 0;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  background: #e0f2fe;
}

/* ===============================
   GALLERY
   =============================== */
.gallery {
  padding: 3rem 0;
  background: #f9f9f9;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photo:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===============================
   PRICES
   =============================== */
.prices {
  padding: 4rem 0;
  border-top: 1px solid #e2e8f0;
  background: #f9f9f9;
}
.price-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #0ea5e9;
  margin: 1rem 0;
}

/* ===============================
   TESTIMONIALS (Emoji Karusell)
   =============================== */
.testimonial-section {
  padding: 4rem 1rem;
  background: #f9f9f9;
  text-align: center;
}
.testimonial-grid {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  position: relative;
}
.testimonial-card {
  background:#fff;
  border-radius:12px;
  padding:1.5rem;
  text-align:center;
  min-width:220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.testimonial-card .emoji {
  font-size:2rem;
  margin-bottom:0.5rem;
}
.testimonial-nav {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.testimonial-nav button {
  background: #0ea5e9;
  color: #fff;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, transform 0.3s;
}
.testimonial-nav button:hover {
  background: #0284c7;
  transform: translateY(-2px);
}

/* ===============================
   BOOKING / FORM
   =============================== */
.booking {
  padding: 6rem 1rem;
  background: #fff;
}
.booking .section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}
.booking .section-title p {
  text-align: center;
  margin: 0 auto;
  display: block;
  font-size: 1.05rem;
  color: #475569;
}
form {
  display: grid;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  background: #f9f9f9;
  padding: 3rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 800px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
input,
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  font-size: 1rem;
}
label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.3rem;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: #0ea5e9;
  color: #fff;
  padding: 2rem 1rem;
}
footer a {
  color: #fff;
  text-decoration: underline;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}
footer h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer li {
  margin-bottom: 0.3rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}
/* FAQ animation */
.faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
  background: #f1f5f9;
}
.faq-answer {
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  padding: 1rem;
  max-height: 500px; /* tillräckligt för texten */
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.booking-card {
  background:#fff;
  padding:15px;
  border-radius:8px;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
}
.booking-card h3 { margin:0 0 10px; font-size:18px; }
.btn {
  display:inline-block;
  padding:6px 10px;
  background:#0ea5e9;
  color:#fff;
  border-radius:5px;
  text-decoration:none;
}
.btn:hover { background:#0284c7; }

/* ===== Mobil kortvy för bokningslistan ===== */
.mobile-list { display:none; }

@media (max-width:640px) {
  .table-wrap { display:none; }      /* Dölj tabellen på mobil */
  .mobile-list { display:block; }    /* Visa kortvyn på mobil */

  .booking-card {
    background:#fff;
    margin-bottom:12px;
    padding:12px;
    border-radius:10px;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
  }
  .booking-card h3 {
    margin:0 0 6px;
    font-size:18px;
  }
  .booking-card .meta { font-size:14px; color:#555; margin-bottom:6px; }
  .booking-card .actions a {
    display:inline-block;
    margin-right:6px;
    background:#0ea5e9;
    color:#fff;
    padding:6px 10px;
    border-radius:8px;
    text-decoration:none;
    font-size:14px;
  }
  .booking-card .status {
    font-weight:600;
    font-size:14px;
    display:inline-block;
    padding:2px 6px;
    border-radius:6px;
    margin-top:4px;
    color:#fff;
  }
  .status.klar { background:#16a34a; }
  .status.pagaende { background:#f59e0b; }
  .status.arkiverad { background:#6b7280; }
}