:root {
  --bg:#f9dfe8;
  --card:#fce6ed;
  --soft:#ffc9e1;
  --text:#46293c;
  --muted:#7a5a6f;
  --brand:#ff66a3;
  --brand-2:#ff99cc;
  --radius:15px;
  --shadow:0 8px 20px rgba(0,0,0,.1);
}
body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.socials-person a.goodreads img {
  width: 18px;
  height: 22px;
  display: block;
}

#vorsForm {
  display: grid;
  gap: 16px;
  max-width: 650px;  
  margin: 0 auto;   
}


.container {
  width: min(1000px, 92vw);
  margin: auto;
}

.birthday {
  font-size: 0.85rem;
  color: var(--muted); 
  margin-bottom: 4px;
  opacity: 0.9;          
}

header {
  position: sticky;
  top: 0;
  background: rgba(255, 240, 245, .9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
}

.brand {
  font-weight: 800;
  font-size: 20px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 16px;
  padding: 0;
  margin: 0;
}

nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 12px;
}

nav a:hover {
  background: var(--soft);
  color: var(--text);
}

.hero {
  text-align: center;
  padding: 60px 0 40px;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 10px;
}

.hero p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

  h2 {
  font-size: 2rem;
  margin: 40px 0 20px;
  text-align: center;
  margin-bottom: 35px;
  margin-top: -10px;
}

.btn {
  background: linear-gradient(45deg, var(--brand), var(--brand-2));
  color: white;
  border: none;
  padding: 15px 20px;
  margin-right: 10px;
  margin-top: 6px;
  margin-bottom: 10px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: scale(1.06);
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin: 20px 0;
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.person {
  background: var(--soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.person .img {
  aspect-ratio: 4/3;
  background: linear-gradient(45deg, var(--brand), var(--brand-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  font-weight: 800;
  overflow: hidden;
}

.person .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.person .body {
  padding: 14px;
}

.socials-person {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 8px;;

}

.socials-person a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--card);
  color: var(--brand);
  text-decoration: none
}

.socials-person a:hover {
  background: var(--brand);
  color: white;
}

.group-photo {
  text-align: center;
  margin: 30px 0;
  margin-top: 10px;
}

.group-photo img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#vorsForm {
  display: grid;
  gap: 16px;
}

#vorsForm label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

#vorsForm input,
#vorsForm textarea {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: var(--soft);
}

#vorsForm input:focus,
#vorsForm textarea:focus {
  outline: 2px solid var(--brand);
}

.form-row {
  display: flex;
  gap: 12px;
}


.form-row > div {
  flex: 1;
}

.hint {
  text-align: center;
  color: var(--muted);
  margin-bottom: 20px;
}

#vorsk {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.footer {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  font-size: 14px;
}

.person .img {
  position: relative;          
  display: block;               
  overflow: hidden;             
}

.hover-img img {
  position: absolute;
  inset: 0;                    
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity .25s ease;
}

.hover-img img.cute { opacity: 0; }
.hover-img:hover img.cute { opacity: 1; }
.hover-img:hover img.normal { opacity: 0; }


.with-image {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;             
  }
  .with-image .text { flex: 1; min-width: 0; }
  .with-image .image {
  flex: 0 0 38%;
  display: flex;
  justify-content: flex-end;
  }
  .with-image .image img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
  }

#probutton {
    color: red;
}

input, textarea, select {
  font-family: 'Outfit', sans-serif;
      font-size: 1rem;
      background: var(--soft);
      color: var(--text);
      border: none;
      border-radius: 12px;
      padding: 12px;
    }
    input::placeholder, textarea::placeholder {
      color: var(--muted);
      opacity: 0.8;
    }

/* Felles stil for begge pill-knappene */
.date-btn,
.pro-btn {
  margin-top: 10px;
  display: inline-block;
  background: linear-gradient(45deg, var(--brand), var(--brand-2));
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  box-shadow: none;
  transition: transform 0.15s ease;
}

.date-btn:hover,
.pro-btn:hover {
  transform: scale(1.05);
}

.pro-btn {
  background: linear-gradient(45deg, #9ad7ff, #74b9ff);
}

.modal-overlay { position: fixed; inset: 0; display:none; align-items:center; justify-content:center; z-index: 9999; }
.modal-overlay.show { display:flex; }
.modal { background: var(--card); width: min(540px, 92vw); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.modal h3 { margin: 0 0 6px; }
.modal p { margin: 0 0 14px; color: var(--muted); }
.modal .row { display:flex; gap:12px; }
.modal .row > div { flex:1; }
.modal .actions { display:flex; justify-content:flex-end; gap:10px; margin-top: 14px; }
.btn-outline { background: var(--soft); color: var(--text); border-radius: 999px; padding: 10px 16px; border:none; cursor:pointer; }


.modal input,
.modal textarea {
  width: 100%;
  box-sizing: border-box;
}

.modal .row {
  display: flex;
  gap: 12px;
}

.modal .row > div {
  flex: 1;
  min-width: 0;
}

header { z-index: 1000; }

@media (max-width: 768px) {
.nav { padding: 10px 12px; }

nav ul {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;   
}
nav ul::-webkit-scrollbar { display: none; } 

nav li { flex: 0 0 auto; }
nav a  { padding: 10px 12px; font-size: 0.95rem; line-height: 1.1; }
}


header { z-index: 1000; }      

@media (max-width: 768px) {
  .nav { padding: 10px 12px; }

  nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  nav ul {
    display: flex;
    flex-wrap: nowrap;              
    gap: 14px;
    white-space: nowrap;
    margin: 0; padding: 0;
  }
  nav li { flex: 0 0 auto; }       
  nav a  { display: inline-block; padding: 10px 12px; }


  nav::-webkit-scrollbar { display: none; }
  nav { scrollbar-width: none; }
}

@media (max-width: 600px) {
.with-image { 
  flex-direction: column; 
  align-items: flex-start; 
  gap: 14px;
}
.with-image .image {
  width: 100%;
  justify-content: flex-end;
}
.with-image .image img {
  max-width: 60%;          
}
}

@media (max-width: 600px) {
.hero h1 { font-size: 2rem; }
}


*, *::before, *::after { box-sizing: border-box; }


#vorsForm {
  display: grid;         
  gap: 16px;              
  max-width: 720px;       
  margin: 0 auto;          
}

#vorsForm input,
#vorsForm textarea {
  width: 100%;
  display: block;
}

#vorsForm .btn {
  width: 100%;
  margin: 0;          
}

@media (max-width: 480px){
  #vorsForm { max-width: 100%; }
}


button.pro-btn.contact-btn {
  background: linear-gradient(45deg, #9ad7ff, #74b9ff) !important; /* lys blå */
  color: white !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  border: none !important;
  font-weight: 600;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
}