
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #1B1B1B;
  padding: 0;
}

header {
  position: sticky;
  top:0;
  z-index: 999;
}

.nav-menu a:hover {
    color: #595f39;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: #595f39;
}

.logo {
  font-size: x-large;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #1B1B1B;
  color: #fff;
  height: 5vh;
}


.nav-menu a {
  color: #fff;
  margin-left: 1rem;
  text-decoration: none;
  position: sticky;
  font-size: larger;
}

#hamburger-nav {
    display: none;
}

.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3 ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1B1B1B;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px;
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
    transform: none;
}
.hamburger-icon span:first-child {
    opacity:1;
}
.hamburger-icon span:first-child {
    transform: none;
}

.hero-content {
    display: flex;
    justify-content: center;
    height: 75%;
    align-items: center;
    text-align: left;
    font-size: xx-large;
}


.about, .media, .contact {
  height: fit-content;
  position: relative;
  scroll-margin-top: calc(5vh + 2rem);
  padding-bottom: 5%;
}

.about {
  background-color: #C4C5BA;
}

.about-container {
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  padding: 4rem;
  align-items: center;
}

.about-image-container {
  width: 40%;
  display: flex;
  justify-content: center;
}

.about-image-container img {
  height: auto;
  width: 100%;
  max-height: 720px;
  object-fit: contain;
}

.image-content {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.about-text-container {
 width: 60%;
 font-size: larger;
 line-height: 1.5;
 margin-right: 5%;
}

.section-heading {
  text-align: center;
  padding-top: 4rem;
  font-size: xx-large;
}

.media {
  background-color:  rgba(89, 95, 57, 0.8);
}

.video-container { 
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}


.contact {
  background-color: #E4E4DE;
  font-weight: 200;
}

.contact-text {
  text-align: center;
  font-size: larger;
}

footer {
  position: relative;
  height: 20vh;
  background-color: #1B1B1B;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(/assets/EG-hero.avif) center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
  height: 55vh;
}


h2 {
  margin: 0;
}

span {
  display: inline;
}

.italics {
  font-style: italic;
}

.bold {
  font-weight: bold;
}

/*CONTACT FORM*/
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
input[type='text'],
input[type='email'],
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-family: arial, sans-serif;
}
textarea {
  height: 150px;
}
input[type='submit'] {
  background-color: #595f39;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  display: block;
  margin: 0 auto;
}
input[type='submit']:hover {
  background-color: #595f3989;
}

/*RESPONSIVE STYLINGS*/

@media screen and (max-width: 1200px) {
  .about-text-container {
    font-size: large;
  }
  
}

@media screen and (max-width: 1000px) {
  .about-container {
    display: flex;
    flex-direction: column;
  }

  .about-image-container, .about-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: inherit;
    text-align: center;
  }

  .about-image-container img {
    max-height: 600px;
    width: 100%;
  }
  .contact-text {
    font-size: medium;
  }

  iframe {
    width: 90%;
    height: 300px;
  }
  
}

@media screen and (max-width: 650px) {
  .hero {
    background-position: 25% 0;
  }
  .hero-content {
    height: 100%;
    font-size: x-large;
  }

  .nav-menu {
    display: none;
  }

  #hamburger-nav {
    display: flex;
  }

  .menu-links a {
    font-size: 1.25rem;
  }


}