/* General Styles */
body {
    background-color: #1A1A1A;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 140px; /* Space for fixed logo */
}

/* Logo */
.logo {
    height: 100px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px 20px;
    z-index: 1000;
}

/* Welcome Section */
.welcomeDiv {
    color: white;
    text-align: center;
    background-color: #3A3838;
    width: 80%; /* Adjusted for responsiveness */
    max-width: 600px; /* Prevents it from getting too wide on large screens */
    margin: 20px auto;
    padding: 20px;
    z-index: 1000;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.welcomeDiv:hover {
    transform: translateY(-5px);
}

/* Learn More Button */
#learnMore {
    background: linear-gradient(45deg, #ff0000, #ff4d4d);
    border: none;
    padding: 10px 25px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    z-index: 100;
}

#learnMore:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

/* Line Styles */
#line, #linetwo, hr {
    width: 80%;
    height: 2px;
    background-color: white;
    border: none;
    margin: 40px auto;
}

/* About Section and What Section */
.aboutDiv, .whatDiv {
    color: white;
    text-align: center;
    background-color: #3A3838;
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
}

/* Members Section */
#membersDiv, #photoDiv, #joinDiv {
    color: white;
    text-align: center;
    background-color: #3A3838;
    width: 80%; /* Adjusted for responsiveness */
    max-width: 350px; /* Adjusted for smaller divs on mobile */
    margin: 20px auto;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #424242, #313131);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    z-index: 100;
}

#membersDiv:hover, #photoDiv:hover, #joinDiv:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, #4a4a4a, #383838);
}

/* Footer */
footer {
    text-align: center;
    background: linear-gradient(to right, #2c2c2c, #333333);
    color: white;
    padding: 20px 0;
    width: 100%;
    position: relative;
    bottom: 0;
    margin-top: auto; /* Pushes footer to the bottom of the page */
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .welcomeDiv, .aboutDiv, #membersDiv, #photoDiv, #joinDiv, .whatDiv {
        width: 90%; /* Adjusting width for smaller screens */
        max-width: none; /* Remove max-width for mobile */
    }

    #learnMore {
        width: 60%; /* Increase width of button on mobile */
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 100px;  /* reduce top padding for mobile */
    }
    .logo {
        height: 70px;  /* scale down logo */
    }
    .welcomeDiv {
        width: 95%;  /* use a wider width on mobile */
        font-size: 0.9em;
    }
}

/* Add active state for touch feedback */
#membersDiv:active, #photoDiv:active, #joinDiv:active, #learnMore:active {
    transform: scale(0.98);
}
