/* Ensure body padding for fixed header */
body {
  margin: 0;
  padding: 0;
  font-family: 'Cormorant Garamond', serif;
  color: #333;
  background-color: #fff;
  text-align: center;
}

:root {
  --main-pink: #CD9191;
  --dark-pink: #b06d6d;
}

/* Header and navigation */
header {
  background-color: transparent;
  padding: 20px 0;
  box-shadow: none;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

nav a {
  color: #444;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--dark-pink);
  border-color: var(--dark-pink);
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 1rem;
}

.small-photo {
  width: auto;
  height: 500px;
  max-height: none;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}

.logo-header {
  text-align: center;
  padding: 20px;
}

.logo-image {
  width: 250px; /* Juster etter behov */
  height: auto;
  margin-bottom: 10px;
}
.logo-link {
  text-decoration: none;
}

/* Main content */
main {
  padding: 40px 20px;
  /*max-width: 1000px;*/
  margin: 0 auto;
}

.monogram {
  max-width: 100px;
  margin: 0 auto 20px;
  display: block;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: normal;
  margin: 10px 0;
  color: var(--main-pink);
}

.wedding-info {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: #777;
  margin: 10px 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.countdown {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #414141;
 
}

.intro-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
}

.program-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
}

/* Footer */
footer {
  margin-top: 40px;
  padding: 20px 0;
  font-size: 0.9rem;
  color: #aaa;
}

/* Main image */
.main-photo {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  margin-bottom: 30px;
}

.responsive-img {
  max-width: 70%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  margin-bottom: 30px;
}

/* Intro text */
.intro-text p {
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
}


.schedule {
  max-width: 400px;
  margin: 20px auto 60px;
  padding-left: 20px;
  border-left: 4px solid var(--dark-pink);
  color: #555;
  font-size: 1.3rem;
  text-align: left;
}


.schedule-title {
  /*margin-left: 10px; /* adjust as needed */
  font-weight: 500;
  color: #444;
  display: inline-block;
}

.schedule-line {
  margin: 20px 0;
}

.schedule-line strong {
  color: var(--dark-pink);
  font-weight: 700;
  display: inline-block;
  width: 140px;
}

.schedule hr {
  border: none;
  border-bottom: 1px solid #eee;
  margin: 0;
}

.schedule-desc {
  margin: 6px 0 0 142px; /* indent to align under the time */
  font-size: 1rem;
  color: #777;
  font-style: italic;
  white-space: nowrap; /* prevents line break */
 
}

.day-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin: 40px auto 10px;
  text-align: center;
  color: var(--dark-pink);
}

.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px; /* Optional: rounded corners */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Optional: subtle shadow */
}


.page-intro {
  text-align: center;
  font-size: 1.2em;
  color: #555;
  margin-bottom: 40px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.room {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 60px 0;
  flex-wrap: wrap;
  border-bottom: 1px solid #ccc;
}

.room:last-child {
  border-bottom: none;
}

.room img {
  width: 400px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.room-text {
  max-width: 500px;
  flex: 1;
}

.room-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin-bottom: 8px;
}

.price {
  font-weight: bold;
  color: #7c5c42;
  margin-bottom: 12px;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #5c4a3d;
  text-align: center;
}

.room-text p {
  font-size: 16px;
  line-height: 1.6;
}

section h2 {
   font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: normal;
  margin: 10px 0;
  color: var(--main-pink);
}

.taler-container {
  display: flex;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start; /* Viktig for å justere toppen */
}

.taler, .taler-info {
  flex: 1 1 300px;
  min-width: 280px;
}

.taler h2, .taler-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: normal;
  margin: 10px 0;
  color: var(--main-pink);
}

.faq-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;    /* sentrer hele listen */
  text-align: center; /* gjør tekst midtstilt som standard */
}

.faq-item {
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
}

.faq-question-container {
  display: inline-flex;       /* inline-flex for at containeren tar kun bredde etter innhold */
  align-items: center;        /* vertikal sentrering */
  gap: 12px;                  /* avstand mellom bilde og tekst */
  justify-content: center;    /* horisontal sentrering inne i containeren */
  margin: 0 auto 8px auto;    /* auto margin til venstre og høyre for sentrering, 8px margin under */
}

.separator-image {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-question {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
}

.faq-answer {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #555;
  margin-left: 36px; /* Dette lager innrykk slik at svaret starter under spørsmålet (ikke helt til venstre) */
}



    
@media (max-width: 700px) {
  .info-section {
    flex-direction: column;
  }

  #map-section iframe {
    width: 100%;
    min-height: 300px;
  }
}
