
/* ============================================
   Schuler Law LLC - Main Stylesheet
   Navy + Gold Theme | Mobile-First Responsive
   ============================================ */

/* --- Reset & Base ---  */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} 

:root {
  --navy: #06273A;
  --navy-dark: #041a29;
  --gold: #956E46;
  --gold-light: #b48d6a;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-100: #f0f0ee;
  --gray-200: #e2e2de;
  --gray-400: #9a9a96;
  --gray-600: #5c5c58;
  --gray-800: #333330;
  --text: #2c3038;
  --font-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--off-white);
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.3rem; }

p {
  margin-bottom: 1rem;
}

/* --- Utility --- */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.text-center { text-align: center; }
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 1rem 0;
}

.text-center .gold-line {
  margin: 1rem auto;
}

.section-padding {
  padding: 120px 0;
}

.page-header + .section-padding {
  padding-top: 60px;
}

.pt-reduced {
  padding-top: 60px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 48px;
}

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

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

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

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

/* --- Header & Navigation --- */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(226, 226, 222, 0.5);
  transition: background 0.3s ease;
}

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

.site-logo {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-height: 44px;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  padding: 1rem 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.main-nav.open {
  display: block;
}

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

.nav-list > li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.nav-link {
  display: block;
  color: var(--text);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

/* Dropdown */
.has-dropdown > .nav-link::after {
  content: ' ▾';
  font-size: 0.8em;
}

.dropdown-menu {
  display: none;
  list-style: none;
  background: rgba(0,0,0,0.15);
}

.has-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  padding-left: 2.5rem;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.8);
}

.dropdown-menu li a:hover {
  color: var(--gold);
}

/* --- Hero Section --- */
.hero {
  background: url('../rich-martello-zIlyHd9Qn7U-unsplash-medium.jpg') center/cover no-repeat;
  height: 0;
  padding-top: 56.25%;
  max-width: 1280px;
  margin: 0 auto;
}

/* --- Practice Area Cards --- */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.practice-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.practice-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(11, 27, 61, 0.1);
  border-color: var(--gold);
}

.practice-card h3 {
  margin-bottom: 0.75rem;
}

.practice-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.93rem;
  margin-top: auto;
}

.card-link:hover {
  color: var(--navy);
}

/* --- Section Backgrounds --- */
.bg-light {
  background: var(--off-white);
}

.bg-navy {
  background: var(--navy);
  color: var(--white);
}

.bg-navy h2,
.bg-navy h3 {
  color: var(--white);
}

/* --- CTA Section --- */
.cta-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem 4rem;
}

.cta-inner {
  background: var(--navy);
  width: 100%;
  max-width: 960px;
  padding: 5rem 3rem;
  border-radius: 8px;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-heading {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 2.25rem;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  max-width: 800px;
}

.cta-subtext {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 640px;
}

.btn-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 4px;
  background: var(--gold);
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 48px;
}

.btn-cta:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
}

@media (min-width: 768px) {
  .cta-inner {
    padding: 5rem 4rem;
  }

  .cta-heading {
    font-size: 2.75rem;
  }

  .cta-subtext {
    font-size: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .cta-section {
    padding: 0 2rem 6rem;
  }

  .cta-inner {
    padding: 6rem 5rem;
  }

  .cta-heading {
    font-size: 3rem;
  }
}

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

.about-photo {
  border-radius: 6px;
  overflow: hidden;
  max-width: 200px;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text h2 {
  margin-bottom: 1rem;
}

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

.contact-info-block {
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: 6px;
  margin-bottom: 1rem;
}

.contact-info-block h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.contact-info-block a {
  color: var(--gold);
}

.form-embed {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 1.5rem;
  min-height: 400px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.85rem;
  padding: 1rem 0;
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.3rem;
  color: var(--gray-400);
}

.breadcrumb a {
  color: var(--gray-600);
}

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

/* --- Practice Area Detail Page --- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 3rem 0;
}

.page-header h1 {
  color: var(--white);
  font-size: 2rem;
}

.detail-content {
  max-width: 860px; /* Slightly wider */
  margin: 0 auto;
  font-size: 1.1rem; /* Slightly larger text */
  line-height: 1.8;
}

.detail-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--gold); /* Subtle gold accent */
  color: var(--navy);
}

.detail-content ul {
  list-style: none; /* Remove default bullets */
  margin-left: 0;
  margin-bottom: 1.5rem;
}

.detail-content li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.75rem;
}

.detail-content li::before {
  content: '■'; /* Custom bullet */
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.8em;
}

.detail-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.detail-content ol li {
  margin-bottom: 0.75rem;
  padding-left: 0;
}

.detail-content ol li::before {
  display: none;
}

/* FAQ Section */
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  border-color: rgba(149, 110, 70, 0.3); /* Subtle gold border on hover */
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.faq-item p {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 0;
}

/* Detail CTA & Related Services */
.detail-cta {
  margin-top: 3.5rem;
  padding: 3rem 2rem;
  background: var(--off-white);
  text-align: center;
  border-top: 3px solid var(--gold);
}

.detail-cta .btn {
  margin-top: 0;
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

.related-services {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.related-services h3 {
  margin-top: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

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

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  display: block;
  padding: 0.2rem 0;
  font-size: 0.93rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* --- Payments Page --- */
.payments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 2rem auto;
}

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

.payment-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
}

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

/* --- Responsive Breakpoints --- */
@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero { padding-top: 28%; }

  .nav-toggle { display: none; }

  .main-nav {
    display: block !important;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .nav-list {
    display: flex;
    gap: 1.5rem;
  }

  .nav-list > li {
    border-bottom: none;
  }

  .nav-link {
    padding: 0.6rem 0.5rem;
    font-size: 0.93rem;
  }

  /* Desktop dropdown */
  .has-dropdown {
    position: relative;
  }

  .dropdown-menu {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--navy-dark);
    min-width: 310px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    padding: 0.5rem 0;
  }

  .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }

  .dropdown-menu li a {
    padding-left: 1rem;
  }

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

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

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

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

@media (min-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }

  .hero { padding-top: 25%; }

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

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

/* --- Animations --- */
.fade-in-up {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.hidden {
  opacity: 0;
  transform: translateY(30px);
}

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