* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #0b120d;
  color: #f4f7fb;
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 14, 22, 0.95);
  border-bottom: 1px solid #202839;
  padding: 16px 7%;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.navlinks {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.navlinks a {
  color: #cbd5e1;
  font-size: 14px;
}

.navlinks a:hover {
  color: white;
}

.btn {
  display: inline-block;
  background: #4f7d3a;
  color: white !important;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn.secondary {
  background: #1f2937;
  border: 1px solid #374151;
}

.btn.danger {
  background: #dc2626;
}

.hero {
  min-height: 520px;
  padding: 90px 7%;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(8, 11, 16, 0.78), rgba(8, 11, 16, 0.92)),
    url("/img/hero-banner.png");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.95;
  margin: 0 0 18px;
}

.hero p {
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.section {
  padding: 60px 7%;
}

.section h2 {
  font-size: 34px;
  margin-top: 0;
}

.muted {
  color: #94a3b8;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: #132016;
  border: 1px solid #2f4a35;
  border-radius: 16px;
  padding: 22px;
}

.card h3 {
  margin-top: 0;
}

.form {
  max-width: 820px;
}

label {
  display: block;
  margin: 18px 0 8px;
  color: #cbd5e1;
  font-weight: 700;
}

input, textarea, select {
  width: 100%;
  background: #0b1220;
  color: white;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #132016;
  border: 1px solid #2f4a35;
}

th, td {
  border-bottom: 1px solid #2f4a35;
  text-align: left;
  padding: 12px;
}

th {
  color: #b89b5e;
}

.status {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 13px;
  background: #1f2937;
}

footer {
  padding: 30px 7%;
  border-top: 1px solid #202839;
  color: #94a3b8;
}

.admin-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

@media (max-width: 800px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

.logo-with-img {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-with-img img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}



/* Creekside final color polish */
body {
  background: #07100A;
  color: #F3F4EF;
}

.navbar {
  background: #080D0A;
  border-bottom: 1px solid #2E3F2F;
}

.card {
  background: #122116;
  border-color: #3A5A40;
}

.section {
  background: #07100A;
}

.btn {
  background: #4F7D3A;
}

.btn:hover {
  background: #639447;
}

.btn.secondary {
  background: #172018;
  border-color: #5A6B55;
}

.muted {
  color: #B8C5B2;
}

th {
  color: #C49A5A;
}

.section h2,
.card h3 {
  color: #F3F4EF;
}

.navlinks a:hover {
  color: #C49A5A;
}

/* Creekside final color polish */
body {
  background: #07100A;
  color: #F3F4EF;
}

.navbar {
  background: #080D0A;
  border-bottom: 1px solid #2E3F2F;
}

.card {
  background: #122116;
  border-color: #3A5A40;
}

.section {
  background: #07100A;
}

.btn {
  background: #4F7D3A;
}

.btn:hover {
  background: #639447;
}

.btn.secondary {
  background: #172018;
  border-color: #5A6B55;
}

.muted {
  color: #B8C5B2;
}

th {
  color: #C49A5A;
}

.section h2,
.card h3 {
  color: #F3F4EF;
}

.navlinks a:hover {
  color: #C49A5A;
}

/* Creekside animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(196, 154, 90, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(196, 154, 90, 0.22);
  }
}

.hero-content,
.section h2,
.section > p,
.card,
.app-category,
.pdf-page,
.calendar-day {
  animation: fadeUp 0.65s ease both;
}

.card,
.app-category,
.calendar-day,
.btn {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.card:hover,
.app-category:hover,
.calendar-day:hover {
  transform: translateY(-4px);
  border-color: #C49A5A;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.btn:hover {
  transform: translateY(-2px);
}

.logo-with-img img {
  transition: transform 0.25s ease;
}

.logo-with-img:hover img {
  transform: scale(1.08) rotate(-2deg);
}

.hero .btn:first-child {
  animation: softGlow 3s ease-in-out infinite;
}

details[open] summary {
  border-bottom: 1px solid rgba(196, 154, 90, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Creekside smoother transition polish */
@keyframes smoothFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(196, 154, 90, 0);
  }
  50% {
    box-shadow: 0 0 22px rgba(196, 154, 90, 0.28);
  }
}

.hero-content {
  animation: heroReveal 0.9s cubic-bezier(.22,1,.36,1) both;
}

.section {
  animation: smoothFadeIn 0.75s cubic-bezier(.22,1,.36,1) both;
}

.card,
.app-category,
.calendar-day,
.pdf-page {
  animation: smoothFadeIn 0.8s cubic-bezier(.22,1,.36,1) both;
  transition:
    transform 0.28s cubic-bezier(.22,1,.36,1),
    box-shadow 0.28s cubic-bezier(.22,1,.36,1),
    border-color 0.28s ease,
    background 0.28s ease;
}

.card:hover,
.app-category:hover,
.calendar-day:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: #C49A5A;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.btn {
  transition:
    transform 0.22s cubic-bezier(.22,1,.36,1),
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 10px 20px rgba(0,0,0,.26);
}

.hero .btn:first-child {
  animation: buttonPulse 3.2s ease-in-out infinite;
}

.navlinks a {
  position: relative;
}

.navlinks a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #C49A5A;
  transition: width 0.25s ease;
}

.navlinks a:hover::after {
  width: 100%;
}

details.app-category summary {
  transition: background 0.25s ease;
}

details.app-category summary:hover {
  background: rgba(196, 154, 90, 0.06);
}

details.app-category[open] .category-content {
  animation: smoothFadeIn 0.35s cubic-bezier(.22,1,.36,1) both;
}

.logo-with-img img {
  transition: transform 0.32s cubic-bezier(.22,1,.36,1), filter 0.32s ease;
}

.logo-with-img:hover img {
  transform: scale(1.12) rotate(-3deg);
  filter: drop-shadow(0 0 10px rgba(196,154,90,.35));
}

/* Smooth page scrolling */
html {
  scroll-behavior: smooth;
}

body {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

/* Cleaner scrollbar for Chromium browsers */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #07100A;
}

::-webkit-scrollbar-thumb {
  background: #3A5A40;
  border-radius: 999px;
  border: 3px solid #07100A;
}

::-webkit-scrollbar-thumb:hover {
  background: #C49A5A;
}

/* Privacy policy footer/page styling */
footer a {
  color: #C49A5A;
  text-decoration: none;
  font-weight: 700;
}

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

.privacy-card {
  max-width: 950px;
  margin: 0 auto;
  line-height: 1.7;
}

.privacy-card h1,
.privacy-card h2,
.privacy-card h3 {
  color: #F3F4EF;
}

.privacy-card h2 {
  margin-top: 34px;
  border-bottom: 1px solid #3A5A40;
  padding-bottom: 8px;
}

.privacy-card ul {
  margin-top: 8px;
  margin-bottom: 18px;
}

/* Privacy policy footer/page styling */
footer a {
  color: #C49A5A;
  text-decoration: none;
  font-weight: 700;
}

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

.privacy-card {
  max-width: 950px;
  margin: 0 auto;
  line-height: 1.7;
}

.privacy-card h1,
.privacy-card h2,
.privacy-card h3 {
  color: #F3F4EF;
}

.privacy-card h2 {
  margin-top: 34px;
  border-bottom: 1px solid #3A5A40;
  padding-bottom: 8px;
}

.privacy-card ul {
  margin-top: 8px;
  margin-bottom: 18px;
}
