/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: #f8f9fc;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}



/* Month card */
.month-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 25px;
  margin-bottom: 30px;
}

.page-title {
  font-size: 28px;
  margin-bottom: 15px;
}

.lead {
  font-size: 16px;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 18px;
  margin-right: 10px;
  background: #eee;
  color: #333;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
}

.btn.primary {
  background: #007bff;
  color: #fff;
}

.btn:hover {
  opacity: 0.85;
}

/* Calendar Grid */
.calendar {
  margin-top: 20px;
}

.cal-header {
  text-align: center;
  margin-bottom: 15px;
}

.month-title {
  font-size: 22px;
  font-weight: bold;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.day-name {
  font-weight: bold;
  text-align: center;
  padding: 8px 0;
  background: #f0f0f0;
  border-radius: 6px;
}

.cell {
  min-height: 70px;
  background: #fafafa;
  border-radius: 6px;
  text-align: center;
  padding: 5px;
  position: relative;
}

.cell .date {
  font-weight: bold;
  margin-bottom: 5px;
}

.cell .note {
  font-size: 12px;
  color: #d9534f;
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
}

/* Holiday highlight */
.note-holiday {
  color: #d9534f;
  font-weight: bold;
}

/* SEO Block */
.seo-block {
  margin-top: 30px;
  font-size: 15px;
  color: #444;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 15px 0;
  color: #777;
  font-size: 14px;
}

/* Print styles */
@media print {
  body {
    background: #fff;
    color: #000;
  }
  .no-print {
    display: none !important;
  }
  .month-card {
    box-shadow: none;
    border: none;
    padding: 0;
  }
  .cal-grid {
    gap: 2px;
  }
}
@media print {

  /* Hide everything */
  body * {
    visibility: hidden !important;
  }

  /* Show only the calendar area */
  #calendar, #calendar * {
    visibility: visible !important;
  }

  /* Position calendar at top of printed page */
  #calendar {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }

  /* Remove print margins */
  @page {
    margin: 0;
  }
}



.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #f8f8f8;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-nav ul li {
  position: relative;
  margin-left: 20px;
}

.main-nav a {
  text-decoration: none;
  padding: 6px 10px; /* smaller padding for compactness */
  display: block;
  color: #333;
  font-size: 14px;
  transition: background 0.2s, color 0.2s; /* smooth hover effect */
}

.main-nav a:hover {
  background: #333;  /* background color on hover */
  color: #fff;       /* text color on hover */
}

.dropdown:hover .mega-menu {
  display: flex;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 10px; /* smaller padding */
  gap: 5px; /* minimum gap between columns */
  z-index: 1000;
}

.month-column {
  display: flex;
  flex-direction: column;
  gap: 2px; /* minimum gap between months */
}
