@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

:root{
  font-size: 62.5%;
  --textcolour: #cccccc;
  --hovercolour: #ffffff;
  --bordercolour: #5a5a5aa2;
  --speciallink: #aac8e4;
  --dropdowncolour: #727272;
  --dropdownhovercolour: #3a3a3a;
  --dotscolour: #777;
  --backgroundcolour: #000000;
  --strongcolour: #dcdcdc;
  --navicolour: #4e4e4e;
  --navitextcolour: #000;
  --shadowcolour: #4e4e4e54;
}



@media only screen and (max-width: 768px) {
  
  :root {
    font-size: 50%;
  }

}

html, body {
  background-color: var(--backgroundcolour);
  color: var(--textcolour);
  margin: 0;
  padding: 0;
  height: 100%;
  transition: background-color 1s ease, color 1s ease;
}

img {
  -webkit-user-drag: none;
}


h1 {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--textcolour);
  font-size: 3rem;
}

h2 {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: var(--textcolour);
  font-size: 2.5rem;
}

h3 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: var(--textcolour);
  font-size: 2rem;
}

button {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: var(--textcolour);
  font-size: 1rem;
}

small {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: var(--textcolour);
  font-size: 0.9rem;
}

strong {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
  color: var(--strongcolour);
  font-size: 1.1rem;
}

p {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--textcolour);
  font-size: 1.6rem;
}

a {
  transition: all 0.1s;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--textcolour);
  font-size: 1.6rem;
  cursor: pointer;
}

a:hover {
  color: var(--hovercolour);
  cursor: pointer;
}

.contact-link {
  color: var(--speciallink);
}

.main-header {
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../photos/landscape_photos/IMG_0002.JPEG);
  background-size: cover;
  background-position: center 10%;
  background-repeat: no-repeat;
  will-change: background-position;
}

#desktopNav {
  width: 100%;
  height: 45px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  gap: 20px;
  padding: 10px 30px;
  position: fixed;
  top: 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--navicolour); /* fully visible by default */
  box-shadow: 0 4px 6px var(--shadowcolour);
  z-index: 1000;
}

#desktopNav.hidden {
  background: rgba(255, 255, 255, 0); /* transparent */
  box-shadow: none;
}

.navigation-menu a {
  visibility: visible;
  opacity: 1;
  color: var(--navitextcolour);
}

.navigation-menu a:hover {
  color: var(--hovercolour);
}

.logo {
  width: 200px;
  aspect-ratio: 1 / 1;
  background-image: url(../photos/media/logo.png);
  background-size: cover;
  background-repeat: no-repeat;
}

/* Dropdown Button */
.dropbtn {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--textcolour);
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.dropbtn::after {
  content: '\f105';  /* Font Awesome right arrow */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  opacity: 0.7;
  margin-left: 5px;
  line-height: 0;
  top: 1px;
  position: relative;
  display: inline-block;  /* Needed for rotation */
  transition: transform 0.3s ease-in-out; /* Smooth rotation */
}

.dropdown:hover .dropbtn::after {
  transform: rotate(90deg);  /* Rotate to face downward */
}
  
  /* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}
  
  /* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--dropdowncolour);
  min-width: 160px;
  z-index: 1;
  transition: all 0.1s;
}
  
  /* Links inside the dropdown */
.dropdown-content a {
  padding: 12px 16px;
  display: block;
  transition: all 200ms ease-in-out;
  border: var(--dropdowncolour) solid 1px;
}
  
  /* Change color of dropdown links on hover */
.dropdown-content a:hover {
  border: var(--bordercolour) solid 1px;
}
  
  /* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {color: var(--hovercolour);}

.footer {
  width: 100%;
  height: 500px;
  margin: 0 auto;
  padding: 10px 30px;
  background-image: url(../photos/landscape_photos/IMG_0003.JPEG);
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}

.site-map {
  width: 90%;
  margin: auto;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.groups {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.group {
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.group div {
  height: 10px;
}

.group-title {
  font-size: 2rem !important;
  font-weight: 600;
  padding-bottom: 30px;
  color: var(--textcolour);
}

.group p,
.group a {
  font-size: 1.7rem;
  color: var(--textcolour);
}

.contact-link {
  color: var(--speciallink);
}

.group a:hover {
  color: var(--hovercolour);
}


.toggle-btn {
  width: 40px;
  height: 40px;
  position: fixed;
  top: calc(100% - 70px);
  right: 20px;
  background-color: var(--hovercolour);
  border-radius: 50%;
  cursor: pointer;
  
  display: flex;               /* Add Flexbox */
  align-items: center;         /* Center vertically */
  justify-content: center;

  transition: background-color 1s;
}

.media-flex {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.media-flex a {
  display: block;
  width: 30px;
  height: 30px;
  transition: all 0.1s;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.youtubeicon {
  background-image: url(../photos/media/youtube_dark.svg);
}

.youtubeicon:hover {
  background-image: url(../photos/media/youtube_hover.svg);
}

@media only screen and (max-width: 768px) {
  
  .logo {
    width: 30%;
  }

}

@media only screen and (max-width: 601px) {

  html {
    font-size: 70%;
  }

  .site-map {
    flex-direction: column;
    align-items: left;
    row-gap: 30px;
  }

  .media-flex a {
    width: 20px;
    height: 20px;
  }

}

.burger-menu {
  display: block;
  font-size: 3rem;
  cursor: pointer;
  color: var(--navitextcolour);
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.burger-menu.inactive {
  display: none;
}

/* Mobile Menu (Sidebar) */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%; /* Covers left half */
  height: 100vh; /* Full screen height */
  background-color: var(--navicolour);
  padding-top: 60px;
  transform: translateX(-100%); /* Hidden off-screen */
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

/* When active, slide the menu into view */
.mobile-menu.active {
  transform: translateX(0);
}

/* Mobile Menu Links */
.mobile-menu a {
  padding: 20px;
  font-size: 2rem;
  text-align: left;
  padding-left: 30px;
  border-bottom: 1px solid var(--bordercolour);
  display: block;
  color: var(--navitextcolour);
}

/* Close Button */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  cursor: pointer;
  color: var(--navitextcolour);
}

/* Mobile Dropdown */
.mobile-dropdown {
  text-align: left;
}

.mobile-dropbtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.3s ease-in-out;
  margin-left: 10px;
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  background-color: var(--navicolour);
}

.mobile-dropdown-content a {
  padding: 15px 40px;
  font-size: 2rem;
}

.mobile-dropdown-content a:hover {
  background-color: var(--dropdownhovercolour);
}

.mobile-dropdown.active .mobile-dropdown-content {
  display: flex;
}

.mobile-dropdown.active .dropdown-arrow {
  transform: rotate(90deg);
}

@media only screen and (min-width: 1025px) {
  .mobile-menu {
      display: none !important;
  }

  .burger-menu {
    display: none !important;
  }
}

@media only screen and (max-width: 1024px) {
  .navigation-menu {
    display: none !important;
  }
}

.tag-more {
  background: var(--bordercolour);
  cursor: pointer;
}

.section {
  width: 100%;
  padding: 30px 0;
}

.wrapper {
  width: 80%;
  margin: auto;
}

@media only screen and (max-width: 601px) {
  .wrapper {
    width: 90%;
  }
}