/* Global Styles */
body {
  font-family: "Montserrat", "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

/* Header */
header {
  text-align: center;
  padding: 1.5rem 1rem;
}

.brand-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.brand-logo {
  height: 80px;
}

h1 {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 2rem;
  margin: 0;
  color: #114f11ff;
  letter-spacing: 6px;
  font-weight: 100;
}

h2 {
  font-weight: 500;
  margin-top: 0.5rem;
  color: #3f7f3fff;
}

.tagline {
  max-width: 600px;
  margin: 1rem auto;
  font-size: 1.1rem;
  color: #333;
}

/* CTA Button */
.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 12px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  background: #0a2d6a;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.cta:hover {
  background: #133f99;
}

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

section {
  margin-bottom: 2.5rem;
}

ol {
  padding-left: 1.2rem;
}

/* Form */
form {
  margin-top: 1rem;
}

form input[type="email"] {
  padding: 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 8px;
}

form button {
  padding: 10px 20px;
  background: #0a2d6a;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background: #133f99;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #ffffff;
  font-size: 0.9rem;
}

footer a {
  margin: 0 8px;
  color: #0a2d6a;
  text-decoration: none;
}

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


/* Layout helpers */
:root{
  --ink:#1d1d1f;
  --muted:#3f7f3fff;
  --brand:#3f7f3fff;         
  --brand-strong:#114f11ff;
  --radius:18px;
}


.container{
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO */
.hero{
  padding: 18px 0 10px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1fr minmax(320px, 480px) 1fr;
  align-items: center;
  gap: 32px;
}

/* Side images */
.hero-img{
  margin: 0;
}
.hero-img img{
  width: 100%;
  height: 520px;                 /* tall card look */
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* Center copy */
.hero-copy{
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink);
}

.hero-title{
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 4.5vw, 4rem); /* big headline */
  margin: 0 0 16px;
}

.hero-sub{
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 56ch;
}

/* CTA */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary{
  background: var(--brand);
  color: #fff;
  padding: 14px 26px;
  box-shadow: 0 10px 20px rgba(86,36,21,.15);
}
.btn-primary:hover{
  background: var(--brand-strong);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(86,36,21,.22);
}
.btn-icon{
  font-size: 1.1em;
  line-height: 1;
}

/* Responsive */
@media (max-width: 1024px){
  .hero-img img{ height: 460px; }
}
@media (max-width: 900px){
  .hero-grid{
    grid-template-columns: 1fr;           /* stack */
    gap: 22px;
  }
  .hero-img:first-child{ order: 1; }
  .hero-copy{ order: 2; }
  .hero-img:last-child{ order: 3; }
  .hero-img img{ height: 360px; }
}
@media (max-width: 520px){
  .hero{ padding: 28px 0 24px; }
  .hero-img img{ height: 280px; border-radius: 14px; }
  .btn-primary{ padding: 12px 20px; }
}

/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

/* Popup box */
.popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  position: relative;
  text-align: center;
  animation: slideUp 0.35s ease;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.3rem;
  cursor: pointer;
  color: #666;
}
.popup-close:hover {
  color: #000;
}

/* Form */
.popup-content form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.popup-content input[type="email"] {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.popup-submit {
  padding: 12px;
  font-size: 1rem;
  background: #562415;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.25s ease;
}
.popup-submit:hover {
  background: #6c2b19;
}

/* Status message */
.popup-status {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #333;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; } 
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Header layout */
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between; /* logo left, buttons right */
  gap:12px;
  padding:12px 20px;            /* tweak as needed */
}

.brand-logo{
  height:40px;                  /* adjust size */
  width:auto;
  display:block;
}

.header-actions{
  margin-left:auto;             /* pushes actions to the right */
  display:flex;
  align-items:center;
  gap:10px;                     /* space between buttons */
}

/* Optional: make anchors look consistently like buttons if needed */
.header-actions .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:10px;
  text-decoration:none;
}

/* Optional: on very small screens stack buttons but keep them right-aligned */
@media (max-width: 520px){
  .site-header{ flex-wrap:wrap; }
  .header-actions{ width:100%; justify-content:flex-end; }
}
