/* SUBPAGE STYLES */

/* BODY AND MAIN LAYOUT */
body {
  font-family: "manrope", sans-serif;
  background-color: var(--baggrund);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  width: 100%;
  padding: 0;
}

/* PAGE TITLE SECTION */
.page-title-section {
  background: var(--intro);
  color: var(--altTekst);
  padding: 80px 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.page-title-section h1 {
  background: var(--introtxt);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
  font-weight: bold;
}

/* CONTENT SECTION */
.content-section {
  background-color: var(--baggrund);
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ABOUT PAGE SPECIFIC STYLES */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.about-article {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--tekst);
}

.about-article h2 {
  color: var(--divpic);
  font-size: 2rem;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--border);
  padding-bottom: 10px;
}

.about-article p {
  margin-bottom: 15px;
}

.profile-image-container {
  display: flex;
  justify-content: center;
}

.profile-img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--border);
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

/* INTERESTS SECTION */
.interests-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.interest-article {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.interest-article h2 {
  color: var(--divpic);
  font-size: 1.5rem;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--divtekst);
  padding-bottom: 10px;
}

.interest-article p {
  color: var(--tekst);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* CONTACT PAGE SPECIFIC STYLES */
.contact-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--tekst);
  margin-bottom: 40px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.contact-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-card h2 {
  color: var(--divpic);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contact-card p {
  color: var(--tekst);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
}

.contact-link {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--divpic);
  color: var(--altTekst);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.contact-link:hover {
  background-color: var(--divtekst);
}

/* CONTACT FORM SECTION */
.contact-form-section {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
  color: var(--divpic);
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--divpic);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--tekst);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--divtekst);
  box-shadow: 0 0 5px rgba(0, 203, 230, 0.3);
}

.submit-btn {
  padding: 15px 40px;
  background-color: var(--divpic);
  color: var(--altTekst);
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: var(--divtekst);
}

.submit-btn {
  padding: 15px 40px;
  background-color: var(--divpic);
  color: var(--altTekst);
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: var(--divtekst);
}

/* FOOTER */
footer {
  background: var(--fotter);
  color: var(--altTekst);
  padding: 40px 40px 20px;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 30px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--altTekst);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--divtekst);
  text-decoration: underline;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .interests-container {
    grid-template-columns: 1fr;
  }

  .page-title-section h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .page-title-section {
    padding: 60px 20px;
    min-height: 250px;
  }

  .page-title-section h1 {
    font-size: 2rem;
  }

  .content-section {
    padding: 40px 20px;
  }

  .content-wrapper {
    gap: 20px;
  }

  .about-article h2,
  .interest-article h2 {
    font-size: 1.5rem;
  }

  .profile-img {
    max-width: 250px;
  }

  .contact-options {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form-section {
    padding: 25px;
  }

  .contact-form-section h2 {
    font-size: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .page-title-section {
    padding: 40px 15px;
    min-height: 200px;
  }

  .page-title-section h1 {
    font-size: 1.5rem;
  }

  .content-section {
    padding: 25px 15px;
  }

  .about-article {
    font-size: 1rem;
  }

  .about-article h2,
  .interest-article h2 {
    font-size: 1.3rem;
  }

  .profile-img {
    max-width: 200px;
  }

  .interests-container {
    gap: 20px;
  }

  .interest-article {
    padding: 20px;
  }

  .contact-form-section {
    padding: 20px;
  }

  .contact-form-section h2 {
    font-size: 1.3rem;
  }

  .submit-btn {
    font-size: 1rem;
  }
}
