/* Reset og base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: #f3f6ff;
  color: #2e3a5e;
  padding: 0;
  margin: 0;
}

/* Wrapper for innhold med padding */
.wrapper {
  padding: 0 1rem;
}

/* Overskrifter med Pacifico */
h1,
h2,
h3,
h4 {
  font-family: "Pacifico";
}

/* Header */
.main-header {
  background-color: #c3cde5;
  width: 100%;
  margin: 0;
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-content h1 {
  font-size: 2.5rem;
  color: #2e3a5e;
  margin: 0;
  font-family: "Pacifico";
  line-height: 1;
}

.header-content i {
  font-size: 2.5rem;
  color: #2e3a5e;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Navbar */
.main-nav {
  background-color: #69728e;
  width: 100%;
  margin: 0;
  margin-bottom: 3rem;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 3.5rem;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #f3f6ff;
  font-weight: normal;
  font-family: "Pacifico";
  font-size: 1.25rem;
  line-height: 1;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #d0d9ff;
}

.main-nav li a.active {
  color: #2e3a5e;
}

/* Hjem-siden */

/* Bilde-seksjon og slagord */
.slogan {
  margin-top: 1rem;
  font-family: "Reenie Beanie";
  font-size: 2.4rem;
  color: #2e3a5e;
}

.intro-images {
  text-align: center;
  margin: 3rem 0;
  margin-top: 5rem;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.image-row img {
  border-radius: 8px;
  width: 600px;
  height: 450px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Om oss-seksjon */
.about-card {
  max-width: 1230px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #f3f6ff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2e3a5e;
  text-align: center;
  border: 1px solid #69728e;
}

.craftsvilla-name {
  font-family: "Pacifico";
  font-size: 1.5rem;
  color: #2e3a5e;
}

/* Kunstformer */
.art-forms {
  max-width: 1230px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #f3f6ff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #69728e;
}

.art-forms h2 {
  font-size: 2rem;
  color: #2e3a5e;
  margin-bottom: 0.5rem;
  font-family: "Pacifico";
}

.art-note {
  font-size: 0.75rem;
  color: #69728e;
  margin-bottom: 2rem;
  font-style: italic;
}

.art-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.art-card {
  background-color: #c3cde5;
  padding: 1.5rem;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.art-card h3 {
  color: #2e3a5e;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.art-card p {
  font-size: 1rem;
  color: #333;
  font-style: italic;
  font-size: 0.95rem;
  color: #69728e;
}

/* Galleri-siden */

.gallery-section {
  text-align: center;
  padding: 40px 20px;
}

.gallery-section h2 {
  font-family: "Reenie Beanie";
  font-size: 2.4rem;
  color: #2e3a5e;
  font-weight: 300;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer; /* Gir visuell feedback ved hover */
}

/* Hover-effekt på bildene*/
.gallery-grid img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Fasiliteter-siden */

.facilities-section {
  background-color: #f1f3fd;
  padding: 40px 20px;
  text-align: center;
}

.facilities-section h2 {
  font-family: "Reenie Beanie";
  font-size: 2.4rem;
  color: #2e3a5e;
  font-weight: 300;
  margin-bottom: 40px;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.facility-card {
  display: flex;
  background-color: #d2d9f0;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 240px;
}

.facility-card:hover {
  transform: translateY(-5px);
}

.facility-card img {
  width: 220px;
  height: 240px;
  object-fit: cover;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}

.facility-text {
  padding: 20px;
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  color: #2b2b4b;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Booking-siden */

.booking-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5rem;
  flex-wrap: wrap;
  padding: 3rem;
}

.booking-form {
  flex: 1 1 400px;
  max-width: 500px;
  background-color: #d2d9f0;
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.booking-form h2 {
  font-family: "Reenie Beanie";
  font-weight: 300;
  font-size: 2.3rem;
  text-align: center;
  color: #2e3a5e;
  margin-bottom: 1rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  border: none;
  border-radius: 25px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-family: "Segoe UI", sans-serif;
  background-color: #69728e;
  color: #f3f6ff;
  width: 100%;
}

.booking-form input::placeholder {
  color: #f3f6ff;
}

.booking-form textarea {
  resize: vertical;
  min-height: 120px;
  background-color: #f3f6ff;
  color: #2e3a5e;
}

.booking-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.form-group {
  margin-top: 1rem;
  font-size: 1rem;
  color: #2e3a5e;
}

.radio-group {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

input[type="radio"] {
  accent-color: #69728e;
}

/* Knapp for innsending */
.btn-submit {
  background-color: #69728e;
  color: #f3f6ff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #f3f6ff;
  color: #69728e;
}

/* Kalender-seksjon */
.calendar-box {
  flex: 1 1 400px;
  max-width: 600px;
  background-color: #d2d9f0;
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.calendar-box h3 {
  font-family: "Reenie Beanie";
  font-weight: 300;
  font-size: 2.3rem;
  color: #2e3a5e;
  margin-bottom: 1rem;
}

/* Tilbakemelding-siden */

.feedback-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  max-width: 1300px;
  margin: 3rem auto;
  padding: 0 2rem;
  flex-wrap: wrap;
}

/* Tilbakemeldingsskjema */

.feedback-form {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  margin-top: 3rem;
  margin-right: 5rem;
}

.feedback-form h2 {
  font-family: "Pacifico";
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.feedback-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 25px;
  background-color: #c3cce6;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  color: #2e3a5e;
}

.feedback-form textarea {
  resize: none;
  height: 150px;
}

.feedback-form button {
  align-self: flex-end;
  background-color: #69728e;
  color: #f3f6ff;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  cursor: pointer;
}

.feedback-form button:hover {
  background-color: #2e3a5e;
  color: #f3f6ff;
}

/* Tilbakemeldinger */

.testimonials {
  flex: 2;
  min-width: 500px;
  margin-top: 3rem;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonials h2 {
  font-family: 'Pacifico';
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial {
  background-color: #c3cde5;
  padding: 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial p {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Responsiv layout for alle sidene */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  h1,
  h2,
  h3 {
    font-size: 90%;
  }

  p {
    font-size: 95%;
    line-height: 1.5;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .button,
  button {
    font-size: 16px;
    padding: 10px 16px;
  }

  section {
    padding: 20px 10px;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #69728e;
  color: #f3f6ff;
  margin-top: 2rem;
}
