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

/* Font Setup */
body {
  font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
  background-color: #0A3D21;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-left a {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-right a {
  color: #CDFFE3;
  text-decoration: none;
  margin-left: 2rem;
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: lighter;
  font-family: 'Inter', sans-serif;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  color: #CDFFE3;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #CDFFE3;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: #0A3D21;
  transition: right 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
}

.close-btn {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
  gap: 1.5rem;
}

.sidebar-links a {
  color: #CDFFE3;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: lighter;
  font-family: 'Inter', sans-serif;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(205, 255, 227, 0.2);
  transition: color 0.3s ease;
}

.sidebar-links a:hover {
  color: white;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Captions under intro line */
.intro-captions {
  /* margin-top: 1rem; */
}

.caption {
  font-family: 'Inter', sans-serif;
  font-size: 25px;
  color: black;
  margin: 0.3rem 0;
  max-width: 500px;
}

/* Social links container */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Each social link */
.social-link {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  color: #7c7d7d;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #4a4b4b;
}

/* Social icons */
.social-icon {
  width: 16px;
  height: 16px;
  filter: grayscale(100%) brightness(50%);
  transition: filter 0.3s ease;
}

.social-link:hover .social-icon {
  filter: none;
}

/* Hero Section Split Background */
.hero {
  display: flex;
  height: 100vh;
  width: 100%;
}

.hero-left {
  background-color: #D9D9D9;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 5rem;
  gap: 1.5rem;
}

.hero-left h1 {
  color: black;
  font-size: 50px;
}

.hero-right {
  background-color: #003116;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-right img {
  width: 500px;
  height: auto;
}

@media (max-width: 768px) {
  /* show hamburger */
  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
    color: #CDFFE3;
  }

  /* hero stacked vertically */
  .hero {
    flex-direction: column;
    height: auto;
  }

  .hero-left {
    width: 100%;
    background-color: #D9D9D9;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 36px;
  }

  .intro-captions {
    margin-top: 1rem;
  }

  .caption {
    font-size: 19px;
    margin: 0;
    max-width: 500px;
  }

  /* social icons + text */
  .social-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .social-link {
    font-size: 18px;
  }

  .hero-right {
    width: 100%;
    height: auto;
    background-color: #FFF;
    padding: 2rem 0;
  }

  .hero-right img {
    width: 90%;
    height: auto;
  }
}

@media (min-width: 769px) {
  .sidebar,
  .overlay {
    display: none !important;
  }
}
