@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* =============================================================================
   LTL REALTY — BRAND RULES
   - Brand identity: intelligent market strategist first
   - Tone: direct Texas professional second
   - Style: real estate first, technology second
   - Look: dark cinematic luxury, white-on-black visual structure
   - Image direction: vivid HDR-style, San Antonio / New Braunfels / Hill Country
   - No fluff, no cliché brokerage language
   - Focus: San Antonio, New Braunfels, and surrounding growth markets
   ============================================================================= */

:root {
  --bg-color: #080a0d;
  --panel-bg: #0f1218;
  --text-main: #f0f2f5;
  --text-muted: #8a9ab0;
  --accent-blue: #1e6fff;
  --accent-mauve: #9b8ea8;
  --border-color: rgba(255, 255, 255, 0.07);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --header-height: 80px;
}

/* Reset / Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.8s ease;
  overflow-x: hidden;
}

body.page-ready {
  opacity: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.text-accent {
  color: var(--accent-blue);
}

.text-mauve {
  color: var(--accent-mauve);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-dark {
  background-color: var(--panel-bg);
}

.market-snapshot-section {
  position: relative;
  background-color: transparent;
}

.market-snapshot-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/market-snapshot-bg.png');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  filter: saturate(0.72) brightness(1.04);
  z-index: 0;
  pointer-events: none;
}

.market-snapshot-section .container {
  position: relative;
  z-index: 1;
}

.market-snapshot-section h2 {
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.98),
    0 4px 20px rgba(0, 0, 0, 0.95),
    0 0 60px rgba(0, 0, 0, 0.8);
}

.market-snapshot-section .stat-value,
.market-snapshot-section .stat-label,
.market-snapshot-section .stat-note {
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.98),
    0 2px 14px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(0, 0, 0, 0.7);
}

.market-snapshot-section .stat-card {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(2px);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Header */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(8, 10, 13, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.4s ease, border-bottom 0.4s ease;
}

#site-header.scrolled {
  background-color: rgba(8, 10, 13, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c0c8d8;
  font-weight: 500;
  position: relative;
}

.site-nav a:hover, .site-nav a.active {
  color: var(--text-main);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-blue);
  transition: width 0.3s ease;
}

.site-nav a:hover::after, .site-nav a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-phone {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 20px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.nav-toggle.active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-block;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #fff;
  border-radius: 2px;
  padding: 0.85rem 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 500;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: #2a7aff;
  box-shadow: 0 0 15px rgba(30, 111, 255, 0.4);
  transform: scale(1.02);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  padding: 0.85rem 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* Hero Sections */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/hero-nb.png');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  filter: saturate(0.72) brightness(1.04);
  z-index: 0;
  pointer-events: none;
}

.hero-gr::before {
  background-image: url('/assets/images/hero-garden-ridge.png');
  background-position: center 55%;
}

.hero-so::before {
  background-image: url('/assets/images/hero-stone-oak.png');
  background-position: center 40%;
}

.hero-sa::before {
  background-image: url('/assets/images/hero-san-antonio.png');
  background-position: center 45%;
}

.hero-schertz::before {
  background-image: url('/assets/images/hero-schertz.png');
  background-position: center 50%;
}

.hero-cibolo::before {
  background-image: url('/assets/images/hero-cibolo.png');
  background-position: center 50%;
}

.hero-bulverde::before {
  background-image: url('/assets/images/hero-bulverde.png');
  background-position: center 50%;
}

.hero-gruene::before {
  background-image: url('/assets/images/hero-gruene.png');
  background-position: center 50%;
}

.hero-vintage-oaks::before {
  background-image: url('/assets/images/hero-vintage-oaks.png');
  background-position: center 50%;
}

.hero-river-chase::before {
  background-image: url('/assets/images/hero-river-chase.png');
  background-position: center 45%;
}

.hero-live-oak::before {
  background-image: url('/assets/images/hero-live-oak.png');
  background-position: center 45%;
}

.hero-universal-city::before {
  background-image: url('/assets/images/hero-universal-city.png');
  background-position: center 45%;
}

/* Faded logo watermark centered behind hero text */
.hero-logo-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(320px, 55vw, 680px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  filter: brightness(3) blur(0.3px);
  mix-blend-mode: screen;
}

.hero-logo-watermark img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  margin-bottom: 1.5rem;
  line-height: 1.15;
  color: #f5f0e8;
  letter-spacing: -0.01em;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 4px 20px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(0, 0, 0, 0.85),
    0 0 120px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  color: #e0e8f2;
  letter-spacing: 0.02em;
  line-height: 1.7;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 1),
    0 2px 16px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(0, 0, 0, 0.8);
}

.hero-small {
  min-height: 60vh;
}

/* Cards */
.card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(30, 111, 255, 0.3), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.card p {
  flex-grow: 1;
}

.card-link {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.card:hover .card-link::after {
  transform: translateX(4px);
}

/* Market Stats */
.stat-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 4px;
}

.stat-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.stat-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: #fff;
  line-height: 1;
}

.stat-arrow {
  font-size: 1.25rem;
}

.stat-arrow.up {
  color: var(--accent-blue);
}

.stat-arrow.down {
  color: var(--accent-mauve);
}

.stat-interp {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* Process Steps */
.step-card {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.step-number {
  position: absolute;
  top: -1.5rem;
  left: 2rem;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  padding: 1rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  border-radius: 2px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* CTA Strip */
.cta-strip {
  background: linear-gradient(to right, #080a0d, #0d1420, #080a0d);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  padding: 6rem 2rem;
}

.cta-phone {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  background-color: #050608;
  padding: 4rem 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.9rem;
}

.footer-contact a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-contact a:hover {
  color: var(--text-main);
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-legal {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .site-nav, .header-cta {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .mobile-menu-open .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: rgba(8, 10, 13, 0.98);
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .mobile-menu-open .header-cta {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--header-height) + 200px);
    left: 0;
    width: 100%;
    background-color: rgba(8, 10, 13, 0.98);
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
  }
}

/* =============================================================================
   BREADCRUMBS
   ============================================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 0;
  margin-top: 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  list-style: none;
  padding: 0;
  opacity: 0.65;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: '/';
  margin: 0 0.45rem;
  color: var(--text-muted);
  font-weight: 300;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--text-main);
}

.breadcrumb li:last-child span {
  color: rgba(255, 255, 255, 0.5);
}
