/* -------------------------------------------------
   GLOBAL RESETS & BASE STYLING
---------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  line-height: 1.6;
  background: #f8f9fa;
  color: #222;
}

a {
  color: #0044aa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 30px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}

.btn-primary {
  background: #0044aa;
  color: #fff;
}

.btn-primary:hover {
  background: #003680;
}

.btn-secondary {
  background: #eaeaea;
  color: #222;
}

.btn-secondary:hover {
  background: #d8d8d8;
}

/* -------------------------------------------------
   HEADER + NAVIGATION
---------------------------------------------------*/
.header-top {
  background: #003680;
  color: #fff;
  padding: 10px 0;
}

.header-top a {
  color: #fff;
  font-weight: 600;
}

.header-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.header-contact i {
  margin-right: 5px;
}

.navbar {
  background: #fff;
  border-bottom: 1px solid #ccc;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

.tagline {
  font-size: 0.9rem;
  color: #666;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-menu a {
  font-weight: 600;
  color: #003680;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
}

/* Responsive Nav */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 65px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 200px;
    border: 1px solid #ddd;
    padding: 20px;
  }

  .nav-menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* -------------------------------------------------
   HERO SECTION
---------------------------------------------------*/
.hero {
  position: relative;
  height: 70vh;
  background: url("images/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  max-width: 700px;
  z-index: 2;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.hero-buttons a {
  margin: 0 10px;
}

/* -------------------------------------------------
   ATTORNEYS SECTION
---------------------------------------------------*/
.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.attorney-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.attorney-image-wrapper {
  position: relative;
}

.attorney-photo {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

.attorney-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: 0.3s;
}

.attorney-overlay a {
  background: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  color: #222;
  font-weight: bold;
}

.attorney-image-wrapper:hover .attorney-overlay {
  opacity: 1;
}

.attorney-info {
  padding: 20px;
}

.attorney-info .specialty {
  color: #003680;
  font-weight: bold;
}

.attorney-contact i {
  margin-right: 6px;
}

/* -------------------------------------------------
   SERVICES SECTION
---------------------------------------------------*/
.services-section {
  position: relative;
  padding: 60px 0;
  color: #fff;
}

.bookcase-bg {
  position: absolute;
  inset: 0;
  background: url("images/bookcase.jpg") center/cover no-repeat;
  opacity: 0.25;
}

.services-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  z-index: 2;
}

.service-card {
  background: rgba(0,0,0,0.5);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.service-card i {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* -------------------------------------------------
   ABOUT SECTION
---------------------------------------------------*/
.about-content {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-list li {
  margin-bottom: 8px;
}

.about-list i {
  color: #003680;
  margin-right: 8px;
}

/* -------------------------------------------------
   CONTACT SECTION
---------------------------------------------------*/
.contact-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-info, .contact-form-wrapper {
  flex: 1;
  min-width: 300px;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.info-item i {
  font-size: 1.5rem;
  color: #003680;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.form-group {
  margin-bottom: 15px;
}

/* -------------------------------------------------
   PAY SECTION
---------------------------------------------------*/
.pay-section {
  position: relative;
  padding: 60px 0;
  color: #fff;
  text-align: center;
}

.scale-bg {
  position: absolute;
  inset: 0;
  background: url("images/scales.jpg") center/cover no-repeat;
  opacity: 0.25;
}

.pay-options {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.pay-card {
  background: rgba(0,0,0,0.5);
  padding: 25px;
  border-radius: 10px;
}

.pay-card i {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* -------------------------------------------------
   FOOTER (Optional if added later)
---------------------------------------------------*/
footer {
  background: #003680;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}
