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

/* =========================
   GRUND
========================= */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Georgia", "Times New Roman", serif;
  background-color: #f9faf8;
  color: #2f3e34;
}

/* =========================
   EUKALYPTUS-DEKORATION
========================= */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 100%;
  background: url("../images/eucalyptus.png") no-repeat top left;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.header,
nav,
.container {
  position: relative;
  z-index: 1;
}

/* =========================
   HEADER
========================= */
.header {
  text-align: center;
  padding: 90px 20px 40px;
}

.main-title {
  font-family: 'Allura', cursive;
  font-size: 78px;
  font-weight: normal;
  letter-spacing: 2px;
  margin: 0 0 10px;
  color: #2f3e34;
}

.date {
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #7a8a80;
}

/* =========================
   MENY
========================= */
nav {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 50px;
}

nav a {
  text-decoration: none;
  color: #2f3e34;
  margin: 0 14px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav a:hover {
  text-decoration: underline;
}

/* =========================
   INNEHÅLL
========================= */
.container {
  max-width: 900px;
  margin: 0 auto 120px;
  background: #ffffff;
  padding: 60px 70px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.hero-image img {
  max-width: 100%;
  display: block;
  margin: 0 auto 40px;
}

/* =========================
   TEXT
========================= */
.content {
  text-align: center;
}

.content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Script-rubrik */
.script {
  font-family: 'Allura', cursive;
  font-size: 52px;
  text-align: center;
  font-weight: normal;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
  color: #2f3e34;
}

/* Signatur */
.signature {
  font-family: 'Allura', cursive;
  font-size: 48px;   /* LITE STÖRRE – INTE GALEN */
  margin-top: 50px;
  line-height: 1.3;
  color: #2f3e34;
}

/* Endast nedersta raden: Kram, Johanna & Adam */
.content .signature {
  font-family: 'Allura', cursive;
  font-size: 40px;
  line-height: 1.25;
  margin-top: 55px;
  color: #2f3e34;
}

/* OSA-formulär */
.osa-form {
  max-width: 500px;
  margin: 40px auto 0;
}

.osa-form input,
.osa-form select,
.osa-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 15px;
}

.osa-form textarea {
  min-height: 100px;
}

.osa-form button {
  background: #2f3e34;
  color: white;
  border: none;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 1px;
}

.osa-form button:hover {
  opacity: 0.9;
}

.info-block {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin: 60px 0;
}

.info-block img {
  width: 220px;
  height: auto;
  flex-shrink: 0;
}

.info-text {
  flex: 1;
}

.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #2f3e34;
}

.info-block {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin: 60px 0;
}

.info-block img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
}

.info-text {
  flex: 1;
}

.info-text p {
  margin-bottom: 10px;
}

/* Samma textjustering som Info-sidan */
.info-text {
  text-align: left;
}

/* =========================
   MOBIL
========================= */
@media (max-width: 700px) {

  body::before {
    display: none;
  }

  .container {
    padding: 30px;
  }

  .main-title {
    font-size: 44px;
  }

  .script {
    font-size: 36px;
  }

  .signature {
    font-size: 34px;
  }
}

@media (max-width: 700px) {
  .info-block {
    flex-direction: column;
    text-align: center;
  }

  .info-block img {
    margin: 0 auto 20px;
  }
}

@media (max-width: 700px) {
  .info-block {
    flex-direction: column;
    text-align: center;
  }

  .info-block img {
    width: 100%;
    height: auto;
  }
}

/* COUNTDOWN – matchar referensdesignen */
.countdown-wrapper {
  margin: 100px 0 80px;
  text-align: center;
}

.countdown-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 6px;
  font-size: 22px;              /* lite större */
  text-transform: uppercase;
  margin-bottom: 50px;
  color: #444;                  /* samma mjuka grå som siffrorna */
  font-weight: normal;          /* INTE fet */
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.time-box {
  text-align: center;
}

.time-box span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 10px;
}

.time-box small {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #000;
}

/* Mobil */
@media (max-width: 700px) {
  .countdown {
    gap: 25px;
  }

  .time-box span {
    font-size: 36px;
  }
}

/* Horisontell linje mellan sektioner */
.section-divider {
  border: none;
  border-top: 1px solid #d6d6d6;
  margin: 50px 0;
  width: 100%;
}

/* --- Kontakt: visa HELA bilden (ingen beskärning) --- */
.contact-image {
  width: 260px;
  height: auto !important;
  object-fit: contain !important;
  max-height: none !important;
  display: block;
}

/* Kontakt – ta bort höjdbegränsning på wrapper */
.section-image:has(.contact-image) {
  height: auto;
}
