@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-red: #8C1C13;
  --dark-grey: #212121;
  --accent-gold: #F2A400;
  --white: #FFFFFF;
  --light-grey: #F0F0F0;
  --merriweather: 'Merriweather', serif;
  --open-sans: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--open-sans);
  color: var(--dark-grey);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--merriweather);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

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

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.logo-text {
  font-family: var(--merriweather);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-red);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 30px;
}

.nav-desktop a {
  font-weight: 500;
  color: var(--dark-grey);
  position: relative;
}

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

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

.header-cta {
  display: none;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark-grey);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transition: right 0.3s ease;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-grey);
}

.mobile-menu .cta-btn {
  margin-top: 20px;
}

.mobile-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-red);
}

.super-lawyers-badge {
  display: none;
}

/* ==================== HERO SECTIONS ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 120px 20px 80px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero p {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero .cta-btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== BUTTONS ==================== */
.cta-btn {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn-primary {
  background: var(--primary-red);
  color: var(--white);
  border: 2px solid var(--primary-red);
}

.cta-btn-primary:hover {
  background: #6a150f;
  border-color: #6a150f;
  box-shadow: 0 0 20px rgba(140, 28, 19, 0.4);
}

.cta-btn-secondary {
  background: transparent;
  color: var(--dark-grey);
  border: 2px solid var(--dark-grey);
}

.cta-btn-secondary:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--white);
}

.cta-btn-gold {
  background: var(--accent-gold);
  color: var(--dark-grey);
  border: 2px solid var(--accent-gold);
}

.cta-btn-gold:hover {
  background: #d89300;
  border-color: #d89300;
}

/* ==================== SERVICES SECTION ==================== */
.services-overview {
  padding: 80px 20px;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--dark-grey);
  margin-bottom: 50px;
  position: relative;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  background: var(--light-grey);
}

.service-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark-grey);
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
}

.service-card a {
  color: var(--primary-red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-card a:hover {
  color: var(--accent-gold);
}

.service-card a svg {
  transition: transform 0.3s ease;
}

.service-card a:hover svg {
  transform: translateX(5px);
}

/* ==================== APPROACH SECTION ==================== */
.approach-section {
  padding: 80px 20px;
  background: var(--light-grey);
}

.approach-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

.approach-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark-grey);
}

.approach-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
}

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

.approach-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  font-size: 1.05rem;
  color: #555;
}

.approach-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: bold;
  font-size: 1.2rem;
}

.approach-image {
  display: none;
}

/* ==================== TESTIMONIAL SECTION ==================== */
.testimonial-section {
  padding: 80px 20px;
  background: var(--white);
  text-align: center;
}

.testimonial-block {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-block .quote-icon {
  width: 60px;
  height: 60px;
  fill: var(--primary-red);
  margin-bottom: 20px;
}

.testimonial-block blockquote {
  font-family: var(--merriweather);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--dark-grey);
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-block cite {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-red);
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-red) 0%, #6a150f 100%);
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-banner .cta-btn {
  background: var(--accent-gold);
  color: var(--dark-grey);
  border-color: var(--accent-gold);
}

.cta-banner .cta-btn:hover {
  background: #d89300;
  border-color: #d89300;
  box-shadow: 0 0 25px rgba(242, 164, 0, 0.5);
}

/* ==================== PRACTICE AREAS ACCORDION ==================== */
.practice-areas {
  padding: 80px 20px;
  background: var(--light-grey);
}

.practice-areas h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--dark-grey);
}

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

.accordion-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-item summary {
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-red);
  transition: transform 0.3s ease;
}

.accordion-item[open] summary::after {
  transform: rotate(45deg);
}

.accordion-item[open] summary {
  border-bottom: 1px solid var(--light-grey);
}

.accordion-content {
  padding: 20px 25px;
}

.accordion-content p {
  color: #666;
  margin-bottom: 15px;
}

.accordion-content a {
  color: var(--primary-red);
  font-weight: 600;
}

/* ==================== ABOUT PAGE ==================== */
.about-hero {
  min-height: 60vh;
}

.about-content {
  padding: 80px 20px;
}

.about-section {
  max-width: 900px;
  margin: 0 auto 60px;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--dark-grey);
}

.about-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.about-grid .headshot {
  text-align: center;
}

.about-grid .headshot img {
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-grid .bio h3 {
  font-size: 1.5rem;
  color: var(--primary-red);
  margin-bottom: 5px;
}

.about-grid .bio .title {
  font-size: 1rem;
  color: #777;
  margin-bottom: 20px;
}

.about-grid .bio p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
}

.benefits-list {
  list-style: none;
  margin-top: 30px;
}

.benefits-list li {
  padding: 15px 0;
  padding-left: 35px;
  position: relative;
  border-bottom: 1px solid var(--light-grey);
}

.benefits-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.benefits-list li strong {
  display: block;
  color: var(--dark-grey);
  margin-bottom: 5px;
}

.benefits-list li span {
  color: #666;
  font-size: 0.95rem;
}

/* ==================== SERVICES PAGE ==================== */
.services-hero {
  min-height: 60vh;
}

.services-content {
  padding: 80px 20px;
}

/* ==================== SERVICE DETAIL PAGE ==================== */
.service-detail-content {
  padding: 80px 20px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-detail-main h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark-grey);
}

.service-detail-main p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-detail-main ul,
.service-detail-main ol {
  margin: 20px 0 20px 25px;
}

.service-detail-main li {
  margin-bottom: 12px;
  color: #555;
}

.service-detail-sidebar {
  background: var(--light-grey);
  padding: 30px;
  border-radius: 8px;
}

.service-detail-sidebar h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--dark-grey);
}

.service-detail-sidebar ul {
  list-style: none;
}

.service-detail-sidebar li {
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.service-detail-sidebar li:last-child {
  border-bottom: none;
}

.service-detail-sidebar a {
  color: var(--primary-red);
  font-weight: 500;
}

/* FAQ Accordion */
.faq-section {
  margin-top: 60px;
}

.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

/* ==================== CONTACT PAGE ==================== */
.contact-content {
  padding: 80px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form {
  background: var(--light-grey);
  padding: 40px;
  border-radius: 8px;
}

.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--dark-grey);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--open-sans);
  transition: border-color 0.3s ease;
  background: var(--white);
}

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

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--dark-grey);
}

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

.contact-info-item svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info-item h4 {
  font-size: 1.1rem;
  color: var(--dark-grey);
  margin-bottom: 5px;
}

.contact-info-item p,
.contact-info-item a {
  color: #666;
  font-size: 1rem;
}

.contact-info-item a:hover {
  color: var(--primary-red);
}

.map-placeholder {
  width: 100%;
  height: 250px;
  background: #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  margin-top: 30px;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--dark-grey);
  color: var(--white);
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col p,
.footer-col a {
  color: #bbb;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  padding: 5px 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 40px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid #444;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-bottom .copyright {
  color: #888;
  font-size: 0.9rem;
}

.footer-bottom .badge {
  filter: grayscale(100%);
  opacity: 0.7;
}

/* ==================== RESPONSIVE STYLES ==================== */

/* Tablet (768px to 1023px) */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 25px;
  }

  .header-cta {
    display: block;
  }

  .hamburger {
    display: none;
  }

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

  .hero p {
    font-size: 1.4rem;
  }

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

  .approach-image {
    display: block;
  }

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

  .service-detail-grid {
    grid-template-columns: 2fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop (1024px and above) */
@media (min-width: 1024px) {
  .header-inner {
    padding: 15px 40px;
  }

  .super-lawyers-badge {
    display: block;
  }

  .nav-desktop {
    gap: 30px;
  }

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

  .hero p {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-col .super-lawyers-badge {
    display: inline-block;
    margin-top: 15px;
  }
}

/* Mobile Menu Active State */
body.menu-open {
  overflow: hidden;
}

/* Scroll Animation */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Super Lawyers Badge Animation */
@keyframes badgeShine {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.super-lawyers-badge.shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: badgeShine 3s ease-in-out infinite;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
