/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap');

/* Reset and base styles */
body {
  margin: auto;
  font-family: sans-serif;
}

.header-wrapper {
  display: block;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  padding: 1rem 1rem;
  position: relative;
}

.logo-btn {
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 250px;
  height: 72px;
  
}


/* Desktop nav */
.nav {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.nav-list {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: black;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: background 0.3s;
}

.nav-list a:hover {
  font-weight: 600;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  margin-left: auto; /* Pushes it to the right */
}

.hamburger span {
  display: block;
  height: 3px;
  background: black;
  margin: 5px 0;
  transition: 0.3s ease;
}

.menu-toggle {
  display: none;
  appearance: none;
  position: relative;
  left: -9999px; /* Fully hides it off-screen */
}

/* Hamburger to X animation */
.menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Banner image */

.banner {
  display:block;
  align-items: flex-end;     /* Aligns content to the bottom */
  justify-content: flex-start; /* Aligns content to the left */
  width: 100%;
  height: 500px; /* Adjust height as needed */
  background-image: url('imgs/banner2.png');
  background-size: cover;       /* Ensures cropping instead of distortion */
  background-position: right;  /* Keeps the focal point centered */
  background-repeat:space;
  user-select: none;            /* Prevents selection */
  pointer-events: none;         /* Optional: disables interaction */
  padding: 1rem; /* Optional: adds spacing from edges */
}

/* Overlay image in top-left */
.overlay-img {
  position: relative;
  width: 70%;       /* Adjust size as needed */
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(2px 2px .1px rgba(50,0,0,0.1));
}

.content-maxwidth{
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.content-headerpadded{
  display: flex;
  justify-content: center; /* Horizontal alignment */
  align-items: center; /* Vertical alignment */
}
.content-headerspaced{
  text-align: center;
  background-color: #4f860e;
  color: white;
  display: inline-block;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 4px;
  padding-bottom: 4px;
  letter-spacing: 4px;
  border-radius: 5px;
}

p{
    display: block;
    font-family: "Inconsolata", monospace;
}

h2{
  font-family: "Inconsolata", monospace;
    text-align: center;
    margin-top:0px;
    font-size: 1.25rem;
    font-weight: 400;
}

/* Social Buttons */

.container {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping on small screens */
}

.contact-left a{
    color: #4f860e;
}

.contact-left a:hover{
    color: darkgreen;
    font-weight: 600;
}

.half-block {
  display: block;
  width: 50%;
  box-sizing: border-box;
  text-align: left;
}

/* Apply left padding ONLY to the last block 
.half-block:last-child {
  padding-left: 20px;
}

.half-block:not(:last-child) {
  border-right: 1px solid #ccc;
}*/


.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: background 0.3s ease;
}

.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.facebook {
  background-color: #3b5998;
}

.social-btn:hover {
  opacity: 0.8;
}

/* Footer */

.footer{
    text-align: center;
}

.footer h4{
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    font-family: "Inconsolata", monospace;
    font-style: italic;
     margin-bottom: 1rem;
}

.footer p{
    margin-top: 0px;
}

.footer a{
    color: #4f860e;
}

.footer a:hover{
    color: darkgreen;
    font-weight: 600;
}

/* Mobile styles */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: stretch; /* Allows children to span full width */
  }

  .hamburger,
  .nav {
    align-self: flex-end; /* Aligns hamburger and nav to the right */
  }
 
  .header {
    flex-direction: column;
    align-items: stretch; /* flex-end Aligns hamburger to the right */
  }
  
  .logo-btn {
    align-self: flex-start; /* Aligns logo to the left */
  }
    
  .nav {
    position: relative; /* or remove this line entirely */
    background-color: black;
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin: 1rem
  }

  .nav-list a {
    padding: 1rem;
    width: 100%;
    color: #e9e9ea;
  }

  .menu-toggle:checked + .hamburger + .nav {
    display: flex;
  }

  .hamburger {
    display: block;
    margin-right: 1rem; /* Optional: adds spacing from edge */
    margin-bottom: 0.5rem;
  }
    
  .overlay-img {
    left: 5%;
    width: 90%;       /* Adjust size as needed */
  }
    
  .half-block {
    display: block;
    width: 100%;
    box-sizing: border-box;
    clear: both; /* ensures it drops below floated elements */
    text-align: center;
    margin-top: 8px;
  }
}
