/* ========== Reset & Base ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* SPA view transitions */
#app {
  flex: 1;
  display: flex;
  flex-direction: column;
  view-transition-name: main-content;
}
::view-transition-old(main-content) { display: none; }
::view-transition-new(main-content) { animation: fade-in 200ms ease-in; }
@keyframes fade-in  { from { opacity: 0; } to { opacity: 1; } }

:root {
  --bg: #ece4d9;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --accent: #3d3d3d;
  --white: #ffffff;
  --border: #d4d0ca;
  --font: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  background-color: #ece4d9;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


body > .footer {
  margin-top: auto;
}

/* ========== Oasis Background ========== */
body::before,
body::after {
  content: '';
  position: fixed;
  z-index: -1;
  pointer-events: none;
}

/* Left side - sand dune */
body::before {
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(ellipse at left center, #c9b896 0%, #d4c4a8 30%, transparent 70%);
  opacity: 0.3;
  border-radius: 0;
}

/* Right side - sand dune */
body::after {
  top: 0;
  bottom: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(ellipse at right center, #c9b896 0%, #d4c4a8 30%, transparent 70%);
  opacity: 0.3;
  border-radius: 0;
}

/* Oasis glow across circles */
.services-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 140%;
  background: radial-gradient(ellipse at center, #a0c4b0 0%, #b0ccb8 20%, #bdd4c4 45%, transparent 85%);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.services-grid {
  position: relative;
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #f8f5f0;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.navbar-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
  min-height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* Language Switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
  margin-right: 1rem;
  order: 2;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}

.lang-btn.active {
  opacity: 1;
  transform: scale(1.25);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  order: 3;
}

.bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav Menu (mobile dropdown) */
.nav-menu {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  border-top: 1px solid transparent;
  width: 100%;
  order: 4;
}

.nav-menu.open {
  max-height: 400px;
  padding: 0.5rem 0 1rem;
  border-top-color: var(--border);
}

.nav-link {
  display: block;
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
  transition: background 0.2s;
  text-align: center;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-link.active {
  color: #c4854a;
}

.nav-link--friskvard {
  color: #5a7a5a;
  font-weight: 600;
}

.nav-link--friskvard:hover {
  color: #4a6a4a;
}

.nav-link--admin {
  color: #e88a8a;
}
.nav-link--admin.active {
  color: #dc2626;
}

/* ========== Hero ========== */
.hero {
  margin-top: 70px;
  padding: 5.5rem 1.5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-logo {
  width: 320px;
  height: auto;
  display: block;
  margin: 1rem auto 1.5rem;
}

.hero p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 400px;
  margin: 0 auto;
}

/* ========== Services ========== */
.services {
  padding: 1.5rem 1.5rem 3rem;
}

.services h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.service-card {
  text-align: center;
  width: 260px;
  text-decoration: none;
  color: inherit;
}

.service-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  transition: transform 0.3s;
  background: #e8e0d8;
  border: 2px solid #d4cbc2;
}

.service-card {
  flex: 0 0 auto;
}

.service-circle:hover {
  border-color: var(--accent);
  transform: scale(1.05);
}


.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ========== Sections (placeholder) ========== */
.book-now,
.contact,
.about {
  padding: 3rem 1.5rem;
  text-align: center;
}

.book-now h2,
.contact h2,
.about h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.book-now p,
.contact p,
.about p {
  color: var(--text-light);
  font-size: 1rem;
}

/* Section dividers */
.book-now {
  border-top: 1px solid var(--border);
}

.contact {
  border-top: 1px solid var(--border);
}

.about {
  border-top: 1px solid var(--border);
}

/* ========== Treatment Pages ========== */
.treatment-hero {
  margin-top: 70px;
  padding: 4rem 1.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.treatment-hero h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.treatment-tagline {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 300;
}

.treatment-content {
  padding: 2.5rem 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.treatment-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.about-photo {
  display: block;
  width: 220px;
  height: 220px;
  margin: 1rem auto 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.about-content {
  gap: 0;
}

.about-content p {
  margin-bottom: 1rem;
}

.about-signature {
  font-style: italic;
  font-weight: 600;
  margin-top: 0.5rem;
}

.provider-link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid #5a7a5a;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.provider-link svg {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.provider-link:hover {
  color: #5a7a5a;
}

.provider-link:hover svg {
  opacity: 1;
}

.treatment-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.treatment-list li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.treatment-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.25rem;
  background: #f0ebe3;
}

.treatment-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.treatment-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.treatment-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 0.6rem;
}

.treatment-card p:last-child {
  margin-bottom: 0;
}

.treatment-card .treatment-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.treatment-card .treatment-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #4a4a4a;
  margin-bottom: 0.35rem;
}

.treatment-card .treatment-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5a7a5a;
}

.card-subheading {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 1.25rem 0 0.6rem;
}

.card-duration {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.78rem !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.75rem;
  border: 1.5px solid #5a7a5a;
  border-radius: 20px;
  background: #5a7a5a;
  color: var(--white) !important;
  margin-bottom: 0.75rem !important;
}

.time-green {
  color: #3d7a4a;
  font-weight: 500;
}

.card-highlight {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: 8px;
  border-left: 3px solid #5a7a5a;
}

.card-highlight p {
  margin-bottom: 0 !important;
  font-style: italic;
}

.card-warning {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: 8px;
  border-left: 3px solid #c0392b;
}

.card-warning p {
  margin-bottom: 0 !important;
  font-style: italic;
}

/* ========== Price List ========== */
.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table td {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr[data-card-link] {
  cursor: pointer;
  transition: background 0.2s;
}

.price-table tr[data-card-link]:hover {
  background: rgba(90, 122, 90, 0.08);
}

.price-table tr[data-card-link]:hover td:first-child {
  text-decoration: underline;
}

.price-cell {
  text-align: right;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  padding-left: 1rem;
}

.price-highlight td {
  color: #5a7a5a;
  font-weight: 600;
}

.price-highlight .price-cell {
  color: #5a7a5a;
}

.price-tag {
  margin-top: 1.25rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #5a7a5a;
  text-align: center;
  padding: 0.75rem;
  background: var(--bg);
  border-radius: 8px;
}

.massage-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.massage-item:last-of-type {
  border-bottom: none;
}

.massage-item h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.treatment-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4rem;
  margin-bottom: 4rem;
  width: 100%;
}

.back-link {
  text-decoration: none;
  color: var(--text-light);
  font-size: 1.05rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--text);
}

.btn-book {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}

.btn-book:hover {
  background: var(--text);
  transform: translateY(-1px);
}

.btn-book--card {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-book--card:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ========== Option Selector (multi-option treatments) ========== */
.option-selector {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.option-divider {
  color: var(--text-light);
  font-size: 0.85rem;
}

.option-btn {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.option-btn:hover {
  border-color: #5a7a5a;
  color: #3d7a4a;
}

.option-btn.active {
  background: #5a7a5a;
  color: var(--white);
  border-color: #5a7a5a;
}

.option-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #3d7a4a;
}

.option-selector .option-price {
  margin-left: auto;
}

.duration-row {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.duration-row .card-duration {
  margin-bottom: 0 !important;
}

.duration-row .option-price {
  margin-left: auto;
}

/* ========== Highlight Links (inline booking links) ========== */
.highlight-link {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.highlight-link:hover {
  color: var(--accent);
}

.contact-map-img {
  display: block;
  max-width: 600px;
  width: 90%;
  margin: 1.5rem auto 0;
  border-radius: 10px;
  cursor: pointer;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
}

/* ========== Contact Page ========== */
.contact-content {
  padding: 2.5rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-content h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.contact-card {
  margin-bottom: 2rem;
}

.contact-card h3 {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.contact-card p {
  font-size: 1.05rem;
  color: var(--text);
}

.contact-link {
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.contact-link:hover {
  border-color: var(--accent);
}

/* ========== Social Section ========== */
.social-section {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

/* ========== Footer ========== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-follow {
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.social-link {
  color: var(--text-light);
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--text);
}

/* ========== Desktop (768px+) ========== */
@media (min-width: 1100px) {
  .navbar {
    height: 70px;
    overflow: hidden;
  }

  .navbar-container {
    padding: 1rem 3rem;
    position: relative;
    height: 70px;
  }

  .hamburger {
    display: none;
  }

  .nav-menu {
    flex-direction: row;
    max-height: none;
    overflow: visible;
    padding: 0;
    gap: 0.25rem;
    border-top: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    order: unset;
  }

  .logo {
    font-size: 1.25rem;
    gap: 0.5rem;
  }

  .logo-icon {
    width: 45px;
    height: 45px;
  }

  .lang-switch {
    margin-left: auto;
    margin-right: 0;
    order: unset;
    gap: 0.7rem;
  }

  .lang-btn svg {
    width: 28px;
    height: 20px;
  }

  .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
  }

  .nav-link--friskvard {
    border: none;
    padding: 0.5rem 1rem;
    margin: 0;
    color: #5a7a5a;
    font-weight: 500;
    border-radius: 6px;
  }
  .nav-link--friskvard:hover {
    background: transparent;
    color: #4a6a4a;
  }

  .hero {
    padding: 3rem 3rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .services {
    padding: 1.5rem 3rem 4rem;
  }

  .services h2 {
    font-size: 2rem;
  }

  .services-grid {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
  }

  .services-grid::before {
    height: 280%;
  }

  .service-circle {
    width: 200px;
    height: 200px;
  }


  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-card p {
    font-size: 1rem;
  }

  .treatment-hero h1 {
    font-size: 2.5rem;
  }

  .treatment-content {
    max-width: 750px;
  }

  .treatment-content p {
    font-size: 1.1rem;
  }

  .treatment-card {
    padding: 1.75rem;
  }

  .treatment-card h2 {
    font-size: 1.25rem;
  }

  .treatment-card p,
  .treatment-card .treatment-list li {
    font-size: 0.95rem;
  }

  .contact-content {
    max-width: 750px;
  }

  .contact-content h2 {
    font-size: 2.3rem;
  }

  .contact-card p,
  .contact-link {
    font-size: 1.15rem;
  }

  .book-now,
  .contact,
  .about {
    padding: 4rem 3rem;
  }

  .footer {
    padding: 2rem 3rem;
  }
}
