:root {
    --secondary-color: #353535;
}

/*GENERAL*/
.no-decoration {
    text-decoration: none;
    color: inherit
}
.no-decoration:hover {
    text-decoration: none;
    color: inherit;
}




header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 3;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
body {
    margin-top: 50px;
}

h3 {
    font-size: 20px;
}

/*NAV*/
.navbar-brand {
    padding-left: 15px;
}
.nav-link {
    padding-left:15px;
}

.welcome-img {
    height: 80vh; 
    width: 100%; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
    position: relative;
}

.index-welcome-img {
    background-image: url('/img/photoLANCSF2025.jpg'); 
}

.en-direct-du-quebec-welcome-img {
    background-image: url('/img/chateauFrontenac.png'); 
}

.welcome-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(100, 100, 100, 0.3); /* Adjust the opacity as needed */
    z-index: 1;
}

.welcome-img h1 {
    margin: 30px;
    font-size: 7vh;
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.experience {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1em;
}

.experience-item-list-view {
    padding: 0 1rem;
    width: 300px;
    margin-bottom: 2rem;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    border-style: solid;
    border-width: 1px;
    border-radius: 20px;
    border-color: #c3c5c8;
    padding: 10px;
    margin: 10px;
    background-color: white;
    filter: drop-shadow(0px 0px 5px #0000003d);
}

.experience-item-list-view:hover:not(.experience-item-focus-view) {
    transform: scale(1.1);
}

.experience-item-list-view > .experience-details {
    display: none;
}

/* Show icons in focus view */
.experience-item-focus-view p::before,
.experience-item-focus-view a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5em;
  vertical-align: middle;
}



.labour-experience,
.video-experience {
    margin: 8px 0px;
}

.experience-item-list-view p,
.experience-item-focus-view p {
    color: black
}

.experience-item-list-view p:hover,
.experience-item-focus-view p:hover {
    text-decoration: none;
}

.experience-item-focus-view {
    width: 100%;
    max-width: 800px;
    order: -1; /* Moves it to the top if flexbox supports ordering */
}
@media (max-width: 630px) {
    .experience-item-focus-view {
        order: initial; /* Resets order so the item stays in its natural position */
    }
}
.carousel,
.experience-image-container {
    margin-top: 16px;
    max-height: 400px;
    width: 100%;
    position: relative; /* Ensure controls position correctly */
}

.carousel-item img,
.experience-image-container > img {
    background-color: #23272a;
    max-height: 400px;
    object-fit: contain;
}

.experience-image-container > img {
    width: 100%;
}



/* Position arrows over images */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5%; /* Adjust width as needed */
    z-index: 10; /* Ensure arrows are above images */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 8px; /* Rounded square effect */
    width: 40px; /* Adjust width */
    height: 40px; /* Adjust height */
    display: flex;
    align-items: center;
    justify-content: center;
}


.experience-item-focus-view .title-experience {
    text-align: center;
}

.experience-logo-wrapper {
    width: 100%;
    height: 125px; /* Fixed height for the logo wrapper */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-wrap: wrap;
}

.experience-logo {
    max-width: 100%;
    max-height: 100%;
}

.title-experience, .jeux-experience, .endroit-experience, .time-experience {
    margin: 0.5rem 0;
}

.title-experience {
    font-size: 1.2rem;
    font-weight: 800;
}

.experience-item-list-view .endroit-experience {
    font-style: italic;
    font-size: 0.9rem;
}

@media (min-width: 631px) {

    .experience-item-focus-view {
        text-align: left;
    }

    .experience-details .back-btn {
        text-align: center;
    }

    .experience-item-focus-view .endroit-experience,
    .experience-item-focus-view .jeux-experience,
    .experience-item-focus-view .labour-experience {
        font-style: normal;
        font-size: 16px;
    }

    .experience-item-focus-view .jeux-experience::before {
        background-image: url('img/icons/game-controller.png');
      }
      
      .experience-item-focus-view .endroit-experience::before {
          background-image: url('img/icons/location.png')
      }

      .time-experience::before {
        background-image: url('img/icons/calendar.png')
      }

      .labour-experience::before {
          background-image: url('img/icons/support.png');
      }
      
}
.video-experience::before{
    background-image: url('img/icons/youtube.png');
}

.d-none {
    display: none !important;
}
.expanded {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
}

.clickable-indicator {
    stroke: lightgray; /* Default stroke color */
    transition: stroke 0.3s ease; /* Add transition for stroke color */
    margin: 0;
}

.experience-item-list-view:hover .clickable-indicator {
    stroke: black; /* Stroke color on hover */
}



/* app.css */

.invite-card {
    background-color: #23272a;
    color: white;
    padding: 15px;
    border-radius: 10px;
    width: 350px;
    display: flex;
    flex-direction: column;
    margin: auto;
    transition: width 0.3s ease-in-out;
}

.invite-header {
    font-size: 12px;
    color: #b9bbbe;
    margin-bottom: 10px;
}

.en-direct-du-quebec {
    background-color: var(--secondary-color);
}

.en-direct-du-quebec .invite-link * {
    font-family: 'gg sans', sans-serif;
}


.server-info {
    display: flex;
    align-items: center;
}

.server-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    margin-right: 10px;
}

.server-name {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.server-name img {
    width: 18px;
    height: 18px;
    margin-left: 5px;
}

.server-stats {
    font-size: 14px;
    color: #b9bbbe;
    margin-top: 5px;
}

.join-btn {
    background-color: #248045;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: 200ms;
}

.join-btn:hover {
    background-color: #1A6334;
    color: white;
    text-decoration: none;
}

@media (max-width: 500px) {
    .invite-card {
        width: 100%;
        max-width: 350px;
    }
}

/* app.css */

.spin {
    transition: transform 0.3s ease-in-out;
}

.spin:hover .service-icon {
    animation: spin 0.3s ease-in-out;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
        filter: blur(0px);
    }
    50% {
        filter: blur(1px);
    }
    100% {
        transform: rotate(360deg);
        filter: blur(0px);
    }
}

.service-icon {
    margin-top: 2rem;
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease-in-out;
}

.service-item h4 {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.service-item p {
    margin-top: 0.5rem;
    font-size: 1rem;
}

.contact-us {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem;
}

.contact-us .form-group {
    text-align: center;
}

.contact-info > p {
    font-size: 1.2rem;
}


.reverse-color {
    filter: invert(100%);
}

.img-container-max-width-300 {
    max-width: 300px
}

.contact-icon {
    width: 50px;
    padding: 0;
    margin-left: 12px;
}

.contact-info > a {
    text-decoration: none;
    color: inherit;
}

.contact-info > a:hover {
    text-decoration: underline;
}
