/* Calendar styles */
.calendar-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.calendar-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 2rem;
  height: 100%;
}

.calendar {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  background-color: #FEFBF6;
  color: #7A5230;
  flex: 1;
  order: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.date-info {
  flex: 1;
  order: 1;
  padding: 25px;
  background-color: #D9AD9F;
  border-radius: 4px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Center align children */
  min-height: 280px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center; /* Center text */
}

.date-info h1 {
  color: #ffffff;
  margin-bottom: 10px; /* Reduce bottom margin */
  font-family: 'Allura', cursive;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 2rem;
}

.date-info h1 span {
  display: block;
  font-size: 1.3rem;
}

.date-info .schedule-notes {
  margin-top: 0.5rem; /* Further reduce distance from date */
  padding-left: 1rem;
  border-left: 3px solid #ffffff; /* Add left border line */
  text-align: left; /* Left align the text */
  display: inline-block; /* Make it inline-block so it can be centered */
  background-color: transparent; /* Ensure no background color */
}

.date-info .schedule-notes p {
  color: #ffffff;
  font-size: 0.9rem;
  font-family: 'Fira Code', monospace;
  border-bottom: none;
}

.date-info .schedule-notes .time-item {
  font-size: 0.85rem;
  margin: 0.3rem 0;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.calendar .col {
  position: relative;
  float: left;
  height: 100%;
  width: 100%;
}

.calendar .content {
  padding: 25px;
}

.calendar ul {
  margin: 0;
  padding: 0;
  width: 100%;
}

.calendar ul li {
  list-style: none;
}

.calendar .rightCol h2 {
  color: #CCC2C0;
  text-align: right;
  margin-bottom: 30px;
  font-family: 'Allura', cursive;
  font-weight: 400;
  font-size: 1.6rem;
}

.calendar .months {
  display: flex;
  justify-content: center;
}

.calendar .months li {
  font-size: 0.625rem;
  text-align: center;
  width: 32px;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #747978;
  font-family: 'Fira Code', monospace;
}

.calendar .months li.selected {
  font-weight: bold;
  color: #7A5230;
}

.calendar .weekday {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
}

.calendar .weekday li {
  width: auto;
  text-align: center;
  margin-bottom: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #747978;
  font-family: 'Fira Code', monospace;
}

.calendar .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
  gap: 0;
}

.calendar .days li {
  width: auto;
  text-align: center;
  margin-bottom: 5px;
  font-size: 0.7rem;
  font-weight: bold;
  height: 25px;
  line-height: 25px;
  text-transform: uppercase;
  color: #747978;
  font-family: 'Fira Code', monospace;
  position: relative;
}

.calendar .days li.selected {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  margin: auto;
  padding: 0;
  line-height: 25px;
  border-radius: 50%;
  color: #ffffff;
  background-color: #D9AD9F;
}

.calendar .days li.selected::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35px;
  height: 35px;
  border: 3px solid #7A5230;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: circle-pulse 2s infinite ease-in-out;
  z-index: 1;
}

@keyframes circle-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* Venue styles */
.venue-section {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f8f8f8;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.venue-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}

/* Wrapper for venue name and address */
.venue-info {
  flex: 1.5;
  order: 1;
  min-width: 250px;
  text-align: left;
  padding: 20px 40px;
}

.venue-name {
  margin-bottom: 0.5rem; /* Small gap between name and address */
}

.venue-name p {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.venue-name a {
  color: #A58B80;
  text-decoration: none;
}

.venue-name a:hover {
  text-decoration: underline;
}

.venue-address {
  margin-top: 0;
}

.venue-address p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.venue-address a {
  color: #A58B80;
  text-decoration: none;
}

.venue-address a:hover {
  text-decoration: underline;
}

.venue-map {
  flex: 1;
  order: 2;
  min-width: 250px;
  max-width: 450px;
}

.venue-map iframe {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ========== Compact Public Transportation ========== */
.public-transport-wrapper {
  margin-top: 1.5rem;
  width: 100%;
  scroll-margin-top: 100px; /* Add scroll offset for anchor links */
}

.transport-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background-color: #DCC9B6;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.transport-toggle:hover {
  background-color: #C9B5A0;
}

.transport-title {
  font-size: 1rem;
  font-weight: 500;
  color: #7A5230;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.transport-title i {
  font-size: 1.1rem;
  color: #BC8574; /* Rose/dusty pink color to match other icons */
}

.toggle-icon {
  font-size: 0.8rem;
  color: #7A5230;
  transition: transform 0.3s ease;
}

.transport-toggle.active .toggle-icon {
  transform: rotate(180deg);
}

.transport-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: #FEFBF6;
  border-radius: 0 0 6px 6px;
}

.transport-dropdown.active {
  max-height: 500px;
  border: 1px solid #DCC9B6;
  border-top: none;
  padding: 0.5rem 0;
}

.transport-option-compact {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(220, 201, 182, 0.3);
  transition: background-color 0.2s ease;
}

.transport-option-compact:last-child {
  border-bottom: none;
}

.transport-option-compact:hover {
  background-color: rgba(220, 201, 182, 0.2);
}

.option-compact-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.4rem;
}

.option-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: #7A5230;
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.option-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #7A5230;
}

.option-detail {
  font-size: 0.85rem;
  color: #7A5230;
  margin: 0.2rem 0 0 2.9rem;
  line-height: 1.4;
}

.option-detail strong {
  font-weight: 600;
}

/* ========== Venue Important Notes ========== */
.notes {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 2rem;
  background-color: #FEFBF6;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 100px; /* Add scroll offset for anchor links */
}

.notes h3 {
  color: #7A5230;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 2px solid #DCC9B6;
  padding-bottom: 1rem;
}

.notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  margin-bottom: 1rem;
  background-color: white;
  border-left: 4px solid #DCC9B6;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.note-item:hover {
  transform: translateX(5px);
  border-left-color: #7A5230;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.note-item:last-child {
  margin-bottom: 0;
}

.note-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
  color: #BC8574; /* Rose/dusty pink color */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.note-icon i {
  font-size: 1.5rem;
}

.note-content {
  flex: 1;
  text-align: left;
}

.note-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #7A5230;
}

.note-detail-list {
  margin: 0.7rem 0 0 0;
  padding-left: 1.2rem;
  list-style: none;
}

.note-detail-list .note-detail {
  position: relative;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: #A58B80;
  line-height: 1.5;
  padding-left: 1rem;
}

.note-detail-list .note-detail::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #DCC9B6;
  font-weight: bold;
  font-size: 1rem;
}

.note-detail-list .note-detail:first-child {
  margin-top: 0;
}

.note-content strong {
  font-weight: 600;
  color: #7A5230;
}

/* Mobile responsive for notes */
@media (max-width: 768px) {
  .notes {
    padding: 1.5rem 1rem;
    margin: 2rem 1rem 0;
  }

  .notes h3 {
    font-size: 1.3rem;
  }

  .note-item {
    padding: 1rem;
    gap: 0.8rem;
  }

  .note-icon {
    font-size: 1.5rem;
  }

  .note-content p {
    font-size: 0.9rem;
  }
}

/* Transport section */
.transport-section {
  max-width: 1000px;
  margin: 0 auto;
}

.transport-content {
  text-align: left;
  padding: 20px;
}

.transport-step {
  background-color: #FEFBF6;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.transport-step h3 {
  color: #7A5230;
  font-size: 1.5rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #DCC9B6;
  padding-bottom: 10px;
}

/* MRT Info Box */
.mrt-info-box {
  background-color: #ffffff;
  border: 2px solid #DCC9B6;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.mrt-line {
  font-size: 1.1rem;
  color: #7A5230;
  margin-bottom: 15px;
}

.station-info {
  font-size: 1rem;
  color: #7A5230;
  margin-bottom: 10px;
  margin-top: 15px;
}

.station-list {
  list-style: none;
  padding-left: 20px;
  margin-bottom: 15px;
}

.station-list li {
  font-size: 1rem;
  color: #7A5230;
  padding: 8px 0;
  position: relative;
}

.station-list li:not(.or-text)::before {
  content: "•";
  color: #A58B80;
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: -20px;
}

.station-list li.or-text {
  text-align: center;
  font-style: italic;
  color: #A58B80;
  font-size: 0.9rem;
  padding: 5px 0;
}

.exit-info {
  font-size: 1rem;
  color: #7A5230;
  margin-top: 10px;
  padding-left: 10px;
  font-weight: 500;
}

.then-choose {
  font-size: 1.05rem;
  color: #7A5230;
  font-weight: 500;
  margin: 20px 0 15px 0;
  text-align: center;
}

/* Transport Options Grid */
.transport-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.transport-option {
  background-color: #ffffff;
  border: 2px solid #DCC9B6;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}

.transport-option.highlight {
  border: 2px solid #A58B80;
  background-color: #FEFBF6;
}

.transport-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-color: #7A5230;
}

.option-header {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #DCC9B6;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.option-label {
  font-size: 0.85rem;
  color: #A58B80;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bus-number {
  font-size: 1.2rem;
  font-weight: 600;
  color: #7A5230;
}

.route-info {
  font-size: 0.95rem;
  color: #7A5230;
  margin: 10px 0;
  line-height: 1.5;
}

.stop-info {
  font-size: 0.9rem;
  color: #A58B80;
  margin: 5px 0;
}

.stop-info strong {
  color: #7A5230;
}

.clearfix {
  clear: both;
}

.typewriter.no-animation h1 {
  border-right: none;
  white-space: normal;
  animation: none;
  color: white;
}

.typewriter .subtitle {
  color: white;
  margin-top: 1rem;
  font-size: 0.9rem;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: white; }
}

/* Responsive styles */
@media (max-width: 768px) {
  .calendar-container {
    flex-direction: column;
    flex-wrap: wrap;
  }
  
  .calendar {
    order: 2;
    flex: 100%;
    max-width: 100%;
    margin-top: 20px;
  }
  
  .date-info {
    order: 1;
    flex: 100%;
    width: 100%;
    min-height: auto;
    padding: 20px;
  }

  .calendar .content {
    padding: 15px;
  }

  .calendar .rightCol h2 {
    margin-bottom: 15px;
  }

  .calendar .months li {
    width: 25%;
    margin-bottom: 10px;
  }

  .venue-container {
    flex-direction: column;
  }
  
  .venue-info {
    order: 1;
    width: 100%;
    padding: 20px;
  }
  
  .venue-map {
    order: 2;
    width: 100%;
    max-width: 100%;
  }
  
  .typewriter.no-animation h1 {
    font-size: 1.6rem;
  }
  
  .typewriter .subtitle {
    font-size: 0.8rem;
  }

  /* Transport section mobile */
  .transport-step {
    padding: 20px;
  }

  .transport-step h3 {
    font-size: 1.2rem;
  }

  .transport-options {
    grid-template-columns: 1fr;
  }

  .mrt-line {
    font-size: 1rem;
  }

  .station-list {
    padding-left: 15px;
  }

  .station-list li {
    font-size: 0.95rem;
  }
} 