/* blogs.css - Client Blogs Section, Legal Heart Theme */

/* Blog Page Styles */
:root {
    --primary-color: #0B1C3F;
    --secondary-color: #FFFFFF;
    --tertiary-color: #F4F4F4;
    --accent-color: #D1A15F;
    --text-color: #333333;
    --gradient-overlay: linear-gradient(135deg, rgba(11, 28, 63, 0.95), rgba(11, 28, 63, 0.85));
}

/* Hero Section */
.blog-hero {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-shape-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 60%;
    height: 120%;
    background: linear-gradient(135deg, rgba(209, 161, 95, 0.03), rgba(44, 62, 80, 0.03));
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: rotate(-5deg);
}

.hero-shape-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 40%;
    height: 80%;
    background: linear-gradient(135deg, rgba(11, 28, 63, 0.02), rgba(44, 62, 80, 0.02));
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: rotate(5deg);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230B1C3F' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(209, 161, 95, 0.1);
    padding: 12px 24px;
    border-radius: 30px;
    margin-bottom: 30px;
}

.tagline-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.tagline-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.blog-hero h1 {
    font-size: 3.8rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: #fff;
    box-shadow: 0 10px 30px rgba(11, 28, 63, 0.2);
}

.cta-button.secondary {
    background: rgba(11, 28, 63, 0.03);
    color: var(--primary-color);
    border: 1px solid rgba(11, 28, 63, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(11, 28, 63, 0.15);
}

.button-icon {
    transition: transform 0.3s ease;
}

.cta-button:hover .button-icon {
    transform: translateX(5px);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(209, 161, 95, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Hero Visual Section */
.hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
    padding: 20px;
}

.hero-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(11, 28, 63, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.2)
    );
}

.floating-stats {
    position: absolute;
    top: 40px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(11, 28, 63, 0.1);
    transform: translateX(0);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateX(-10px);
    box-shadow: 0 20px 50px rgba(11, 28, 63, 0.15);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.latest-article-card {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(11, 28, 63, 0.15);
    max-width: 320px;
    transform: translateY(0);
    transition: all 0.3s ease;
    z-index: 2;
}

.latest-article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(11, 28, 63, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-badge {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-date {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.latest-article-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.latest-article-card p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-hero {
        padding: 100px 0 80px;
    }

    .hero-content {
        gap: 60px;
    }

    .blog-hero h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .feature-item {
        justify-content: center;
    }

    .hero-image {
        transform: none;
    }

    .floating-stats {
        right: 20px;
    }

    .latest-article-card {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 80px 0 60px;
    }
    
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .floating-stats {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 20px;
    }

    .latest-article-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .stat-card {
        padding: 12px 15px;
}

    .stat-number {
        font-size: 1.2rem;
    }
}

/* Blog Grid Section */
.blog-grid-section {
    padding: 100px 0;
    background: var(--tertiary-color);
    position: relative;
    overflow: hidden;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-intro h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-intro p {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
}

.blog-card {
    background: var(--secondary-color);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.card-content {
    padding: 30px;
}

.card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-meta i {
    color: var(--accent-color);
}

.blog-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(11, 28, 63, 0.2);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter-text p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.newsletter-form {
    flex: 1;
    display: flex;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(5px);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.subscribe-btn i {
    transition: transform 0.3s ease;
}

.subscribe-btn:hover i {
    transform: translateX(5px);
}

/* Premium Consultation Box */
.premium-consultation {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.premium-consultation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.1;
}

.consultation-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.consultation-text {
    flex: 1;
}

.consultation-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.consultation-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.consultation-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.consultation-features .feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.consultation-features .feature i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.consultation-cta {
    text-align: center;
}

.premium-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.premium-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.premium-button i {
    transition: transform 0.3s ease;
}

.premium-button:hover i {
    transform: translateX(5px);
}

.guarantee {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer Styles */
.footer {
    background: var(--primary-color);
    color: #fff;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    z-index: 1;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.brand-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #fff;
}

.brand-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group li {
    margin-bottom: 15px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 5px;
}

.powered-by p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.powered-by strong {
    color: #fff;
    font-weight: 600;
}

.powered-x {
    color: var(--accent-color);
    font-weight: bold;
    margin: 0 2px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

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

    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    .blog-hero {
        padding: 4rem 0;
    }

    .blog-hero h1 {
        font-size: 2.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .expertise-badges {
        position: relative;
        bottom: 0;
        margin-top: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .subscribe-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        min-height: 60vh;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    .section-intro h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
} 