/* NKU Data Science Club CSS */

:root {
  --nku-gold: #C8A742;
  --nku-black: #000000;
  --nku-white: #FFFFFF;
  --primary-color: #333;
  --secondary-color: #666;
  --spacing-lg: 40px;
  --spacing-md: 20px;
  --spacing-sm: 10px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--nku-white);
  color: var(--nku-black);
}

header {
  background-color: #001f3f;
  color: var(--nku-white);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 60px;
}

.logo {
  display: flex;
  gap: 1rem;
  align-items: center
}

.logo p {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
}

nav {
  flex-grow: 1;
  text-align: center;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--nku-white);
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: var(--nku-gold);
}

/* Common Section Styles */
section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.intro {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.about-content, .contact-content {
  flex: 1;
}

.intro-heading, .contact-heading {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--nku-gold);
}

.intro-text {
  line-height: 1.6;
}

/* Contact Section */
.contact-content {
  padding: 20px;
}

.contact-heading {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-list {
  list-style-type: none;
  padding: 0;
}

.contact-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-item i {
  width: 20px;
  margin-right: 10px;
}

.contact-item a {
  margin-left: 10px;
  text-decoration: none;
  color: inherit;
}

/* Events Section */
.events {
  background-color: #f9f9f9;
  padding: var(--spacing-lg) 0;
}

.events-heading {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: var(--nku-gold);
  text-align: center;
}

.events-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.event-card {
  background: var(--nku-white);
  border-radius: 8px;
  padding: var(--spacing-md);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-title {
  font-size: 18px;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
}

.event-date, .event-location {
  color: var(--secondary-color);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* E-Board Section */
.eboard {
  padding: var(--spacing-lg) 0;
}

.eboard-heading {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: var(--nku-gold);
  text-align: center;
}

.eboard-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.member-card {
  text-align: center;
  padding: var(--spacing-md);
  transition: transform 0.2s;
  background: var(--nku-white);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.member-card:hover {
  transform: translateY(-5px);
}

.member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: var(--spacing-sm);
  object-fit: cover;
}

.member-name {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.member-position {
  color: var(--secondary-color);
  margin-bottom: var(--spacing-sm);
}

.member-email {
  color: var(--secondary-color);
  font-size: 14px;
  text-decoration: none;
}

.member-email:hover {
  text-decoration: underline;
  color: var(--nku-gold);
}

/* Pictures Section */
.pictures {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.pictures-heading {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  color: var(--nku-gold);
}

.pictures-container {
  position: relative;
  overflow: hidden;
  padding: 0 40px;
}

.gallery-wrapper {
  display: flex;
  transition: transform 0.3s ease-in-out;
  gap: 20px;
}

#galleryImage {
  width: calc((100% - 40px) / 3);
  height: 300px;
  object-fit: cover;
  flex-shrink: 0;
}

.image-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

#prevBtn,
#nextBtn {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 18px;
  pointer-events: auto;
  transition: background 0.3s;
}

#prevBtn:hover,
#nextBtn:hover {
  background: rgba(0, 0, 0, 0.8);
}

#prevBtn {
  margin-left: 10px;
}

#nextBtn {
  margin-right: 10px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
/* Container for the project grid */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Space between project cards */
  justify-content: space-between; /* Space out the items */
  margin-bottom: 30px; /* Space below the grid */
}

/* Individual project card styling */
.project-card {
  flex: 0 0 calc(33.333% - 20px); /* Adjust for three cards in a row */
  border: 1px solid #e0e0e0; /* Light grey border */
  border-radius: 8px; /* Rounded corners */
  overflow: hidden; /* Ensure content doesn't overflow */
  background: white; /* Card background color */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  transition: transform 0.2s; /* Smooth transition for hover effect */
  display: none; /* Initially hidden, show based on logic */
  min-width: 300px; /* Minimum width for responsive design */
}

.project-card.visible {
  display: block; /* Show card when visible class is applied */
}

/* Hover effects for project cards */
.project-card:hover {
  transform: translateY(-5px); /* Lift effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

/* Styling for project images */
.project-image {
  width: 100%;          /* Make the image fill the width of the card */
  height: 200px;       /* Set a fixed height for consistency */
  object-fit: cover;   /* Ensure the image covers the area without stretching */
}

/* Content area within project card */
.project-content {
  padding: 20px; /* Padding around content */
}

/* Title styling */
.project-title {
  font-size: 1.5rem; /* Larger font for titles */
  margin-bottom: 10px; /* Space below title */
  color: #333; /* Darker text color */
}

/* Description styling */
.project-description {
  color: #666; /* Lighter text for descriptions */
  margin-bottom: 15px; /* Space below description */
  line-height: 1.5; /* Improved readability */
}

/* Team section styling */s
.team-section {
  margin-top: 15px; /* Space above team section */
}

.team-title {
  padding-left: 20px;
  font-weight: bold; /* Bold for emphasis */
  margin-bottom: 8px; /* Space below team title */
  color: #333; /* Dark text color */
}

/* List styling for team members */
.team-list {
  padding-left: 20px;
  list-style: none; /* Remove default list styling */
  font-family: 'Arial', sans-serif; /* Set font */
  max-width: 300px; /* Set maximum width */
}

/* Individual team member styling */
.team-member {
  padding: 12px; /* Add padding for items */
  margin: 8px 0; /* Vertical margin between items */
  background: linear-gradient(to right, #f8f9fa, #ecefe9); /* Gradient background */
  border-radius: 6px; /* Rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow */
  transition: transform 0.2s; /* Smooth transform transition */
  cursor: pointer; /* Pointer cursor on hover */
}

.team-member a {
  color: #000000; /* Link color */
  text-decoration: none; /* Remove underline from links */
}

.team-member:hover {
  text-decoration: underline; /* Underline on hover */
}
#datathon-text{
  color: #f6fe5e;
}

/* Button styling for project actions */
.project-button {
  background-color: var(--nku-gold); /* Primary button color */
  color: var(--nku-black); /* Text color */
  border: none; /* No border */
  padding: 8px 16px; /* Padding for button */
  border-radius: 4px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  text-decoration: none; /* No underline */
  transition: background-color 0.3s; /* Smooth background transition */
  align-items: center; /* Center content */
}

.project-button:hover {
  background-color: #e1ae14; /* Darken on hover */
}

/* Show more button container */
.show-more-container {
  text-align: center; /* Center content */
  margin-top: 20px; /* Space above the container */
}

/* Show more button styling */
.show-more-button {
  padding: 10px 30px; /* Padding for button */
  background-color: var(--nku-gold); /* Primary button color */
  color: rgb(0, 0, 0); /* Text color */
  border: none; /* No border */
  border-radius: 4px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor */
  font-size: 1rem; /* Font size */
  transition: background-color 0.2s; /* Smooth hover effect */
}

.show-more-button:hover {
  background-color: #ffcc00; /* Darken on hover */
}

/* Responsive design adjustments */
@media (max-width: 1024px) {
  .project-card {
    flex: 0 0 calc(50% - 10px); /* Two cards in a row on smaller screens */
  }
}

@media (max-width: 768px) {
  .project-card {
    flex: 0 0 100%; /* Full width for cards on mobile */
  }
}

/* Styling for the message box */

        .message-box {
            background: linear-gradient(135deg, #61c9e8, #df7cbe);
            padding: 1rem 2rem;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            text-align: center;
            margin: 2rem auto;
            max-width: 600px;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .message-box:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
        }

        .message-box p {
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            color: rgb(49, 38, 0);
            font-weight: bolder;
            font-size: 1.1rem;
        }

        .register-btn {
            background-color: white;
            color: #535242;
            padding: 0.5rem 1.5rem;
            border-radius: 0.5rem;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.2s;
        }

        .register-btn:hover {
            background-color: #f0f0f0;
            transform: scale(1.05);
        }

        @media (max-width: 640px) {
            .message-box {
                margin: 1rem;
                padding: 0.75rem 1rem;
            }

            .message-box p {
                font-size: 1rem;
                flex-direction: column;
                gap: 0.5rem;
            }
        }

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  padding-top: 60px;
}

.modal-content {
  background-color: var(--nku-white);
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  border-radius: 8px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: var(--nku-black);
  text-decoration: none;
}
.name-item a {
  text-decoration: none;
  color: inherit; /* Inherit the color from the parent .name-item */
  font-weight: inherit; /* Inherit font weight */
  font-size: inherit; /* Inherit font size */
}

/* Sister Organization Section */
.sisterorg {
  background-color: #001f3f;
  color: var(--nku-white);
  padding: 3rem 2rem;
  text-align: center;
}

.sisterorg-heading {
  color: var(--nku-gold);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.sisterorg p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.sisterorg button {
  background-color: var(--nku-gold);
  color: var(--nku-black);
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.sisterorg button:hover {
  background-color: var(--nku-white);
  color: var(--nku-black);
}

/* Footer */
footer {
  background-color: var(--nku-black);
  color: var(--nku-white);
  text-align: center;
  padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .intro {
      flex-direction: column;
  }

  .events-container, 
  .eboard-container {
      grid-template-columns: 1fr;
  }

  section {
      padding: 1rem;
  }

  .sisterorg {
      padding: 2rem 1rem;
  }

  .sisterorg-heading {
      font-size: 2rem;
  }

  .sisterorg p {
      font-size: 1rem;
  }

  .sisterorg button {
      padding: 0.6rem 1.2rem;
      font-size: 0.9rem;
  }

.pretty-button {
  background-color: #4CAF50;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.pretty-button:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.pretty-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.event-button {
  display: inline-block;
  margin: 20px;
}

.event-button a {
  text-decoration: none;
}
}

#datathon-link {
  text-decoration: underline; /* Underline to resemble a link */
  color: #f6fe5e; /* Standard blue link color */
  font-weight: bold;
  font-size: 16px; /* Slightly larger font size */
  font-family: Arial, sans-serif; /* Clean font */
  transition: color 0.3s ease; /* Smooth color transition on hover */
}

#datathon-link:hover {
  color: #f9f9f9; /* Darker blue on hover */
}