/* Assignment:      individual case project1*/
/* Author:          Joshua McBratnie */
/* date:            02/25/25 */
/* holy moly i think this is my longest css i really should look into 
reusable modules to condense this since i had so many things that could 
be reused on different pages */


/* Top root variables needed for all pages */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
:root{
    --primary-color: #A20008;
    --background-white: #F7F7F7;
    --font-black: black;
    --font-darkgray: rgb(61, 61, 61);
    --global-border: 1px solid #D6D6D6;
    --global-font: 'Poppins', Arial, sans-serif;

}
body {
    font-family: var(--global-font);
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}
a, p, h1, h2, h3, h4, h5, h6, span, button {
    font-family: var(--global-font);
    color: var(--font-black);
    text-decoration: none;
    line-height: 2;
} 
span  {
    color: var(--primary-color);
}
/* use break points for long term usability on multiple devices will come back and edit this in the next week over break*/
 /* Breakpoint: 360px and up */
@media only screen and (min-width: 360px) {

}
  
/* Breakpoint: 568px and up */
@media only screen and (min-width: 568px) {

}

/* Breakpoint: 666px and up */
@media only screen and (min-width: 666px) {

}

/* Breakpoint: 768px and up  for ipad mini port*/
@media only screen and (min-width: 768px) {

}

/* Breakpoint: 1024px-1200px is standard ipad port and land */
@media only screen and (min-width: 1024px) {

}

/* Breakpoint: 1300px and up for my wide oled lol*/
@media only screen and (min-width: 1300px) {
    /* navigation section */
    nav {
        margin: 10px;
        font-size: 1em;
        flex-direction: row;
        font-family: 'Poppins', Arial, sans-serif;
        border-bottom: var(--global-border);

    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 10px auto;
        margin-top: 0;
        
    }
    .logo-home{
        font-size: 2em;
        font-weight: bold;
        margin-left: 20px;
    }
    nav p{
        color: lightgray;
        font-family: Arial, Helvetica, sans-serif;
        margin: 0;
    }


    nav a{
        color: black;
    }
    .nav-links {
        margin: 0 20px;
        font-size: 1.5em;
    }
    /* mouse over link with BSS red */
    .nav-links a:hover {
        color: var(--primary-color);
    }
    /* main page Carousel Section */
    .carousel {
        width: 1200px;
        height: 600px; 
        margin: 20px auto; 
        position: relative;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 2px; 
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3); 
        border: var(--global-border);
        padding: .5px;

    }

    .carousel-container {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        position: relative;
    }

    .carousel-item {
        background-color: blue;
        position: absolute;
        transition: opacity 1s ease-in-out, transform 1s ease-in-out;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        opacity: 0;
        transition: opacity 3.5s ease-in-out;
        z-index: 0;
    }
    .carousel-item.active {
        opacity: 1;
        z-index: 1;
        position: relative;
    }
    .carousel-image-container {
        width: 65%;
        height: 100%;
    }
    .carousel-image{
        width: 100%;
        height: 100%;
    }
    .carousel-content {
        width: 35%;
        background-color: rgb(248, 248, 250);
        padding: 40px;
        text-align: center;
    }
    .carousel h1{
        border-bottom: solid lightgray 1px;
    }
    /* carousel navigation */
    .prev, .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent;
        color: black;
        border: none;
        padding: 15px;
        cursor: pointer;
        z-index: 10;
        font-size: 2em;
        transition: color 0.3s ease-in-out;
    }
      .prev {
        left: 1px;
      }
      .next {
        right: 1px;
      }
      .prev:hover, .next:hover {
        color: var(--primary-color); /* Change to your theme color */
    }
      
      .carousel-dots {
        position: absolute;
        bottom: 20px;
        width: 100%;
        text-align: center;
        z-index: 2;
        opacity: 1;
      }
      .carousel-dots .dot {
        display: inline-block;
        width: 12px;
        height: 12px;
        margin: 0 5px;
        background-color: lightgray;
        border-radius: 50%;
        cursor: pointer;
      }
      .carousel-dots .dot.active {
        background-color: var(--primary-color);
      }
    /* secondary display sections */
    .section-container {
        width: 1200px;
        /* should maybe make this a var since i used it alot */
        margin: 20px auto; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 2px; 
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3); 
        border: var(--global-border);
    }
    .section-title {
        text-align: left;
        margin: 20px;
        font-size: 2.5em;
        font-weight: 400;
        text-decoration: underline;
    }
    /* divisions secondary display */
    .division-type-container {
        margin: 20px;
        padding-bottom: 30px;
        border-bottom: var(--global-border);
    }
    .division-type-container h2{
        font-weight: 200;
        font-size: 1.75em;
    }
    .division-img-container {
        display: flex;
        justify-content: space-around;
        margin: 10px;
    }
    .division-type-container img {
        width: 300px;
        border-radius: 2px;
        border: var(--global-border);
    }
    /* member gallery secondary display */
    .member-gallery{
        padding: 20px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;

    }
    .member-gallery img{
        width: 300px;
        margin: 20px;
        border: var(--global-border);
        border-radius: 2px;
        
    }
    .member-gallery .img-container{
        display: flex;
        flex-direction: column;
    }
    .member-gallery .details-container{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        margin: 0px;
    }
    .bsun-vote, .guest-vote {
        display: flex;
        flex-direction: row;
        border: solid 2px lightgray;
        border-radius: 4px;
        margin: 0;
        padding: 0 5px;
    }
    .member-gallery h3{
        margin: 0 5px;
        font-size: 2em;
        margin-top: 10px;
    }
    .member-gallery p{
        margin: 0 5px;
        font-size: 2em;
        margin-top: 10px;
    } 

    .join-us-container{
        margin: 20px;
    }
    .link-button{
        display: block;
        width: 115px;
        height: 25px;
        background: var(--background-white);
        padding: 10px;
        text-align: center;
        border-radius: 5px;
        color: black;
        font-weight: bold;
        line-height: 25px;
        border: var(--global-border);
        
    }
        /* end of page */
    /* join us informative secondary display */

    /* media page start */
    .media-container{
        padding: 20px;
        display: flex;
        flex-direction: column;

    }
    /* media selecter to be used by js to select which media is presented on the page. 3 choices*/
    .media-selector{
        display: flex;
        flex-direction: row;
        margin: 0;
    }
    .media-selector p,a{
        margin: 0;
    }
    .media-content > div{
        display: none;
    }
    .media-selector a.active {
        color: var(--primary-color);
        font-weight: bold;
    }
    /* guides display */
    .guides{
        display: flex;
        flex-direction: column;
    }
    .guide-article{
        display: flex;
        flex-direction: row;
        border: solid 1px lightgray;
        margin: 20px;
    }
    .guide-article img{
        width: 250px;
        height: 250px;
        margin: 20px 0 20px 20px;
        border: solid 1px lightgray;
        align-self: center;
    }
    .guide-description{
        margin: 20px;
    }
    /* gallery display */
    .photo-gallery{
        border-top: 1px solid lightgray;
        margin: 20px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
        
    }
    .photo-gallery img {
        border: 1px solid lightgray;
        border-radius: 4px;
        width: 300px;
        margin: 20px;
        transition: transform 0.3s ease-in-out;
    }
    .photo-gallery img:hover{
        transform: scale(1.3);
    }
    /* need to add in styles for streaming but not sure how to include this  yet as i dont have the streaming channels from group */
   
    /* news page  */
    .news-article-container{
        display: flex;
        flex-direction: row;
        width: 1150px;
        /* wanted this slightly smaller than main section to provide depth */
        margin: 20px auto; 
        justify-content: center;
        border-radius: 2px; 
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3); 
        border: var(--global-border);
    }
    .news-article-container img{
        width: 450px;
        margin: 30px;
        border: var(--global-border);
        border-radius: 4px;
    }
    .news-article-content{
        margin: 30px;
        width: 100%;
    }
    .news-article-content h2{
        font-size: 2em;
        margin: 0;
        padding: 0;
        border-bottom: var(--global-border);
    }
    .news-article-content h3{
        margin: 0;
        padding: 0;
        color: var(--font-darkgray);
    }
    .news-article-container p{
        padding: 20px;
        line-height: 2;
        border: var(--global-border);
    }
    /* login page - temp disabled as not needed for project */
    .login-card{
        width: 700px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 20px auto;
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
        border: var(--global-border);
        padding: 20px;
    }
    .login-card img{
        width: 200px;
        margin: 30px;
    }
    .login-form{
        display: flex;
        flex-direction: column;
        margin: 0;
        text-align: center;
    }
    /* about page  */
    .about-container{
        display: flex;
        flex-direction: row;
        margin: 30px;
    }
    .about-container img{
        width: 200px;
        height: 200px;
        margin: 50px;
        align-self: center;
    }
    .about-content{
        line-height: 2;
    }
    .about-content .section-title{
        margin: 0px;
    }
    /* join us questionaire styling not sure if i really need the form styling but will revisit after testing */
    .join-us-content{
        display: flex;
        flex-direction: row;

    }
    .join-us-blurb{
        display: flex;
        flex-direction: column;
    }
    .join-us-content img{
        width: 500px;
        border: var(--global-border);
        margin: 30px;
        
    }
    .join-us-content p{
        margin: 30px;
        line-height: 2;
        align-self: center;
    }
    .join-us-blurb h2{
        margin: 30px 0 0 30px;
    }
    form {
        max-width: 600px;
        margin: auto;
      }
    .question {
        display: none;
        border: 1px solid #ccc;
        padding: 20px;
        border-radius: 5px;
        margin-bottom: 20px;
        position: relative;
    }
    .question.active {
    display: block;
    }
    button.next-btn {
    margin-top: 10px;
    padding: 5px 10px;
    cursor: pointer;
    }
    .progress-bar-container {
    width: 100%;
    height: 10px;
    background-color: var(--background-white);
    border-radius: 5px;
    margin-top: 15px;
    overflow: hidden;
    }
    .progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
    }
    #result {
    display: none;
    margin: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    font-size: 1.2em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    }
    #launchQuiz {
        display: block;
        margin: 20px auto;
        padding: 10px 20px;
        font-size: 1.1em;
        cursor: pointer;
        
    }
    .launch-quiz-h2 {
        text-align: center;
    }
    #quizForm {
        display: none;
    }

    /* footer navigation to external home page and w3 validation for assignment */
    footer {
        text-align: center;
        margin-top: 10px;
    }
    footer p{
        color: lightgray;
        margin: 0;
    }
    footer a {
        font-size: 1em;
        color: black;
    }
    footer .external-links{
        margin-bottom: 0;

    }
    footer .validation  {
        font-size: .75em;
        margin-top: 0;
        margin-bottom: 20px;
        width: fit-content;
        display: flex;
        justify-self: center;
        border-top: var(--global-border);
    }

    footer a:hover {
        color: var(--primary-color);
    }

    a .active-link {
        color: var(--primary-color);
    }
}