/* ====== Base Reset ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ====== Body ====== */
body {
  font-family: Georgia, serif;
  background-color: #f2f2f2;
}

a:visited {
  text-decoration: none;
  color: black;
}

main h2 {
  text-align: center;
  margin: 2rem 0;
  width: 100%;
}

.text-column {
  margin: 0 auto;
  text-align: jsutify;
  width: 50%;
}

.text-column p {
  text-align: justify;
}

.about {
  width: 50vw;      
  height: auto;     
  display: block;   
  margin: 0 auto;   
}

/* ====== Header & Navigation ====== */
header {
  background-attachment: fixed;
  background-image: url("../photos/Header.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  height: 50vh;
  position: relative;
}

header nav {
  position: relative;
  z-index: 1;
  background: rgba(242, 242, 242, 0.75); /* semi-transparent */
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 a {
  text-decoration: none;
  color: inherit;
  font-size: 20px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: black;
  font-size: 16px;
  text-decoration: none;
  font-family: Georgia, serif;
}

nav ul li a:hover {
  color: #999;
}

/* Hide mobile toggle and dropdown on desktop */
.mobile-menu-toggle,
.mobile-dropdown {
  display: none;
}

/* Desktop nav styles */
.desktop-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Hide desktop nav on mobile, show mobile elements */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    cursor: pointer;
    background-color: transparent;
    padding: 10px;
    font-size: 18px;
    font-family: Georgia, serif;
    margin-left: auto;
  }

  .mobile-dropdown {
    display: none;
    position: absolute;
    top: 84px; /* adjust if needed to appear under nav */
    left: 0;
    width: 100%;
    background: rgba(242, 242, 242, 0.5);
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 2;
  }

  .mobile-dropdown li {
    text-align: Left;
    padding: 12px 16px;
  }

  .mobile-dropdown li a {
    color: black;
    text-decoration: none;
    font-family: Georgia, serif;
  }

  .mobile-dropdown li a:hover {
    color: #999;
  }

  header {
    position: relative;
    z-index: 1;
  }

  nav {
    position: relative;
    z-index: 2;
  }
}

main hr.solid {
  border-top: 1.5px solid black;
  margin: 0 auto;
  width: 50vw;
}

/* ====== Footer ====== */
footer {
  font-family: Georgia, serif;
  font-size: 13px;
  padding: 30px 0;
  text-align: center;
  background-color: #f2f2f2;
}

footer h2 {
  margin-bottom: 10px;
}

footer a img.bottom {
  margin: 0;
  padding: 0 3px 15px 3px;
  width: 22px;
}
