/* Jackson Law Group P.C. - Professional Law Firm Website */

:root {
  --navy: #1a2a4a;
  --navy-light: #2a3f6a;
  --navy-dark: #0f1a2f;
  --gold: #c9a227;
  --gold-light: #d4b94a;
  --gold-dark: #a88a1f;
  --cream: #f8f6f0;
  --white: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-600: #666666;
  --gray-800: #333333;
  --text: #2d2d2d;
  --text-light: #5a5a5a;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

* {
  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);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

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

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.logo-icon {
  font-size: 32px;
  color: var(--gold);
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
}

.logo-text .pc {
  font-weight: 400;
  color: var(--gray-600);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}

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

.btn-nav {
  background: var(--navy);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 4px;
}

.btn-nav:hover {
  background: var(--navy-light);
  color: var(--white) !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  margin-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(201, 162, 39, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: shimmer 5s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: float 10s linear infinite;
}

.hero .ripple-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero .ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.3);
  animation: ripple 4s ease-out infinite;
}

.hero .ripple:nth-child(1) {
  width: 200px;
  height: 200px;
  left: 10%;
  top: 60%;
  animation-delay: 0s;
}

.hero .ripple:nth-child(2) {
  width: 300px;
  height: 300px;
  right: 15%;
  top: 20%;
  animation-delay: 1.3s;
}

.hero .ripple:nth-child(3) {
  width: 250px;
  height: 250px;
  left: 50%;
  top: 40%;
  animation-delay: 2.6s;
}

@keyframes shimmer {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-10px) translateX(5px);
  }
  50% {
    transform: translateY(0) translateX(10px);
  }
  75% {
    transform: translateY(10px) translateX(5px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0.5);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

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

.btn-full {
  width: 100%;
}

/* Intro Section */
.intro-section {
  padding: 60px 0;
  background: var(--cream);
}

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

.intro-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.intro-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.intro-stats {
  display: grid;
  gap: 24px;
}

.stat {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}

.stat-number {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
}

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

/* Practice Areas */
.practice-areas {
  padding: 60px 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

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

.practice-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.practice-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.practice-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--navy);
}

.practice-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.practice-list {
  list-style: none;
}

.practice-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-light);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
}

.practice-list li:last-child {
  border-bottom: none;
}

.practice-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* About Section */
.about-section {
  padding: 60px 0;
  background: var(--navy);
}

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

.about-text h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.about-text > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.about-features {
  display: grid;
  gap: 24px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-weight: bold;
  flex-shrink: 0;
}

.feature strong {
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.feature p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

.about-image {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-dark) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold);
}

.placeholder-content {
  text-align: center;
  color: var(--white);
}

.placeholder-icon {
  display: block;
  font-size: 5rem;
  margin-bottom: 16px;
}

.founder-img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--gold);
}

/* Founder Section */
.founder-section {
  padding: 60px 0;
  background: var(--gray-100);
}

.founder-profile {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.founder-photo {
  text-align: center;
}

.founder-portrait {
  width: 300px;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--gold);
}

.founder-details h3 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.founder-title {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.founder-bio {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.founder-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.founder-focus span {
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .founder-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .founder-portrait {
    width: 250px;
    height: 300px;
    margin: 0 auto;
  }
  
  .founder-focus {
    justify-content: center;
  }
}

/* Testimonials */
.testimonials {
  padding: 60px 0;
  background: var(--cream);
}

.review-badge {
  text-align: center;
  margin-bottom: 40px;
}

.yelp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.yelp-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.yelp-stars {
  color: #ff1a1a;
  font-size: 1.1rem;
}

.yelp-text {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}



.testimonial {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.testimonial .stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial cite {
  color: var(--text-light);
  font-size: 0.9rem;
  font-style: normal;
}

/* Booking Section */
.booking-section {
  padding: 60px 0;
  background: var(--navy);
}

.booking-section .section-title,
.booking-section .section-subtitle {
  color: var(--white);
}

.booking-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 20px;
}

.booking-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.booking-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.booking-feature strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.booking-feature p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.95rem;
}

.booking-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.booking-form h3 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.booking-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .booking-form-wrapper {
    padding: 24px;
  }
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
  background: var(--white);
}

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

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 40px;
}

.contact-details {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: var(--gray-100);
  padding: 40px;
  border-radius: 8px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 500;
  color: var(--navy);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Footer */
.main-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 80px 0 40px;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--gold);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-bottom .disclaimer {
  font-size: 0.8rem;
  margin-top: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .intro-grid,
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .practice-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand .logo {
    justify-content: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .intro-section,
  .practice-areas,
  .about-section,
  .team-section,
  .contact-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .contact-form-wrapper {
    padding: 24px;
  }
}

/* Animations */
.animate-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Scrolled nav state */
.main-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

/* Mobile menu styles */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-links.mobile-open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
