/* 
Team Members: [Your Names Here]
Date: [Current Date]
File: styles.css
*/

/* CSS Reset: This rule resets default browser styles for major elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: Arial, sans-serif; /* Fallback to sans-serif */
    background-color: #f0f8ff; /* Light background color */
    color: #333; /* Dark text color for readability */
}

/* Header Styles */
header {
    background-color: #007BFF; /* Blue background */
    color: white; /* White text */
    padding: 20px;
    text-align: center;
}

/* Navigation Styles */
nav {
    background: linear-gradient(90deg, #0056b3, #007BFF); /* Gradient background */
    padding: 10px 20px; /* Padding for the nav */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

nav ul {
    list-style-type: none; /* Remove bullet markers */
    display: flex; /* Use flexbox for horizontal layout */
    justify-content: center; /* Center the nav items */
}

nav ul li {
    margin: 0 15px; /* Space between links */
}

nav a {
    color: white; /* White text for links */
    text-decoration: none; /* Remove underline */
    padding: 10px 15px; /* Padding around links */
    border-radius: 5px; /* Rounded corners for links */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
}

nav a:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #0056b3; /* Dark blue text on hover */
}

/* Main Content Styles */
main {
    padding: 20px;
}

/* Section Styles */
section {
    margin-bottom: 40px; /* Space between sections */
}

/* Clubs and Events List Styles */
.club-list, .event-list {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    gap: 20px; /* Space between items */
}

.club-item, .event-item {
    background-color: #e0f7fa; /* Light cyan background */
    border: 1px solid #007BFF; /* Blue border */
    border-radius: 8px; /* Rounded corners */
    padding: 15px;
    flex: 1 1 calc(30% - 20px); /* Responsive item width */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s; /* Smooth transition for hover effect */
}

.club-item:hover, .event-item:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Footer Styles */
footer {
    background-color: #0056b3; /* Darker blue background */
    color: white; /* White text */
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul li {
        display: block; /* Stack links on small screens */
        margin-bottom: 10px; /* Space between stacked links */
    }

    .club-item, .event-item {
        flex: 1 1 100%; /* Full width on small screens */
    }
}

/* Button Styles */
button {
    background-color: #28a745; /* Green background */
    color: white; /* White text */
    border: none; /* No border */
    padding: 10px 15px; /* Padding */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth transition */
}

button:hover {
    background-color: #218838; /* Darker green on hover */
}

/* Image Styles */
img {
    max-width: 100%; /* Responsive images */
    display: block; /* Block display */
    margin: 0 auto; /* Center images */
}