/* Global Styles */
body {
  margin: 0;
  font-family: "Baskervville", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #F5F5F5;
  color: #000;
  line-height: 1.6;
  padding-top: 80px; /* space for fixed header */
  box-sizing: border-box;
  font-size: 16px; /* base font size for desktop */
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ACA59E;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  box-sizing: border-box;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header-contact {
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
  font-size: 1em;
}

header img {
  height: 50px;
}

header a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}

header a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
  background-color: #F5F5F5;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.hero p {
  font-size: 1.2em;
  font-family: 'Lora', serif;
}

.hero-logo {
  height: 80px;
  margin-top: 20px;
}

/* Attorney Section */
.attorney {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  background-color: #F5F5F5;
}

.attorney-card {
  display: flex;
  align-items: center;
  background-color: white;
  border-left: 8px solid #457778;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 900px;
  width: 100%;
}

.attorney-photo img {
  width: 220px;
  border-radius: 10px;
  margin-right: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.attorney-info {
  max-width: 500px;
}

.attorney-info h2 {
  color: #457778;
  margin-bottom: 15px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6em;
}

.attorney-logo {
  height: 100px;
  margin-bottom: 20px;
  display: block;
}

/* About Section */
.about {
  padding: 40px 20px;
  text-align: center;
}

.about h2 {
  margin-bottom: 15px;
  color: #457778;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6em;
}

.about p {
  font-size: 1.1em;
}

/* Contact Section */
.contact {
  padding: 40px 20px;
  background-color: #ACA59E;
  color: black;
  text-align: center;
}

.contact h2 {
  font-size: 1.6em;
}

.contact p {
  font-size: 1.1em;
}

.contact a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}

.contact a:hover {
  text-decoration: underline;
}

/* Mobile Responsiveness – Extra Large Text */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
    font-size: 1.4em; /* bigger base text */
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .header-contact {
    text-align: left;
    margin-top: 5px;
    font-size: 1.2em; /* bigger email text */
    white-space: normal;
  }

  .hero h1 {
    font-size: 2em; /* much bigger heading */
  }

  .hero p {
    font-size: 1.5em; /* bigger subheading */
  }

  .attorney {
    padding: 50px 20px;
  }

  .attorney-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
  }

  .attorney-photo img {
    width: 220px; /* larger image */
    margin-right: 0;
    margin-bottom: 20px;
  }

  .attorney-info {
    max-width: 100%;
  }

  .attorney-info h2 {
    font-size: 2em; /* much bigger attorney name */
  }

  .attorney-info p {
    font-size: 1.4em; /* much bigger description for readability */
  }

  .about h2,
  .contact h2 {
    font-size: 2em; /* bigger section headings */
  }

  .about p,
  .contact p {
    font-size: 1.3em; /* bigger body text */
  }
}
