/* ═══════════════════════════════════════════════════
   LimbTrimmer Directory — Global Styles
   ═══════════════════════════════════════════════════ */

:root {
  --black: #000;
  --dark-green: #31531a;
  --fresh-green: #6ba82f;
  --light-green: #e8f5d8;
  --off-white: #f8f9f6;
  --white: #fff;
  --gray-100: #f3f4f2;
  --gray-200: #e5e7e3;
  --gray-400: #9ca39a;
  --gray-600: #5a6158;
  --gray-800: #2a2e28;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fresh-green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--dark-green); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.2; color: var(--gray-800); }

/* ── LAYOUT ── */
.lt-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.lt-section { padding: 60px 0; }
.lt-section--gray { background: var(--gray-100); }

/* ── HEADER ── */
.lt-header {
  background: var(--black);
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.lt-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.lt-logo img { height: 52px; vertical-align: middle; }
.lt-logo a { display: flex; align-items: center; }
.lt-nav { display: flex; gap: 28px; align-items: center; }
.lt-nav a { color: rgba(255,255,255,.75); font-size: 14px; font-weight: 500; }
.lt-nav a:hover { color: #fff; }
.lt-nav .lt-btn--nav {
  background: var(--fresh-green);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: background var(--transition);
}
.lt-nav .lt-btn--nav:hover { background: #7dbd3d; }

/* ── BREADCRUMBS ── */
.lt-breadcrumbs {
  background: var(--gray-100);
  padding: 12px 32px;
  font-size: 13px;
  color: var(--gray-400);
  border-bottom: 1px solid var(--gray-200);
}
.lt-breadcrumbs a { color: var(--gray-600); }
.lt-breadcrumbs a:hover { color: var(--fresh-green); }
.lt-breadcrumbs span { margin: 0 6px; }

/* ── BUTTONS ── */
.lt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
}
.lt-btn--primary { background: var(--fresh-green); color: #fff; }
.lt-btn--primary:hover { background: #7dbd3d; color: #fff; }
.lt-btn--outline { background: transparent; color: var(--fresh-green); border: 2px solid var(--fresh-green); }
.lt-btn--outline:hover { background: var(--fresh-green); color: #fff; }
.lt-btn--dark { background: var(--dark-green); color: #fff; }
.lt-btn--dark:hover { background: #3d6b20; color: #fff; }
.lt-btn--white { background: #fff; color: var(--dark-green); }
.lt-btn--white:hover { background: var(--light-green); color: var(--dark-green); }
.lt-btn--sm { padding: 8px 18px; font-size: 13px; }
.lt-btn--lg { padding: 16px 36px; font-size: 17px; }

/* ── TIER BADGES ── */
.lt-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lt-badge--sponsor { background: #f39c12; color: #fff; }
.lt-badge--premium { background: var(--fresh-green); color: #fff; }
.lt-badge--featured { background: #3498db; color: #fff; }
.lt-badge--free { background: var(--gray-200); color: var(--gray-600); }

/* ── STARS ── */
.lt-stars { color: #f5c518; font-size: 14px; display: inline-flex; gap: 1px; }
.lt-stars-text { font-size: 13px; color: var(--gray-600); margin-left: 6px; }

/* ── CARDS ── */
.lt-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.lt-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.lt-card__img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.lt-card__body { padding: 16px; }
.lt-card__title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--gray-800);
}
.lt-card__meta { font-size: 13px; color: var(--gray-600); }

/* ── SPONSOR BANNER ── */
.lt-sponsor {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  min-height: 220px;
  display: flex;
  align-items: center;
}
.lt-sponsor__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lt-sponsor__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 100%);
}
.lt-sponsor__content {
  position: relative;
  z-index: 2;
  padding: 32px 40px;
  color: #fff;
  max-width: 600px;
}
.lt-sponsor__content h3 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.lt-sponsor__buttons { display: flex; gap: 12px; margin-top: 16px; }

/* ── PREMIUM CARDS ── */
.lt-premium-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.lt-premium-card { display: flex; gap: 20px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.lt-premium-card:hover { box-shadow: var(--shadow-md); }
.lt-premium-card__img { width: 320px; min-height: 220px; object-fit: cover; flex-shrink: 0; }
.lt-premium-card__body { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.lt-premium-card__title { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 18px; margin-bottom: 6px; }

/* ── LISTINGS GRID ── */
.lt-listings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* ── PROFILE PAGE ── */
.lt-profile { display: grid; grid-template-columns: 1fr 360px; gap: 32px; }
.lt-profile__main { min-width: 0; }
.lt-profile__sidebar { position: sticky; top: 80px; align-self: start; }

.lt-profile__hero {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.lt-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.lt-detail-item { display: flex; gap: 10px; align-items: flex-start; }
.lt-detail-item__icon { color: var(--fresh-green); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.lt-detail-item__label { font-size: 12px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; }
.lt-detail-item__value { font-size: 15px; font-weight: 500; }

.lt-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.lt-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--light-green);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-green);
}
.lt-service-tag::before { content: '✓'; font-weight: 700; }

.lt-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}
.lt-gallery img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 8px;
}

/* ── SIDEBAR ── */
.lt-sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px;
  margin-bottom: 20px;
}
.lt-sidebar-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

/* ── FORMS ── */
.lt-form-group { margin-bottom: 14px; }
.lt-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.lt-form-group input,
.lt-form-group select,
.lt-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  transition: border-color var(--transition);
}
.lt-form-group input:focus,
.lt-form-group select:focus,
.lt-form-group textarea:focus {
  outline: none;
  border-color: var(--fresh-green);
  box-shadow: 0 0 0 3px rgba(107,168,47,.15);
}
.lt-form-note {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 8px;
}

/* ── HERO SECTIONS ── */
.lt-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  color: #fff;
  min-height: 400px;
}
.lt-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.lt-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.lt-hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.lt-hero__content h1 { color: #fff; font-size: 42px; margin-bottom: 12px; }
.lt-hero__content p { font-size: 18px; opacity: .9; margin-bottom: 24px; }

/* ── SEARCH BAR ── */
.lt-search {
  display: flex;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  margin: 0 auto;
}
.lt-search input {
  flex: 1;
  border: none;
  padding: 16px 24px;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  color: var(--gray-800);
}
.lt-search button {
  background: var(--fresh-green);
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background var(--transition);
}
.lt-search button:hover { background: #7dbd3d; }

/* ── STATS BAR ── */
.lt-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
}
.lt-stat { text-align: center; }
.lt-stat__number { font-size: 24px; font-weight: 800; display: block; }
.lt-stat__label { font-size: 13px; opacity: .8; }

/* ── CITY HERO ── */
.lt-city-hero {
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
}
.lt-city-hero h1 { font-size: 34px; margin-bottom: 8px; }
.lt-city-hero p { color: var(--gray-600); font-size: 16px; margin-bottom: 16px; }
.lt-city-stats { display: flex; gap: 32px; }
.lt-city-stat { text-align: center; }
.lt-city-stat__number { font-size: 22px; font-weight: 800; color: var(--dark-green); display: block; }
.lt-city-stat__label { font-size: 12px; color: var(--gray-400); text-transform: uppercase; }

/* ── HOW IT WORKS ── */
.lt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.lt-step { text-align: center; padding: 24px; }
.lt-step__number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--fresh-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 16px;
}
.lt-step h3 { font-family: 'DM Sans', sans-serif; font-size: 18px; margin-bottom: 8px; }
.lt-step p { color: var(--gray-600); font-size: 14px; }

/* ── CTA BANNER ── */
.lt-cta {
  background: var(--dark-green);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.lt-cta h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.lt-cta p { font-size: 17px; opacity: .9; margin-bottom: 24px; }

/* ── PAGINATION ── */
.lt-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}
.lt-pagination a, .lt-pagination span {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}
.lt-pagination a { background: var(--gray-100); color: var(--gray-800); }
.lt-pagination a:hover { background: var(--fresh-green); color: #fff; }
.lt-pagination .current { background: var(--fresh-green); color: #fff; }

/* ── GOOGLE MAP ── */
.lt-map {
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid var(--gray-200);
}
.lt-map iframe { width: 100%; height: 100%; border: 0; }

/* ── BUSINESS HOURS ── */
.lt-hours-table { width: 100%; font-size: 14px; }
.lt-hours-table tr { border-bottom: 1px solid var(--gray-100); }
.lt-hours-table td { padding: 6px 0; }
.lt-hours-table td:first-child { font-weight: 600; color: var(--gray-600); }
.lt-hours-table td:last-child { text-align: right; }

/* ── FOOTER ── */
.lt-footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding: 56px 32px 0;
}
.lt-footer a { color: rgba(255,255,255,.7); font-size: 13px; }
.lt-footer a:hover { color: #fff; }
.lt-footer h5 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  margin-bottom: 14px;
}
.lt-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.lt-footer-col { display: flex; flex-direction: column; gap: 8px; }
.lt-footer-brand p { font-size: 13px; line-height: 1.5; margin-top: 12px; }
.lt-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── ALERT / SUCCESS ── */
.lt-alert {
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}
.lt-alert--success { background: var(--light-green); color: var(--dark-green); border: 1px solid var(--fresh-green); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .lt-premium-grid { grid-template-columns: 1fr; }
  .lt-listings-grid { grid-template-columns: repeat(3, 1fr); }
  .lt-profile { grid-template-columns: 1fr; }
  .lt-profile__sidebar { position: static; }
  .lt-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .lt-premium-card__img { width: 260px; }
}

@media (max-width: 768px) {
  .lt-hero__content h1 { font-size: 28px; }
  .lt-listings-grid { grid-template-columns: repeat(2, 1fr); }
  .lt-steps { grid-template-columns: 1fr; }
  .lt-detail-grid { grid-template-columns: 1fr; }
  .lt-gallery { grid-template-columns: repeat(2, 1fr); }
  .lt-stats { flex-direction: column; gap: 16px; }
  .lt-city-stats { flex-direction: column; gap: 12px; }
  .lt-premium-card { flex-direction: column; }
  .lt-premium-card__img { width: 100%; height: 200px; }
  .lt-sponsor__content { padding: 20px; }
  .lt-header { padding: 0 16px; }
  .lt-nav { gap: 12px; }
  .lt-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .lt-listings-grid { grid-template-columns: 1fr; }
  .lt-nav { display: none; } /* TODO: hamburger menu */
  .lt-footer-grid { grid-template-columns: 1fr; }
  .lt-search { flex-direction: column; border-radius: 12px; }
  .lt-search input { border-bottom: 1px solid var(--gray-200); }
}
