/* Google Fonts import */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Source+Sans+3:wght@400;700&display=swap");

:root {
  --background: rgba(33, 33, 33, 1);
}


/* Asterisk wildcard selector to override default styles added by the browser */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;

}

/* General styles */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Generic project styles */
  color: #3a3a3a;
  font-family: 'Source Sans 3', sans-serif;
}

h1,
h2,
h3 {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--background);
}



img {
  max-width: 100%;
}


/* Header Styles*/



.logo img {
  height: 6rem;
}


/* mobile hamburger menu*/
/* start of code adapted from Kevin Powell https://codepen.io/kevinpowell/pen/jxppmr */

header {
  background: var(--background);
  padding: 0 0.5rem;
  position: fixed;
  z-index: 99;
  width: 100%;
  box-shadow: 0 2px 2px #3a3a3a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0
}

.nav-toggle {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}



.nav-toggle {
  display: none;
  margin-inline: auto;
}

.nav-toggle-label {
  font-size: 1.5rem;
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 1em;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {

  background: #A06040;
  height: 2px;
  width: 1em;
  border-radius: 10px;
  position: relative;
  left: 0px;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}

.nav-toggle-label span::before {
  bottom: 10px;
}

.nav-toggle-label span::after {
  top: 10px
}


nav {
  position: absolute;
  background: var(--background);
  text-align: left;
  width: 100%;
  left: 0;
  padding: 0 1rem;
  top: 100%;
  transform: scale(1, 0);
  transition: opacity 400ms ease-in-out;
}

nav ul {
  font-size: 110%;
  margin: 0;
  padding: 0;
  letter-spacing: 1.5px;
  list-style-type: none;
  font-weight: 400;
  font-size: 16px;
  color: #7C756B;
  text-decoration: none;
}

nav li {
  margin-bottom: 1em;
  margin-left: 1em;
}

nav a {
  text-decoration: none;
  color: inherit;
  font-size: 1.2rem;
  text-transform: uppercase;
  transition: opacity 150ms ease-in-out;
  opacity: 0;
}

nav a:hover {
  color: #A06040;
}

.nav-toggle:checked~nav {
  transform: scale(1, 1);
}

.nav-toggle:checked~nav a {
  opacity: 1;
  transition: opacity 250ms ease-in-out 250ms;
}

/* end of code adapted from Kevin Powell https://codepen.io/kevinpowell/pen/jxppmr */

.active {
  border-bottom: 2px solid #A06040;
}


.cta-button {
  border: 1px solid #555454;
  background: #555454;
  color: #ededed;
  display: inline-block;
  border-radius: 1rem;
  text-decoration: none;
  padding: 0.6rem 2rem;
  font-weight: bold;
}

.cta-button:hover {
  background: #ededed;
  color: #555454;
}

.nav-button.cta-button {
  margin: .5rem 0 2rem 0;
}


.nav-link.active {
  color: #A06040;
}



/* Main Content */
main {
  /* Make main element take up any surplus space to push footer down */
  flex: 1 0 auto;
  /* Add margin at the top to prevent content from being covered by the header */
  margin-top: 20px;

}

hr {
  display: block;
  unicode-bidi: isolate;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: auto;
  margin-inline-end: auto;
  overflow: hidden;
  border-style: inset;
  border-width: 1px;
}

/* Hero section */
#hero {
  height: 600px;
  width: 100%;
  background: url("../images/hero-image1 .webp") no-repeat center center/cover;
  position: relative;
}

#cover-text {
  /* Final rgba value sets the opacity so it is semi-transparent */
  background-color: rgba(63, 61, 61, .7);
  position: absolute;
  bottom: 30px;
  width: 80%;
  min-height: 200px;
  padding-top: 40px;
  padding-left: 20px;
}

#cover-text>h2,
#cover-text>h3 {
  color: #E1E2E4;
}

/* About us and Services section */
#aboutUs {
  width: 90%;
  margin: 20px auto;
  text-align: center;
  align-items: center;
}

#aboutUs h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 180%;
}

#aboutUs p {
  text-align: center;
  font-size: 100%;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
  max-width: 700px;
}



#services-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding-block: 100px;
}

.service-card-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
  gap: 20px;
  align-items: center;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  background: #ededed;
  padding-block: 50px;
  padding-inline: 20px;
  max-width: 350px;
  border-radius: 10px;
}

.service-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.service-card hr {
  background-color: #3a3a3a;
  height: 1px;
  width: 80%;
  border-radius: 10px;
}


/* Portfolio Section   */

#portfolio-section {
  width: 90%;
  margin: 20px auto;

}

.heading-1 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 180%;
}

p {
  text-align: center;
  font-size: 70%;
  line-height: 1.5;
  font-weight: 400;

}

#portfolio-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding-block: 100px;
}

.portfolio-cards-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.portfolio-card {
  background: #E1D6CC;
  border-radius: 10px;
  max-width: 200px;
  height: 520px;
  overflow: hidden;
}

.portfolio-card-header {
  margin-bottom: 10px;
  align-items: center;

}

.portfolio-card-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -2px;
}

.portfolio-card-subtitle {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -1px;

}

.portfolio-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-card-text {
  padding: 20px;
  text-align: center;
}

/* Team Section */

.heading-1 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 180%;
}

.heading-2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -3px;
}

.subheading {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
}



#team-section {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-block: 100px;

}

#team-section hr {
  width: 80%;


}

.team-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.team-member-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 300px;
}

.team-member-card-header {
  text-align: center;
}

/* Events page */

#event-section {
  width: 90%;
  margin: 20px auto;

}

.heading-1 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 180%;
}

p {
  text-align: center;
  font-size: 90%;
  line-height: 1.5;
  font-weight: 400;

}

#event-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.event-cards-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.event-card {
  background: #E1D6CC;
  border-radius: 10px;
  max-width: 250px;
  height: 520px;
  overflow: hidden;
}

.event-card-header {
  margin-bottom: 10px;
  align-items: center;

}

.event-card-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -2px;
}

.event-card-subtitle {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -1px;

}

.event-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-card-text {
  padding: 20px;
  text-align: center;
}


#events {
  background-size: cover;
  background-position: 75%;
  padding: 20px 10% 0 10%;
  flex-grow: 1;
}

.buy-tickets-btn {
  padding: 10px 20px;
  /* Adjust padding as needed */
  font-size: 16px;
  /* Adjust font size as needed */
  background-color: #736A63;
  /* Button background color */
  color: #fff;
  /* Button text color */
  border: none;
  /* Remove button border */
  border-radius: 5px;
  /* Apply border radius for rounded corners */
  cursor: pointer;
  /* Change cursor to pointer on hover */
}

.buy-tickets-btn:hover {
  background-color: #DC9D7A;
  /* Button background color on hover */
}



/* Gallery page */
#photos img {
  width: 100%;
  height: auto;
  display: block;

}

#photos {
  line-height: 0;
  margin-top: 1%;
}

/* SignUp page */

main {
  /* Enlarge main element to push footer down*/
  flex: 1 0 auto;
  /* Add margin at the top to prevent content from being covered by the header */
  margin-top: 47px;
  /* Enable flex properties for child elements */
  display: flex;
  flex-direction: column;
}


/* Form */
#signup {
  background-image: url("../images/signup.webp");
  background-size: cover;
  background-position: 75%;
  padding: 20px 10% 0 10%;
  flex-grow: 1;
}

#signup-form {
  color: #ffffff;
  background-color: rgba(60, 60, 60, 0.6);
  padding: 30px;
  margin-top: 2%;
}

#signup-form>h2 {
  color: #fafafa;
  margin-bottom: 20px;
}

.text-input {
  background: transparent;
  color: #fafafa;
  width: 100%;
  height: 25px;
  margin: 5px 0 20px 0;
  border: 1px solid #fafafa;
  border-radius: 2px;
  padding: 0 5px;
}

.radio-buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-right: 10px;
}

.join-button {
  margin-top: 20px;
  border-radius: 2px;
  padding: 15px 32px;
  font-size: 100%;
  background-color: #454b1b;
  color: #fafafa;
}



/* Footer*/
footer {
  background-color: #212121;
}

#social-networks {
  text-align: center;
  padding: 20px 0;
  display: flex;
  justify-content: space-evenly;
  list-style-type: none;
}

#social-networks i {
  font-size: 160%;
  padding: 5%;
  color: #A06040;
}

/* Media query: large or landscape phones (576px and up) */
@media screen and (min-width: 576px) {

  .nav-toggle-label {
    display: none;
  }

  #photos {
    column-count: 2;
    column-gap: 0;
  }

  header {
    display: flex;
    grid-template-columns: 1fr auto minmax(576px, 3fr) 1fr;
  }

  nav {
    all: unset;
    grid-column: 3 / 4;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  nav ul {
    display: flex;

  }

  nav li {
    margin-left: 3em;
    margin-bottom: 0;
  }

  nav a {
    opacity: 1;
    position: relative;
  }

  nav a ::before {
    content: '';
    display: block;
    height: 5px;
    background: #A06040;
    position: absolute;
    top: -1em;
    left: 0;
    right: 0;

  }

  .nav-toggle-label {
    display: none;
  }

  #photos {
    column-count: 2;
    column-gap: 0;
  }

  header {
    display: flex;
    grid-template-columns: 1fr auto minmax(576px, 3fr) 1fr;
  }


  nav {

    grid-column: 3 / 4;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  nav ul {
    display: flex;

  }

  nav li {
    margin-left: 3em;
    margin-bottom: 0;
  }

  nav a {
    opacity: 1;
  }

  #aboutUs {
    width: 90%;
    margin: 20px auto;
    text-align: center;
    align-items: center;

  }

  .section-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    align-items: center;
    max-width: 700px;
  }
}

/* Media query: tablets and larger (768px and up) */
@media screen and (min-width: 768px) {



  #photos {
    column-count: 2;
    column-gap: 0;
  }

  header {
    display: flex;
    grid-template-columns: 1fr auto minmax(768px, 3fr) 1fr;
  }


  nav {

    grid-column: 3 / 4;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  nav ul {
    display: flex;

  }

  nav li {
    margin-left: 3em;
    margin-bottom: 0;
  }

  nav a {
    opacity: 1;
    position: relative;

  }

  nav a ::before {
    content: '';
    display: block;
    height: 5px;
    background: #A06040;
    position: absolute;
    top: -1em;
    left: 0;
    right: 0;

  }

  /* Main content */

  #aboutUs {
    width: 90%;
    margin: 20px auto;
    text-align: center;
    align-items: center;


  }

  /* Hero image */
  #cover-text {
    width: 300px;
    right: 50px;
  }

  /* Portfolio Section */
  .portfolio-card {
    display: flex;
    align-items: center;
    max-width: 100%;
    height: 350px;

  }

  .portfolio-card-reversed {
    flex-direction: row-reverse;
  }


  .portfolio-card-img {
    width: 60%;
    height: 100%;
  }

  .portfolio-card-header {
    margin-bottom: 20px;
    align-items: center;

  }

  .portfolio-card-text {
    padding: 30px;
    align-items: center;
  }

  /*Event*/

  .event-card {
    display: flex;
    align-items: center;
    max-width: 100%;
    height: 350px;

  }

  .event-card-reversed {
    flex-direction: row-reverse;
  }


  .event-card-img {
    width: 60%;
    height: 100%;
  }

  .event-card-header {
    margin-bottom: 20px;
    align-items: center;

  }

  .event-card-text {
    padding: 30px;
    align-items: center;
  }


  .event-card-text {
    position: relative;
    max-width: calc(100% - 20px);

  }

  .buy-tickets-btn {
    bottom: 10px;
    right: 10px;
    margin-top: 20px;
  }


  /* Gallery */
  #photos {
    column-count: 3;
  }
}



/* Large devices (laptops and desktops, 992px and up) */
@media screen and (min-width: 992px) {


  .nav-toggle-label {
    display: none;
  }

  #photos {
    column-count: 2;
    column-gap: 0;
  }

  header {
    display: flex;
    grid-template-columns: 1fr auto minmax(992px, 3fr) 1fr;
  }

  nav {
    all: unset;
    grid-column: 3 / 4;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  nav ul {
    display: flex;

  }

  nav li {
    margin-left: 3em;
    margin-bottom: 0;
  }

  nav a {
    opacity: 1;
    position: relative;
  }

  nav a ::before {
    content: '';
    display: block;
    height: 5px;
    background: #A06040;
    position: absolute;
    top: -1em;
    left: 0;
    right: 0;

  }


  .portfolio-card-img {
    width: 50%;
  }

  /* Event */
  .event-card-img {
    width: 50%;
  }

  /* Gallery */
  #photos {
    column-count: 4;
  }

  /* Form */
  #signup {
    background-position: center;
    position: relative;
  }

  #signup-form {
    max-width: 400px;
    position: absolute;
    left: 10%;
    top: 150px;
  }

  .text-input:hover {
    border-color: #f16c6b;
  }

  .join-button:hover {
    background-color: #fafafa;
    color: #454b1b;
  }
}

@media screen and (min-width: 1200px) {
  /* Reasons section */

}

/* ----------------*/
/* 404 Page        */
/* ----------------*/

.page-404-content {
  background: url("../images/404-image.jpg") center/cover no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

.page-404-content .section-header {
  color: #fafafa;
  margin-top: 100px;
  margin-bottom: 20px;
}


.page-404-content .heading-1 {
  color: #fafafa
}

.btn {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  padding-block: 10px;
  padding-inline: 40px;
  cursor: pointer;
  transition: all 300ms;
}

.btn-regular {
  background-color: #A06040;
}

.btn-regular:hover {
  background-color: #555454;
}

.page-404-content a {
  color: #212121;
  text-decoration: none;
}