/* 
Deep Cherry: #7A2E2E
Muted Butter: #E5C86B
Ivory: #FBF6EC
Light Mocha: #8A6A5A 
*/

/* Reset some default browser styles */
* {
    margin: 0px; /* space outside */
    padding: 0px, 0px; /* space inside;  top/bottom, left/right */
    box-sizing: border-box; /* makes sizing predictable */
}

body {
    margin: 0;
    font-family: 'Courier New';
    font-size: 20px;
    line-height: 1.5;
    background-color:#FBF6EC;
    color:#000000;
}
/* top header in each page */
.site-header {
    background-color: #8A6A5A;
    padding: 20px 0;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;  /* stacks child elements inside flex container */
    align-items: center;    
    gap: 0px;
}

.logo {
    font-size: 2.5rem;
    color: #E5C86B;
    margin: 0;
    text-decoration: none;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.nav a {
    color: #fff;
    font-weight: 400; 
    font-size: 1.8rem;
}

.hero-front{ /* front page, index.html */
    text-align: center;
    padding: 100px 20px;
}

.hero-front h2{ /* front page, index.html */
    font-weight: bold;
    font-size: 2rem;
}

.hero-2 { /* other pages not front page */
    padding: 20px 20px;
}

.hero-2 h2 { 
    font-size: 1.8rem;
}

.hero-2 h3 { 
    font-size: 1.4rem;
}

footer {
    background-color: #8A6A5A;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.note {
  font-size: 1rem;     
  font-style: italic;      
}

.error-message {
  color: #c0392b;
  margin-bottom: 10px;
  font-size: 18px;
}

button {
  font-family: 'Courier New';
  font-size: medium;
}

select {
  font-family: 'Courier New';
  font-size: medium;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 20px;
    background-color: #E5C86B;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.intro {
    padding: 40px;
    text-align: center;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0px;
}

section ul {
  list-style: none;
  padding: 0;
}

section li {
  font-size: 1rem;
  margin: 8px 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

.image-row {
  display: flex;
  justify-content: center; /* centers horizontally */
  gap: 15px;
}

.image-row img {
  width: 290px;   /* adjust size here */
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: opacity 0.8s ease;
}

@media (max-width: 640px) {
  .image-row img:nth-child(2) {
    display: none;
  }
}

.sun-wrapper {
  text-align: center;
  margin: 0 auto;
}

/* container cuts off bottom half of sun to make 
it a ~rising~ sun */
.sun-container {
  position: relative;
  width: 240px;
  height: 120px; /* half-sun height */
  margin: 0 auto 1em auto;
  overflow: hidden; 
}

.sun {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 190px;
  background: radial-gradient(circle at bottom, #FFD166, #F4A261);
  border-radius: 50%;
  box-shadow: 0 0 0px #FFD166;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Glow effect when active */
.sun.glow {
  box-shadow: 0 0 20px 10px #FFD166;
  transform: translateX(-50%) scale(1.05);
}

/* text overlay */
.sun-text {
  position: absolute; /* overlay sun */
  top: 76%;           /* adjust to sit nicely over sun */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;         /* above sun */
  font-size: 1.4rem;
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.schedule-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;

    margin-top: 40px;   /* space from header */
    padding: 0 1rem;    /* prevents edge touching on mobile */
    margin-bottom: 40px;
}

.schedule-menu section {
    text-align: center;
}

.schedule-menu h2{
  font-size: 2.2rem;
  text-align: center;
  font-weight: 600;
}

.schedule-menu h3{
  font-size: 1.75rem;
  text-align: center;
  font-weight: 500;
}

.calendar-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* Stack on mobile */
@media (max-width: 768px) {
  .calendar-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Individual calendar */
.calendar {
  text-align: center;
}

/* Month title */
.calendar h2 {
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 1.75rem;
}

/* Grid layout */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

/* Day labels (Sun–Sat) */
.day.header {
  font-size: 16px;
  font-weight: 200;
}

/* Base day style */
.day {
  padding: 10px 0;
  font-size: 1rem;
}

/* Empty spacing cells */
.day.empty {
  visibility: hidden;
}

.market-day {
  border: 1.5px solid black;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.legend {
  text-align: center;
  margin-top: 20px;
  font-size: 1.15rem;
}

.legend-circle {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid black;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}