:root{
  --green-dark: #0b5130; /* deep green matching logo */
  --green-darker: #083e25;
  --green-accent: #2f8f46;
  --green-light: #e9f7ef;
  --muted: #666666;
  --card-border: rgba(15,139,69,0.08);
}

body {
  background: url('bg.webp') no-repeat center center fixed;
  background-size: cover;
  color: #173b2a;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
.site-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.colorful-title {
  background: linear-gradient(90deg,#93E9BE,#0f8b45,#0b5e50,#42b80b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.whatsapp-svg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 8px #2225;
  display: block;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow: hidden;
}
.header-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.header-center {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.whatsapp-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px #2225;
}
.pdf-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px #2225;
  min-width: 340px;
  max-width: 400px;
  margin: 0 auto;
  padding: 32px 32px 24px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.pdf-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #222;
}
.pdf-label {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  margin-top: 12px;
  color: #222;
}
.pdf-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-bottom: 8px;
}
.pdf-country {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background: #fff;
}
.pdf-btn {
  width: 100%;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 18px;
  cursor: pointer;
  transition: background 0.2s;
}
.pdf-btn:hover {
  background: #444;
}
.pdf-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.6rem;
  color: #888;
  cursor: pointer;
  font-weight: 700;
}
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 8px #bbb;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 18px;
  transition: box-shadow 0.2s;
}

@media (max-width: 600px) {
  .sticky-header {
    padding: 6px 8px;
    font-size: 1rem;
  }
  .sticky-header img {
    height: 32px !important;
    width: 32px !important;
    margin-right: 6px !important;
  }
  .sticky-header span {
    font-size: 1rem !important;
    margin-right: 6px !important;
  }
  .sticky-header a {
    padding: 5px 7px !important;
  }
}
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 8px #bbb;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 18px;
  transition: box-shadow 0.2s;
}
@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }
  .container {
    padding-top: 10px;
    max-width: 100vw;
  }
  .logo {
    width: 80px;
    height: 80px;
  }
  .title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-family: 'Times New Roman', Times, serif;
  }
  .category-select {
    font-size: 0.95rem;
    padding: 8px;
    margin-bottom: 18px;
  }
  .trek-list {
    gap: 12px;
  }
  .trek-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 10px;
    font-size: 1rem;
  }
  .trek-img {
    width: 48px;
    height: 48px;
    margin-right: 0;
    margin-bottom: 8px;
  }
  .trek-info {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .trek-actions {
    gap: 6px;
  }
  /* Removed invalid background block and stray content/position lines */
}
.container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-top: 10px;
}
.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 10px;
  display: block;
  object-fit: cover;
  background: transparent;
  box-shadow: none; /* remove any shadow that creates outer line */
  border: none;
}

/* Wrap the logo to mask any outer artifacts from the image */
.logo-wrap{width:120px;height:120px;border-radius:50%;overflow:hidden;display:inline-block;box-shadow: 0 6px 20px rgba(11,81,48,0.18); background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.06), transparent 25%), linear-gradient(180deg, rgba(11,81,48,0.06), transparent 60%);}
.title {
  color: var(--green-darker);
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-family: 'Times New Roman', Times, serif;
}
.category-select {
  padding: 10px;
  font-size: 1rem;
  margin-bottom: 30px;
  border-radius: 5px;
  border: 1px solid rgba(47,143,70,0.18);
}
.trek-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.trek-card {
  background: linear-gradient(90deg, rgba(47,143,70,0.06), rgba(15,139,69,0.04));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  box-shadow: 0 6px 18px rgba(11,81,48,0.06);
  border: 1px solid var(--card-border);
}
.trek-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 20px;
}
  text-align: left;
  font-size: 1.2rem;
  font-weight: 500;
}
.trek-actions {
  display: flex;
  gap: 10px;
}
  padding: 30px;
  min-width: 350px;
  max-width: 500px;
  box-shadow: 0 2px 16px #aaa;
  position: relative;
}
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
}

/* Admin panel styles */
.admin-container{
  max-width:1100px;
  margin:40px auto;
  background: rgba(255,255,255,0.96);
  padding:20px;
  border-radius:14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
.admin-container h2{margin-top:0;margin-bottom:18px;text-align:center}
.admin-form{display:flex;flex-direction:column;gap:10px}
.admin-form label{font-weight:600;color:#333}
.admin-form input{padding:10px;border-radius:8px;border:1px solid #ddd}
.admin-container .btn{background:#93E9BE;color:#111;border:none;padding:10px 14px;border-radius:8px;font-weight:700;cursor:pointer}
.admin-container .btn:hover{opacity:0.95}
.hidden{display:none}
.admin-container textarea{padding:10px;border-radius:8px;border:1px solid #ddd}
.admin-container #adminTrekList{background:#fff;border-radius:8px;padding:6px;border:1px solid #eee;margin-bottom:6px}

/* Dashboard demo styles */
.dashboard-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.card{background:#fff;padding:12px;border-radius:8px;border:1px solid #eee}
.stat-card{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.stat-label{font-size:0.9rem;color:#666}
.stat-value{font-size:1.4rem;font-weight:800}

.admin-pass-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:#fff;border:1px solid #ddd;border-radius:6px;padding:6px 8px;cursor:pointer}

/* Admin layout */
.admin-header{display:flex;align-items:center;gap:12px;padding:6px 8px;margin-bottom:8px}
.admin-header .small{width:56px;height:56px}
.admin-title{font-size:1.2rem;font-weight:800;color:#073b24}
.admin-sub{color:#5a6b60;margin-bottom:12px}
.admin-grid{display:grid;grid-template-columns:2fr 360px;gap:16px}
.admin-main{display:flex;flex-direction:column;gap:12px}
.admin-side{display:flex;flex-direction:column}
.panel{background:#fff;border-radius:10px;padding:12px;border:1px solid #eee}

@media (max-width: 880px){
  .admin-grid{grid-template-columns:1fr}
  .admin-container{padding:16px;margin:14px}
}
.side-nav{background:#fff;border-radius:8px;padding:10px;border:1px solid #eee}
.side-nav ul{list-style:none;margin:0;padding:0}
.side-nav li{padding:8px 6px;border-bottom:1px solid #f5f5f5}
.side-nav .nav-section{font-weight:800;padding-top:6px;padding-bottom:6px}
.sidebar-toggle{background:#fff;border:1px solid #eee;padding:8px 10px;border-radius:8px;cursor:pointer}
.hidden{display:none}
.table{width:100%;border-collapse:collapse}
.admin-topbar{display:flex;align-items:center;justify-content:space-between;padding:12px 10px;border-bottom:1px solid #eee;margin-bottom:12px}
.admin-topbar .topbar-left{display:flex;align-items:center;gap:12px}
.admin-topbar .small{width:46px;height:46px}
.topbar-right{position:relative}
.more-btn{background:#fff;border:1px solid #eee;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:20px}
.more-menu{position:absolute;right:0;top:36px;background:#fff;border:1px solid #eee;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,0.08);z-index:200;padding:8px}
.more-menu ul{list-style:none;margin:0;padding:0}
.more-menu li{padding:8px 12px;cursor:pointer;border-radius:6px}
.more-menu li:hover{background:#f1fdf4}
.hidden{display:none}
.table th,.table td{padding:8px 6px;border-bottom:1px solid #f1f1f1;text-align:left}
.table thead th{font-weight:700}


/* Package title styling for trek cards */
.trek-name .pkg-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #004225;
  font-size: 1.4rem;
  line-height: 1.2;
}

.trek-name .pkg-title__line2 {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #004225;
  font-size: 1.05rem;
  line-height: 1.2;
  margin-top: 2px;
  opacity: 0.95;
}

@media (max-width: 600px) {
  .trek-name .pkg-title { font-size: 1.2rem; }
  .trek-name .pkg-title__line2 { font-size: 0.95rem; }
}

/* Two-line button title: keep centered and control gap */
.btn-pdf {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-pdf .line-gap {
  display: block;
  margin-top: 4px; /* desktop/default gap */
}

/* Mobile tweak: slightly larger gap on small screens for better touch readability */
@media (max-width: 480px) {
  .btn-pdf .line-gap {
    margin-top: 6px; /* increase from 4px to 6px on small screens */
  }
}


/* Footer spacing: ensure 'Designed by' is visually centered between icons and copyright */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Override inline margins for precise spacing */
.footer .social-icons {
  margin-bottom: 12px !important;
}

.footer .designed-by {
  margin: 12px 0 !important;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Slightly reduce gap on very small screens */
@media (max-width: 420px) {
  .footer .social-icons { margin-bottom: 0px !important; }
  .footer .designed-by { margin: 0px 0 !important; gap: 6px; }
}

/* Mobile footer spacing reduction for all mobile devices */
@media (max-width: 768px) {
  .footer .social-icons { margin-bottom: 0px !important; }
  .footer .designed-by { margin: 0px 0 !important; }
}



