/* Red Theme Styles for JEUS Website */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
}

/* Header Styles - Red Theme */
header {
  background: linear-gradient(135deg, #c41e3a, #8b0000);
  color: white;
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 10px rgba(196, 30, 58, 0.3);
}

header img {
  height: 60px;
  margin-right: 1.5rem;
  border-radius: 0;
  box-shadow: none;
}

header h1 {
  flex: 1;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navigation Styles */
nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.1);
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

nav a.active {
  background-color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

/* Main Content Styles */
main {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

main h2 {
  color: #c41e3a;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(196, 30, 58, 0.1);
}

/* Card-like sections */
.content-section {
  background: white;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.1);
  border-left: 4px solid #c41e3a;
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #c41e3a, #8b0000);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
  background: linear-gradient(135deg, #d4224a, #9a0000);
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, #8b0000, #c41e3a);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: 0 -2px 10px rgba(196, 30, 58, 0.2);
}

footer p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* Social Links Styling */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.social-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links a i {
  font-size: 1.1rem;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Events Page Specific Styles */
.event-card {
  border-left: 6px solid #c41e3a;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-top: 30px solid #c41e3a;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.event-header h3 {
  margin: 0;
  font-size: 2rem;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #c41e3a, #8b0000);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
}

.event-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.event-time,
.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background-color: rgba(196, 30, 58, 0.05);
  border-radius: 8px;
  border-left: 3px solid #c41e3a;
}

.event-time i,
.event-location i {
  color: #c41e3a;
  width: 20px;
}

.event-description {
  margin-bottom: 2rem;
}

.event-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

.event-flyer {
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.05), rgba(139, 0, 0, 0.05));
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid #c41e3a;
  text-align: center;
}

.event-flyer h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Flyer Image Styling */
.flyer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.flyer-image {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.2);
  border: 3px solid #c41e3a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flyer-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(196, 30, 58, 0.3);
}

.flyer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.flyer-actions .btn {
  min-width: 160px;
  justify-content: center;
}

/* Update existing flyer placeholder styles */
.flyer-placeholder {
  display: none; /* Hide placeholder when we have an actual image */
}

/* Homepage Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem 0 0;
}

.group-image {
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/* Next Event Section */
.next-event {
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.08), rgba(139, 0, 0, 0.08));
  border-left: 6px solid #c41e3a;
  position: relative;
}

.next-event::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-top: 30px solid #c41e3a;
}

.event-preview {
  margin-top: 1rem;
}

.event-info h4 {
  color: #c41e3a;
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.event-date-time {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.next-event .event-date,
.next-event .event-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #c41e3a, #8b0000);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 10px rgba(196, 30, 58, 0.3);
}

.next-event .event-date i,
.next-event .event-time i {
  color: #fff;
}

.next-event .event-location {
  margin-bottom: 1rem;
}

.event-info p {
  margin: 1rem 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Event Flyer Preview on Homepage */
.event-flyer-preview {
  margin: 1.5rem 0;
  text-align: center;
}

.event-flyer-img {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.2);
  border: 2px solid #c41e3a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-flyer-img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  header h1 {
    margin: 1rem 0;
    font-size: 1.5rem;
  }
  
  nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  main {
    padding: 2rem 1rem;
  }
  
  main h2 {
    font-size: 2rem;
  }
  
  .content-section {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .social-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .social-links a {
    width: 200px;
    text-align: center;
  }
  
  .event-header {
    flex-direction: column;
    text-align: center;
  }
  
  .event-header h3 {
    font-size: 1.5rem;
  }
  
  .event-details {
    grid-template-columns: 1fr;
  }
  
  .social-preview {
    flex-direction: column;
    align-items: center;
  }
  
  .social-preview .btn {
    width: 100%;
    max-width: 250px;
  }
  
  .hero-section {
    padding: 1rem 0;
  }
  
  .group-image {
    height: 200px;
  }
  
  .event-date-time {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .event-date,
  .event-time {
    justify-content: center;
  }
  
  .event-flyer-img {
    max-height: 200px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.red-text {
  color: #c41e3a;
}

.highlight {
  background-color: rgba(196, 30, 58, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}
