/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}
header {
    background-color: #c8102e; /* St. John's red */
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 15px; 
}

header .logo-img {
    height: 75px;
    margin-right: 10px;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

header nav a:hover {
    text-decoration: underline;
}

.hero {
    text-align: center;
    padding: 20px;
    background-color: #f1f1f1;
}

.hero h2 {
    color: #c8102e;
}

.search-bar input {
    width: 80%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Categories Section */
.categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.categories button {
    padding: 10px 15px;
    border: none;
    background-color: #c8102e;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.categories button:hover {
    background-color: #a60d24;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.event-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-card .content {
    padding: 15px;
}

.event-card h3 {
    margin: 0 0 10px;
    color: #c8102e;
}

.event-card p {
    margin: 5px 0;
    color: #555;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #c8102e;
    color: white;
}


/* Event Details Section */
.event-details {
    text-align: center;
    margin: 20px;
}

.event-details img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.event-details h2 {
    color: #c8102e;
}

/* Registration Form */
.registration-form {
    margin: 20px auto;
    max-width: 600px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.registration-form h2 {
    text-align: center;
    color: #c8102e;
    margin-bottom: 20px;
}

.registration-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.registration-form input,
.registration-form select,
.registration-form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.registration-form button {
    background-color: #c8102e;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.registration-form button:hover {
    background-color: #a60d24;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-weight: bold;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-cell {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    cursor: pointer;
}

.calendar-cell:hover {
    background-color: #f0f0f0;
}

button {
    padding: 5px 10px;
    cursor: pointer;
    border: none;
    background: #4CAF50;
    color: white;
    border-radius: 5px;
}

button:hover {
    background: #45a049;
}

/* Styling the Home button */
.home-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #E53935;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    margin-top: 10px;
}

.home-button:hover {
    background-color: #c1351d;
    transition: background-color 0.3s ease;
}

/*Styling for social media icons */
.home__social {
  display: flex;
  justify-content: center;
  gap: 25px; /* Adds spacing between icons */
}

.home__social-icon {
  font-size: 2rem; /* Makes icons bigger */
  color: #df3f5a; /* St. John's red */
  transition: 0.3s ease-in-out;
}

.home__social-icon:hover {
  color: #0073e6; /* Change color on hover */
}

#requestsContainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.request-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-left: 6px solid #E53935;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.request-card h3 {
    margin-top: 0;
    color: #E53935;
}

.request-card p {
    margin: 5px 0;
}

.request-card .timestamp {
    font-size: 0.85em;
    color: #777;
    margin-top: 10px;
}
.calendar-cell {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    cursor: pointer;
}

.has-event {
    background-color: #f04e69; /* Highlight event dates */
    color: white;
    font-weight: bold;
}
/* Add left padding for main content */
main {
    padding-left: 40px; /* Adjust as needed */
    max-width: 80%; /* Prevent full-width stretch */
    margin: auto; /* Keep it centered */
}

/* Improve section formatting */
section {
    margin-bottom: 40px; /* Adds space between sections */
}

/* Format the hero section */
.hero {
    text-align: left; /* Align text to left */
    padding: 40px;
    background-color: #f1f1f1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
}
.about-mission,
.about-history,
.about-campus {
    font-size: 18px;  /* Sets the font size */
    font-weight: bold; /* Makes the text stand out */
    color: #df3f5a;  /* St. John's red for emphasis */
}
.contact-info {
    font-size: 18px;  /* Sets the font size */
    font-weight: bold; /* Makes the text stand out */
    color: #ffffff;  /* St. John's white for emphasis */
}
/* Add to your styles.css */
.contact-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: auto;
    height:auto;
    margin-top: 10px;
}

.contact-box {
    background: #ccbfbf;
    color: #222;
    padding: 3px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.club-tag {
    display: inline-block;
    background-color: #c8102e; /* St. John's red */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 10px;
}

.club-meeting {
    background-color: #007BFF; /* Blue highlight */
    color: white;
    font-weight: bold;
}

.has-event {
    background-color: #c8102e; /* Red highlight for events */
    color: white;
    font-weight: bold;
}

.club-meeting {
    background-color: #007BFF; /* Blue highlight for club meetings */
    color: white;
    font-weight: bold;
}

/* Header improvements */
header {
    padding: 20px 40px; /* Adds left padding to header */
}

/* Footer alignment */
footer {
    padding: 20px 40px;
    text-align: center;
}

/* contact.html */
.feedback {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

.feedback h2 {
    color: #333;
    text-align: center;
}

.feedback p {
    text-align: center;
    color: #555;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    font-weight: bold;
    color: #444;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

button {
    background: #0073e6;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background: #005bb5;
}

/* Style feedback response message */
#feedbackResponse {
    text-align: center;
    color: #0073e6;
    font-weight: bold;
    margin-top: 15px;
}