:root {
  --brand: #e65c00;        /* Darker main orange brand */
  --accent: #ffecd1;       /* Light accent for sections */
  --muted: #666;           /* Subtle text color */
  --card-bg: #fff;         /* Card / form background */
  --page-bg: #fff8f0;      /* Page background */
  --highlight: #ffe3d3;    /* Highlight current week */
  --header-text: #fff;     /* White text in header */
  --btn-hover: #cc4f00;    /* Darker brand for hover */
  --locked-bg: #ddd;       /* Locked week background */
  --locked-text: #999;     /* Locked text color */
}

/* General body */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--page-bg);
  margin: 0;
  color: #222;
  line-height: 1.5;
}

/* Compact Header */
header {
  background: var(--brand);
  color: var(--header-text);
  text-align: center;
  padding: 1rem 1rem;       /* Reduced from 2rem */
}

header img {
  max-width: 150px;         /* Slightly smaller logo */
  height: auto;
  margin-bottom: 0.5rem;    /* Reduced spacing below logo */
}

/* Headings */
h1, h2, h3 {
  margin: 1rem 0 0.5rem;
}

h1 {
  font-size: 2rem;
  text-align: center;
}

h2 {
  font-size: 1.5rem;
  color: var(--brand);
}

/* Main container */
main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Countdown */
#countdownSection {
  text-align: center;
  margin: 1rem 0 2rem;
}

#countdown {
  font-size: 2rem;
  font-weight: bold;
  color: var(--brand);
}

/* Week Cards */
.week-card {
  background: var(--card-bg);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.week-header {
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  background: var(--brand);
  color: var(--header-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, color 0.3s;
}

.week-header.active {
  background: var(--highlight);
  color: #222;
}

.week-content {
  display: none;
  padding: 1rem 1.5rem;
  animation: fadeIn 0.4s ease-in-out;
}

.week-content.active {
  display: block;
}

.week-content label {
  display: block;
  margin: 0.5rem 0;
  font-weight: 600;
}

.week-content input[type="checkbox"],
.week-content input[type="radio"] {
  margin-right: 0.5rem;
}

.week-content select,
.week-content input[type="text"],
.week-content input[type="number"] {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  margin-top: 0.3rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

/* SME Breakdown */
.sme-breakdown {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  background: var(--accent);
  padding: 1rem;
  border-radius: 8px;
}

.sme-breakdown p {
  margin: 0.3rem 0;
  line-height: 1.4;
}

.sme-breakdown p strong {
  color: var(--brand);
}

.gps-note {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

.shared-note {
  font-size: 0.9rem;
  color: #b35;
  margin-top: 0.3rem;
  display: none;
}

/* Booking Summary */
#booking-summary {
  margin-top: 2rem;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

#booking-summary h2 {
  margin-top: 0;
}

#booking-summary label {
  display: block;
  margin-top: 0.8rem;
  font-weight: 600;
}

#booking-summary input,
#booking-summary select {
  padding: 0.5rem;
  width: 100%;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 0.3rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

/* Summary list */
#summaryList {
  margin: 0.5rem 0 1rem;
  padding-left: 1rem;
}

/* Totals */
.totals p {
  margin: 0.3rem 0;
  font-weight: 600;
}

/* Buttons */
.btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  margin-top: 1rem;
  transition: background 0.3s, opacity 0.3s;
}

.btn:hover {
  background: var(--btn-hover);
  opacity: 0.95;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding: 1rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.05);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
  .week-header {
    font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0.5rem;
  }

  #booking-summary input,
  #booking-summary select {
    font-size: 0.95rem;
  }

  #summaryList li {
    font-size: 0.9rem;
  }
}

/* Social Sharing Section */
.share-section {
  background: var(--accent);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 960px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.share-section h2 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.share-section p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Button Container */
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* Individual Buttons */
.share-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  flex: 1 1 calc(25% - 1.2rem);
  max-width: 200px;
  box-sizing: border-box;
}

.share-buttons a i {
  font-size: 1rem;
}

/* Platform-specific hover colors */
.share-buttons a[href*="facebook.com"]:hover {
  background: #3b5998;
}
.share-buttons a[href*="twitter.com"]:hover {
  background: #1da1f2;
}
.share-buttons a[href*="linkedin.com"]:hover {
  background: #0077b5;
}
.share-buttons a[href*="wa.me"]:hover {
  background: #25d366;
}

.share-buttons a:hover {
  transform: translateY(-1px);
}

/* Responsive Tweaks */
@media (max-width: 700px) {
  .share-buttons a {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (max-width: 500px) {
  .share-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .share-buttons a {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}
