/*
=============================================================================
BUSSELL LAW FIRM - MAIN STYLESHEET
=============================================================================

Developer: Brad Bussell
Email: bbussell@bnetdev.com  
Location: Paris, Kentucky
Date: August 30, 2025

Project: The Law Office of Andrea N. Bussell, PLLC Website
Client: Andrea N. Bussell - Family Law Attorney, Carlisle, KY

Features:
- Modern responsive design with CSS Grid/Flexbox
- Kentucky coral red branding (#f87466)
- Mobile-first approach
- Accessibility compliant (WCAG standards)
- Professional law firm aesthetic
- Optimized for legal practice needs

Browser Support: Modern browsers (Chrome 60+, Firefox 60+, Safari 12+, Edge 79+)
=============================================================================
*/

/* ===== VARIABLES ===== */
:root {
  /* Colors from original site */
  --primary-color: #f87466; /* Coral red */
  --primary-dark: #e65a47;
  --primary-light: #ffa394;
  --secondary-color: #2c3e50;
  --accent-color: #34495e;
  
  /* Neutral colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #495057;
  --black: #212529;
  
  /* Typography */
  --font-primary: 'Lora', serif;
  --font-accent: 'Yellowtail', cursive;
  
  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 4rem 0;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--primary-color);
  font-family: var(--font-accent);
  font-size: 1.1em;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 16px;
}

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

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  padding: 0.75rem 0;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 110px;
  width: auto;
  max-width: 280px;
}

.logo-placeholder {
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.brand-text h1 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  color: var(--secondary-color);
}

.brand-text p {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-family: var(--font-primary);
  font-weight: 500;
  margin: 0;
}

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

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  margin-left: 3rem;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  gap: 1rem;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--dark-gray);
  margin: 3px 0;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 6rem 0 4rem;
  margin-top: 80px;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.phone-icon {
  margin-right: 0.5rem;
}

.hero-features {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.feature-icon {
  font-size: 1.2rem;
}

.hero-image {
  text-align: center;
}

.courthouse-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.courthouse-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--light-gray), var(--medium-gray));
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--primary-color);
}

.placeholder-text {
  text-align: center;
  color: var(--accent-color);
  font-size: 1.2rem;
  font-weight: 500;
}

.placeholder-text small {
  font-size: 0.9rem;
  color: var(--dark-gray);
  font-style: italic;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--section-padding);
  background-color: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.highlight-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: var(--section-padding);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background-color: var(--white);
  padding: 0;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-card h3,
.service-card p,
.service-card ul {
  padding: 0 2rem;
}

.service-card h3 {
  margin-top: 1.5rem;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  text-align: left;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.service-card ul li {
  padding: 0.25rem 0;
  color: var(--dark-gray);
  position: relative;
  padding-left: 1.5rem;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.veteran-services {
  margin-top: 3rem;
}

.veteran-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: var(--border-radius);
  align-items: center;
}

.flag-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.veteran-content ul {
  list-style: none;
  margin-top: 1rem;
}

.veteran-content ul li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.veteran-content ul li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* ===== STAFF SECTION ===== */
.staff {
  padding: var(--section-padding);
  background-color: var(--white);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Attorney - Andrea */
.featured-attorney {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 3px solid var(--primary-color);
  border-radius: 12px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(248, 116, 102, 0.15);
  position: relative;
  overflow: hidden;
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(248, 116, 102, 0.3);
}

.featured-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.featured-image {
  position: relative;
}

.featured-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 4px solid white;
}

.featured-info h3 {
  font-size: 2.2rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.featured-info .member-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.featured-info .member-credentials {
  font-size: 0.95rem;
  color: #495057;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.featured-info .member-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 1.5rem;
}

.featured-info .member-specialties {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.featured-info .member-specialties span {
  background: var(--primary-color);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(248, 116, 102, 0.3);
}

/* Associate Attorney & Support Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.team-member.attorney {
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.team-member.attorney.associate {
  background: white;
  border: 2px solid #e9ecef;
}

.team-member.attorney:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.member-image {
  margin-bottom: 1.5rem;
}

.member-photo {
  width: 150px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.member-info h3 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.member-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.member-credentials {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-style: italic;
}

.member-description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.member-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.member-specialties span {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.support-team {
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  text-align: center;
}

.support-team h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.support-members {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.support-member {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--white);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.support-photo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
}

.support-info {
  text-align: left;
}

.support-info h4 {
  color: var(--secondary-color);
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.support-info p {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.team-note {
  font-size: 0.95rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* ===== CONSULTATION SECTION ===== */
.consultation {
  padding: var(--section-padding);
  background-color: var(--secondary-color);
  color: var(--white);
  text-align: center;
}

.consultation h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.consultation p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.consultation-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.consultation-option {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.consultation-option h3 {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.office-info,
.consultation-note {
  font-style: italic;
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin: 1rem 0;
}

.consultation-disclaimer {
  font-size: 0.8rem;
  color: var(--medium-gray);
  margin-top: 2rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 75px;
  max-width: 180px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.contact-info a {
  color: var(--primary-light);
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--white);
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--medium-gray);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.footer-bottom a {
  color: var(--primary-light);
  text-decoration: none;
}

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

.design-credit {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.design-credit small {
  color: var(--medium-gray);
  font-style: italic;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Tablet breakpoint */
@media (max-width: 1024px) {
  .consultation-options {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-card h3,
  .service-card p,
  .service-card ul {
    padding: 0 1.5rem;
  }

  .featured-content {
    grid-template-columns: 250px 1fr;
    gap: 2rem;
  }

  .featured-image img {
    height: 300px;
  }

  .featured-info h3 {
    font-size: 1.9rem;
  }

  .featured-attorney {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar-nav {
    flex-direction: column;
    text-align: center;
    margin-bottom: 2rem;
  }

  .navbar-actions {
    flex-direction: column;
    width: 100%;
  }

  .navbar-toggle {
    display: flex;
  }

  .hero {
    padding: 6rem 0 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-features {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: row;
    justify-content: space-around;
  }

  .consultation-options {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .consultation-option {
    padding: 1.5rem;
  }

  .consultation-option h3 {
    font-size: 1.3rem;
  }

  .consultation-option p {
    font-size: 0.95rem;
  }

  .veteran-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .featured-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .featured-badge {
    position: static;
    display: inline-block;
    margin-bottom: 1.5rem;
  }

  .featured-image img {
    height: 300px;
  }

  .featured-info h3 {
    font-size: 1.8rem;
  }

  .featured-info .member-title {
    font-size: 1.1rem;
  }

  .featured-info .member-description {
    font-size: 1rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-actions {
    gap: 0.5rem;
  }

  .btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .btn-lg {
    font-size: 16px;
    padding: 12px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .brand-text h1 {
    font-size: 1.1rem;
  }

  .brand-text p {
    font-size: 0.8rem;
  }

  /* Mobile: Stack historic office building vertically */
  .historic-office-feature > div {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .historic-office-feature img {
    height: 250px !important;
    max-width: 100%;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #d63031;
    --secondary-color: #000000;
    --dark-gray: #000000;
  }
}