@import url('https://fonts.cdnfonts.com/css/dune-rise');

/* ------- Alapbeállítások ------- */

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #1d1c1c;
  font-family: 'Courier New', Courier, monospace;
  color: #333;
}

/* ------- HEADER ------- */

header {
  background-image: url("header_bg.jpg");
  background-size: cover;
  background-position: center;
  height: 80vh;
  position: relative;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.corner-text {
  position: absolute;
  font-size: 1.2rem;
  padding: 3rem;
  color: black;
}

.top-left {
  top: 0;
  left: 0;
  font-size: 4rem;
  font-family: 'Dune Rise', sans-serif;
}

.bottom-right {
  bottom: 0;
  right: 0;
  max-width: 40%;
  font-weight: bold;
  font-family: 'Courier New', Courier, monospace;
}

@media (max-width: 600px) {
  .corner-text {
    font-size: 1rem;
    padding: 0.5rem;
  }
}

/* ------- NAVIGATION ------- */

nav .navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #C9590D;
  width: 100%;
  
}

nav .navbar li {
  flex: 1;
  text-align: center;
}

nav .navbar li a {
  display: block;
  padding: 14px 16px;
  color: black;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
}

nav .navbar li a:hover {
  background-color: #C9590D;
}

nav .navbar li a.active {
  color: #FED430;
  background-color: #C9590D; 
  border-radius: 5px;
}

/* ------- MAIN CONTENT ------- */

main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 5rem;
}


/* ------- RESPONSIVE MAIN ------- */
@media (max-width: 768px) {
  main {
    flex-direction: column;
    align-items: center;
  }
}

/* ------- FOOTER ------- */

footer {
  background-color: #b3b3b3;
  padding: 40px 20px 20px;
  color: #000;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

section.footer-section {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.footer-section h2 {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #0d0d2b;
}

/* ------- FORM STYLES ------- */

textarea {
  resize: vertical;
  height: 150px;
  padding: 10px;
  font-size: 1rem;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

.checkbox-group {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.radio-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px;
  font-size: 1rem;
  min-width: 200px;
}

.submit-btn {
  background-color: #2c5eff;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
}

.submit-btn span {
  font-size: 1.2rem;
}

.text-input {
  padding: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #333;
}

.footer-bottom .brand {
  font-weight: bold;
  color: #0d0d2b;
}

/* ------- FOOTER RESPONSIVE ------- */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  section.footer-section {
    flex: 1 1 100%;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-section h2 {
    font-size: 1rem;
  }

  textarea {
    height: 120px;
  }

  .newsletter-form input[type="email"] {
    font-size: 0.95rem;
  }

  .submit-btn {
    font-size: 0.95rem;
    padding: 10px;
  }
}



.houses-content {
  display: flex;
  justify-content: center; 
  padding: 4rem 1rem;
}

.content-box {
  max-width: 1000px;
  background-color: #f2f2f2;
  padding: 2rem;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #1d1c1c;
}

.centered-img {
  display: block;
  margin: 2rem auto;
  max-width: 80%;
  height: auto;
  border-radius: 8px;
}

.terminology-table-wrapper {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
  overflow-x: auto;
}

.terminology-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 1000px;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #1d1c1c;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.terminology-table th,
.terminology-table td {
  border: 1px solid #ccc;
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
}

.terminology-table th {
  background-color: #C9590D;
  color: white;
  font-size: 1.1rem;
}

.terminology-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.terminology-table tr:hover {
  background-color: #f0e6d2;
}

.terminology-details {
  margin: 2rem auto;
  max-width: 1000px;
  background-color: #fdfdfd;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
}

.terminology-summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0.5rem;
  color: #C9590D;
}

.terminology-table caption {
  caption-side: top;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #1d1c1c;
}
.author-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.author-heading h2 {
  margin: 0;
  font-size: 1.8rem;
}

.author-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  cursor: pointer;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.author-facts {
  background-color: #ececec;
  padding: 1rem 1.5rem;
  margin-top: 3rem;
  border-left: 4px solid #C9590D;
  font-family: 'Poppins', sans-serif;
  border-radius: 6px;
  color: #1d1c1c;
}

.author-facts h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #C9590D;
}

.author-facts ul {
  margin: 0;
  padding-left: 1.2rem;
}

.author-facts li {
  margin-bottom: 0.5rem;
}

main a:link {
  color: #C9590D;
  font-weight: bold;
}

main a:visited {
  color: #5e3c0a; 
}


footer {
  background-color: #b3b3b3;
  padding: 40px 20px 20px;
  color: #000;
  font-family: 'Poppins', sans-serif; 
}

.footer-section h2 {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #0d0d2b;
  font-family: 'Montserrat', sans-serif; 
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}
