/*

=============================================================STYLING=============================================================
*/


@font-face { font-family: sans-bold; src: url('resources/OpenSans-Bold.ttf'); } 
@font-face { font-family: sans-light; src: url('resources/OpenSans-Light.ttf'); } 
@font-face { font-family: sans-reg; src: url('resources/OpenSans-Regular.ttf'); } 
body{
  background-color: #000000;
}

h1{
  font-family: sans-bold;
  color: #ffffff;

}
h2{
  font-family: sans-bold;
  font-size: 80px;
  color: #ffffff;
  padding-left: 50px;
  padding-bottom:50px;
}

h3{
  font-family: sans-bold;
  font-size: 60px;
  color: #ffffff;
}
::selection {
  background-color: #eb0028;  /* Highlight background color */
  color: white;              /* Text color */
}

.navbar .reach-out-button:active {

  background-color: rgb(235, 0, 40, 0.7);

}

.navbar .reach-out-button{

  font-weight: 500;
  font-size: 90%;
  background-color: rgb(235, 0, 40);
  color: black;
  border: 1px; 
  border-color: black;
  border-style: solid;
  padding: 20% 73%;
  border-radius:40px;
  white-space: nowrap;
}

.reach-out {
  padding-right: 10%;
}
/*
--------------------------------------------------------------NAVBAR--------------------------------------------------------------
*/
.navbar{
  padding-bottom: 0px;
  
}
.navbar-brand{
  padding-right: 170px;
}
/* Navbar Link Default State */
.navbar .nav-link {
  color: #f8f9fa;
  font-family: sans-reg;
  font-size: 20px;
  position: relative;
  padding: 20px 0;
  text-align: center;
  transition: color 0.3s;
}

/* Spacing Between Items */
.navbar .nav-item {
  margin: 0 20px;  /* Space between nav items */
}

/* Hidden Rectangle (Before Hover) */
.navbar .nav-link::before {
  content: "";
  position: absolute;
  left: 50%;  /* Start at center */
  right: 50%;
  top: 5px;
  bottom: 5px;
  background-color: transparent;  /* Hidden by default */
  z-index: -1;
  transition: all 0.3s ease;
}

/* Expand from Center on Hover */
.navbar .nav-link:hover::before {
  left: -20px;  /* Expand beyond text */
  right: -20px;
  background-color: #ffffff;
  color: #000000;
}
.navbar .nav-link:hover{
  color: #000000;
}

/* Active Link Styling */
.navbar .nav-link.active {
  color: #eb0028;
  font-weight: bold;
}

.navbar .navbar-brand img {
  height: 40px;
}

.navbar .reach-out-button:active {

  background-color: rgb(235, 0, 40, 0.7);
  
}
.navbar-toggler-icon{
  color: white;
}
.navbar .reach-out-button{

  font-weight: 500;
  font-size: larger;
  background-color: #eb0028;
  color: rgb(255, 255, 255);
  border: 1px; 
  border-color: black;
  border-style: solid;
  padding: 15% 40%;
  border-radius:30px;
  white-space: nowrap;

}

.reach-out {
  padding-right: 10%;
}




.navbar .dropdown-menu{
  border-radius: 0 !important;  /* Remove rounded corners */
  color: #000000;
  font-family: sans-reg;
  font-size: 20px;
  background-color: #ffffff;
  padding: 30px;
}
/* Dropdown Menu - Show on Hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;  /* Ensure dropdown is fully visible */
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Initially hide the dropdown menu */
.navbar .dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Optional: Change background on hover */
.navbar .dropdown-menu .dropdown-item:hover {
  color:#eb0028;
}



/*
-----------------------------------------------------------OPSEIS-----------------------------------------------------------
*/


.date h3{
  color:#ffffff;
  font-family: sans-bold;
  font-size:20px;
  text-align: start;
}

.opsisLetters{
  display: flex;
  flex-direction: row;
  align-items: center;
}

img.opsisLetters{
  max-width: 25%;
  position: unset;
  top: 10%;
  left: 950px; 
  opacity: 100%;
  padding-bottom: 2%;
}


/* Section with black background and image */
.intro-section {
  color: rgb(204, 204, 204);
  position: relative;
  text-align: justify;
  height: 800px; 
}

.intro-section img.intro-image {
  position: absolute;
  top: 10%;
  left: 950px;
  max-width: auto;
  max-height: 600px; 
  opacity: 80%;
}

.intro-content {
  position: absolute;
  top: 230px;
  left: 70px;
  z-index: 2;
}

.intro-content h1 {
  font-family: sans-bold;
  font-size: 60px;
  padding-bottom: 10px;
}


.intro-content .btn {
  margin-top: 20px;
  background-color: #ff5733;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
}

.intro-content .btn:hover {
  background-color: #c0392b;
}
.inv {
  position: absolute;
  top: 550px;
  left: 70px;
  z-index: 2;
}
.inv h1{
  
  font-family: sans-bold;
  font-size: 25px;
  padding-bottom: 10px;
}




/*

=--------------------------------------------------------SUPPORTERS---------------------------------------------------------------


*/

/* ========================----------------===========SPONSORS =========================----------------===========*/

.supporters{
 
  p{
    font-family: sans-light;
    font-size: 20px;
    color: #ffffff;
    padding: 50px;
    padding-bottom: 0%;
    padding-top: 0%;
    text-align: justify;
  }
  
}

.container{
  padding: 0px;
  
}

.supporters p,.curators p{
    font-family: sans-light;
    font-size: 20px;
    color: #ffffff;
    padding-left: 50px;
    padding-bottom:50px;
    padding-right: 200px;
    padding-top: 0px;
    text-align: justify;
}
.periferia h3{
  text-align: center;
}

.supporters, .platinum, .gold, .silver, .bronze, .metafora, .diamonh{
  background-color: #000000;

  h3{
    text-align: center;
  }
  img{
    width: 250px;
    height: 250px;
  }

}

.gold h3{
  background:linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  color: transparent;
  background-clip: text;
}

.bronze h3{
  background: linear-gradient(45deg, #673208, #db8959, #db6c2b, #e67838, #d25914);
  color: transparent;
  background-clip: text;
}

.platinum h3{
  background:linear-gradient(45deg, #767676, #a2a2a1, #F1F0ED, #F1F0ED, #AA771C);
  color: transparent;
  background-clip: text;
}

.epikoinonia {
  background-color: #000000;
  h3{
    text-align: center;
  }
  img{
    width: 250px;
    height: 300px;
  }
}

.moeniaSupporters{
  background-color: #000000;
  padding-left: 20px;
  padding-right: 20px;
  h3{
    text-align: center;
  }
  img{
    width: 250px;
    height: 250px;
  }
}

.moeniaSupporters2{
  background-color: #000000;
  padding-left: 20px;
  padding-right: 20px;
  h3{
    text-align: center;
  }
  img{
    width: 200px;
    height: 200px;
  }
}

.img-periferia, .periferia{
  background-color: #000000;
}
.img-periferia {
display: flex;
justify-content: center; 
align-items: center;    
height: 100%;         
padding:50px;  
}

.img-periferia img {
  width: 500px; /* Adjust the width as needed */
  height: auto; 
  object-fit: contain;
}
/* General Styles for Centering Divs */
div.img-periferia, div.img-plat, div.img-gold, div.img-silver, div.img-bronze1, div.img-bronze2, div.img-metafora, div.img-diamonh1, div.img-diamonh2, div.img-diamonh3, div.img-diamonh4, div.img-moeniaSupporters, div.img-epikoinonia {
  display: flex;
  align-items: center; /* Aligns images vertically within the container */
  justify-content: space-evenly;
  flex-wrap: wrap; /* Allows images to wrap to the next line if necessary */  
}

/* Add spacing between images within the same div */
/* div.img-plat img, div.img-gold img, div.img-silver img, div.img-bronze1 img, div.img-bronze2 img, div.img-metafora img, div.img-diamonh1 img, div.img-diamonh2 img, div.img-diamonh3 img, div.img-diamonh4 img, div.img-moeniaSupporters img, div.img-epikoinonia img { 
  margin: 0 70px; /* Horizontal spacing between images 
} */


/* Global Styles */
body {
  background-color: #000000;
}

h2, h3 {
  color: #ffffff;
  text-align: center;
  font-family: sans-bold;
}
.opsisLetters, .inv ,.intro-image{
  display:flex;
}
.mobile-only, .inv-mobile, .intro-image-mobile{
  display: none;
}

/* Responsive font sizes */


----------------------------------------------------------sposonr----------------------------------------------------------
*/



.curators {
  img{
    height: 450px;
    width: auto;
  }
  h3{
    text-align: start;
  }
  
}
.description p, .description ul {
  font-family: sans-light;
  font-size: 20px;
  color: #ffffff;
  padding: 50px;
  padding-bottom: 0%;
  padding-top: 0%;
  text-align: justify;
}

.description ul {
  font-family: sans-light;
  font-size: 18px;
  color: #ffffff;
  padding: 50px;
  padding-left: 80px;
  padding-bottom: 0%;
  padding-top: 0%;
  padding-top: 0;
  text-align: justify;
}

 .opsis p, .tickets p, .pastevents p, .speakers-container p{
  font-family: sans-light;
  font-size: 15px;
  color: #ffffff;
  padding-left: 20px;
  padding-bottom:20px;
  padding-right: 20px;
  text-align: justify;
}
.description h1, .mission h1,.volunteers h1, .opsis h1, .pastevents h1, .speakers h1{
  padding-left: 50px;
  padding-right: 200px;
  padding-top: 50px;
  font-size:50px;
  
}

b {
  font-family: sans-bold;
  font-weight: 100;
}



.supporters, .platinum, .gold, .silver, .bronze, .metafora, .opsis, .tickets, .pastevents, .diamonh, .moeniaSupporters, div.img-epikoinonia{

  background-color: #000000;

}

.description-content {
  display: flex;
  align-items: flex-start;
}

.description-content p, .description-content ul, .description-content li {
  flex: 2; 
  text-align: justify;
}

.description-content img {
  flex: 1; 
  max-width: 200px; 
  height: auto; 
  padding:0;
}

.mission-content {
  display: flex;
  align-items: flex-start; 
  justify-content: flex-start; 
  padding: 0; 
  margin: 0;
}

.mission-content img {
  flex: 0;
  max-width: 150px;
  height: auto;
  margin: 0; 
  align-self: flex-start; 
}

.mission-content p {

  font-family: sans-reg;
  font-size: 20px;
  color: #ffffff;
  padding: 50px;
  padding-bottom: 0%;
  padding-top: 0%;
  text-align: justify;

}
.mission-content h2{
  padding-top: 80PX;
  padding-left: 0;
}

.volunteers{
  background-image: url("resources/vol.png");
  background-size: contain; 
  background-repeat: no-repeat; 
  background-position: center;
  padding-bottom: 50px;
}
.volunteers h2{
  padding: 50px;
  color:white;
  
}
.volunteers p{
  padding: 50px;
  padding-top:0;
  font-family: sans-light;
  font-size: 20px;
  text-align: justify;
  color:white;
}
article{
  
  padding: 1%;
  flex: 1;
}

section{
  
  padding: 1%;
  color:white;
  
}

#sidebar{

  position: fixed;
  flex: 1;
  display: flex;
  flex-direction: column;

}

.sidefixed{
  position: fixed;
}

aside{

  color: white;
  padding: 1%;   

  background-color: rgb(0, 0, 0);
  
  display: flex;
  flex-direction: column;
  
  margin: 0;
  

}

.copyright:visited{
  color:blueviolet;
}

.copyright:hover{
  text-decoration: underline;
}

.copyright:active{
  background-color: yellow;
}

#gallery{
  display: flex;
  flex-direction: column;
}

.galleryrow{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 1%;
}

iframe{
  padding: 1%;
}

audio::-webkit-media-controls-panel {
  background-color: #626365;
}

#connect{
  color:gray;
}

.icons{
  display: flex;
  justify-content: space-between;
  padding: 1%;
  align-items: center;
}


.fa, .fa-brands{
  padding: 20px;
  font-size: 150%;
  width: 7%;
  text-align: center;
  text-decoration: none;
}

.fa:hover, .fa-brands:hover {
  opacity: 0.7;
}

.beacons:hover {
  opacity: 0.7;
}

.fa-facebook {
  background: #000000;
  color: white;
}

.fa-instagram {
  margin-left: 5px;
  background: #000000;
  color: white;
}

.fa-linkedin, .fa-tiktok{
  margin-left: 5px;
  background: #000000;
  color: white;
}

.fb-share-button{
  width: 100%;
  height: 100%;
}
.intro-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Γεμίζει το viewport */
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover; /* Καλύπτει ολόκληρο το viewport χωρίς παραμόρφωση */
  z-index: -1; /* Μένει πίσω από το περιεχόμενο */
  filter: blur(3px);
}

.ban{
  width: 100%;
}

.pastevents h2, .pastevents h1, .speakers h1{
  color: #ffffff;
  padding: 50px;
  font-size: 60px;
  text-align: center;
}

#gallery{
  display: flex;
  flex-direction: column;
}

.galleryrow{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 1%;
}

/*

----------------------------------------------------------Past events----------------------------------------------------------
*/

.pastevents h1{
  padding-right: 50px;
}

.pastevents p{
  padding-right: 50px;
}
/*
--------------------------------OPSIS-----------------------------------------------------------------
*/

.opsisbody{
  cursor: url('resources/cursor.png'), url('resources/cursor.cur'), auto;
}

.opsis h1{
 padding: 50px;
 padding-bottom: 0px;
} 



.bannerOpsis .bannerOpsis-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 30px 15px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.2);

}
.bannerOpsis, .bannerOpsis-content h1, .speakers h1, .sponsors2025 h1 {
  margin: 0;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.1;
  font-size: 2em;
}
.bannerOpsis h1{
  font-size:40px;
  justify-content: start;
}
h1.sponsors2025 {
  background-image: linear-gradient(45deg,
  #999 5%,
  #fff 10%,
  #ccc 30%,
  #ddd 50%,
  #ccc 70%,
  #fff 80%,
  #999 95%);
  color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .bannerOpsis, .speakers h1, .sponsors2025 h1 {
    font-size:50px;
  }
  
  
}

.intro-content2{
  padding-left: 50px;
  padding-bottom: 40px;
  padding-top:100px;
  h1{
    font-size: 60px;
  }
}
.bannerOpsis .bannerOpsis-content p {
  font-family: sans-light;
  font-size: 20px;
  color: #ffffff;
  padding-left: 50px;
  padding-bottom:0px;
  padding-right: 50px;
  text-align: justify;
}

h1.speakers, h1.opsisTitle {
  background-image: radial-gradient(circle,
  #FFD3E3 5%,
  #fd9274 15%,
  #ffcb49 30%,
  #ed601e 50%,
  #ac3d1d 90%);
  color: transparent;
  background-clip: text;
  background-position: inherit ;
  padding-right: 0%;
}

h3.opsisTitle{
  font-weight: 900;
  font-size: x-large;
  background-image: radial-gradient(circle,
  #FFD3E3 3%,
  #fd9274 7%,
  #ffcb49 15%,
  #ed601e 30%,
  #ac3d1d 90%);
  color: transparent;
  background-clip: text;
  background-position: inherit ;
  padding-right: 0%;
}

.bannerOpsis video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none; /* Not mandatory but it ensure the video doesn't interfere with content */
  z-index: -1;
  -webkit-filter: blur(2px);
          filter: blur(2px); /* Add a blur effect to the video */
}

/* General styles for bannerOpsis-content */
.bannerOpsis-content {
  text-align: center;
}

.bannerOpsis-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.bannerOpsis-content p {
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Responsive styles */
@media (max-width: 768px) {
  .bannerOpsis-content h1 {
    font-size: 2.5rem;
  }

  .bannerOpsis-content p {
    font-size: 1rem;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .bannerOpsis-content h1 {
    font-size: 2rem;
  }
  
  .bannerOpsis-content p {
    font-size: 0.9rem;
    padding: 0 5px;
  }
}



.bannerOpsis-date {
  background: rgb(255,211,227);
  background: radial-gradient(circle, rgba(255,211,227,1) 10%, rgba(255,203,73,1) 48%, rgba(237,96,30,1) 100%);
  border-radius: 50px;
  text-align: center;
  font-family: sans-bold;
  font-style: oblique;
  font-weight:900;
  padding: 2.5%;
  border: 3px solid transparent;
  box-shadow: 0 0 30px #ED601E;
}
.speakers-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.speakers-container p{
  padding-right: 50px;
}

.sponsors2025-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.sponsors2025-container p{
  padding-right: 50px;
}

.img-megas {
  display: flex;
  justify-content: center; 
  align-items: center;    
  height: 100%;         
  padding:50px;  
  }

  .img-megas img {
    width: 500px; /* Adjust the width as needed */
    height: auto; 
  object-fit: contain; /
  }
/*
--------------------------------------------------------------FOOTER--------------------------------------------------------------
*/

footer{
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  margin-top: 3%;
  color: grey; 
}

#connect{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.mails{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.mails-space{
  padding: 0%;
  font-size: 15px;
}

@media (max-width: 768px) {
  #connect {
    flex-direction: column !important; /* stack items vertically */
    align-items: center; /* left align stacked items */
  }

  .mails {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
  }

  #connect .map {
    order: 2; /* make sure map goes below contact info */
    width: 100%; /* full width on mobile */
    margin-top: 20px; /* spacing below contact info */
  }

  #connect  .map iframe {
    width: 70%;
  }

  #connect .contact-info {
    order: 1;
    width: 100%; /* full width on mobile */
  }
}


/* =========================----------------===========TEAM =========================----------------===========*/
.team{
  
  h1{
    font-family: sans-bold;
    font-size: 45px;
    text-align: center;
    color: #eb0028;
    
    padding-top: 50px;
    line-height: 1.4;
  }
  
  img{ 
    height:400px;
    width:auto;
    padding-bottom: 20px;

  }
  h5{
    font-family: sans-reg;
    font-size: 15px;
    text-align: center;
    color:white;
    padding-bottom: 10px;
  }

  h4{
    font-family: sans-reg;
    font-size: 20px;
    text-align: center;
    color:white;
    padding-bottom: 10px;
  }
  
  
  h6{
    font-family: sans-reg;
    font-size: 15px;
    text-align: center;
    color:rgb(179, 179, 179);
    padding-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .opsisLetters, .inv , .intro-image, .xpic1 ,.xpic2{
    display: none;
  }
  .mobile-only ,.inv-mobile, .intro-image-mobile {
    display: block;
  }
  .navbar .navbar-brand img {
    height: 25px;
  }
  .intro-content {
    position: absolute;
    left: 20px;
   h1{
    font-size: 30px;
   }
   .opsisLettersmob{
    position: absolute;
    left:5px;
    top:113px;
    height:27px;
    width:auto;
   } 
   .date{
    h3{
      font-size:5px;
      position:absolute;
      top:150px;
    }
    
   }
  }
.intro-section{
  intro-image-mobile{
    position: absolute;
    left:5px;
    top:113px;
    height:100px;
    width:auto;
  }
}
  .inv-mobile{
    
    position:absolute;
    left: 20px;
    top:450px;
    h1{
      font-size: 18px;
      line-height: 1.5;
    }
    padding-right: 20px;

  }
  .intro-section img{
    position: absolute;
  top: 10%;
  left: 100px;
  max-width: auto;
  max-height: 600px; 
  opacity: 80%;
  }


  .description ,.mission-content ,.volunteers{
    display:block;
    h1, h2{
      font-size: 30px;
      padding: 30px;
      text-align: left;
      line-height: 1.4;
    }
    p, ul, li{
      font-size: 15px;
      padding: 15px;
    }
    
  }
}

/* Image and Layout Adjustment */
img.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 25%;
  padding: 1%;
}

/* Navbar and Other Adjustments for Mobile */
.navbar-toggler {
  border: 1px solid #fff;
}
/* Add these styles for responsiveness */
.img-periferia img,
.img-plat img,
.img-gold img,
.img-silver img,
.img-bronze1 img,
.img-bronze2 img,
.img-metafora img, .img-diamonh1 img, .img-diamonh2 img, .img-diamonh3 img, .img-diamonh4 img, .img-moeniaSupporters img, .img-epikoinonia img {
  max-width: 100%; /* Ensure images don't exceed the container width */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Prevent distortion */
}

/* Optional: Adjust margin and padding for smaller screens */
.img-periferia, .platinum, .gold, .silver, .bronze, .metafora, .diamonh, .moeniaSupporters, .epikoinonia {
  padding: 20px; /* Reduce padding on smaller screens */
}

.supporters p {
  padding-left: 20px;
  padding-right: 20px;
}

/* Use grid system for layout adjustments */
@media (max-width: 768px) {
  .supporters p {
    padding-left: 15px;
    padding-right: 15px;
  }
  .intro-content2{
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 20px;
    padding-top:50px;
    h1{
      font-size: 30px;
    }
  }

  /* Center the images vertically in a column layout */
  .img-periferia, .img-plat, .img-gold, .img-silver, .img-bronze1, .img-bronze2, .img-metafora, .img-diamonh1, .img-diamonh2, .img-diamonh3, .img-diamonh4, .img-moeniaSupporters, .img-epikoinonia {
    flex-direction: row;
    align-items: center;
  }

  .img-plat img, .img-gold img, .img-silver img, .img-bronze1 img, .img-bronze2 img, .img-metafora img, .img-diamonh1 img, .img-diamonh2 img, .img-diamonh3 img, .img-diamonh4 img, .img-moeniaSupporters img, .img-epikoinonia img {
    margin: 10px 0; /* Reduce spacing between images */
  }
}
@media (max-width: 480px) {
  /* Further reduce the max-width for very small screens */
  .img-periferia img,
  .img-plat img,
  .img-gold img,
  .img-silver img,
  .img-bronze1 img,
  .img-bronze2 img,
  .img-metafora img, .img-diamonh1 img, .img-diamonh2 img, .img-diamonh3 img, .img-diamonh4 img, .img-moeniaSupporters img, .img-epikoinonia img {
    max-width: 20%; /* Make images even smaller on very small screens */
  }
}

.description{
  background-color: black; 
  h1{
    color: #FFFFFF;
  }
  p{
    color: #FFFFFF;
  }
  ul{
    color: #FFFFFF;
  }
  
}

/* Fade-in effect for elements on scroll */
.fade-in-up-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.8s ease-out;
}

.fade-in-up-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.map{
  align-self: flex-end;
}


/* Highlight active dropdown items in red */
.navbar .dropdown-menu .dropdown-item.active {
  color: #eb0028 !important;
  background-color: transparent !important; /* remove blue background */
}

.navbar .dropdown-menu .dropdown-item.hover {
  color: #eb0028 !important;
  background-color: transparent !important; /* remove blue background */
}

.navbar .dropdown-menu .dropdown-item:active,
.navbar .dropdown-menu .dropdown-item.active {
  color: #eb0028 !important;          /* red text */
  background-color: transparent !important; /* no blue background */
}


/* CAROUSEL */

.custom-carousel {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 500px;
  margin: auto;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0; /* hidden slides behind */
}
.slide.active {
  opacity: 1;
  z-index: 1; /* only active slide on top */
}

.slide img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer; /* Indicate click-to-fullscreen */
}
.info {
  position: center;
  top: 0%;
  color: #fff;
  border-radius: 4px;
  text-align: center;
}
.carousel-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2; /* <-- make sure buttons are above slides */
}
.carousel-controls button {
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0%;
  cursor: pointer;
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 10%;
  width: 100%;
  height: 90%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
}
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* organization */

.org-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* event tabs */

/* Inactive tabs */
  .event-tabs .nav-link {
    background-color: black;
    color: white !important;
    border: none;
    margin: 0 4px;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease; /* smooth transition */
  }

  /* Active tab */
  .event-tabs .nav-link.active {
    background-color: white;
    color: black !important;
    border: none;
  }

  /* Year inside tab */
  .event-tabs .nav-link span.year {
    color: #eb0028 !important;
    font-family: sans-bold;
    font-size: 25px;
    transition: all 0.3s ease; /* smooth for year too */
  }

  .eventName {
    font-size: 30px;
  }