/* ============================================
   HUNA STORE - MAIN STYLESHEET
   Created: January 17, 2026
   ============================================ */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================
   PAGE CONTAINER
   ============================================ */
#page-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ============================================
   HEADER SECTION
   ============================================ */
#page-top {
  background: linear-gradient(to bottom, #4a7c59, #6b9b7a);
  padding: 20px;
  text-align: center;
}

#logo {
  max-width: 182px;
  height: auto;
}

#tagline {
  color: #fff;
  font-size: 16px;
  margin: 15px 0;
  font-weight: bold;
}

#tagline a {
  color: greenyellow;
  text-decoration: none;
}

#tagline a:hover {
  text-decoration: underline;
}

/* ============================================
   NAVIGATION MENU
   ============================================ */
#sitemenu {
  background-color: #3d6647;
  border-top: 2px solid #2d4f37;
}

#sitemenu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#sitemenu li {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

#sitemenu a,
#sitemenu .currentPage {
  display: block;
  padding: 15px 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s;
  border-right: 1px solid #2d4f37;
}

#sitemenu li:last-child a,
#sitemenu li:last-child .currentPage {
  border-right: none;
}

#sitemenu a:hover,
#sitemenu .currentPage {
  background-color: #2d4f37;
}

/* ============================================
   CONTENT AREA
   ============================================ */
#page-content {
  display: flex;
  flex-direction: row-reverse;  /* ADD THIS LINE */
  gap: 20px;
  padding: 20px;
}

/* ============================================
   SIDEBAR
   ============================================ */
#sidebar {
  width: 250px;
  flex-shrink: 0;
}

#sidebar img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.featured-item {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
}

.featured-item h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: #fe2615;
}

.featured-item a {
  color: #4a7c59;
  text-decoration: none;
}

.featured-item a:hover {
  text-decoration: underline;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
#main {
  flex: 1;
  padding: 20px;
  background-color: #fafafa;
  border-radius: 5px;
}

#main h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #3d6647;
}

#main p {
  font-size: 14px;
  margin-bottom: 15px;
}

#main a {
  color: #4a7c59;
  text-decoration: none;
}

#main a:hover {
  text-decoration: underline;
}

.welcome-title {
  font-size: 18px;
  text-align: center;
  margin-bottom: 20px;
}

.center-image {
  text-align: center;
  margin: 30px 0;
}

.center-image img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.intro-text {
  font-size: 14px;
  margin-bottom: 25px;
  padding: 15px;
  background-color: #fff;
  border-left: 4px solid #4a7c59;
}

/* ============================================
   COURSE GRID (for courses page)
   ============================================ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.course-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.course-card h3 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  margin-bottom: 12px;
  color: #3d6647;
}

.course-card h3 a {
  color: #3d6647;
  text-decoration: none;
}

.course-card h3 a:hover {
  color: #4a7c59;
  text-decoration: underline;
}

.course-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

#main .course-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #4a7c59;
  color: #fff !important;  /* Force white */
  text-decoration: none !important;
  border-radius: 3px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s;
}

#main .course-link:hover {
  background-color: #3d6647;
  color: #fff !important;  /* Keep white on hover */
}

/* ============================================
   TRUST SIGNALS
   ============================================ */
.trust-signals {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  margin-top: 30px;
  border: 1px solid #ddd;
}

.trust-signals h3 {
  font-size: 18px;
  color: #3d6647;
  margin-bottom: 15px;
}

.trust-signals ul {
  list-style: none;
}

.trust-signals li {
  padding: 8px 0;
  font-size: 14px;
  color: #666;
}

.trust-signals li:before {
  content: "✓ ";
  color: #4a7c59;
  font-weight: bold;
  margin-right: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
#page-bottom {
  background-color: #3d6647;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  #page-content {
    flex-direction: column-reverse;
  }
  
  #sidebar {
    width: 100%;
    text-align: center;
  }
  
  #sitemenu ul {
    flex-direction: column;
  }
  
  #sitemenu li {
    width: 100%;
  }
  
  #sitemenu a,
  #sitemenu .currentPage {
    border-right: none;
    border-bottom: 1px solid #2d4f37;
  }
  
  .course-grid {
    grid-template-columns: 1fr;
  }
}
