* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 75%;
}

body {
  background: #f9e7d2;
}

h1{
    font-family: "hagrid-text", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 7rem;
    color: #1a202c;
}

h2{
    font-family: "hagrid-text", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 4.6rem;
}

p{
    font-family: "hagrid-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    color: #1a202c;
}

nav {
  position: fixed;
  z-index: 99;
  width: 100%;
  background: #f9e7d2;
  font-family: "hagrid-text", sans-serif;
  font-weight: 800;
  font-style: normal;
  color: #1a202c;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

nav .wrapper {
  max-width: 1300px;
  height: 20%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

.wrapper .logo {
  width: 5%;
  height: auto;
  display: flex;
  align-items: center;
  margin: 20px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}
 
.wrapper .nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: 700;
  padding: 3px 18px;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  font-family: "hagrid-text", sans-serif;
  color: #1a202c;
}

.nav-links li a:hover {
  background: #e2e8f0;
}

.nav-links li a.a_beta {
  background: linear-gradient(90deg, #00c6fb 0%, #005bea 100%);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 2px 12px rgba(0, 198, 251, 0.15);
  border: none;
  letter-spacing: 1px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-links li a.a_beta:hover {
  background: linear-gradient(90deg, #0098c2 0%, #0041aa 100%);
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(67, 233, 123, 0.18);
}

main{
  display: flex;
  flex-direction: column;
  gap: 10rem;
}

.fullscreen-bg {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: url('../img/roomus_voorpagina.png') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fullscreen-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 15vh;
  background: linear-gradient(to bottom, transparent, #f9e7d2 90%);
  pointer-events: none;
  z-index: 1;
}

.body-text {
  position: relative;
  z-index: 2;
  color: #1a202c;
  text-align: center;
  padding-bottom: 20%;
  text-shadow: 0 2px 8px rgba(255,255,255,0.5);
}

.title h1 {
  font-size: 6rem;
  font-weight: 900;
  color: #1a202c;
  margin-bottom: 2rem;
  letter-spacing: -2px;
}

.slogan {
  font-weight: 700;
  color: #fff;
  margin-top: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.cta-button {
  margin-top: 2rem;
  padding: 1.2rem 3rem;
  background: linear-gradient(90deg, #00c6fb 0%, #005bea 100%);
  color: #fff;
  border-radius: 2.5rem;
  text-decoration: none;
  font-size: 2rem;
  font-family: "hagrid-text", sans-serif;
  font-weight: 800;
  font-style: normal;
  border: none;
  box-shadow: 0 4px 24px rgba(0, 198, 251, 0.18);
  transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  letter-spacing: 1px;
}

.cta-button:hover {
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(67, 233, 123, 0.18);
}

.section-title {
  font-size: 4.4rem;
  color: #1a202c;
  margin: 4rem 0 2rem 0;
  text-align: center;
  font-family: "hagrid-text", sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
}

.topics-section {
  padding: 4rem 2rem 2rem 2rem;
  border-radius: 2rem;
  max-width: 2400px;
  margin: 4rem auto 0 auto;
  margin-top: 5rem;
}

.topics-row {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.topic-card {
  background: #ddc7af56;
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px white;
  padding: 3rem 2rem 2rem 2rem;
  text-align: center;
  width: 600px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.topic-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
}

.topic-card h3 {
  font-size: 2.2rem;
  color: #000000;
  margin-bottom: 1rem;
  font-family: "hagrid-text", sans-serif;
  font-weight: 700;
}

.topic-card p {
  font-size: 2rem;
  color: #1a202c;
}

.how-section {
  padding: 4rem 2rem 2rem 2rem;
  border-radius: 2rem;
  max-width: 2400px;
  margin: 4rem auto 0 auto;
}

.how-row {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.how-card {
  background: #ddc7af56;
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px white;
  padding: 3rem 2rem 2rem 2rem;
  text-align: center;
  width: 600px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}


.how-step {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: "hagrid-text", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem; 
  color: #1a202c;
  padding: 5px;
  border: 2.5px solid black;
  border-radius: 30%;
}

.how-card h4 {
  font-size: 2.2rem;
  color: #000000;
  margin-bottom: 1rem;
  font-family: "hagrid-text", sans-serif;
  font-weight: 700;
  margin-top: 3.5rem;
}

.how-card p {
  font-size: 2rem;
  color: #1a202c;
}

.swipe-review-section {
  padding: 4rem 2rem 6rem 2rem;
  border-radius: 2rem;
  max-width: 1400px;
  margin: 4rem auto 0 auto;
  flex: 2;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.review-title-row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.review-contact-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.swipe-review-col {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.contact-col {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.swipe-review-row {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.swipe-review-card {
  background: #ddc7af56;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px white;
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  text-align: center;
  width: 320px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swipe-review-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
  margin-top: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.swipe-review-names {
  font-size: 1.2rem;
  color: #005bea;
  font-weight: 700;
  margin-bottom: 0.7rem;
  gap: 0.2rem;
}

.review-user {
  font-size: 2rem;
  color: #1a202c;
  font-weight: 800;
}

.review-roommate {
  font-size: 2rem;
  color: #fdfdfd;
  font-weight: 600;
}

.swipe-review-text {
  font-size: 1.7rem;
  color: #1a202c;
  margin-top: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  max-width: 320px;
}

.swipe-double-card {
  background: #ddc7af56;
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px white;
  padding: 2rem 2rem 1.5rem 2rem;
  width: 100%;
  max-width: 650px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.swipe-double-persons {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  gap: 0;
}

.swipe-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 45%;
  min-width: 0;
}

.swipe-divider {
  width: 2px;
  height: 235px;
  background: #bdbdbd;
  margin: 0 2rem;
  border-radius: 1px;
}

.swipe-review-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.review-user,
.review-roommate {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.3rem;
  font-family: "hagrid-text", sans-serif;
}

.review-roommate {
  color: #000000;
}

.swipe-review-text {
  font-size: 1.4rem;
  color: #1a202c;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
  margin-top: 0.7rem;
}

.review-contact-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}

.swipe-review-col {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-content: flex-end;
}

.contact-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form {
  background: rgb(235, 203, 161);
  border-radius: 1.2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  padding: 4rem;
  width: 100%;
  max-width: 800px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-form h3 {
  font-size: 2.5rem;
  color: black;
  margin-bottom: 1rem;
  font-family: "hagrid-text", sans-serif;
  font-weight: 700;
  justify-content: center;
}

.contact-form label {
  font-size: 2rem;
  color: #1a202c;
  font-weight: 600;
  font-family: "hagrid-text", sans-serif;
}

.contact-form input,
.contact-form textarea {
  font-size: 1.8rem;
  padding: 1.5rem;
  border-radius: 0.8rem;
  border: 1px solid #e2e8f0;
  background: #f9e7d2;
  font-family: "hagrid-text", sans-serif;
  margin-bottom: 0.5rem;
  resize: none;
  width: 100%;
}

.contact-form textarea {
  min-height: 180px;
}

.contact-form button {
  background: black;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  border: none;
  border-radius: 1.2rem;
  padding: 1rem 0;
  margin-top: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background: black;
  transform: scale(1.04);
}

.card-3{
  display: flex;
  gap: 10%;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  margin: 3rem auto 0;
  padding: 0 2rem;

}

.contact-section{
  padding: 4rem 2rem 6rem 2rem;
  border-radius: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 4rem auto 0 auto;
  flex: 2;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.site-footer {
  background: #222222;
  color: white;
  padding: 4rem 2rem;
  font-family: "hagrid-text", sans-serif;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-col {
  flex: 1;
  min-width: 220px;
}
.footer-col h4 {
  font-size: 1.9rem;
  color: grey;
  margin-bottom: 1rem;
}
.footer-col p.small {
  font-size: 1.2rem;
  color: white;
  margin-top: 0.6rem;
}
.footer-photos {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.footer-photos img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 2px solid rgba(249,231,210,0.08);
}
.social-links a {
  display: inline-block;
  margin-right: 1rem;
}
.social-links img {
  width: 36px;
  height: 36px;
  filter: invert(100%);
  opacity: 0.95;
}
.footer-nav {
  list-style: none;
  margin-top: 0.6rem;
}
.footer-nav li {
  margin-bottom: 0.4rem;
}
.footer-nav a {
  color: grey;
  text-decoration: none;
  font-size: 1.4rem;
}
.footer-nav a:hover { color: grey; text-decoration: underline; }

.footer-bottom {
  max-width: 1400px;
  margin: 2.2rem auto 0 auto;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  font-size: 1.3rem;
}

.footer-bottom p {
  color: #969696;
  font-size: 2rem;
}

.info-footer {
  color: rgb(179, 178, 178);
  font-size: 2rem;
}

.beta-container {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f9e7d2 0%, #ffffff 100%);
}

.beta-content {
    background: #ffffff29;
    padding: 4rem;
    border-radius: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.beta-content h1 {
    font-size: 3.6rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.beta-content p {
    font-size: 1.8rem;
    color: #4a5568;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.beta-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.beta-form input {
    font-size: 1.6rem;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid #e2e8f0;
    background: #f9e7d2;
}

.beta-form button {
    background: linear-gradient(90deg, #00c6fb 0%, #005bea 100%);
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 1.5rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.beta-form button:hover {
    transform: scale(1.02);
}

p .number{
  color: white;
}

@media (max-width: 900px) {
  nav .nav-links li a { font-size: 2.6rem; }
  .section-title { font-size: 3.8rem; }
  h1 { font-size: 5.4rem; }
  p, .topic-card p, .how-card p, .swipe-review-text, .contact-form label { font-size: 1.9rem; }

  .card-3 {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }

  .swipe-review-section,
  .contact-section {
    width: 100%;
    max-width: 700px;
    flex: none;
  }

  .contact-col {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .card-3 {
    padding: 0 1.2rem;
  }

  .swipe-double-card {
    padding: 1.6rem 1.2rem;
  }

  .swipe-double-persons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .swipe-person {
    width: 100%;
  }

  .swipe-divider {
    width: 80%;
    height: 2px;
    margin: 0;
  }

  .swipe-review-text {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .contact-form {
    padding: 2rem;
  }

  .contact-form input,
  .contact-form textarea {
    min-width: 0;
    padding: 1.2rem;
  }

  .contact-form textarea {
    min-height: 140px;
  }
}