/* ==========================================================
   GLOBAL RESET & BASE FONT
   ========================================================== */
* {
  box-sizing: border-box;
  font-family: -apple-system, system-ui, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue",
    Arial, sans-serif;
}

/* ==========================================================
   CONTAINER – fills the viewport and shows the background
   ========================================================== */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;          /* horizontal centering */
  justify-content: center;      /* vertical centering */
  min-height: 100vh;            /* full‑screen height */
  padding: 2rem;
  background-color: #242628;    /* fallback colour */
  background-image: url(./assets/world.svg);
  background-repeat: no-repeat;
  background-position: center 70px;
  background-size: contain;
}

/* ==========================================================
   HEADER (greeting + logo)
   ========================================================== */
.header {
  text-align: center;
  margin-bottom: -0.9rem;
}
.header h3 {
  color: #ff9e40;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.logo {
  width: 117px;
  height: 117px;
  margin: 0 auto;
}
.logo img {
  width: 100%;
  height: auto;
}

/* ==========================================================
   MAIN CONTENT – About Us
   ========================================================== */
.about-us {
  max-width: 800px;
  text-align: center;
  color: #EDE8D0;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.about-us h2 {
  color: #ff9e40;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

/* ==========================================================
   CONTACT BUTTON
   ========================================================== */
.contact-info {
  background-color: #EDE8D0;
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;

  /* CENTERING */
  display: block;          /* allow margin:auto */
  margin: 0 auto;          /* centre the button horizontally */
  text-align: center;      /* centre the text inside */
  white-space: nowrap;     /* keep email on same line */
}
.contact-info:hover {
  background-color: #dcd8c5;
  transform: translateY(-2px);
}

/* ==========================================================
   FOOTER – two‑row layout
   ========================================================== */
.site-footer {
  width: 100%;
  background-color: #111;
  color: #eee;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ----- ROW HELPERS ----- */
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* default: centre on mobile */
  align-items: center;
  gap: 1rem;
}

/* On larger screens we want the two rows to spread left‑right */
@media screen and (min-width: 601px) {
  .footer-top,
  .footer-bottom {
    justify-content: space-between;
  }
}

/* ----- ROW 1 – branding + legal ----- */
.footer-brand {
  display: flex;
  align-items: center;
}
.footer-logo {
  width: 90px;
  height: auto;
  margin-right: 0.8rem;
}
.footer-tagline {
  color: #ccc;
  font-size: 0.85rem;
}

/* ----- LEGAL TEXT ----- */
.footer-legal p {
  margin: 0.3rem 0;
}
.footer-legal a {
  color: #bbb;
  text-decoration: underline;
}
.footer-legal a:hover {
  color: #fff;
}

/* ----- ROW 2 – navigation + (optional) social ----- */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.2rem;
}
.footer-nav a {
  color: #bbb;
  text-decoration: underline;
}
.footer-nav a:hover {
  color: #fff;
}

/* Social icons – keep them hidden until when add the SVG files */
.footer-contact a {
  display: inline-block;
}
.footer-contact .icon {
  width: 24px;
  height: 24px;
  filter: invert(90%);
  margin-right: 0.5rem;
}
.footer-contact a:hover .icon {
  filter: invert(100%);
}

/* ==========================================================
   RESPONSIVE TWEAKS
   ========================================================== */
@media screen and (max-width: 1024px) {
  .container {
    background-size: contain;
    background-position: center;
  }
}
@media screen and (max-width: 600px) {
  .header h3 { font-size: 1.5rem; }
  .about-us h2 { font-size: 1.4rem; }
  .about-us { padding: 0 1rem; }

  .footer-container { gap: 1.5rem; }
}
