/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2c5282;
    --accent-color: #d4a574;
    --accent-hover: #c49563;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --dark: #1a1a1a;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

p, li, a, span {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
}

.hero-subtitle, .hero-description {
    font-family: 'Lora', Georgia, serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    max-width: 1400px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0.5px;
}

.navbar.scrolled .nav-brand {
    color: var(--primary-color);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.8)) brightness(0) invert(1);
}

.navbar.scrolled .logo-img {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.nav-brand:hover .logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.logo-svg {
    height: 50px;
    width: 50px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-brand:hover .logo-svg {
    transform: scale(1.1) rotate(5deg);
}

.nav-brand span {
    display: inline-block;
    transition: var(--transition);
}

.nav-brand i {
    font-size: 2rem;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin-right: 20px;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.navbar.scrolled .nav-link {
    color: var(--text-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?q=80&w=2070') center center no-repeat;
    background-size: cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    position: relative;
    width: 100%;
}

.hero-main-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    margin: 0;
    padding: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
    animation: fadeInUp 1s ease;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero-main-title .title-law {
    display: block;
    font-size: 3rem;
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 10px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideDown 1s ease;
}

.hero-badge i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.hero-logo {
    margin-bottom: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    filter: drop-shadow(0 10px 25px rgba(212, 165, 116, 0.4)) 
            drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.hero-logo-svg {
    height: 200px;
    width: 200px;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.5));
}

.hero-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    animation: float 3s ease-in-out infinite;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero-title .title-second-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 400;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 300;
}

.hero-description .highlight {
    color: var(--accent-color);
    font-weight: 600;
    padding: 0 5px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(212, 165, 116, 0.3);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn i {
    margin-right: 8px;
}

/* Hero Trust */
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
    opacity: 0.9;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.trust-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.scroll-down {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-down img {
    width: 45px;
    height: 45px;
    opacity: 0.9;
    transition: var(--transition);
}

.scroll-down:hover img {
    opacity: 1;
}

/* Info Section */
.info-section {
    padding: 100px 20px;
    background: white;
    text-align: center;
}

.info-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.info-divider {
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto 30px;
}

.info-description {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto 40px;
}

.info-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 5px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(192, 160, 98, 0.4);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0.5px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    gap: 30px;
}

.feature-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Services Section */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* Blog Section */
.blog {
    background: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 5rem;
    color: var(--white);
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-link:hover {
    gap: 12px;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);
    line-height: 1.8;
}

.contact-form-wrapper {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 3px 10px rgba(212, 165, 116, 0.5)) 
            contrast(1.1) 
            brightness(1.15);
    transition: var(--transition);
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 15px rgba(212, 165, 116, 0.6)) 
            contrast(1.1) 
            brightness(1.2);
}

.footer-logo-svg {
    height: 60px;
    width: 60px;
    filter: drop-shadow(0 2px 8px rgba(192, 160, 98, 0.4));
    transition: var(--transition);
}

.footer-logo:hover .footer-logo-svg {
    transform: scale(1.05);
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .logo-img {
        height: 45px;
    }

    .logo-svg {
        height: 40px;
        width: 40px;
    }

    .nav-brand {
        font-size: 1.1rem;
    }

    .hero-logo-img {
        height: 130px;
    }

    .hero-logo-svg {
        height: 150px;
        width: 150px;
    }

    .hero-main-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-main-title .title-law {
        font-size: 2rem;
        letter-spacing: 6px;
    }

    .info-title {
        font-size: 2.2rem;
    }

    .info-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-trust {
        gap: 20px;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 8px 20px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-logo-img {
        height: 55px;
    }

    .footer-logo-svg {
        height: 50px;
        width: 50px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 38px;
    }

    .logo-svg {
        height: 35px;
        width: 35px;
    }

    .nav-brand span {
        font-size: 0.9rem;
    }

    .hero-logo-img {
        height: 100px;
    }

    .hero-logo-svg {
        height: 120px;
        width: 120px;
    }

    .hero-main-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero-main-title .title-law {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }

    .info-title {
        font-size: 1.8rem;
    }

    .info-description {
        font-size: 0.95rem;
    }

    .info-section {
        padding: 60px 20px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        gap: 15px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .hero-icon {
        font-size: 3rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .footer-logo-img {
        height: 45px;
    }

    .footer-logo-svg {
        height: 40px;
        width: 40px;
    }
}

/* ============================================
   Blog Page Styles
   ============================================ */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 150px 0 100px;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Articles */
.blog-page {
    padding: 80px 0;
    background: var(--light-bg);
}

.blog-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-article {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-article:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.article-image {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.article-image i {
    font-size: 4rem;
    color: var(--white);
}

.article-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.article-meta span {
    color: var(--gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta span i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.article-body {
    color: var(--text-color);
    line-height: 1.8;
    display: none;
}

.article-body.expanded {
    display: block;
    margin-bottom: 25px;
}

.article-body h3 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin: 25px 0 12px;
}

.article-body h3:first-child {
    margin-top: 0;
}

.article-body p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.read-more-btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    align-self: flex-start;
    margin-top: auto;
}

.read-more-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.read-more-btn.expanded::before {
    content: "Daha Az Göster";
}

.read-more-btn:not(.expanded)::before {
    content: "Devamını Oku";
}

/* Responsive for Blog Page */
@media (max-width: 968px) {
    .blog-articles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-articles {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-header {
        padding: 120px 0 60px;
        margin-top: 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .article-content {
        padding: 30px 20px;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-meta {
        gap: 15px;
        font-size: 0.85rem;
    }

    .article-image {
        padding: 40px;
    }

    .article-image i {
        font-size: 3.5rem;
    }
}
