@import url('https://fonts.cdnfonts.com/css/dune-rise');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

/* ------- BASE ------- */
html, body {
  margin: 0;
  padding: 0;
  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 ------- */
.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 5rem;
  padding: 2rem;
  flex-wrap: wrap;
}

figure.side-image {
  width: 120px;
  flex-shrink: 0;
  margin-top: 2rem;
  cursor: pointer;
}

figure.side-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.main-content {
  flex: 1 1 600px;
  background-color: rgb(229, 228, 228);
  padding: 2rem;
  line-height: 1.6;
  border-radius: 8px;
  margin-top: 2rem;
  font-size: 1rem;
  font-family: 'Courier New', Courier, monospace;
  color: #1d1c1c;
}

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;
  }
}

/* ------- RESPONSIVE ------- */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  figure.side-image,
  .main-content {
    width: 100%;
  }


}

.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;
}


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; 
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  figure.side-image,
  .main-content {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  figure.side-image,
  .main-content {
    width: 100%;
  }
}

