/* Modern Minimalist Style for Arthurknows Law Firm
   Inspired by Burges Salmon design */

/* Base Styles & Reset */
:root {
  --primary-color: #1a1a1a;
  --secondary-color: #f8f8f8;
  --accent-color: #c0a87b;
  --text-color: #333333;
  --light-text: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #555555;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: 12px 30px;
  border: 1px solid var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text);
  border: 1px solid var(--primary-color);
}

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

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

.section-title h2 {
  display: inline-block;
  position: relative;
}

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

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
  padding: 1.5rem 0;
}

header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

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

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
}

header.scrolled .logo-text {
  color: var(--primary-color);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2.5rem;
}

nav ul li a {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  position: relative;
  color: var(--primary-color);
}

header.transparent nav ul li a {
  color: var(--light-text);
}

header.scrolled nav ul li a {
  color: var(--primary-color);
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

header.transparent .mobile-menu-btn {
  color: var(--light-text);
}

/* Hero Section */
.hero {
  height: 80vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--primary-color);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.hero h1 {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.5s;
}

.hero p {
  color: var(--light-text);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.7s;
}

.hero .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.9s;
}

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

/* Practice Areas Section */
.practice-areas {
  padding: 6rem 0;
  background-color: var(--light-gray);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.practice-card {
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.practice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.practice-card-image {
  height: 200px;
  overflow: hidden;
}

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

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

.practice-card-content {
  padding: 2rem;
}

.practice-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.practice-card h3:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

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

.practice-card .btn {
  font-size: 0.85rem;
  padding: 10px 20px;
}

/* About Section */
.about {
  padding: 6rem 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  box-shadow: var(--box-shadow);
}

.about-image:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-color);
  top: 20px;
  left: 20px;
  z-index: -1;
}

/* Attorneys Section */
.attorneys {
  padding: 6rem 0;
  background-color: var(--light-gray);
}

.attorney-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.attorney-card {
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.attorney-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.attorney-image {
  height: 350px;
  overflow: hidden;
}

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

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

.attorney-info {
  padding: 1.5rem;
}

.attorney-info h3 {
  margin-bottom: 0.5rem;
}

.attorney-info p {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--primary-color);
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
  background-color: var(--primary-color);
  color: var(--light-text);
}

.testimonials .section-title h2 {
  color: var(--light-text);
}

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

.testimonial-item {
  text-align: center;
  padding: 0 2rem;
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-text:before,
.testimonial-text:after {
  content: '"';
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.3;
  position: absolute;
}

.testimonial-text:before {
  top: -2rem;
  left: -1rem;
}

.testimonial-text:after {
  bottom: -4rem;
  right: -1rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item .icon {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.contact-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--medium-gray);
  font-family: inherit;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* Map */
.map-container {
  height: 400px;
  margin-top: 4rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 4rem 0 1rem;
}

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

.footer-col h3 {
  color: var(--light-text);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h3:after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

.footer-col p {
  color: #aaaaaa;
}

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

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: #aaaaaa;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--light-text);
  padding-left: 5px;
}

.business-hours li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: #aaaaaa;
}

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

/* News/Insights Section (Similar to Burges Salmon) */
.news-section {
  padding: 6rem 0;
  background-color: #ffffff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.news-card {
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

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

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

.news-content {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

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

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

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

/* Responsive Styles */
@media (max-width: 1200px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-image:before {
    display: none;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav.active {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  nav ul li {
    margin: 0;
    padding: 0.75rem 2rem;
  }
  
  .hero {
    height: 70vh;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .practice-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    height: 60vh;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .practice-areas,
  .about,
  .attorneys,
  .testimonials,
  .contact,
  .news-section {
    padding: 4rem 0;
  }
}