:root {
  --primary-color: #1a2a44;
  --secondary-color: #243656;
  --accent-color: #c9a227;
  --text-color: #2d3748;
  --light-bg: #f5f7fa;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

header {
  background: var(--primary-color);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-box {
  width: 50px;
  height: 50px;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.logo-text h1 {
  font-size: 22px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo-text span {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  display: none;
  padding: 10px 0;
  margin-top: 15px;
}

.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text-color);
  text-transform: none;
  font-size: 15px;
}

.dropdown-menu a:hover {
  background: var(--light-bg);
  color: var(--accent-color);
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent-color);
  color: var(--white);
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.btn:hover {
  background: #b8911f;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
}

.btn-dark {
  background: var(--primary-color);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-dark:hover {
  background: var(--secondary-color);
  border-color: rgba(255,255,255,0.5);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--white);
}

.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(26, 42, 68, 0.75), rgba(26, 42, 68, 0.75)), url('/images/hero-annapolis.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 90px;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.location-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 8px 20px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
  border-radius: 2px;
}

.hero-content h1 {
  font-size: 52px;
  margin-bottom: 25px;
  font-weight: 400;
  line-height: 1.2;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--accent-color);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.practice-areas {
  padding: 100px 0;
  background: var(--light-bg);
}

.section-label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-weight: 500;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
}

.section-title h2 {
  font-size: 40px;
  color: var(--primary-color);
  font-weight: 400;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 16px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.practice-card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.3s;
  text-align: left;
}

.practice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.practice-card .icon {
  width: 50px;
  height: 50px;
  background: var(--light-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--primary-color);
}

.practice-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-weight: 600;
}

.practice-card p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
}

.about-section {
  padding: 100px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 400;
}

.about-text p {
  margin-bottom: 20px;
  color: #6b7280;
  line-height: 1.7;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-section {
  padding: 100px 0;
  background: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: 400;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item .icon {
  font-size: 20px;
  color: var(--accent-color);
  width: 24px;
}

.contact-item h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-item p {
  color: #6b7280;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: 400;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 15px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 25px;
  color: var(--accent-color);
  font-weight: 500;
}

.footer-brand {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}

.footer-tagline {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: var(--accent-color);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-item i {
  color: var(--accent-color);
  font-size: 14px;
  margin-top: 4px;
}

.footer-contact-item span {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--accent-color);
}

.page-hero {
  height: 45vh;
  min-height: 350px;
  background: linear-gradient(rgba(26, 42, 68, 0.85), rgba(26, 42, 68, 0.85)), url('/images/hero-annapolis.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 90px;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 400;
}

.page-content {
  padding: 80px 0;
}

.page-content h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 400;
}

.page-content h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin: 30px 0 15px;
  font-weight: 500;
}

.page-content p {
  margin-bottom: 20px;
  color: #4a5568;
}

.page-content ul {
  margin: 20px 0 20px 30px;
  color: #4a5568;
}

.page-content ul li {
  margin-bottom: 10px;
}

.attorney-profile {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.attorney-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.attorney-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.credentials {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
}

.credentials h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 500;
}

.credentials ul {
  list-style: none;
  margin: 0;
}

.credentials ul li {
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

.credentials ul li:last-child {
  border-bottom: none;
}

.cta-section {
  background: var(--secondary-color);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 400;
}

.cta-section p {
  margin-bottom: 30px;
  font-size: 18px;
  opacity: 0.9;
}

.form-message {
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: none;
}

.form-message.success {
  background: #c6f6d5;
  color: #276749;
  display: block;
}

.form-message.error {
  background: #fed7d7;
  color: #c53030;
  display: block;
}

@media (max-width: 992px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .practice-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .attorney-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .attorney-image {
    margin: 0 auto;
  }
}
