/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure full height and remove extra space */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Helvetica, sans-serif;
  background-color: #1E1E1E;
  color: #FAF9F6;
  line-height: 1.6;
}

/* Navbar */
.custom-navbar {
  background-color: #1E1E1E;
  border-bottom: 1px solid #FAF9F6;
}

.navbar-brand img {
  width: 150px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links .nav-link {
  color: #FFFFFF !important;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 0;
}

.nav-links .nav-link:hover {
  color: #D93D1A !important;
}

/* Contact Section */
.contact-section {
  padding: 40px;
  background-color: #1E1E1E;
  border-bottom: 1px solid #D93D1A;
  flex: 1; /* fills available space to prevent push */
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin: 0 auto;
  max-width: 1500px;
  padding: 0 20px;
}

.contact-message h1 {
  color: #D93D1A;
  font-size: 2rem;
  max-width: 400px;
  font-weight: bold;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 5px;
  color: #D93D1A;
  font-size: 0.85rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #FFFFFF;
  color: #000000;
  border: none;
  font-size: 1rem;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  width: 100px;
  padding: 10px;
  background-color: #FFFFFF;
  color: #D93D1A;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #D93D1A;
  color: #FFFFFF;
}

/* Footer */
footer {
  padding: 40px 20px;
  background-color: #1E1E1E;
  border-top: 1px solid #FAF9F6;
  color: #FAF9F6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

footer .contact-info h3 {
  color: #D93D1A;
  margin-bottom: 10px;
  font-size: 1.3rem;
  text-transform: uppercase;
}

footer .contact-info p {
  margin-bottom: 5px;
  font-size: 1rem;
}

footer .contact-info a {
  margin-right: 10px;
  font-size: 0.9rem;
  color: #FAF9F6;
  text-decoration: none;
}

footer .contact-info a:hover {
  text-decoration: underline;
}

footer p {
  margin-top: 20px;
  color: #D93D1A;
  font-size: 0.8rem;
}

/* Responsive Layouts */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-message h1 {
    max-width: 100%;
    font-size: 1.8rem;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .nav-links .nav-link {
    display: inline-block;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 20px;
  }

  .contact-message h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
  }

  .contact-form button {
    width: 100%;
  }

  footer {
    align-items: center;
    text-align: center;
    max-height: unset;
  }

  footer .contact-info a {
    display: block;
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .contact-message h1 {
    font-size: 1.3rem;
  }

  footer .contact-info h3 {
    font-size: 1rem;
  }

  footer p {
    font-size: 0.7rem;
  }
}
