:root {
  --primary-color: #0a192f;
  /* Deep Navy */
  --secondary-color: #d4af37;
  /* Gold */
  --text-color: #e6e6e6;
  --bg-color: #020c1b;
  --card-bg: rgba(10, 25, 47, 0.7);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background-image: radial-gradient(circle at 50% 50%, #112240 0%, #020c1b 100%);
}

header {
  background: transparent;
  color: var(--secondary-color);
  width: 100%;
  padding: 4rem 0 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeInDown 1.5s ease-out;
}

.subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 1rem;
  font-style: italic;
  opacity: 0;
  animation: fadeInUp 1.5s ease-out 0.5s forwards;
}

.container {
  max-width: 900px;
  width: 90%;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin-bottom: 4rem;
  padding: 3rem;
  text-align: center;
  opacity: 0;
  animation: fadeIn 2s ease-out 1s forwards;
}

.description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: #a8b2d1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.details {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.detail-item {
  border: 1px solid var(--secondary-color);
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.flyer-container {
  margin: 3rem auto;
  max-width: 600px;
  border: 2px solid var(--secondary-color);
  padding: 10px;
  position: relative;
}

.flyer-container::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  z-index: -1;
}

.flyer-container img {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(20%) contrast(110%);
}

h2 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  font-size: 2rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

/* Schedule / Timeline */
.schedule-section {
  margin: 4rem 0;
  text-align: left;
}

.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--secondary-color);
  opacity: 0.3;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 50%;
  padding: 0 2rem;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--bg-color);
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-time {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.timeline-event {
  font-family: var(--font-body);
  color: var(--text-color);
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 10px;
    text-align: left;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 11px;
    right: auto;
  }
}

#map-container {
  height: 400px;
  width: 100%;
  border: 1px solid var(--secondary-color);
  filter: grayscale(80%) invert(90%);
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}

.address-footer {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--secondary-color);
  border-top: none;
  padding: 1.5rem;
  border-radius: 0 0 4px 4px;
  color: #a8b2d1;
}

.address-footer p {
  margin: 0.5rem 0;
}

.address-footer strong {
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.entrance-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 2rem;
  text-align: left;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 2rem;
}

.entrance-text {
  flex: 1;
  text-align: justify;
}

.entrance-text h3 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-top: 0;
}

.entrance-image {
  flex: 1;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
  overflow: hidden;
}

.entrance-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 600px) {
  .entrance-section {
    flex-direction: column;
    text-align: center;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }

  .container {
    padding: 1.5rem;
  }

  .details {
    gap: 1rem;
  }

  .detail-item {
    width: 100%;
  }
}

.safety-sign {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.safety-sign img {
  width: 100px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.safety-sign img:hover {
  opacity: 1;
}

.safety-sign p {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .safety-sign {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}