:root{
  --forest:#1E3D36;   /* Deep Forest Green */
  --bronze:#AD8A64;   /* Brushed Bronze */
  --jet:#111111;      /* Jet Black */
  --smoke:#F5F5F5;    /* White Smoke */
  --white:#ffffff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Spectral', Georgia, 'Times New Roman', serif;
  color:var(--jet);
  background:var(--smoke);
  line-height:1.6;
  font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
  font-family:'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  font-weight: 600;
}

/* Containers */
.container{
  width:min(1100px, 92%);
  margin-inline:auto;
}
.narrow{width:min(800px, 92%)}

/* Header */
.site-header{
  position:sticky; top:0; z-index:999;
  background:var(--forest);
  color:var(--white);
  border-bottom:1px solid rgba(255,255,255,.08);
  padding-top:max(env(safe-area-inset-top), 0px); /* iOS safe area */
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center;
  text-decoration:none; color:var(--white);
}
.brand-logo{height:32px; width:auto}

/* Nav */
.main-nav ul{list-style:none; margin:0; padding:0; display:flex; gap:1.2rem}
.main-nav a{
  color:var(--white); text-decoration:none; font-weight:500; padding:.4rem .3rem;
  border-bottom:2px solid transparent;
  font-family: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}
.main-nav a:hover, .main-nav a.active{border-bottom-color:var(--bronze)}

.nav-toggle{
  display:none; background:none; border:none; cursor:pointer;
}
.nav-toggle span{
  display:block; width:24px; height:2px; background:var(--white); margin:5px 0;
}

/* Hero */
.hero{
  position:relative; min-height:68vh;
  display:grid; place-items:center; text-align:center;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  background-image: url("assets/HeroImage.png");
  background-size:cover; background-position:center;
  filter:grayscale(25%);
  opacity: 0.9; /* increased opacity to 90% */
}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(17,17,17,.25), rgba(17,17,17,.25));
}
.hero-text-container {
  background-color: rgba(255, 255, 255, 0.65);
  padding: 1.5rem 2.5rem; /* adjusted horizontal padding */
  border-radius: 8px;
  display: inline-block; /* fits to content */
  width: auto; /* ensures container fits content */
  max-width: 95%; /* prevents overflow on small screens */
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.hero-content{
  position:relative; z-index:1; color:var(--forest);
}
.hero h1{
  font-size:clamp(2.2rem, 4vw + 1rem, 3.8rem);
  margin:.25em 0 .15em 0;
  letter-spacing: 1px;
  line-height: 1.2;
}
.hero p.tagline {
  font-size:clamp(1.2rem, 1.5vw + .6rem, 1.5rem);
  opacity:.95;
  margin-bottom: 0; /* removed bottom margin */
  font-family: 'Spectral', Georgia, 'Times New Roman', serif; /* matched to main body font */
  font-weight: 600; /* made bold */
  letter-spacing: 0.3px;
}

/* Sections */
.section{
  padding:64px 0;
  background:var(--smoke);
  scroll-margin-top:84px; /* ensure headings aren't hidden under sticky header */
}
.section-alt{
  background:var(--white);
  border-top:1px solid rgba(0,0,0,.05);
  border-bottom:1px solid rgba(0,0,0,.05);
}
.section-title{
  font-size:clamp(1.6rem, 1.2vw + .9rem, 2.2rem);
  color:var(--forest);
  margin:0 0 24px 0;
  text-align: center;
}
.section p{
  margin:.8rem 0 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.italic {
  font-style: italic;
}

/* Cards */
.cards{
  display:grid; gap:24px;
}
.cards.three{grid-template-columns:repeat(3, 1fr)}
.card{
  background:var(--white);
  border:1px solid rgba(17,17,17,.06);
  border-left:4px solid var(--bronze);
  border-radius:14px;
  padding:22px 22px 24px 22px;
  box-shadow:0 6px 14px rgba(0,0,0,.06);
}
.card h3{
  margin:.2rem 0 .6rem 0;
  color:var(--jet);
  font-size: 1.3rem; /* slightly smaller to fit on one line */
  white-space: nowrap; /* prevent wrapping */
}
.card p, .card li{
  color:#2a2a2a;
  font-size: 1.05rem;
  line-height: 1.6;
}
.card.icon-left{
  display:flex; align-items:flex-start; gap:14px;
}
.card .icon{
  color:var(--bronze);
  min-width:28px; margin-top:2px;
}
.card .icon svg{width:28px; height:28px}

/* Lists */
ul.tight{margin:.3rem 0 0 1rem; padding:0}
ul.tight li{margin:.15rem 0}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap:.6rem;
  background:var(--bronze);
  color:var(--white);
  border:none; border-radius:999px;
  padding:.75rem 1.4rem; text-decoration:none; font-weight:600;
  box-shadow:0 6px 14px rgba(173,138,100,.25);
  margin-top: 1.5rem; /* adjusted spacing */
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.05rem;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.btn:hover{
  filter:brightness(.96);
  transform: translateY(-2px);
}
.btn:focus{outline:3px solid rgba(173,138,100,.45); outline-offset:2px}
.btn-icon{
  display: flex;
  align-items: center;
}
.btn-icon svg{width:18px; height:18px; stroke:currentColor}

/* Contact section */
.text-center {
  text-align: center;
}

/* Contact Form Styling */
.contact-description {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  border: 1px solid rgba(17,17,17,.06);
  border-left: 4px solid var(--bronze);
  max-width: 700px;
  margin: 64px auto 32px auto; /* Reduced bottom margin from 64px to 32px */
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem; /* Reduced from 1.5rem to 1rem */
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--jet);
  font-family: 'Source Sans Pro', sans-serif;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 8px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  color: var(--jet);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(173,138,100,0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.captcha-container {
  margin: 1.5rem 0;
}

.form-submit-container {
  text-align: center;
}

.form-submit {
  min-width: 180px;
}

.form-result {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  display: none;
}

.form-result.success {
  display: block;
  background-color: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #065f46;
}

.form-result.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

/* Footer */
.site-footer{
  background:var(--forest);
  color:var(--white);
  padding:20px 0;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.08);
}
.site-footer small{
  opacity:.9;
  font-family: 'Source Sans Pro', sans-serif;
}

/* --- Responsive & Mobile Optimizations --- */
@supports (min-height: 1svh) {
  .hero{ min-height:68svh; }
}
@supports (min-height: 1dvh) {
  .hero{ min-height:68dvh; }
}

:focus-visible{ outline: 3px solid rgba(173,138,100,.65); outline-offset: 2px; }

.bold-numbers {
  font-weight: 700;
}

@media (max-width: 900px){
  .header-inner{ padding:12px 0; }
  .cards.three{grid-template-columns:1fr 1fr}
  .hero-text-container { padding: 1.2rem 1.5rem; }
  .card h3 { white-space: normal; }
  
  /* Form responsive */
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Adjust contact form gap for mobile */
  .contact-form {
    margin: 50px auto 25px auto;
  }
}

@media (max-width: 620px){
  /* Typography and spacing */
  .section{ padding:50px 0; }
  .section-title{ margin-bottom:20px; }
  .hero{
    padding:48px 0;
    min-height:72vh; /* fallback for older browsers */
  }
  .hero-overlay{ background:linear-gradient(180deg, rgba(17,17,17,.32), rgba(17,17,17,.28)); }
  .hero-content{ padding:0 4vw; }
  .hero h1{ font-size: clamp(1.8rem, 7.2vw, 2.4rem); letter-spacing:.2px; }
  .hero p.tagline{ font-size: clamp(1.1rem, 4.2vw, 1.25rem); }
  .hero-text-container { padding: 1rem 1.2rem; }

  /* Cards stack and tighten spacing */
  .cards.three{ grid-template-columns:1fr; gap:18px; }
  .card{ padding:18px; border-radius:12px; }

  /* Form responsive */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Mobile nav: full-screen overlay with scroll lock */
  .nav-toggle{ display:block; width:44px; height:44px; padding:6px; }
  .nav-toggle span{ width:26px; height:3px; }
  .main-nav{
    position: fixed;
    top: calc(56px + env(safe-area-inset-top));
    left: 0; right: 0; bottom: 0;
    background: var(--forest);
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .main-nav.open{ display:block; }
  .main-nav ul{ flex-direction: column; gap: 0; padding: 8px 4% 18px; }
  .main-nav a{
    display:block;
    padding: 14px 4%;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 1.05rem;
  }
  body.nav-open{ overflow: hidden; }
}