/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background-color: rgb(0, 0, 0);
    color: whitesmoke;
}
/* Apply Glow Effect to All Text Elements */
body, html, h1, h2, h3, h4, h5, h6, p, span, a, li, dt, dd, th, td, label, input, button {
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 
                 0 0 20px rgba(255, 0, 0, 0.6),
                 0 0 30px rgba(255, 0, 0, 0.4); /* Glow Effect */
    color: inherit; /* Ensures text keeps its existing color */
}

/* Example Specific Overrides for Button Text Glow */
.join-btn,
.qa-button {
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 
                 0 0 20px rgba(255, 0, 0, 0.6),
                 0 0 30px rgba(255, 0, 0, 0.4); /* Glow Effect */
}


/* Header Section */
.header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ff0000;
    position: relative;
    z-index: 1;


    box-shadow:
    0 0 10px rgba(255, 0, 0, 0.8), /* Inner glow */
    0 0 20px rgba(255, 0, 0, 0.6), /* Outer glow */
    0 0 30px rgba(255, 0, 0, 0.4); /* Extended glow */

}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/greengood.jpeg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    opacity: 0.9;
}

.header h1 {
    font-size: 7rem;
    margin: 0;
    color: #de0000; 
}

.header p {
    font-size: 2.5em;
    margin: 0;
    color: whitesmoke; 
}

/* Join Us Button */
.join-btn {
    margin-top: 30px;
    padding: 20px 40px;
    font-size: 1.5em;
    background-color: #cc0000d7; 
    color: whitesmoke;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    transition: transform 0.3s ease;


    box-shadow:
    0 0 10px rgba(255, 0, 0, 0.8), /* Inner glow */
    0 0 20px rgba(255, 0, 0, 0.6), /* Outer glow */
    0 0 30px rgba(255, 0, 0, 0.4); /* Extended glow */

}

.join-btn:hover {
    background-color: #ff0000; 
    transform: scale(1.1);

}

/* Social Icons */
.social-icons {
    position: absolute;
    top: 20px;
    right: 20px;
}

.social-icon {
    display: inline-block;
    width: 130px;
    height: 130px;
    margin-left: 10px;
    background-size: cover;
    transition: transform 0.3s ease;


    /* this shit looks stupid lmao */
    /* box-shadow: */
    /* 0 0 10px rgba(255, 0, 0, 0.8), Inner glow */
    /* 0 0 20px rgba(255, 0, 0, 0.6), Outer glow */
    /* 0 0 30px rgba(255, 0, 0, 0.4); Extended glow */

}

.social-icon:hover {
    transform: scale(1.1);
}

.instagram {
    background-image: url('ig.png');
    transform: scale(1);
}

.email {
    background-color: red;
    -webkit-mask-image: url("/envelope-solid-full.svg");
    mask-image: url("/envelope-solid-full.svg");
    transform: scale(1);
}

/* Content Sections */
.content-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #660000; /* Darkest red */
    color: whitesmoke;
    padding-bottom: 200px; /* Adds space inside the bottom of this section */
}


.content-section h2 {
    font-size: 3.5rem;
    margin: 0;
    color: #ff0000; 
    text-align: center;
}

.content-section h3 {
    padding-top: 20px; /* Adds space inside the top of this section */

    font-size: 2.5rem;
    margin: 0;
    color: #ff0000; 
}

.content-section p {
    padding-top: 5px; /* Adds space inside the top of this section */
    font-size: 1.5em;
    margin: 0;
    color: whitesmoke; 
    text-align: left;
}

.cubes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.cube {
    background-color: #990000; 
    padding: 20px;
    border-radius: 10px;
    text-align: center;

}

.cube img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;

    box-shadow:
    0 0 10px rgba(255, 0, 0, 0.8), /* Inner glow */
    0 0 20px rgba(255, 0, 0, 0.6), /* Outer glow */
    0 0 30px rgba(255, 0, 0, 0.4); /* Extended glow */
}

.highlight {
    color: #ff3333; 
    font-size: 3em;
    margin-bottom: 40px;
}

/* Officers Section */ 
.officers .officer-grid {  /*should learn more io grid*/
    padding-top: 20px; /* Adds space inside the top of this section */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;

}

.officer img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;

    
    box-shadow:
    0 0 10px rgba(255, 0, 0, 0.8), /* Inner glow */
    0 0 20px rgba(255, 0, 0, 0.6), /* Outer glow */
    0 0 30px rgba(255, 0, 0, 0.4); /* Extended glow */
}

.officer h3 {
    margin: 10px 0 5px;
    font-size: 2.5em;
    color: #ff0000; 
    text-align: center;
    
}


.officer h4{
    margin: 10px 0 5px;
    font-size: 2em;
    font-weight: bold;
    color: whitesmoke; 
    text-align: center;
    
}

.officer p {
    margin: 0;
    font-size: 1.5em;
    color: whitesmoke; 
    text-align: center;
}

/* QA Section */
.qa-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/greengood.jpeg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    color: whitesmoke;


    box-shadow:
    0 0 10px rgba(255, 0, 0, 0.8), /* Inner glow */
    0 0 20px rgba(255, 0, 0, 0.6), /* Outer glow */
    0 0 30px rgba(255, 0, 0, 0.4); /* Extended glow */
}

.qa-section h2 {
    color: #ff0000; 
    margin-bottom: 40px;
    font-size: 3em; 
}

.qa-item {
    margin-bottom: 20px;
    text-align: left;
}

.qa-button {
    background-color: #cc0000d7; 
    color: whitesmoke;
    font-size: 1.5em;
    padding: 15px;
    width: 100%;
    border: none;
    cursor: pointer;
    right: 50;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    transition: transform 0.3s ease;

    box-shadow:
    0 0 10px rgba(255, 0, 0, 0.8), /* Inner glow */
    0 0 20px rgba(255, 0, 0, 0.6), /* Outer glow */
    0 0 30px rgba(255, 0, 0, 0.4); /* Extended glow */
}

.qa-button:hover {
    background-color: #ff0000; 
    transform: scale(1.1);

}

.qa-content {
    display: none;
    margin-top: 10px;
    font-size: 1.5em;
    text-align: center;
}

/* Events Section */
.events-section {
    background-color: #660000; /* Darkest red */
    padding: 60px 20px;
    text-align: center;
    color: whitesmoke;


    box-shadow:
    0 0 10px rgba(255, 0, 0, 0.8), /* Inner glow */
    0 0 20px rgba(255, 0, 0, 0.6), /* Outer glow */
    0 0 30px rgba(255, 0, 0, 0.4); /* Extended glow */
}

.event {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    background-color: #990000; 
    padding: 20px;
    border-radius: 10px;


    box-shadow:
    0 0 10px rgba(255, 0, 0, 0.8), /* Inner glow */
    0 0 20px rgba(255, 0, 0, 0.6), /* Outer glow */
    0 0 30px rgba(255, 0, 0, 0.4); /* Extended glow */
}

.event img {
    width: 150px; /* Set a fixed width */
    height: 150px; /* Set a fixed height */
    object-fit: cover; /* Maintain aspect ratio and fill the specified dimensions */
    border-radius: 5px;
    margin-right: 20px;

}
.events-section h2 {
    font-size: 4em; /* Increase the font size */
    color: #ff0000; /* Bright red color */
    font-weight: bold; /* Optional: make it bolder */
    margin-bottom: 20px; /* Adjust spacing as needed */
}


.events-section {
    text-align: left;
}

.events-section h3 {
    margin: 10px;
    font-size: 2.5em;
    color: #ff0000; 
}

.events-section p {
    margin: 10px;
    font-size: 1.5em;
    color: whitesmoke; 
}

/* Photo Section */
.photo-section {
    font-size: 3em;
    padding: 60px 20px;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/greengood.jpeg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: rgb(255, 0, 0);


    box-shadow:
    0 0 10px rgba(255, 0, 0, 0.8), /* Inner glow */
    0 0 20px rgba(255, 0, 0, 0.6), /* Outer glow */
    0 0 30px rgba(255, 0, 0, 0.4); /* Extended glow */
}

.photo-slider {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    border-radius: 10px;


    box-shadow:
    0 0 10px rgba(255, 0, 0, 0.8), /* Inner glow */
    0 0 20px rgba(255, 0, 0, 0.6), /* Outer glow */
    0 0 30px rgba(255, 0, 0, 0.4); /* Extended glow */
}

.slider-photo {
    width: 100%;
    border-radius: 10px;
}
/* Adjusted Photo Section Arrows */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: whitesmoke;
    border: none;
    padding: 10px;
    cursor: pointer;
    height: 100%; /* Extend to match the photo height */
    width: 50px; /* Make the arrow wide enough to be noticeable */
    z-index: 10; /* Ensure arrows are above the photo */
}

/* Positioning Arrows Outside the Image */
.left-arrow {
    left: -50px; /* Positioned outside the left edge */
}

.right-arrow {
    right: -50px; /* Positioned outside the right edge */
}

/* Animated Falling Background */
@keyframes falling-background {
    0% {
        background-position: center top; /* Start position */
    }
    100% {
        background-position: center bottom; /* End position */
    }
}

.photo-section, 
.header::before, 
.qa-section, 
.parallax {
    animation: falling-background 15s linear infinite; /* Adjust speed and loop */
    background-size: cover; /* Ensure full coverage */
}

/* Optional: If the animation is too fast or slow, adjust the '10s' duration */

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #660000; /* Darkest red */
    color: whitesmoke;
    font-size: 1em;


    box-shadow:
    0 0 10px rgba(255, 0, 0, 0.8), /* Inner glow */
    0 0 20px rgba(255, 0, 0, 0.6), /* Outer glow */
    0 0 30px rgba(255, 0, 0, 0.4); /* Extended glow */
}
