/* Attorney Adam Wood - Modern Website Styles */

:root {
  --primary-gold: #efb943;
  --primary-gold-dark: #d4a33a;
  --dark-bg: #131313;
  --darker-bg: #0d0e12;
  --text-dark: #414141;
  --text-light: #ffffff;
  --text-gray: #6b7280;
  --accent-brown: #a78f68;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #f9fafb;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-gold-dark);
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Header Styles */
.header {
  background: var(--dark-bg);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--text-light);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
  list-style: none;
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.nav-links .dropdown-menu a:hover {
  background: var(--primary-gold);
  color: var(--text-light);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-light);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(19, 19, 19, 0.8), rgba(19, 19, 19, 0.8)),
              url('../images/groupshot_2.jpg') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  color: var(--text-light);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Hero (for inner pages) */
.page-hero {
  background: linear-gradient(rgba(19, 19, 19, 0.75), rgba(19, 19, 19, 0.75)),
              url('../images/groupshot_2.jpg') center/cover no-repeat;
  padding: 10rem 0 4rem;
  text-align: center;
  color: var(--text-light);
}

.page-hero h1 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.page-hero .subtitle {
  color: var(--primary-gold);
  font-size: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--primary-gold);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--primary-gold-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-secondary:hover {
  background: var(--text-light);
  color: var(--dark-bg);
}

.btn-dark {
  background: var(--dark-bg);
  color: var(--text-light);
}

.btn-dark:hover {
  background: #2a2a2a;
  color: var(--text-light);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--primary-gold);
  margin: 0 auto 1rem;
}

.section-header p {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-light {
  background: var(--text-light);
}

.section-dark {
  background: var(--dark-bg);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3 {
  color: var(--primary-gold);
}

/* Practice Areas */
.practice-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.practice-card {
  background: var(--text-light);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-align: center;
}

.practice-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.practice-card .icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.practice-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.practice-card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-xl);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

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

.credentials-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.credentials-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary-gold);
  border-radius: 50%;
}

/* CTA Section */
.cta-section {
  background: var(--dark-bg);
  color: var(--text-light);
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 2rem;
  font-size: 1.125rem;
  opacity: 0.9;
}

.phone-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  display: block;
}

.phone-number:hover {
  color: var(--primary-gold);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-gold);
}

.contact-info-item {
  margin-bottom: 1.5rem;
}

.contact-info-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-info-item p {
  color: var(--text-gray);
}

.contact-form {
  background: var(--text-light);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

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

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

/* Content Pages */
.content-section {
  background: var(--text-light);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  margin: 2rem 0 1rem;
  color: var(--primary-gold);
}

.content-wrapper p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.content-wrapper em {
  color: var(--text-dark);
  font-style: italic;
}

/* Footer */
.footer {
  background: var(--darker-bg);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about .logo {
  margin-bottom: 1rem;
}

.footer-about p {
  color: #9ca3af;
  font-size: 0.95rem;
}

.footer h4 {
  color: var(--primary-gold);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-contact p {
  color: #9ca3af;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero h1 { font-size: 2.75rem; }
  .hero .tagline { font-size: 1.25rem; }

  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid #333;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
  }

  .nav-links .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #222;
  }

  .nav-links .dropdown-menu a {
    color: var(--text-light);
    padding-left: 2rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 { font-size: 2rem; }

  .page-hero {
    padding: 8rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .phone-number {
    font-size: 1.75rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--primary-gold); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
