body {
  color: var(--color-primary);
  background-color: var(--color-secondary);
  width: 100%;
  min-height: 100vh;
  margin: 0;              /* remove default browser margin */
  padding: 0;             /* remove padding that was shrinking your site */
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: var(--font-primary);
}


header {
  position: fixed;  /* FIXED at top */
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  flex-wrap: nowrap; /* NO wrapping */
  padding: 0 30px;   /* padding inside header */
  background-color: white; /* optional */
  box-sizing: border-box;
}


.logo img {
  height: 70px;
}

.nav-link {
  display: flex;
  gap: 30px;   /* space between links */
}

.become-member {
  padding: 12px 24px;
}


.logo img {

height:70px;
border-radius: 50px;
margin-left: 30px;
}

.nav-link{
   
 margin-left: auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 50px;
}

.nav-link ul{
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
    padding: 0;
}

.nav-link a{
color: black;
text-decoration: none;
font-weight: 500;
font-size: 18px;
transition: color 0.3s ease;

}

.nav-link a:hover{
  color: black;
  text-decoration: underline;
}

.logo,
.nav-link,
.nav-right {
  position: relative;
  z-index: 2;
  color: black;
}

a.current {
  font-weight: bold;
  color: black; 

  font-size: 1.3rem;
}

.become-member {
  display: inline-block;
  background-color: #3FA752;
  padding: 12px 24px;
   border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.become-member:hover {
     background-color: #339e4a;

}


/*new container*/

.welcome{
background-image: url("picture/exhibition.jpg");
 background-size: cover;
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: center 30%;
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 15px;

}

.welcome_content{
   position: absolute;
  display: flex;
  justify-content: flex-start;
flex-direction: column;
text-align: left ;
  left: 20px;
  padding: 0;
 margin: 0 ;
  margin-bottom: 0px;
 
}

.overlay-content {
position: relative; 
 width: 520px;
  height: 450px; /* Full height (cover the whole page) */
  background-color: rgba(0, 0, 0, 0.5);
 background-image: none;
  z-index: 6; /* Specify a stack order in case you're using a different order for other elements */
opacity: 1;
box-sizing: border-box;
padding: 48px 32px;
margin: 32px auto;
}



.welcome_content h1 {
  font-size: 50px;
font-weight: bold;
color: white;
  margin: 5px;
  line-height: 1.4;
  margin-bottom: 10px;
  padding-left: 5px;
}

.welcome_content h3 {
   font-weight: bold;
color: white;
  line-height: 1.6;       /* reduce spacing between lines */
  max-width: 700px;       /* keep text in a narrower column */
  margin-bottom: 1rem;
}

.nav-right {
  display: flex;
  justify-content: flex-end; /* pushes the button to the right */
  margin-top: 1rem;          /* optional spacing from text */
}

.welcome_content .cta {
  display: inline-block;     /* button stays normal */
  padding: 0.75rem 1.5rem;
  background-color: #0071e3;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.welcome_content .cta:hover {
  background-color: #0056b3; /* Darker blue */
  text-decoration: underline;
}

/*new container*/

.community{
background-image: url("picture/celso.jpg");
 background-size: 120%;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
   width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;

}


.community h1,
.community h2 {
text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);

}

/* New container */
.welcome_community{
  position: absolute;
  display: flex;
  justify-content: center;
flex-direction: column;
text-align: center ;
  padding: 0;
 margin: 0 ;
  margin-bottom: 0px;

}

.welcome_community h1 {
  font-size: 50px;
font-weight: bold;
text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
color: #ffffff; 
  margin: 5px;
  line-height: 1.4;
}

.welcome_community p {
 font-weight: bold;
text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);

  color: #ffffff;
  line-height: 1.6;       /* reduce spacing between lines */
  max-width: 700px;       /* keep text in a narrower column */
  margin-bottom: 1rem;    

}

.cta-container {
  margin-top: 1.5rem;
  text-align: left; 
}

.cta-container .cta{
display: inline-block;
padding: 0.75rem 1.5rem;
background-color: #0071e3;
color: white;
text-decoration: none;
font-weight: bold;
border-radius: 20px;
transition: background-color 0.3s ease;
}

.cta-container .cta:hover {
  background-color: #0056b3; /* Darker blue */
  text-decoration: underline;
}

/* New container */
.discover {
  justify-content: center ;
text-align: center ;
  left: 20px;
  padding: 0;
 margin: 0 ;
  margin-bottom: 20px;
}

.discover h2 {
  font-size: 50px;
 color: #3FA752; 
  margin: 5px;
  line-height: 1.4;
}

.discover p {
  font-size: 30px;
 color: #3FA752;
  margin: 5px;
  line-height: 1.4;
}


/* New container */
.container-pictures {
  display: grid;
  grid-template-columns: repeat(2, 500px); /* Fixed size for Apple-style squares */
  grid-template-rows: repeat(2, 400px);
  gap: 0.5rem; /* Minimal spacing */
  justify-content: center; /* Center horizontally */
  align-items: center;     /* Center vertically */
  margin: 0 auto;
  padding: 0;
  margin-bottom: 30px;
}




.container-upleft,
.container-upright,
.container-downleft,
.container-downright {
  width: 500px;
  height: 400px;
  border-radius: 50px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
}


.container-upleft {
  background-image: url("picture/billetto-editorial-334686.jpg");
}

.container-upright {
  background-image: url("picture/samuel-zeller.jpg");
}

.container-downleft {
  background-image: url("picture/jesse-orrico.jpg");
}

.container-downright {
  background-image: url("picture/learn.jpg");
  margin-bottom: 10px;
}


.text-container {
  text-align: center;
  margin-bottom: 10px;
}

.text-container h2 {
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  font-size: 50px;
  font-weight: bold;
  margin: 0;
  padding-bottom: 10px;
}


.cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  text-align: center;
  margin-top: 0;
}


.cta-button {
  cursor: pointer;
  display: inline-block;
  background-color: white;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;
  border-radius: 980px;
  border: 1px solid rgba(0, 0, 0, 0);
  padding: 7px 15px;
  min-width: 80px;
  white-space: nowrap;
}

.cta-button:hover {
  background-color: #FFD93D;
  color: #000;
}

.container-downright h2:hover {
  color: black;
}


/* footer */
.footer {
  background-color: #4d908e; /* teal-like background */
  color: white;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  margin-top: 10px
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 220px;
  margin: 10px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-column p,
.footer-column li {
  font-size: 14px;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #FFD93D; /* highlight yellow */
}

.footer-bottom {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 40px;
  border-radius: 50%;
}

/* Mobile and tablets → adapted sizes */
@media (max-width: 768px) {

  /* Ensure body doesn't overflow */
  body, html {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Header → row, smaller */
  header {
    flex-direction: row;
    height: 60px;
    padding: 10px 15px;
  }

  .logo img {
    height: 50px;
    margin-left: 5px;
  }

  .nav-link {
    gap: 15px;
    padding-right: 10px;
  }

  .nav-link a {
    font-size: 14px;
  }

  .become-member {
    padding: 8px 16px;
    font-size: 14px;
  }

  /* Grid pictures → single column, equal smaller height */
  .container-pictures {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 15px;
    width: 90%;
    margin: 0 auto;
  }

  .container-pictures > div {
    height: 100%;
  }

  /* Footer → row but smaller */
  .footer-container {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px;
  }

  .footer-column {
    flex: 1;
    margin: 0 5px;
    text-align: center;
    font-size: 14px;
  }

  .footer-bottom {
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-top: 10px;
    gap: 5px;
  }
}

