/* =================================================================
   Custom CSS  (assets/css/custom.css)
   Loaded on every page after the theme stylesheet.
   Add your site-wide custom styles here.
   ================================================================= */


/* ===== Section 1: Hero ===== */
.kl-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 800px;
  padding: 40px 20px;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
}

/* background image now lives in the HTML (<img class="kl-hero__bg">) */
.kl-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* dark overlay (rgba 0,0,0,0.39) sits above the photo */
.kl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.39);
  z-index: 1;
}

.kl-hero__title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 80px;
  line-height: 80px;
  color: #ffffff;
}

.kl-hero__subtitle {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 1095px;
  font-family: 'Arial', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 35px;
  color: #ffffff;
}

/* ---- Responsive (mobile-friendly = better SEO) ---- */
@media (max-width: 768px) {
  .kl-hero {
    min-height: 500px;
  }
  .kl-hero__title {
    font-size: 44px;
    line-height: 1.1;
  }
  .kl-hero__subtitle {
    font-size: 17px;
    line-height: 1.45;
  }
}

/* ===== Section 2: Intro + Project Meta + CTA ===== */
.kl-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 600px;
  padding: 40px 40px;
  box-sizing: border-box;
  text-align: center;
	max-width: 1760px;
	margin:0 auto;
}

.kl-intro__lead {
  margin: 0;
  max-width: 1100px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 40px;
  color: #000000;
}

.kl-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1280px;
  margin: 20px 0;
}

.kl-meta__item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 0;
}

.kl-meta__label {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 35px;
  color: #000000;
	text-align: left;
}

.kl-meta__value {
  margin: 0;
  font-family: 'Arial',  serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 30px;
  color: rgba(0, 0, 0, 0.54);
	text-align:left;
}

.kl-btn {
  display: inline-block;
  padding: 10px 30px;
  background: #eca703;
  color: #fffafa;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
}

.kl-btn:hover {
  background: #d59602;
}

@media (max-width: 768px) {
  .kl-intro {
    padding: 40px 20px;
  }
  .kl-intro__lead {
    font-size: 22px;
    line-height: 1.4;
  }
  .kl-meta {
    grid-template-columns: repeat(2, 1fr);
  }
	.kl-meta__label,.kl-meta__value{
		text-align:Center;
	}
	
}

@media (max-width: 480px) {
  .kl-meta {
    grid-template-columns: 1fr;
  }
}

/* ===== Section 3: Two-column image showcase ===== */
.kl-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.kl-showcase__img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.kl-showcase__img--light {
  background: #ececee;
}

@media (max-width: 768px) {
  .kl-showcase {
    grid-template-columns: 1fr;
  }
  .kl-showcase__img {
    height: 300px;
  }
}

/* ===== Reusable titled text columns (Section 4, Section 8, ...) ===== */
.kl-cols {
  display: flex;
  gap: 50px;
  padding: 80px 40px;
  box-sizing: border-box;
	max-width:1760px;
	margin:0 auto;
}

.kl-block {
  flex: 1 1 0;
  min-width: 0;
}

.kl-block__title {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 35px;
  color: #000000;
}

.kl-block__text {
  margin: 0;
  font-family: 'Arial', serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 30px;
  color: #464646;
}

@media (max-width: 768px) {
  .kl-cols {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
  }
}

/* Section 8 variant: light grey panel, roomier padding, centered columns */
.kl-cols--gray {
  gap: 80px;
/*   padding: 100px 80px; */
	padding: 100px 40px;
  align-items: center;
  background: #f7f7f7;
}

@media (max-width: 768px) {
  .kl-cols--gray {
    gap: 30px;
    padding: 60px 20px;
    align-items: stretch;
  }
}

/* ===== Section 5: Numbered highlights ===== */
.kl-numbered {
  display: flex;
  flex-direction: column;
/*   padding: 60px 80px; */
	 padding: 60px 40px;
  box-sizing: border-box;
	max-width:1760px;
	margin:0 auto;
}

.kl-numbered__row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 20px 0;
}

.kl-numbered__num,
.kl-numbered__title {
  transition: color 0.2s ease;
}

/* number + title turn gold on hover */
.kl-numbered__item:hover .kl-numbered__num,
.kl-numbered__item:hover .kl-numbered__title {
  color: #eca703;
}

.kl-numbered__num {
  flex: 0 0 139px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 80px;
  line-height: 1;
  color: #000000;
}

.kl-numbered__title {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 33px;
  line-height: 30px;
  color: #000000;
}

.kl-numbered__text {
  flex: 0 0 609px;
  margin: 0;
  font-family: 'Arial', serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 30px;
  color: #464646;
}

.kl-numbered__wave {
  width: 100%;
  height: 20px;
  margin: 25px 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='20' viewBox='0 0 38 20'%3E%3Cpath d='M0 10 Q9.5 0 19 10 T38 10' fill='none' stroke='%23eca703' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left center;
  background-size: 38px 20px;
}

@media (max-width: 768px) {
  .kl-numbered {
    padding: 40px 20px;
  }
  .kl-numbered__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .kl-numbered__num,
  .kl-numbered__title,
  .kl-numbered__text {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* ===== Section 6: Center-mode slider ===== */
.kl-slider {
  padding: 0 0 80px;
  overflow: hidden;
}

/* each slide is the center width; adjacent slides peek on the sides */
.kl-slider__slide {
  width: 637px !important;
  max-width: 90vw;
  height: 478px;
}

.kl-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .kl-slider__slide {
    height: 300px;
  }
}

/* ===== Section 7: Franchisee video ===== */
.kl-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 80px;
  box-sizing: border-box;
  text-align: center;
}

.kl-video__eyebrow {
  margin: 0;
  max-width: 615px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  color: rgba(0, 0, 0, 0.55);
}

.kl-video__lead {
  margin: 0;
  max-width: 797px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 35px;
  color: #000000;
}

.kl-video__frame {
  position: relative;
  width: 980px;
  max-width: 100%;
  aspect-ratio: 980 / 600;
  overflow: hidden;
}

.kl-video__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.kl-video__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* dark overlay over the poster */
.kl-video__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.kl-video__play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.kl-video__poster:hover .kl-video__play {
  transform: scale(1.08);
}

/* the loaded video / embed fills the frame */
.kl-video__player {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000000;
}

@media (max-width: 768px) {
  .kl-video {
    padding: 40px 20px;
  }
  .kl-video__lead {
    font-size: 20px;
    line-height: 1.4;
  }
}
