/* =============================================
   Golden Hands CBO — Global Stylesheet
   ============================================= */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', sans-serif; background-color: #f7f9fc; }

/* ---- HEADER ---- */
header {
  background-color: #088058;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-wrap img { height: 48px; width: 48px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,0.1); padding: 2px; }
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-name { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.2; }
.logo-tagline { font-size: 10px; color: rgba(255,255,255,0.75); letter-spacing: 0.04em; }

/* ---- LIVE CLOCK ---- */
.live-clock {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  padding: 6px 14px; border-radius: 20px;
  font-size: 13px; color: #fff;
}
.live-clock i { font-size: 12px; opacity: 0.8; }
#clock-time { font-weight: 700; letter-spacing: 0.05em; }
#clock-date { font-size: 11px; opacity: 0.8; }

/* ---- NAV ---- */
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: rgba(255,255,255,0.9);
  padding: 7px 11px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
nav a:hover, nav a.active { background: rgba(255,255,255,0.18); color: #fff; }
.menu-toggle { display: none; font-size: 26px; cursor: pointer; color: white; background: none; border: none; padding: 4px 8px; }

/* ---- HERO ---- */
.hero {
  background: #088058 no-repeat center center / cover;
  min-height: 320px;
  display: flex; justify-content: center; align-items: center;
  color: white; text-align: center;
}
.hero-overlay {
  background: rgba(0,0,0,0.52);
  padding: 36px 44px; border-radius: 14px;
  max-width: 700px; margin: 20px;
}
.hero-overlay h1 { font-size: clamp(24px,4vw,38px); margin: 0 0 12px; line-height: 1.2; }
.hero-overlay p { font-size: 16px; margin: 0 0 22px; opacity: 0.92; line-height: 1.6; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  background: #088058; color: white;
  padding: 11px 26px; border-radius: 30px;
  text-decoration: none; font-weight: 700; font-size: 14px;
  cursor: pointer; border: 2px solid #088058;
  transition: background .2s, color .2s; margin: 4px;
}
.btn:hover { background: #055c3e; border-color: #055c3e; }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ---- SECTIONS ---- */
.section {
  display: flex; flex-wrap: wrap; align-items: center;
  padding: 60px 40px; background: #fff;
}
.section:nth-child(even) { background: #f0f2f5; }
.text, .image { flex: 1; min-width: 280px; padding: 20px; }
.text h2 { color: #088058; font-size: 26px; margin-bottom: 14px; }
.text p { font-size: 16px; line-height: 1.7; color: #444; }
.image img {
  width: 100%; border-radius: 12px; display: block;
  object-fit: cover; max-height: 320px; background: #c8e6d4; min-height: 200px;
}

/* ---- FORMS ---- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px;
  border: 1px solid #ccc; border-radius: 8px;
  font-family: 'Segoe UI', sans-serif; font-size: 15px;
  color: #333; background: #fff; outline: none;
  transition: border .2s; box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: #088058; }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ---- EVENTS ---- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 24px; padding: 40px;
}
.event-card {
  background: #fff; border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(8,128,88,0.15); }
.event-card-top {
  background: linear-gradient(135deg, #088058, #2eab6a);
  padding: 20px 24px; color: #fff;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.event-date-badge {
  background: rgba(255,255,255,0.2); border-radius: 10px;
  padding: 8px 14px; text-align: center; min-width: 56px;
}
.event-date-badge .day { font-size: 26px; font-weight: 700; line-height: 1; }
.event-date-badge .month { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.event-card-top h3 { font-size: 17px; flex: 1; padding-right: 14px; line-height: 1.3; }
.event-card-body { padding: 18px 22px; }
.event-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.event-meta span { font-size: 13px; color: #666; display: flex; align-items: center; gap: 5px; }
.event-meta i { color: #088058; font-size: 12px; }
.event-card-body p { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 16px; }
.event-status { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.status-upcoming { background: #e8f5ee; color: #088058; }
.status-ongoing  { background: #fff3cd; color: #856404; }
.status-past     { background: #f0f0f0; color: #888; }

/* ---- COUNTDOWN ---- */
.countdown-banner {
  background: #088058; color: #fff;
  padding: 20px 40px; text-align: center;
}
.countdown-banner h3 { font-size: 16px; margin-bottom: 12px; opacity: .9; }
.countdown-wrap { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.count-box { background: rgba(255,255,255,0.15); border-radius: 10px; padding: 12px 20px; min-width: 70px; text-align: center; }
.count-box .num { font-size: 32px; font-weight: 700; display: block; line-height: 1; }
.count-box .unit { font-size: 11px; opacity: .8; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ---- FOOTER ---- */
footer {
  background: #088058; color: white;
  display: flex; flex-wrap: wrap;
  justify-content: space-around; padding: 40px 20px;
}
footer .footer-col { flex: 1; min-width: 200px; margin: 10px; font-size: 14px; line-height: 1.8; }
footer h4 { margin-bottom: 12px; font-size: 17px; }
footer a { color: white; text-decoration: none; display: block; margin: 4px 0; transition: opacity .2s; }
footer a:hover { opacity: .75; }
.social-icons a { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 15px; }
.copyright { text-align: center; background: #066644; color: white; padding: 14px; font-size: 13px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .live-clock { display: none; }
}
@media (max-width: 768px) {
  nav {
    display: none; flex-direction: column;
    background: #088058;
    position: absolute; top: 65px; left: 0; right: 0;
    z-index: 999; text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  nav.active { display: flex; }
  .menu-toggle { display: block; }
  nav a { padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.15); margin: 0; width: 100%; border-radius: 0; }
  .hero-overlay { padding: 24px 20px; margin: 16px; }
  .section { padding: 40px 20px; }
  header { padding: 10px 18px; }
  .events-grid { padding: 20px; grid-template-columns: 1fr; }
  .countdown-banner { padding: 20px; }
}
