/* ============================================
   LONESTAR LAND PROS — Main Stylesheet
   Colors: Brown #513000, Orange #fb9d00, Dark #1a1a1a
   Font: Montserrat (Google Fonts)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #513000;
  --green-light: #6b4010;
  --green-dark: #3a2200;
  --amber: #fb9d00;
  --amber-light: #fcb53f;
  --amber-dark: #d18200;
  --dark: #1a1a1a;
  --dark-light: #2a2a2a;
  --gray: #f5f5f0;
  --gray-mid: #e0ddd5;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.18);
  --radius: 6px;
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber); }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Section Variants --- */
section { padding: 60px 0; }

.section-dark {
  background: var(--dark);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #ccc; }

.section-gray {
  background: var(--gray);
}

.section-green {
  background: var(--green);
  color: var(--white);
}
.section-green h2, .section-green p { color: var(--white); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: 2.6rem; margin-bottom: .5em; }
h2 { font-size: 2rem; margin-bottom: .5em; }
h3 { font-size: 1.4rem; margin-bottom: .4em; }
p { margin-bottom: 1em; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 { position: relative; display: inline-block; }
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--amber);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 10px auto 0;
  font-size: 1.05rem;
}
.section-dark .section-title p { color: #bbb; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: center;
}
.btn-primary {
  background: var(--amber);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--amber-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-dark {
  background: var(--green);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.header-top {
  background: var(--green);
  color: var(--white);
  padding: 6px 0;
  font-size: .85rem;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.header-top a {
  color: var(--white);
  font-weight: 600;
}
.header-top a:hover { color: var(--amber-light); }

.header-main {
  padding: 12px 0;
}
.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.site-logo:hover { color: var(--green-dark); }

/* --- Navigation --- */
.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 8px 16px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--dark);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
  background: rgba(45,80,22,.06);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: .7em;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .25s ease;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  padding: 10px 20px;
  font-size: .85rem;
  border-radius: 0;
}
.dropdown-menu a:hover {
  background: var(--gray);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-phone {
  font-weight: 700;
  color: var(--green);
  font-size: .95rem;
}
.header-phone:hover { color: var(--amber); }

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,.03)" stroke-width="1"/></svg>') repeat;
  background-size: 80px;
}
.page-hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: .3em;
  position: relative;
}
.page-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,.85);
  max-width: 650px;
  margin: 0 auto 30px;
  position: relative;
}
.page-hero .btn { position: relative; }

.hero-home {
  padding: 120px 0 100px;
  background: linear-gradient(160deg, var(--dark) 0%, var(--green-dark) 60%, var(--green) 100%);
}
.hero-home h1 { font-size: 3.4rem; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 14px 0;
  background: var(--gray);
  font-size: .85rem;
}
.breadcrumb a { color: var(--green); }
.breadcrumb span { color: var(--text-light); }

/* ============================================
   STATS BAR
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--amber);
  display: block;
}
.stat-label {
  font-size: .9rem;
  color: #ccc;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 30px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border-top: 4px solid transparent;
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--amber);
}
.service-card .service-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
  color: var(--green);
}
.service-card h3 {
  margin-bottom: 10px;
}
.service-card h3 a { color: var(--dark); }
.service-card h3 a:hover { color: var(--green); }
.service-card p {
  color: var(--text-light);
  font-size: .95rem;
  margin-bottom: 16px;
}
.service-card .btn {
  font-size: .8rem;
  padding: 10px 22px;
}

/* ============================================
   BENEFITS / WHY CHOOSE US
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
}
.benefit-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
  color: var(--green);
}
.benefit-item h3 {
  color: var(--white);
  margin-bottom: 10px;
}
.benefit-item p {
  color: #bbb;
  font-size: .95rem;
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 24px;
  opacity: .3;
}
.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.testimonial-stars {
  color: var(--amber);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.testimonial-author {
  font-weight: 700;
  color: var(--green);
  font-size: .9rem;
}

/* ============================================
   SERVICE AREA
   ============================================ */
.area-cities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.area-cities a {
  display: block;
  padding: 10px 16px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
  text-align: center;
  transition: all var(--transition);
  font-size: .9rem;
}
.area-cities a:hover {
  background: var(--amber);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: .9rem;
  color: var(--dark);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-message {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-weight: 600;
  display: none;
}
.form-message.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.form-message.error {
  display: block;
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--gray-mid);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--green); }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}
.faq-answer p {
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.7;
}

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  background: var(--gray);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: all var(--transition);
  border: 2px dashed var(--gray-mid);
}
.gallery-item:hover {
  border-color: var(--green);
  transform: scale(1.02);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-placeholder {
  color: var(--text-light);
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-image {
  background: var(--gray);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 600;
}
.blog-card-body {
  padding: 24px;
}
.blog-card-body h3 a { color: var(--dark); }
.blog-card-body h3 a:hover { color: var(--green); }
.blog-date {
  font-size: .8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark);
  color: #ccc;
  padding-top: 60px;
}
.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
}
.footer-col p {
  font-size: .9rem;
  color: #aaa;
  line-height: 1.7;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul a {
  color: #aaa;
  font-size: .9rem;
  transition: all var(--transition);
}
.footer-col ul a:hover {
  color: var(--amber);
  padding-left: 4px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .9rem;
}
.footer-contact li span { color: var(--amber); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: #888;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  color: #888;
  font-size: 1.1rem;
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--amber); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-image {
  background: var(--gray);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 600;
  border: 2px dashed var(--gray-mid);
}
.about-text h2 { margin-bottom: 16px; }
.about-text p { color: var(--text-light); }

/* ============================================
   CITY/SERVICE PAGES
   ============================================ */
.hero-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 60px 0;
}
.hero-section h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--white);
}
.hero-section p {
  font-size: 1.15rem;
  opacity: .92;
  max-width: 720px;
}

.content-section {
  padding: 50px 0;
}
.content-section h2 {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 20px;
}
.content-section p {
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
}
.benefits-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 1.02rem;
}
.benefits-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
}

.faq-section {
  background: var(--gray);
  padding: 50px 0;
}
.faq-section h2 {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 30px;
}
.faq-section .faq-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  border-bottom: none;
}
.faq-section .faq-item h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 10px;
}
.faq-section .faq-item p {
  color: var(--text-light);
  font-size: .98rem;
}

.cta-section {
  background: var(--green);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--white);
}
.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  opacity: .92;
}
.cta-section .btn {
  margin: 0 8px;
  font-size: 1.05rem;
}
.cta-section .btn-primary {
  background: var(--white);
  color: var(--green);
}
.cta-section .btn-primary:hover {
  background: var(--amber);
  color: var(--white);
}
.cta-section .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.links-section {
  padding: 50px 0;
}
.links-section h2 {
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 16px;
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}
.links-grid a {
  display: block;
  padding: 12px 16px;
  background: var(--gray);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--green);
  font-weight: 500;
  transition: background var(--transition);
}
.links-grid a:hover {
  background: #fdf3e0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .about-content { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  section { padding: 45px 0; }

  .page-hero { padding: 70px 0 60px; }
  .page-hero h1 { font-size: 2.2rem; }
  .hero-home { padding: 80px 0 70px; }
  .hero-home h1 { font-size: 2.4rem; }

  /* Mobile Nav */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 80px 30px 30px;
    transition: right var(--transition);
    z-index: 999;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--gray); }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 16px;
  }
  .nav-dropdown > a::after { content: ''; }

  .header-phone { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-home h1 { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
