/*
Theme Name: Seostarter Pro
Theme URI: https://example.com/seostarter-pro
Author: Seostarter
Author URI: https://example.com
Description: Genel amaçlı, %100 SEO uyumlu, konum tabanlı SEO destekli, Schema.org JSON-LD yapılandırılmış veri destekli, tek sayfa WordPress teması. Admin panelden tüm içerik, anahtar kelimeler ve başlıklar düzenlenebilir.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seostarter-pro
Tags: one-page, seo-ready, custom-logo, translation-ready, responsive-layout
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-secondary: #0f172a;
    --color-accent: #f59e0b;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-heading: #0f172a;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0f172a;
    --color-border: #e2e8f0;
    --color-white: #ffffff;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max: 1200px;
    --header-height: 72px;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
    --transition: 0.3s ease;
}

/* ==========================================================================
   Reset / Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    gap: 8px;
    line-height: 1;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-secondary);
}

/* Skip Navigation */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: var(--radius);
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
    color: var(--color-white);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--color-heading);
    text-decoration: none;
}

.site-logo img {
    max-height: 40px;
    width: auto;
}

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

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 8px 16px;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.08);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--color-heading);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #1e3a5f 50%, var(--color-primary) 100%);
    color: var(--color-white);
    overflow: hidden;
    padding: 120px 20px 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,218.7C672,235,768,245,864,234.7C960,224,1056,192,1152,181.3C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom center;
    background-size: cover;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--color-white);
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-content p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    color: var(--color-text);
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    background: var(--color-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius);
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    background: var(--color-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: var(--color-white);
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-heading);
    font-family: var(--font-primary);
    gap: 16px;
    transition: all var(--transition);
}

.faq-question:hover {
    background: var(--color-bg-alt);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform var(--transition);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-primary);
    border-radius: 2px;
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    transition: transform var(--transition);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--color-text);
    line-height: 1.8;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    background: var(--color-bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

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

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius);
    font-size: 1.25rem;
}

.contact-info-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--color-text-light);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.contact-info-item a {
    color: var(--color-text-light);
}

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

.contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-text);
    transition: border-color var(--transition);
    background: var(--color-bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-map {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: var(--color-white);
    font-size: 1.375rem;
    margin-bottom: 16px;
}

.footer-brand p {
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 0;
    font-size: 0.9375rem;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 8px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    font-size: 1.125rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.875rem;
}

/* ==========================================================================
   Blog Hero / Breadcrumb
   ========================================================================== */
.blog-hero {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #1e3a5f 50%, var(--color-primary) 100%);
    padding: calc(var(--header-height) + 48px) 0 48px;
    color: var(--color-white);
}

.blog-hero-inner h1 {
    color: var(--color-white);
    margin-bottom: 8px;
}

.blog-hero-inner p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.125rem;
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Blog Section (Front Page)
   ========================================================================== */
.blog-section {
    background: var(--color-bg-alt);
}

.home-blog-grid {
    grid-template-columns: 1fr;
}

.blog-more {
    text-align: center;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .home-blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Blog Listing
   ========================================================================== */
.blog-listing {
    background: var(--color-bg-alt);
}

.blog-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

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

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

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.blog-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

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

.blog-card-body {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.blog-card-meta time {
    color: var(--color-text-light);
}

.blog-card-cat a,
.blog-card-type {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

.blog-card-cat a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.blog-card-body h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-body h2 a {
    color: var(--color-heading);
}

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

.blog-card-body h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-body h3 a {
    color: var(--color-heading);
}

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

.blog-card-body > p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.blog-card-link {
    display: inline-block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-primary);
}

.blog-card-link:hover {
    color: var(--color-primary-dark);
}

/* ==========================================================================
   Blog Pagination
   ========================================================================== */
.blog-pagination {
    margin-top: 48px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    text-decoration: none;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.blog-pagination .prev,
.blog-pagination .next {
    padding: 0 16px;
}

/* ==========================================================================
   Single Post
   ========================================================================== */
.post-hero {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #1e3a5f 50%, var(--color-primary) 100%);
    padding: calc(var(--header-height) + 48px) 0 48px;
    color: var(--color-white);
}

.post-hero h1 {
    color: var(--color-white);
    margin-bottom: 20px;
    max-width: 800px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.post-meta a {
    color: rgba(255, 255, 255, 0.85);
}

.post-meta a:hover {
    color: var(--color-white);
}

.post-meta-sep {
    color: rgba(255, 255, 255, 0.4);
}

/* Featured Image */
.post-featured-image {
    margin-top: -24px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.post-featured-image figure {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: 0 auto;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Post Content Grid */
.post-content-wrap {
    padding: 40px 0 80px;
}

.post-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Post Content Typography */
.post-content {
    max-width: 800px;
}

.post-content h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 1.75rem;
}

.post-content h3 {
    margin-top: 36px;
    margin-bottom: 12px;
    font-size: 1.375rem;
}

.post-content h4 {
    margin-top: 28px;
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.post-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.0625rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.25rem;
    padding-left: 28px;
}

.post-content ul {
    list-style: disc;
}

.post-content ol {
    list-style: decimal;
}

.post-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.post-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--color-bg-alt);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--color-text-light);
}

.post-content pre {
    background: var(--color-secondary);
    color: #e2e8f0;
    padding: 24px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.post-content code {
    background: var(--color-bg-alt);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.875em;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-content img {
    border-radius: var(--radius);
    margin: 24px 0;
}

.post-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.25rem;
}

.post-content th,
.post-content td {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    text-align: left;
}

.post-content th {
    background: var(--color-bg-alt);
    font-weight: 600;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.post-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--color-bg-alt);
    color: var(--color-text-light);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all var(--transition);
    text-decoration: none;
}

.post-tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
    padding: 24px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.author-avatar img {
    border-radius: 50%;
    width: 64px;
    height: 64px;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.author-info p {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Post Navigation */
.post-navigation {
    background: var(--color-bg-alt);
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.post-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    background: var(--color-white);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    text-decoration: none;
}

.post-nav-link:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.post-nav-prev {
    text-align: left;
}

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

.post-nav-label {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.post-nav-title {
    font-weight: 600;
    color: var(--color-heading);
    font-size: 0.9375rem;
    line-height: 1.4;
}

.post-nav-link:hover .post-nav-title {
    color: var(--color-primary);
}

/* Related Posts */
.related-posts {
    background: var(--color-bg);
}

/* ==========================================================================
   Blog Sidebar
   ========================================================================== */
.blog-sidebar,
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-widget li:last-child {
    border-bottom: none;
}

.sidebar-widget a {
    color: var(--color-text);
    font-size: 0.9375rem;
}

.sidebar-widget a:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   Search Form
   ========================================================================== */
.search-form-wrap {
    margin-bottom: 32px;
}

.search-form {
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-btn {
    padding: 12px 24px;
    white-space: nowrap;
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404 {
    background: var(--color-bg);
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
}

.error-404-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-404-code {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.15;
}

.error-404-content h1 {
    margin-bottom: 12px;
}

.error-404-content > p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.error-search {
    margin-bottom: 24px;
}

.error-404-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-heading);
    border: 2px solid var(--color-border);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-outline-dark:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ==========================================================================
   No Posts State
   ========================================================================== */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.no-posts h2 {
    margin-bottom: 8px;
}

.no-posts p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

/* Page Links (multi-page posts) */
.page-links {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-links-label {
    font-weight: 600;
    margin-right: 8px;
}

.page-links a,
.page-links > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

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

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

.page-links > span {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Screen Reader Text (Accessibility) */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive - Tablet (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    .section-padding {
        padding: 100px 0;
    }

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

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

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

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

    /* Blog responsive */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-content-grid {
        grid-template-columns: 1fr 300px;
    }

    .post-content-grid {
        grid-template-columns: 1fr 280px;
    }
}

/* ==========================================================================
   Responsive - Desktop (min-width: 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-content h1 {
        letter-spacing: -0.02em;
    }
}

/* ==========================================================================
   Responsive - Mobile (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--color-white);
        padding: 24px;
        transform: translateX(100%);
        transition: transform var(--transition);
        overflow-y: auto;
        z-index: 999;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a {
        padding: 14px 16px;
        font-size: 1.0625rem;
        border-radius: var(--radius);
    }

    .hero-section {
        min-height: 80vh;
    }

    .contact-form {
        padding: 24px;
    }

    /* Blog mobile */
    .post-nav-grid {
        grid-template-columns: 1fr;
    }

    .post-nav-next {
        text-align: left;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}
