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

:root {
  --primary: #003366;
  --primary-light: #00509E;
  --accent: #28A745;
  --accent-hover: #228a3a;
  --bg-primary: #F8F9FA;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --text-primary: #003366;
  --text-secondary: #6C757D;
  --border-color: #E9ECEF;
  --font-heading: 'Roboto Slab', serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow-light: 0 2px 8px rgba(0, 51, 102, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 51, 102, 0.15);
  --shadow-strong: 0 8px 32px rgba(0, 51, 102, 0.2);
  --gradient-overlay: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 80, 158, 0.8));
}

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

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

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
}

/* Header Styles */
.gh-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 9999;
  transition: all 0.3s ease;
}

.gh-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-light);
}

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

.gh-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.gh-logo:hover {
  color: var(--primary-light);
}

.gh-nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.gh-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.gh-cta-phone {
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gh-cta-phone:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.gh-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.gh-hamburger span {
  width: 24px;
  height: 3px;
  background: var(--primary);
  transition: all 0.3s ease;
}

/* Main Content */
main {
  padding-top: 80px;
}

/* Hero Section */
.kf-hero-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-overlay), url('../images/hero1-law-office-interior_orig.jpg') center/cover fixed;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kf-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 2;
  position: relative;
}

.kf-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease forwards 0.3s;
}

.kf-hero-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  margin-bottom: 2rem;
  opacity: 0.9;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease forwards 0.6s;
}

.kf-hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease forwards 0.9s;
}

.kf-btn-primary {
  background: var(--accent);
  color: white;
  padding: 16px 32px;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kf-btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.kf-btn-secondary {
  background: transparent;
  color: white;
  padding: 16px 32px;
  border: 2px solid white;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.kf-btn-secondary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}

/* Section Layouts */
.bq-section {
  padding: 6rem 0;
  overflow: hidden;
  position: relative;
}

.bq-section:nth-child(even) {
  background: var(--bg-secondary);
}

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

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

.bq-section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.bq-section-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.mv-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.mv-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Components */
.zp-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  opacity: 0;
  transform: translateY(40px);
}

.zp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.zp-card-animated {
  animation: fadeInUp 0.8s ease forwards;
}

.zp-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

.zp-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.zp-card-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Interactive Elements */
.tn-interactive {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.tn-interactive:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-medium);
}

.tn-quiz {
  max-width: 600px;
  margin: 0 auto;
}

.tn-question {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.tn-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tn-option {
  padding: 1rem;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 600;
}

.tn-option:hover {
  border-color: var(--primary-light);
  background: rgba(0, 80, 158, 0.05);
}

.tn-option.selected {
  background: var(--primary-light);
  color: white;
  border-color: var(--primary-light);
}

/* Team Section */
.lk-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.lk-team-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.lk-team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.lk-team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 2rem auto 1.5rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
}

.lk-team-info {
  padding: 0 2rem 2rem;
  text-align: center;
}

.lk-team-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.lk-team-role {
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.lk-team-bio {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Form */
.wp-form {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
  max-width: 600px;
  margin: 0 auto;
}

.wp-form-group {
  margin-bottom: 2rem;
}

.wp-form-label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.wp-form-input,
.wp-form-select,
.wp-form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.wp-form-input:focus,
.wp-form-select:focus,
.wp-form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(0, 80, 158, 0.1);
}

.wp-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.wp-submit-btn {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.wp-submit-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Legal Text Box */
.yr-legal-box {
  background: var(--bg-primary);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
}

.yr-legal-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.yr-legal-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Statistics */
.vx-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.vx-stat-item {
  text-align: center;
  padding: 2rem;
}

.vx-stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.vx-stat-label {
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Footer */
.qm-footer {
  background: var(--primary);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.qm-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.qm-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.qm-footer-section h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 1.5rem;
  color: white;
}

.qm-footer-section p,
.qm-footer-section li {
  line-height: 1.6;
  opacity: 0.9;
}

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

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

.qm-footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.qm-footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.qm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 51, 102, 0.95);
  color: white;
  padding: 1.5rem 2rem;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
}

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

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--accent);
  color: white;
}

.cookie-accept:hover {
  background: var(--accent-hover);
}

.cookie-decline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cookie-decline:hover {
  background: white;
  color: var(--primary);
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .gh-nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .gh-nav-menu.active {
    transform: translateX(0);
  }

  .gh-hamburger {
    display: flex;
  }

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

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

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

  .bq-section {
    padding: 3rem 0;
  }

  .mv-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .lk-team-grid {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

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

  .wp-form {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }

  body {
    font-size: 16px;
  }

  .bq-section-title {
    font-size: 32px;
  }
}

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

  .bq-container {
    padding: 0 1rem;
  }

  .kf-hero-content {
    padding: 0 1rem;
  }

  .gh-cta-phone {
    display: none;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }