/* =========================================================
   PRACTICE AREAS PAGE HERO SECTION
   Edward Robinson Lawfirm
   ========================================================= */

/* ----- HERO CONTAINER ----- */
.practice-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  background: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1600&q=80")
    center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* ----- DARK OVERLAY FOR READABILITY ----- */
.practice-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.6);
  z-index: 1;
}

/* ----- TEXT CONTENT ----- */
.practice-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
}

.practice-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.practice-hero-content p {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #d4af37; /* gold accent */
  letter-spacing: 2px;
  font-weight: 500;
}

/* =========================================================
   RESPONSIVENESS
   ========================================================= */
@media (max-width: 992px) {
  .practice-hero {
    height: 50vh;
  }

  .practice-hero-content h1 {
    font-size: 2.4rem;
  }

  .practice-hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .practice-hero {
    height: 45vh;
  }

  .practice-hero-content h1 {
    font-size: 1.9rem;
  }

  .practice-hero-content p {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
}


/* ********************************************************************************************************************** */

/* =========================================================
   PRACTICE AREAS GRID SECTION
   ========================================================= */
.practice-areas {
  background: #fff;
  padding: 100px 0;
}

.practice-areas .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header span {
  text-transform: uppercase;
  color: #d4af37;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.85rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-top: 10px;
}

.section-header .divider {
  width: 40px;
  height: 2px;
  background: #d4af37;
  margin: 15px auto 0;
}

/* ----- Grid Layout ----- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.area-box {
  text-align: center;
}

.area-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 20px;
}

.area-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.area-box:hover .area-image img {
  transform: scale(1.08);
}

.area-box h4 {
  text-transform: uppercase;
  font-size: 1rem;
  color: #111;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.area-box p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 992px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }

  .area-image {
    height: 180px;
  }
}



/* ********************************************************************************************************************** */

/* =========================================================
   CONTACT CTA SECTION
   ========================================================= */
.contact-cta {
  background: url("https://images.unsplash.com/photo-1589829085413-56de8ae18c73?auto=format&fit=crop&w=1600&q=80")
    center center / cover no-repeat;
  position: relative;
  padding: 100px 20px;
  color: #fff;
  text-align: center;
}

.contact-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9); /* Dark overlay */
  z-index: 1;
}

.contact-cta .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.contact-cta h4 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
  color: #d4af37;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.contact-cta h2 {
  font-size: 1.6rem;
  color: #f7f7f7;
  margin-bottom: 25px;
  font-weight: 600;
}

.contact-cta h2 span {
  color: #d4af37;
  font-weight: 700;
}

.contact-cta .cta-details {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.contact-cta .cta-details i {
  color: #d4af37;
  margin-right: 8px;
}

.contact-cta .cta-details a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-cta .cta-details a:hover {
  color: #d4af37;
}

/* =========================================================
   RESPONSIVENESS
   ========================================================= */
@media (max-width: 768px) {
  .contact-cta {
    padding: 80px 15px;
  }

  .contact-cta h2 {
    font-size: 1.3rem;
    line-height: 1.6;
  }

  .contact-cta .cta-details {
    flex-direction: column;
    gap: 10px;
  }
}




/* ********************************************************************************************************************** */
