/* Reset some defaults for consistency */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base font settings */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background-color: #fdfdfd; /* soft white */
  color: #333; /* dark gray for easy reading */
}

/* Header */
header {
  background-color: #722F37; /* wine color */
  color: #FFD700; /* gold/yellow text */
  text-align: center;
  padding: 20px 0;
  font-size: 2rem;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #722F37; /* same wine color */
  color: #FFD700;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.testimonial-card {
  background: #f9f9f9;         /* light background */
  border-left: 4px solid #4CAF50; /* accent color strip */
  padding: 1em 1.5em;
  margin: 1.5em 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* soft shadow */
}

.testimonial-text {
  font-style: italic;          /* quotes feel more natural italicized */
  margin: 0;
  line-height: 1.5;
  color: #333;
}

.attribution {
  font-weight: bold;           /* makes name stand out */
  font-size: 1.1em;
  margin-top: 0.5em;
  text-align: right;           /* aligns name to the right */
  color: #555;
}



/* Stack on small screens */
@media (max-width: 700px) {
  .text-image {
    flex-direction: column;     /* stack */
    align-items: flex-start;
  }
  .text-image img {
    order: 0;                   /* image above text on mobile (optional) */
    max-width: 100%;
    flex: 0 0 auto;
  }
}

/* Optional: give some breathing room for page content so footer doesn’t overlap */
main {
  padding: 50px;
  margin-bottom: 60px; /* enough space for footer */
}

/* =========================
   Text + Image row layout
   ========================= */
.text-image {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 24px 0;
}

/* Choose side via container class */
.text-image.image-right .copy { order: 1; }
.text-image.image-right .media { order: 2; }
.text-image.image-left  .copy { order: 2; }
.text-image.image-left  .media { order: 1; }

/* Columns */
.text-image .copy {
  flex: 1 1 0;
  min-width: 0;
  max-width: 65ch; /*keeps text line length comfy*/
}

.text-image .media {
  /* flex: 0 0 30%;  image takes ~30% of the row */
  /* max-width: 800px; */
  flex: 0 0 clamp(260px, 30vw, 420px);
}

/* Image sizing without distortion */
.text-image .media img {
  display: block;
  /* max-width: 320px;   adjust as needed */
  width: 100%;
  height: auto;
  border-radius: 8px; /* optional */
  /* float: none !important; */
  /* margin: 0 !important; */
}

/* Center the main content and limit width */
.container {
  max-width: 72rem;            /* ~1152px */
  margin-inline: auto;
  padding-inline: 40px;        /* your side padding */
}



/* Mobile: stack */
@media (max-width: 900px) {
  .text-image {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .text-image .copy{
    max-width: none; /*allow full width when stacked */
  }
  .text-image .media img {
    max-width: 100%;
  }
}

/* ---------- Contact form styles ---------- */
.kt-form {
  margin-top: 1rem;
  max-width: 720px;
}

.kt-form .field {
  margin-bottom: 1rem;
}

.kt-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.kt-form input[type="text"],
.kt-form input[type="email"],
.kt-form input[type="tel"],
.kt-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font: inherit;
  line-height: 1.4;
  background: #fff;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.kt-form input:focus,
.kt-form textarea:focus {
  outline: none;
  border-color: #722F37;             /* wine */
  box-shadow: 0 0 0 3px rgba(114,47,55,0.15);
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #722F37;               /* wine */
  color: #FFD700;                    /* yellow text */
  border-color: #722F37;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  color: #722F37;
  border-color: #722F37;
}

.btn-secondary:hover {
  background: rgba(114,47,55,0.08);
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.95em;
  color: #555;
}

.soft {
  border: 0;
  margin: 2rem 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
}

/* Hide honeypot field accessibly */
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Utility for screen-reader-only content */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}




