/*
Theme Name: KJ Notary Solutions Theme
Theme URI: https://kjnotarysolutions.com
Author: Khadijah (KJ)
Description: Elegant & premium notary theme for KJ Notary Solutions.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: kj-notary
*/

body {
  margin: 0;
  font-family: 'Arvo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #222222;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Arvo', sans-serif;
  font-weight: bold;
}
a {
  color: #000000;
  text-decoration: none;
}

a:hover {
  color: #E9B3C7;
}

.kj-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.kj-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.kj-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.kj-logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.kj-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.kj-nav a {
  position: relative;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kj-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: #E9B3C7;
  transition: width 0.2s ease;
}

.kj-nav a:hover::after,
.kj-nav .current-menu-item > a::after {
  width: 100%;
}

.kj-hero {
  padding: 4rem 0 3rem;
}

.kj-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.kj-hero-photo-wrap {
  position: relative;
  max-width: 380px;
}

.kj-hero-photo-bg {
  position: absolute;
  top: 12%;
  left: -10%;
  width: 100%;
  height: 80%;
  background: #F3C6D8;
  border-radius: 24px;
  z-index: 0;
}

.kj-hero-photo {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.kj-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.kj-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: #888888;
  margin-bottom: 0.5rem;
}

.kj-hero-title {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

.kj-hero-subtitle {
  font-size: 1.05rem;
  color: #444444;
  margin-bottom: 1.25rem;
}

.kj-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.kj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
}

.kj-btn-primary {
  background: #E9B3C7;
  color: #000000;
  border-color: #E9B3C7;
}

.kj-btn-primary:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.kj-btn-outline {
  background: transparent;
  color: #000000;
  border-color: #000000;
}

.kj-btn-outline:hover {
  background: #000000;
  color: #ffffff;
}

.kj-section {
  padding: 3.5rem 0;
}

.kj-section-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.kj-section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: #999999;
  margin-bottom: 0.25rem;
}

.kj-section-underline {
  width: 60px;
  height: 3px;
  background: #E9B3C7;
  margin: 0.5rem 0 1.5rem;
}

.kj-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.kj-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}

.kj-card {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 1.5rem;
  background: #ffffff;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.kj-card:hover {
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  border-color: #F3C6D8;
}

.kj-card-title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.kj-card-text {
  font-size: 0.95rem;
  color: #555555;
}

.kj-footer {
  border-top: 1px solid #e5e5e5;
  padding: 2.5rem 0 1.5rem;
  background: #fafafa;
  font-size: 0.9rem;
  color: #555555;
}

.kj-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.kj-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #e5e5e5;
  padding-top: 1rem;
  font-size: 0.85rem;
}

.kj-footer-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.kj-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kj-footer a:hover {
  color: #E9B3C7;
}

/* Tables (Fee Schedule) */
.kj-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.kj-table th,
.kj-table td {
  padding: 0.75rem 0.75rem;
  border-bottom: 1px solid #e5e5e5;
}

.kj-table th {
  text-align: left;
  font-weight: 600;
  background: #fafafa;
}

/* Contact form basic styling (for default WP form plugins or HTML) */
.kj-form-row {
  margin-bottom: 1rem;
}

.kj-form-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.kj-form-row input,
.kj-form-row select,
.kj-form-row textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #cccccc;
  font-size: 0.95rem;
  font-family: inherit;
}

.kj-form-row textarea {
  min-height: 120px;
}

/* Responsive */
@media (max-width: 900px) {
  .kj-hero-inner {
    grid-template-columns: 1fr;
  }
  .kj-hero-photo-wrap {
    margin: 0 auto 2rem;
  }
  .kj-grid-3,
  .kj-grid-4,
  .kj-footer-top {
    grid-template-columns: 1fr;
  }
  .kj-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
/* Style WordPress/Jetpack forms to match theme */
.kj-contact-left form input,
.kj-contact-left form textarea,
.kj-contact-left form select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #cccccc;
    font-size: 0.95rem;
    font-family: inherit;
    margin-bottom: 1rem;
}

.kj-contact-left form button,
.kj-contact-left form input[type="submit"] {
    background: #E9B3C7;
    color: #000;
    border: 2px solid #E9B3C7;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.kj-contact-left form button:hover,
.kj-contact-left form input[type="submit"]:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}
/* Footer Layout */
.kj-footer {
    background: #000;
    color: #fff;
    padding: 0;
    margin-top: 4rem;
    font-size: 0.95rem;
}

.kj-footer-accent {
    background: #E9B3C7;
    height: 6px;
    width: 100%;
}

/* Centered Footer */
.kj-footer-inner {
    text-align: center;
    padding: 2rem 1.5rem 1rem; /* reduced bottom padding */
    max-width: 700px;
    margin: 0 auto;
}



/* Contact Info */
.kj-footer-contact a {
    color: #E9B3C7;
    text-decoration: none;
}

.kj-footer-contact a:hover {
    text-decoration: underline;
}

/* Button */
.kj-footer-button {
    display: inline-block;
    background: #E9B3C7;
    color: #000;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid #E9B3C7;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.kj-footer-button:hover {
    background: #fff;
    color: #000;
}

/* Social Icons */
.kj-footer-social i {
    font-size: 1.3rem;
    color: #E9B3C7;
    margin-top: 0.5rem;
}

.kj-footer-social i:hover {
    color: #fff;
}
/* Sticky Footer on Short Pages */
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
}
.kj-footer {
    margin-top: auto;
}

/* Footer Layout */
.kj-footer {
    background: #000;
    color: #fff;
    padding: 0;
    font-size: 0.95rem;
}

.kj-footer-accent {
    background: #E9B3C7;
    height: 6px;
    width: 100%;
}

/* Centered Footer Content */
.kj-footer-inner {
    text-align: center;
    padding: 2.2rem 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Info */
.kj-footer-contact a {
    color: #E9B3C7;
    text-decoration: none;
}
.kj-footer-contact a:hover {
    text-decoration: underline;
}

/* Book Appointment Button */
.kj-footer-button {
    display: inline-block;
    background: #E9B3C7;
    color: #000;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid #E9B3C7;
    margin: 1rem 0;
    font-size: 0.9rem;
}
.kj-footer-button:hover {
    background: #fff;
    color: #000;
}

/* Social Icons */
.kj-footer-social a {
    margin: 0 0.4rem;
}
.kj-footer-social i {
    font-size: 1.3rem;
    color: #E9B3C7;
}
.kj-footer-social i:hover {
    color: #fff;
}

/* Mobile Spacing */
@media (max-width: 768px) {
    .kj-footer-inner {
        padding: 2rem 1rem;
    }
    .kj-footer-button {
        margin-top: 1.2rem;
    }
}
.kj-footer-copyright {
    text-align: center;
    color: #E9B3C7;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem; /* pulls it upward */
}

.kj-footer-legal {
    text-align: center;
    margin-top: 0.2rem; /* closer to copyright */
    margin-bottom: 0.8rem; /* no more huge gap at bottom */
}

.kj-footer-legal a {
    color: #E9B3C7;
    font-size: 0.8rem;
    text-decoration: none;
}

.kj-footer-legal a:hover {
    text-decoration: underline;
}

