/* ------------------------------
   GLOBAL TRAIL AGENT STYLES
   ------------------------------ */

/* Ensure modern font stack throughout */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Override any Times New Roman */
* {
  font-family: inherit;
}

/* Page header improvements */
.site-header, header {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}

.site-title a, .site-title {
  color: white !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
}

/* Main content area */
.site-main, main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Home page welcome section */
.home .entry-content {
  font-size: 18px;
  line-height: 1.7;
  color: #374151;
}

.home h1 {
  font-size: 48px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.home h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

/* Improve link styling */
a {
  color: #059669;
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: #047857;
  text-decoration: underline;
}

/* Button improvements for WordPress default buttons */
.wp-block-button__link,
button:not([class*="tcr-"]):not(.tcr-photo-del):not(.tcr-geolocate),
input[type="submit"],
.button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(5,150,105,.3);
  transition: all .2s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.wp-block-button__link:hover,
button:not([class*="tcr-"]):not(.tcr-photo-del):not(.tcr-geolocate):hover,
input[type="submit"]:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5,150,105,.4);
  background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
  color: #fff !important;
  text-decoration: none;
}

/* Login page styling */
.login {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.login h1 a {
  background-image: none !important;
  color: #059669 !important;
  font-size: 24px;
  font-weight: 800;
  text-indent: 0;
  width: auto;
  height: auto;
}

.login form {
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  border-radius: 12px;
}

.login input[type="submit"] {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  transition: all .2s ease;
}

.login input[type="submit"]:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5,150,105,.3);
}

/* Footer */
.site-footer, footer {
  background: #1f2937;
  color: #9ca3af;
  padding: 40px 20px;
  margin-top: 60px;
  text-align: center;
}

.site-footer a {
  color: #d1fae5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .home h1 {
    font-size: 36px;
  }

  .home h2 {
    font-size: 24px;
  }

  .site-main, main {
    padding: 20px 16px;
  }
}
