/* Modern Enhancements for Evolve Tax */

/* Global Utilities */
:root {
  --primary-color: rgba(205, 163, 88, 1);
  --primary-dark: #b88e45;
  --text-dark: #2c2c2c;
  --text-muted: #666;
  --bg-light: #f9f9f9;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --card-hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  --border-radius-lg: 16px;
  --border-radius-md: 8px;
}

/* Service Detail Improvements */
.service-hero-section {
    padding: 220px 0 60px; /* Account for fixed header */
    background: linear-gradient(180deg, #fdfbf7 0%, #fff 100%);
    text-align: center;
}

.service-hero-title {
    font-family: var(--marcellus);
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--jost);
    color: var(--text-muted);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-breadcrumb a {
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.service-breadcrumb span {
    color: var(--primary-color);
    font-weight: 500;
}

.service-content-wrapper {
    padding: 60px 0 100px;
}

.service-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
}

.service-body {
    font-family: var(--jost);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

.service-body h2 {
    font-family: var(--marcellus);
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-body p {
    margin-bottom: 20px;
}

/* Blog Listing Improvements */
.blog-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.03);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.blog-card-image-wrapper {
    position: relative;
    padding-top: 60%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.blog-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-title {
    font-family: var(--marcellus);
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.blog-card-title a {
    color: inherit;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    font-family: var(--jost);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: gap 0.3s, color 0.3s;
}

.read-more-link:hover {
    gap: 12px;
    color: var(--primary-color);
}

/* Blog Detail Improvements */
.blog-detail-header {
    text-align: center;
    padding: 200px 0 60px;
    background: linear-gradient(180deg, #fdfbf7 0%, #fff 100%);
}

.blog-meta-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-family: var(--jost);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-title-large {
    font-family: var(--marcellus);
    font-size: 3rem;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-featured-image-container {
    margin-bottom: 50px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.blog-featured-image-container img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.blog-content-body {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
    font-family: var(--jost);
}

.blog-content-body p {
    margin-bottom: 25px;
}

.blog-content-body h2 {
    font-family: var(--marcellus);
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.blog-content-body h3 {
    font-family: var(--marcellus);
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.blog-content-body ul, .blog-content-body ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.blog-content-body li {
    margin-bottom: 10px;
}

.blog-content-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    background: #f9f9f9;
    font-style: italic;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .service-hero-title, .blog-title-large {
        font-size: 2.5rem;
    }
    .service-hero-section, .blog-detail-header {
        padding-top: 150px;
    }
}

@media (max-width: 768px) {
    .service-hero-title, .blog-title-large {
        font-size: 2rem;
    }
    .service-content-wrapper {
        padding: 40px 0;
    }
}
