/* styles.css */

/* Reset margins and padding for consistency */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Set a pleasant background and font for the body */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f4f4f4;
  color: #333;
  padding: 2rem;
}

/* Main title styling */
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #2c3e50;
}

/* Current date styling */
#currentDate {
  display: block;
  text-align: center;
  font-size: 1.2rem;
  color: #34495e;
  margin-bottom: 2rem;
}

/* Styling for each weekend section */
.weekend-section {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Section header styling for weekends */
.weekend-section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: #2980b9;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

/* Container for dates */
.dates {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Styling for each date entry */
.dates div {
  font-size: 1.1rem;
  padding: 0.5rem;
  background: #ecf0f1;
  border-left: 4px solid #3498db;
  border-radius: 4px;
  transition: background 0.3s ease;
}

/* Hover effect for date entries */
.dates div:hover {
  background: #dff0ff;
}

/* Styling for Currently Watching section */
.shows-section {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header styling for Currently Watching section */
.shows-section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: #2980b9;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

/* Updated styling for the unordered list in the Currently Watching section */
.shows-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

/* Updated styling for each list item (show card) */
.shows-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.1rem;
  padding: 0.5rem;
  background: #ecf0f1;
  border: 1px solid #3498db;
  border-radius: 8px;
  width: 180px;
}

/* Styling for show poster images */
.shows-list li img {
  width: 100%;
  height: 240px; /* Fixed height to align images horizontally */
  object-fit: cover; /* Crops the image to fill the container */
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* Styling for show title (displayed underneath the image) */
.show-title {
  text-align: center;
  font-weight: bold;
  color: #2c3e50;
  height: 3em;            /* Fixed height for consistency */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;       /* Ensures text doesn't overflow the container */
  padding: 0 0.5rem;
}
