/* Vidovich Law - Main Stylesheet */

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

body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  background: #fff;
}

a {
  color: #6B9E9E;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #4a7a7a;
}

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

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

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

.logo {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.logo a {
  color: #333;
  text-decoration: none;
}

.logo .law {
  color: #6B9E9E;
}

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

nav a {
  color: #666;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: #333;
  border-bottom-color: #6B9E9E;
}

/* Hero Section */
.hero {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 40px;
  max-width: 500px;
}

.hero h1 {
  font-size: 32px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Main Content */
main {
  padding: 40px 0;
}

h1, h2, h3, h4 {
  color: #333;
  font-weight: normal;
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #6B9E9E;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 15px;
}

/* Practice Area Cards on Home */
.practice-areas {
  margin-top: 40px;
}

.practice-card {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid #eee;
  align-items: flex-start;
}

.practice-card img {
  width: 280px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

.practice-card-content h2 {
  margin-bottom: 15px;
}

.practice-card-content ul {
  margin-left: 20px;
  color: #666;
}

.practice-card-content li {
  margin-bottom: 5px;
}

/* About Page */
.about-intro {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.about-intro img {
  width: 300px;
  height: 220px;
  object-fit: cover;
}

.about-info h3 {
  margin-top: 15px;
  color: #333;
}

.about-info ul {
  list-style: none;
  margin-top: 10px;
}

.about-info li {
  padding: 3px 0;
}

/* Attorney Profile */
.attorney-profile {
  display: flex;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}

.attorney-profile img {
  width: 150px;
  height: 180px;
  object-fit: cover;
}

.attorney-profile h2 {
  color: #6B9E9E;
  margin-bottom: 5px;
}

.attorney-profile .title {
  font-style: italic;
  color: #999;
  margin-bottom: 15px;
}

/* Practice Area Page */
.practice-page {
  display: flex;
  gap: 40px;
}

.practice-page img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.practice-page-content h1 {
  color: #6B9E9E;
  margin-bottom: 20px;
}

.practice-page-content h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  color: #333;
}

.see-also {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.see-also h4 {
  margin-bottom: 10px;
}

.see-also ul {
  list-style: none;
}

.see-also li {
  padding: 3px 0;
}

/* Contact Page */
.contact-info {
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 8px;
}

.contact-info strong {
  color: #333;
}

.map-container {
  margin: 30px 0;
}

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

/* Blog */
.blog-intro {
  font-size: 18px;
  color: #888;
  margin-bottom: 30px;
}

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

.post-preview {
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.post-preview h2 {
  color: #333;
  margin-bottom: 5px;
}

.post-preview h2 a {
  color: #333;
}

.post-preview h2 a:hover {
  color: #6B9E9E;
}

.post-meta {
  color: #999;
  font-size: 14px;
  margin-bottom: 15px;
}

.post-preview img {
  max-width: 400px;
  margin: 20px 0;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
}

/* Single Post */
.post-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.post-header h1 {
  color: #333;
  margin-bottom: 10px;
}

.post-content {
  line-height: 1.8;
}

.post-content img {
  margin: 20px 0;
}

.post-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #999;
  font-size: 14px;
}

/* Footer */
footer {
  margin-top: 60px;
  padding: 40px 0;
  border-top: 1px solid #eee;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 5px;
}

.footer-logo .law {
  color: #6B9E9E;
}

.footer-contact {
  text-align: right;
  font-size: 14px;
  color: #666;
}

.footer-contact strong {
  color: #333;
}

.footer-contact p {
  margin-bottom: 3px;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 25px;
  }
  
  .header-inner {
    flex-direction: column;
    gap: 20px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .practice-card,
  .about-intro,
  .attorney-profile,
  .practice-page {
    flex-direction: column;
  }
  
  .practice-card img,
  .about-intro img,
  .practice-page img {
    width: 100%;
    max-width: 400px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-contact {
    text-align: center;
  }
  
  /* Better list spacing on mobile */
  .practice-page-content ul,
  .practice-page-content ol,
  .post-content ul,
  .post-content ol {
    padding-left: 25px;
    margin-left: 0;
  }
  
  .practice-page-content li,
  .post-content li {
    margin-bottom: 10px;
  }
}
