/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === BASIS === */
body {
  font-family: 'Georgia', serif;
  background-color: #f6f2ec;
  color: #5a4c40;
  overflow-x: hidden;
}

/* === HEADER === */
.page-header {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f6f2ec;
  border-bottom: 1px solid #ddd;
}

.logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.logo {
  width: 80px;
  height: auto;
  object-fit: contain;
}

/* === FOOTER === */
.page-footer-advanced {
  background-color: #f6f2ec;
  color: #5a4c40;
  padding: 3rem 2rem;
  font-family: 'Georgia', serif;
  border-top: 1px solid #ddd;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.footer-left {
  flex: 1 1 300px;
}

.footer-left h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-left .quote {
  font-size: 1.1rem;
  line-height: 1.6;
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-icons a {
  display: inline-flex;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #5a4c40;
  border-top: 1px dotted #ccc;
  padding-top: 1rem;
}

/* === BAKGRUNNSLAG === */
.background-layer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
}

.snow-texture {
  height: 100%;
  width: 100%;
  background-image: url("bilder/bakgrunn.jpg");
  background-size: contain;
  background-repeat: repeat;
  background-position: center;
  background-color: #f6f2ec;
  filter: brightness(1) contrast(1);
}

.spacer {
  height: 40vh;
}

/* === LUFT MELLOM SEKSJONER === */
.background-breath {
  height: 50vh;
  width: 100%;
}

/* === INNHOLD SOM SCROLLER OVER === */
.content-feed {
  position: relative;
  z-index: 1;
  contain: paint;
  transform: translateZ(0);
  padding: 4rem 0;
}

/* === KORTSEKSJON === */
.card-section {
  width: 66%;
  margin: 0 auto 4rem auto;
  background: rgba(255, 255, 255, 0.95);
  color: #5a4c40;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.card-section:hover {
  transform: scale(1.01);
}

/* === HEADER INNI KORT === */
.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.card-header h2 {
  font-size: 2rem;
}

.angelos-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.angelos-list li {
  position: relative;
  padding-left: 1.6rem;
  text-indent: -1.6rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.angelos-list li::before {
  content: "✨ ";
  padding-right: 0.4rem;
}


/* === INNHOLD: TEKST OG BILDE === */
.card-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.card-text {
  flex: 1;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* === FLIP-KORT === */
.flip-card {
  width: 200px;
  height: 300px;
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-back {
  background-color: #fce4ec;
  color: #5a4c40;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotateY(180deg);
}

/* === KNAPPENE DINE === */

  .button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

 .vipps-real-button {
    display: inline-block;
    background-color: #ff5b24; /* Vipps oransje */
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 14px 24px;
    text-align: center;
    text-decoration: none;
    border-radius: 50px; /* 👈 RUND som du ønsket */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
  }

  .vipps-real-button:hover {
    background-color: #e04e1e;
  }

 .order-button {
  background: #E6A1A1;
  border: none;
  padding: 0.9rem 1.6rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  color: #111;
  text-decoration: none;
  transition: background 0.3s ease;
}

.order-button:hover {
  background-color: #f0bcbc;
}

  .order-button:hover {
    background-color: #e66d00;
  }



/* === GLIPPEBILDE === */
.image-glimpse {
  position: sticky;
  top: 30vh;
  z-index: 0;
  height: 40vh;
  width: 100%;
  margin: 0 auto;
  border-radius: 0;
  background-image: url("bilder/edz.norton.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  mix-blend-mode: normal;
  /*pointer-events: #none;*/
  box-shadow: none;
}

/* === FADE-IN === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }

  .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: center;
  }

  .close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
  }

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}
.footer-map h3 {
  margin-bottom: 10px;
  color: #333;
  font-size: 18px;
}

/* === MOBILVISNING === */
@media (max-width: 768px) {
  .card-section {
    width: 90%;
    padding: 2rem;
  }

  .card-content {
    flex-direction: column;
    align-items: center;
  }

  .card-text {
    text-align: center;
  }

  .logo-title {
    flex-direction: column;
  }

  .logo {
    width: 70px;
  }
}
