/* ===========================================
   Texas Land Creations — Shared Brand Styles
   Used by sub-pages (services/*).
   =========================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #1A1A1A;
  background: #F5F5F0;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* Grain overlay */
.grain-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  pointer-events: none;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', Georgia, serif; }
.heading-xl { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.heading-lg { font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.heading-md { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.3; font-weight: 600; }
.body-text { font-size: 1rem; line-height: 1.7; color: #555550; }
.body-sm   { font-size: 0.875rem; line-height: 1.6; color: #555550; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out, box-shadow 150ms ease-in-out, transform 150ms ease-in-out;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid #8DB63C; outline-offset: 3px; }

.btn-primary { background: #2D5A1B; color: #fff; border-color: #2D5A1B; box-shadow: 0 2px 8px rgba(45,90,27,0.2); }
.btn-primary:hover { background: #8DB63C; border-color: #8DB63C; box-shadow: 0 4px 16px rgba(141,182,60,0.3); }
.btn-secondary { background: #8DB63C; color: #fff; border-color: #8DB63C; }
.btn-secondary:hover { background: #2D5A1B; border-color: #2D5A1B; }
.btn-ghost { background: transparent; color: #2D5A1B; border-color: #2D5A1B; }
.btn-ghost:hover { background: #2D5A1B; color: #fff; }

/* Service & process cards */
.service-card { transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 250ms ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(45,90,27,0.1); }

.icon-container {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(45,90,27,0.06);
  border: 1px solid rgba(45,90,27,0.1);
  transition: background 200ms ease, border-color 200ms ease;
}
.service-card:hover .icon-container { background: rgba(45,90,27,0.12); border-color: rgba(45,90,27,0.2); }

.icon-container-lg {
  width: 88px; height: 88px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: rgba(45,90,27,0.08);
  border: 1px solid rgba(45,90,27,0.15);
}

/* Section divider */
.section-divider { width: 60px; height: 3px; background: linear-gradient(90deg, #2D5A1B, #8DB63C); border-radius: 2px; }

/* Hero gradient (lighter variant for sub-page hero) */
.subpage-hero {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(45,90,27,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(141,182,60,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #F5F5F0 0%, #E2ECC8 100%);
}

.dark-section-texture {
  background-image:
    radial-gradient(ellipse at 10% 90%, rgba(141,182,60,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(141,182,60,0.05) 0%, transparent 50%);
}

/* Nav scroll */
.nav-scrolled { background: rgba(245,245,240,0.95) !important; backdrop-filter: blur(12px); box-shadow: 0 1px 12px rgba(45,90,27,0.08); }

/* Mobile nav */
.mobile-nav { transform: translateX(100%); transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.mobile-nav.open { transform: translateX(0); }

/* Process step number */
.step-num {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: #2D5A1B;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
}

/* FAQ disclosure */
details.faq-item {
  border-bottom: 1px solid rgba(45,90,27,0.12);
  padding: 1.25rem 0;
}
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1A1A1A;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: #2D5A1B;
  line-height: 1;
  transition: transform 200ms ease;
}
details.faq-item[open] summary::after { content: '–'; }
details.faq-item p {
  margin: 0.75rem 0 0;
  color: #555550;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* =======================================
   Photo placeholders (swap with real photos)
   Replace .photo-placeholder element with
   <img src="..." class="photo-frame"> when ready.
   ======================================= */
.photo-frame,
.photo-placeholder {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(45,90,27,0.15), 0 4px 12px rgba(45,90,27,0.08);
}

.photo-placeholder {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(141,182,60,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(45,90,27,0.45) 0%, transparent 60%),
    linear-gradient(135deg, #2D5A1B 0%, #1E3D12 100%);
  border: 1px dashed rgba(245,245,240,0.25);
  color: #F5F5F0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  pointer-events: none;
}

.photo-placeholder .ph-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
}

.photo-placeholder .ph-icon {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: rgba(245,245,240,0.12);
  border: 1px solid rgba(245,245,240,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder .ph-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.85);
  font-weight: 600;
}

.photo-placeholder .ph-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: rgba(245,245,240,0.55);
}

/* Aspect ratios */
.aspect-hero    { aspect-ratio: 21 / 9; }
.aspect-case    { aspect-ratio: 16 / 10; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F5F5F0; }
::-webkit-scrollbar-thumb { background: #C8D9A0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8DB63C; }
