:root {
  --bg: #fff7f8; /* Soft creamy white */
  --accent: #f4e1e9; /* Blush pink */
  --text: #4a3c4e; /* Deep lavender-gray for text */
  --primary: #a14b6b; /* Rose pink */
  --secondary: #e8c6d2; /* Light pink for accents */
}

/* 🧭 Grundinställningar */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height, 80px);
}

body {
  font-family: 'Lora', 'Georgia', serif; /* Elegant serif font for body */
  background: var(--bg);
  color: var(--text);
  line-height: 1.7; /* Slightly increased for better readability */
}

/* 🧱 Header och meny */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 247, 248, 0.95); /* Slightly pinkish white */
  backdrop-filter: blur(10px); /* Softer blur */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 10;
  --header-height: 80px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  min-height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px; /* Adjust based on your logo's dimensions */
  width: auto; /* Maintains aspect ratio */
  max-width: 350px; /* Prevents oversized logos */
  transition: transform 0.3s ease; /* Subtle hover effect */
}

.logo:hover img {
  transform: scale(1.05); /* Slight zoom on hover for elegance */
}

/* Meny */
nav ul {
  display: flex;
  gap: 1.8rem; /* Slightly wider spacing */
  list-style: none;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 1.1rem; /* Slightly larger for elegance */
  position: relative; /* For underline effect */
  transition: color 0.3s ease, opacity 0.3s ease; /* Smooth color and opacity transition */
}

nav a::after {
  content: '';
  position: absolute;
  width: 100%; /* Static underline */
  height: 1px; /* Thinner for subtlety */
  bottom: -3px;
  left: 0;
  background: var(--secondary); /* Light pink for a softer look */
  opacity: 0.3; /* Low opacity for subtlety */
  transition: opacity 0.3s ease; /* Only opacity changes on hover */
}

nav a:hover::after {
  opacity: 0.7; /* Slightly more visible on hover */
}

nav a:hover {
  color: var(--secondary); /* Softer color change to light pink */
}

/* 🖼️ Hero-sektion */
.hero {
  background: linear-gradient(180deg, rgba(161, 75, 107, 0.4), rgba(232, 198, 210, 0.3)), url('hero-massage.png') center/cover no-repeat; /* Gradient overlay */
  color: #fff;
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* Slightly lighter overlay */
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; /* Larger for drama */
  margin-bottom: 0.8rem;
  letter-spacing: 1.5px;
}

.hero p {
  font-family: 'Lora', serif;
  font-size: 1.4rem; /* Slightly larger */
  font-style: italic; /* Adds elegance */
}

/* 📜 Innehållssektioner */
main {
  max-width: 1200px;
  margin: auto;
  padding: 3rem 2rem;
}

section {
  margin-bottom: 4rem;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}

p, li, address {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.prices p {
  font-weight: 500;
  font-style: italic; /* Adds a feminine touch */
}

.btn {
  background: linear-gradient(90deg, var(--primary), var(--secondary)); /* Gradient button */
  color: white;
  padding: 0.9rem 1.8rem;
  border-radius: 12px; /* Softer corners */
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px); /* Subtle lift */
  box-shadow: 0 4px 12px rgba(161, 75, 107, 0.3); /* Soft glow */
}

/* 🦶 Footer */
footer {
  background: var(--accent);
  text-align: center;
  padding: 2rem;
  font-size: 1rem;
  color: var(--text);
  font-family: 'Lora', serif;
  font-style: italic;
}

/* 🌟 Fade-in animationer */
.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ⬆️ Scroll till toppen-knapp */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(161, 75, 107, 0.3);
}

#scrollTopBtn.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

#scrollTopBtn:hover {
  background: var(--secondary);
  transform: scale(1.1); /* Slight scale on hover */
}

/* 📱 Responsiv design och hamburgarmeny */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* När skärmen blir smal */
@media (max-width: 800px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding-bottom: 1.5rem;
  }

  .menu-icon {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    animation: fadeDown 0.4s ease;
  }

  #menu-toggle:checked + .menu-icon + nav {
    display: block;
  }

  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  header .container {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 5rem 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  main {
    padding: 2rem 1rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .logo img {
    height: 40px; /* Smaller logo for mobile */
    max-width: 320px;
  }
}


/* Hyperlänkar i kontaktsektionen */
#kontakt address a {
  color: var(--primary); /* Matches h2 color */
  text-decoration: none;
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 1.1rem;
  position: relative; /* For underline effect */
  transition: color 0.3s ease, opacity 0.3s ease; /* Smooth color and opacity transition */
}

#kontakt address a::after {
  content: '';
  position: absolute;
  width: 100%; /* Static underline */
  height: 1px; /* Thinner for subtlety */
  bottom: -3px;
  left: 0;
  background: var(--primary); /* Matches h2 color */
  opacity: 0.3; /* Low opacity for subtlety */
  transition: opacity 0.3s ease; /* Only opacity changes on hover */
}

#kontakt address a:hover::after {
  opacity: 0.7; /* Slightly more visible on hover */
}

#kontakt address a:hover {
  color: var(--secondary); /* Softer color change to light pink on hover */
}
