:root {
  --primary-color: #cb997e;
  --secondary-color: #6b705c;
  --accent-color: #a5a58d;
  --light-color: #f5f3ef;
  --dark-color: #4a4e69;
  --text-color: #3d405b;
  --bg-color: #f9f7f3;
  --border-color: #e3d5ca;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.welcome {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.welcome-content {
  flex: 1;
}

.welcome h1 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.welcome p {
  color: var(--dark-color);
  font-size: 0.9rem;
}

.time-display {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--primary-color);
}

.current-week-display {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.7rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 400;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.year-display {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--secondary-color);
}

.year-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.year-selector label {
  font-size: 0.9rem;
}

select {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border-color);
  background-color: var(--light-color);
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
}

select:focus {
  border-color: var(--primary-color);
}

.download-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.download-button:hover {
  background-color: var(--primary-color);
}

#calendar-capture {
  display: none;
  width: 11in;
  height: 8.5in;
  background-color: var(--bg-color);
  padding: 0.25in;
  position: fixed;
  left: -9999px;
  top: -9999px;
  z-index: -9999;
  visibility: hidden;
}

#calendar-capture .calendar-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 0.15in;
  height: 7.75in;
}

#calendar-capture .print-only {
  display: none; /* Remove title to maximize space */
}

.pdf-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15in;
  color: var(--secondary-color);
  font-size: 10pt;
  text-align: center;
}

.pdf-footer img {
  height: 0.2in;
  margin-right: 0.1in;
}

.print-only {
  display: none;
}

.calendar-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.month {
  background-color: white;
  border: 1px solid var(--border-color);
}

.month-header {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem;
  text-align: center;
  font-weight: 400;
  font-size: 0.9rem;
}

.days-header {
  display: grid;
  grid-template-columns: 2fr repeat(7, 1fr);
  background-color: var(--light-color);
  font-size: 0.7rem;
  font-weight: 400;
  text-align: center;
}

.days-header span {
  padding: 0.3rem 0;
}

.week {
  display: grid;
  grid-template-columns: 2fr repeat(7, 1fr);
  border-bottom: 1px solid var(--border-color);
}

.week:last-child {
  border-bottom: none;
}

.week-number {
  background-color: var(--accent-color);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 400;
}

.day {
  padding: 0.3rem;
  text-align: center;
  font-size: 0.8rem;
}

.day.current {
  background-color: var(--secondary-color);
  color: white;
}

.day.other-month {
  color: #ccc;
}

.products-section {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.products-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-weight: 400;
  font-size: 1.2rem;
}

.download-banner {
  background-color: #f5f5f5;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.download-text {
  margin-top: 0.7rem;
  color: var(--text-color);
  font-size: 0.9rem;
}

.download-primary {
  background-color: #6b705c;
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
}

.download-primary:hover {
  background-color: #5a5f4d;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background-color: white;
  border: 1px solid var(--border-color);
}

.product-card:hover {
  border-color: var(--secondary-color);
}

.product-image {
  height: 150px;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-info {
  padding: 1rem;
}

.product-name {
  font-weight: 400;
  margin-bottom: 0.3rem;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.product-description {
  font-size: 0.8rem;
  color: var(--text-color);
  margin-bottom: 0.8rem;
}

.product-price {
  font-weight: 400;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.buy-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.3rem 1rem;
  text-decoration: none;
  font-weight: 400;
  border: none;
  font-size: 0.8rem;
  border-radius: 4px;
}

.buy-button:hover {
  background-color: var(--secondary-color);
}

/* FAQ Section Styles */
.faq-section {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  font-weight: 400;
  font-size: 1.2rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  background-color: white;
  border: 1px solid var(--border-color);
  padding: 1rem;
}

.faq-question {
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--text-color);
}

/* Benefits Section Styles */
.benefits-section {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.benefits-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  font-weight: 400;
  font-size: 1.2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.benefit-item {
  background-color: white;
  border: 1px solid var(--border-color);
  padding: 1.2rem;
  text-align: center;
}

.benefit-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

.benefit-title {
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.benefit-description {
  font-size: 0.85rem;
  color: var(--text-color);
}

/* Additional Content Section */
.content-section {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.content-section h2 {
  color: var(--secondary-color);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.content-section p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.content-section ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.related-links {
  margin-top: 2rem;
}

.related-links h3 {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
}

.related-links ul {
  list-style: none;
  padding-left: 0;
}

.related-links li {
  margin-bottom: 0.5rem;
}

.related-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

.related-links a:hover {
  text-decoration: underline;
}

.related-links a i {
  margin-right: 0.5rem;
}

footer {
  margin-top: 3rem;
  text-align: center;
  padding: 0.8rem;
  color: var(--secondary-color);
  font-size: 0.8rem;
  border-top: 1px solid var(--border-color);
}

.footer-links {
  margin: 1rem 0;
}

.footer-links a {
  color: var(--secondary-color);
  text-decoration: none;
  margin: 0 0.5rem;
  font-size: 0.8rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .calendar-container {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .download-section {
    text-align: left;
    margin-bottom: 1rem;
  }
  
  .benefits-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: 11in 8.5in landscape;
    margin: 0.5cm;
  }
  
  body {
    background-color: var(--bg-color);
    font-size: 7pt;
  }
  
  .container {
    max-width: 100%;
    padding: 0.5cm;
    margin: 0;
  }
  
  .welcome, header, .download-section, .products-section, footer {
    display: none;
  }
  
  .print-only {
    display: block;
    text-align: center;
    margin-bottom: 0.3cm;
    font-size: 14pt;
    font-weight: 400;
    color: var(--secondary-color);
  }
  
  .calendar-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 0.2cm;
  }
  
  .month {
    page-break-inside: avoid;
  }
  
  .month-header {
    padding: 0.1cm;
    font-size: 8pt;
  }
  
  .days-header {
    font-size: 6pt;
  }
  
  .days-header span {
    padding: 0.05cm 0;
  }
  
  .week-number {
    font-size: 6pt;
  }
  
  .day {
    padding: 0.05cm;
    font-size: 6pt;
  }
}


.main-nav {
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.main-nav a:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  
  .tool-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .tool-nav {
    flex-wrap: wrap;
  }
}