/*
Theme Name: Avukat Tuğrul Uysal
Theme URI: https://avtugruluysal.com
Author: Tuğrul Uysal
Author URI: https://avtugruluysal.com
Description: Profesyonel hukuk ofisi WordPress teması. Modern, responsive ve SEO optimize edilmiş tasarım.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avukat-theme
Tags: law, lawyer, professional, business, responsive, modern, one-page
*/

:root {
    --primary-color: #1A2B48;
    --accent-color: #C5A059;
    --accent-hover: #b08e4d;
    --bg-light: #F9F9F9;
    --text-dark: #333;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.08);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

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

/* Accessibility - Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* ============ NAVIGATION ============ */
nav {
    background: var(--white);
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

nav.scrolled {
    height: 65px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
    z-index: 1001;
}

.logo:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li {
    opacity: 0;
    animation: fadeInDown 0.5s ease forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(26, 43, 72, 0.85), rgba(26, 43, 72, 0.85)), 
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?q=80&w=2070') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(197, 160, 89, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.95;
}

.cta-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 16px 45px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.cta-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 25px rgba(197, 160, 89, 0.5);
    transform: translateY(-2px);
}

.cta-btn:active {
    transform: translateY(0);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.7;
}

.scroll-indicator::before {
    content: '';
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    display: block;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s infinite;
}

/* ============ SERVICES SECTION ============ */
.services {
    padding: 100px 5% 80px;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 900;
}

.section-title .line {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto 15px;
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 0.95rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 8px;
    transition: all 0.4s ease;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    background: var(--white);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service-card::before {
    content: '⚖';
    font-size: 2.5rem;
    display: block;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.service-card:hover::before {
    transform: scale(1.1);
    opacity: 1;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

/* ============ TARIFE SECTION ============ */
.tarife {
    padding: 100px 5% 80px;
    background: var(--bg-light);
}

.tarife-container {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    overflow-x: auto;
}

.tarife-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tarife-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.tarife-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tarife-table td {
    padding: 18px 15px;
    border-bottom: 1px solid var(--border-color);
}

.tarife-table tbody tr {
    transition: background 0.2s ease;
}

.tarife-table tbody tr:hover {
    background: rgba(197, 160, 89, 0.05);
}

.category-row {
    background: rgba(26, 43, 72, 0.05);
    font-weight: 700;
    color: var(--primary-color);
}

.category-row td {
    padding: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-text {
    text-align: right;
    font-weight: 600;
    color: var(--accent-color);
    white-space: nowrap;
}

/* ============ CONTACT SECTION ============ */
.contact-section {
    padding: 100px 5% 80px;
    background: var(--white);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

.contact-form-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent-color);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

#formFeedback {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    color: #155724;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

/* ============ WHATSAPP BUTTON ============ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* ============ FOOTER ============ */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 5% 30px;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.tbb-note {
    opacity: 0.6;
    font-size: 0.75rem;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scrollDot {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(197, 160, 89, 0.3);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 30px 0;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0;
        padding: 15px 0;
        animation: none;
        opacity: 1;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .tarife-table {
        font-size: 0.8rem;
    }

    .tarife-table th,
    .tarife-table td {
        padding: 12px 10px;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 5%;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 80px 15px 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .cta-btn {
        padding: 14px 30px;
        font-size: 0.85rem;
    }

    .services,
    .tarife {
        padding: 60px 5%;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .tarife-container {
        border-radius: 6px;
    }

    .info-item {
        padding: 15px;
    }

    footer {
        padding: 40px 5% 20px;
    }
}

/* ============ PAGE TEMPLATES ============ */
.page-wrapper,
.single-wrapper,
.archive-wrapper {
    padding-top: 70px;
    min-height: 100vh;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3f5f 100%);
    color: var(--white);
    padding: 80px 5% 60px;
    text-align: center;
}

.page-hero .container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    font-weight: 900;
}

.post-meta {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 10px;
}

.breadcrumbs {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.breadcrumbs a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumbs a:hover {
    opacity: 0.7;
}

/* Page Content */
.page-content,
.single-content {
    padding: 80px 5%;
    background: var(--white);
}

.page-content .container,
.single-content .container {
    max-width: 900px;
    margin: 0 auto;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.entry-content h2 {
    color: var(--primary-color);
    margin: 40px 0 20px;
    font-size: 2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.entry-content h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0 20px 30px;
}

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

.entry-content a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.entry-content a:hover {
    border-bottom-color: var(--accent-color);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: var(--shadow-md);
}

.entry-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 20px 30px;
    margin: 30px 0;
    background: var(--bg-light);
    font-style: italic;
    border-radius: 4px;
}

/* ============ BLOG GRID ============ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.blog-thumbnail {
    display: block;
    overflow: hidden;
    height: 220px;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card-content {
    padding: 25px;
}

.blog-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 12px;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

.blog-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

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

/* ============ SINGLE POST ============ */
.post-thumbnail {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 60px 0 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.post-navigation a {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s;
    display: block;
}

.post-navigation a:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

/* Share Buttons */
.share-buttons {
    margin: 40px 0;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}

.share-buttons h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.share-buttons a {
    display: inline-block;
    padding: 12px 25px;
    margin: 5px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 600;
}

.share-buttons a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-posts h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.related-post-item {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.related-post-thumbnail {
    display: block;
    height: 180px;
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-item h4 {
    padding: 15px 15px 10px;
    font-size: 1.1rem;
}

.related-post-item h4 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-item h4 a:hover {
    color: var(--accent-color);
}

.related-post-item p {
    padding: 0 15px 15px;
    color: #555;
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 60px 0;
}

.pagination ul {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination span {
    display: block;
    padding: 12px 20px;
    background: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 600;
}

.pagination a:hover,
.pagination .current {
    background: var(--accent-color);
    color: var(--white);
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 60px 20px;
}

.no-posts p {
    font-size: 1.2rem;
    color: #777;
}

/* Archive Description */
.archive-description {
    max-width: 700px;
    margin: 20px auto 0;
    opacity: 0.9;
    font-size: 1rem;
}

/* Page Links (Pagination within post) */
.page-links {
    margin: 40px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.page-links a:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* ============ RESPONSIVE - BLOG ============ */
@media (max-width: 968px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 60px 5% 40px;
    }

    .page-content,
    .single-content,
    .archive-content {
        padding: 40px 5%;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .entry-content {
        font-size: 1rem;
    }

    .entry-content h2 {
        font-size: 1.6rem;
    }

    .share-buttons a {
        display: block;
        margin: 10px 0;
    }
}
