/* assets/css/style.css */

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37; /* Elegant Gold */
    --text-light: #f5f5f5;
    --text-dark: #333333;
    --bg-light: #ffffff;
    --bg-offwhite: #fafafa;
    --bg-dark: #121212;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 400;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-fast);
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.header.scrolled .logo, .header.scrolled .nav-menu a, .header.scrolled .hamburger i {
    color: var(--primary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light); /* Default white for hero */
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: var(--transition-fast);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: #111;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--secondary-color);
    background: transparent;
    color: var(--text-light);
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
}

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

.btn-dark:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* About / Intro Section */
.section-intro {
    padding: 100px 0;
    text-align: center;
    background-color: var(--bg-light);
}

.section-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

/* Featured Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    background-color: var(--bg-offwhite);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-fast);
    color: var(--text-light);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition-fast);
}

.portfolio-overlay span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    transform: translateY(20px);
    transition: var(--transition-fast);
    transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay span {
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand h3, .footer-logo {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    font-size: 20px;
}

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

.footer h4, .footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #888;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-fast);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        color: var(--primary-color);
        font-size: 18px;
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-fast);
        z-index: 999;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background: transparent;
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}


/* ===== Düzeltmeler ve yeni bileşenler (v2) ===== */

/* İç sayfalarda beyaz zemin üzerinde beyaz menü görünmüyordu */
.inner-page .header {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}
.inner-page .header .logo,
.inner-page .header .nav-menu a,
.inner-page .header .hamburger { color: var(--primary-color); }

.hamburger { background: none; border: 0; }
.header.scrolled .hamburger { color: var(--primary-color); }
.nav-menu a.nav-cta {
    border: 1px solid var(--secondary-color);
    padding: 8px 15px;
    border-radius: 4px;
    color: var(--secondary-color) !important;
}
.nav-menu a.nav-cta::after { display: none; }

.hero-kicker {
    display: block;
    font-family: var(--font-primary);
    font-style: normal;
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.breadcrumb {
    padding-top: 95px;
    font-size: 13px;
    color: #888;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--secondary-color); }

.page-hero { background: var(--bg-light); text-align: center; padding: 40px 0 60px; }
body:not(:has(.breadcrumb)) .page-hero { padding-top: 140px; }
.page-hero h1 { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.page-hero p { color: #666; max-width: 640px; margin: 0 auto; }

.section-light { background-color: var(--bg-offwhite); padding-bottom: 100px; }
.section-title { font-size: 2.5rem; color: var(--primary-color); text-align: center; margin-bottom: 10px; }
.section-sub { color: #666; max-width: 600px; margin: 10px auto 0; text-align: center; }
.section-head { margin-bottom: 40px; }
.section-cta { text-align: center; margin-top: 40px; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.featured-portfolio { padding-bottom: 100px; }
.h3 { font-size: 1.5rem; margin-bottom: 10px; }

.content-card { background: #fff; padding: 50px; border-radius: 10px; box-shadow: 0 5px 30px rgba(0,0,0,0.05); line-height: 1.8; }
.rich-text h2, .rich-text h3 { margin: 1.2em 0 .5em; }
.rich-text p, .rich-text ul, .rich-text ol { margin-bottom: 1em; }
.rich-text ul { list-style: disc; padding-left: 1.4em; }
.rich-text img { max-width: 100%; height: auto; }
.rich-text a { color: var(--secondary-color); text-decoration: underline; }

/* Hizmetler */
.services { padding: 0 0 100px; background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; margin-top: 40px; }
.service-card { padding: 35px 25px; border: 1px solid #eee; border-radius: 8px; text-align: center; transition: var(--transition-fast); }
.service-card:hover { border-color: var(--secondary-color); transform: translateY(-5px); }
.service-card i { font-size: 36px; color: var(--secondary-color); margin-bottom: 15px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-card p { color: #666; font-size: .95rem; }

/* Portfolyo */
.portfolio-item { margin: 0; }
.filter-bar { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; padding: 20px 0 40px; }
.filter-bar .btn.active { background: var(--primary-color); color: var(--text-light); }
.portfolio-item.is-hidden { display: none; }

/* Paketler */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 40px 0; }
.package-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; transition: var(--transition-fast); display: flex; flex-direction: column; }
.package-card:hover { transform: translateY(-10px); }
.package-head { background: var(--primary-color); color: var(--secondary-color); padding: 30px 20px; }
.package-head h2 { font-size: 1.8rem; margin-bottom: 10px; }
.package-price { font-size: 2.5rem; font-weight: 600; color: #fff; }
.package-body { padding: 40px 30px; flex-grow: 1; }
.package-body ul { text-align: left; }
.package-body li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; }
.package-body li i { color: var(--secondary-color); font-size: 20px; margin-top: 2px; }
.package-foot { padding: 0 30px 40px; display: flex; flex-direction: column; gap: 12px; }
.package-foot .btn { width: 100%; }
.link-more { font-size: 14px; color: #777; text-decoration: underline; }
.empty-note { grid-column: 1 / -1; text-align: center; padding: 50px; }

/* Formlar ve iletişim */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; padding: 40px 0; }
.col-title { font-size: 2rem; margin-bottom: 30px; }
.contact-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.contact-list h3 { font-family: var(--font-primary); font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.contact-list p { color: #666; font-size: 14px; }
.contact-list a:hover, .muted a { color: var(--secondary-color); }
.contact-icon { width: 50px; height: 50px; flex: 0 0 50px; background: var(--primary-color); color: var(--secondary-color); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 24px; }
.muted { color: #777; font-size: 14px; }
.muted a { text-decoration: underline; }
.form-card { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 5px 30px rgba(0,0,0,0.05); }
.form-card.narrow { max-width: 700px; margin: 0 auto; padding: 50px; }
.form-card label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-card .form-group { margin-bottom: 25px; }
.btn-block { width: 100%; }
.btn-lg { padding: 18px; font-size: 16px; }
.alert { padding: 15px; margin-bottom: 20px; border-radius: 4px; }
.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }
.alert-big { text-align: center; font-weight: 500; padding: 25px; }
.alert-big i { font-size: 40px; display: block; margin-bottom: 10px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.footer a:hover { color: var(--secondary-color); }

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .page-hero h1 { font-size: 2.1rem; }
    .section-title { font-size: 2rem; }
    .content-card, .form-card, .form-card.narrow { padding: 25px; }
    .portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

/* ===== v3: Bot doğrulama, KVKK, çerez izni, portfolyo detay ===== */
.captcha-box label strong { font-size: 1.1em; letter-spacing: 1px; }
.captcha-input { max-width: 140px; }
.consent-box { font-size: 13px; color: #555; }
.checkbox-label { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.checkbox-label input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--primary-color); }
.checkbox-label a { text-decoration: underline; color: var(--primary-color); }

.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-links a:hover, .link-btn:hover { color: var(--secondary-color); }
.link-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }

.rich-text table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 14px; }
.rich-text th, .rich-text td { border: 1px solid #e5e5e5; padding: 10px 12px; text-align: left; vertical-align: top; }
.rich-text th { background: #f6f6f6; }
@media (max-width: 600px) { .rich-text table { display: block; overflow-x: auto; } }

.cookie-banner {
    position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 2000;
    background: #fff; color: var(--text-dark); border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); padding: 20px 25px; max-width: 1100px; margin: 0 auto;
}
.cookie-banner[hidden], .cookie-modal[hidden] { display: none; }
.cookie-inner { display: flex; gap: 25px; align-items: center; }
.cookie-inner p { font-size: 14px; color: #555; }
.cookie-inner a { text-decoration: underline; color: var(--primary-color); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cbtn { padding: 10px 18px; font: 500 13px var(--font-primary); border-radius: 4px; cursor: pointer; border: 1px solid var(--primary-color); white-space: nowrap; }
.cbtn-outline { background: #fff; color: var(--primary-color); }
.cbtn-solid { background: var(--primary-color); color: #fff; }
.cbtn:hover { opacity: .85; }
.cookie-modal { position: fixed; inset: 0; z-index: 2001; background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.cookie-modal-box { background: #fff; border-radius: 10px; max-width: 560px; width: 100%; padding: 30px; max-height: 90vh; overflow-y: auto; }
.cookie-modal-title { font-family: var(--font-secondary); font-size: 1.6rem; margin-bottom: 15px; }
.cookie-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; }
.cookie-row p { font-size: 13px; color: #666; margin-top: 4px; }
.cookie-modal .cookie-actions { margin-top: 20px; justify-content: flex-end; }
.switch { position: relative; width: 46px; height: 26px; flex: 0 0 46px; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: #ccc; border-radius: 26px; transition: .2s; cursor: pointer; }
.switch span::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--secondary-color); }
.switch input:checked + span::before { transform: translateX(20px); }
.switch input:disabled + span { opacity: .6; cursor: not-allowed; }
.switch input:focus-visible + span { outline: 2px solid var(--primary-color); outline-offset: 2px; }
@media (max-width: 768px) {
    .cookie-inner { flex-direction: column; align-items: stretch; }
    .cookie-actions .cbtn { flex: 1; }
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
}

/* Portfolyo bağlantıları ve detay sayfası */
.portfolio-link { display: block; width: 100%; height: 100%; }
.portfolio-link:focus-visible .portfolio-overlay { opacity: 1; }
.photo-detail { padding-top: 20px; }
.photo-head { text-align: center; padding: 20px 0 30px; }
.photo-head h1 { font-size: 2.6rem; color: var(--primary-color); margin: 10px 0; }
.back-link { font-size: 14px; color: #777; display: inline-flex; align-items: center; gap: 5px; }
.back-link:hover { color: var(--secondary-color); }
.photo-cat { display: inline-block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary-color); }
.photo-figure { margin: 0 auto; text-align: center; }
.photo-figure img { max-width: 100%; max-height: 85vh; width: auto; height: auto; box-shadow: 0 10px 40px rgba(0,0,0,0.12); }
.photo-figure figcaption { max-width: 760px; margin: 25px auto 0; color: #555; line-height: 1.8; }
.photo-nav { display: flex; justify-content: space-between; gap: 20px; margin: 35px auto 0; max-width: 900px; font-size: 14px; }
.photo-nav a { display: inline-flex; align-items: center; gap: 4px; color: #555; }
.photo-nav a:hover { color: var(--secondary-color); }
.photo-cta { text-align: center; margin: 50px 0; display: flex; gap: 15px; justify-content: center; align-items: center; flex-wrap: wrap; }
.photo-cta p { width: 100%; font-family: var(--font-secondary); font-size: 1.4rem; }
.related { margin-top: 30px; }
.related .portfolio-grid { padding-left: 0; padding-right: 0; }
@media (max-width: 768px) { .photo-head h1 { font-size: 1.9rem; } }

/* Demo (yer tutucu) görseller tıklanabilir görünmesin; yalnızca gerçek fotoğraflar link */
.portfolio-item { cursor: default; }
.portfolio-item:has(.portfolio-link) { cursor: pointer; }

/* ===== Blog ===== */
.blog-list { padding-top: 10px; }
.blog-cats a.btn { padding: 10px 22px; font-size: 12px; }
.blog-cats a.active { background: var(--primary-color); color: var(--text-light); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.blog-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.05); display: flex; flex-direction: column; transition: var(--transition-fast); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,0.08); }
.blog-card-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: #eee; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 48px; color: #ccc; }
.blog-card-body { padding: 25px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-body h2, .blog-card-body h3 { font-size: 1.45rem; line-height: 1.3; }
.blog-card-body h2 a:hover, .blog-card-body h3 a:hover { color: var(--secondary-color); }
.blog-card-body p { color: #666; font-size: .95rem; flex: 1; }
.blog-card-body .link-more { align-self: flex-start; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: #888; align-items: center; }
.blog-cat { color: var(--secondary-color); text-transform: uppercase; letter-spacing: 1.5px; font-size: 11.5px; font-weight: 600; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; padding: 10px 14px; border: 1px solid #ddd; text-align: center; font-size: 14px; background: #fff; }
.pagination a:hover { border-color: var(--secondary-color); color: var(--secondary-color); }
.pagination .current { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.home-blog { padding-top: 80px; }

.narrow-container { max-width: 820px; }
.blog-post { padding-top: 10px; }
.post-head { text-align: center; padding: 30px 0 35px; }
.post-head h1 { font-size: 2.8rem; line-height: 1.2; color: var(--primary-color); margin: 12px 0 18px; }
.post-head .blog-meta { justify-content: center; }
.post-cover { margin: 0 0 40px; }
.post-cover img { width: 100%; height: auto; border-radius: 8px; }
.post-toc { background: #fff; border-left: 3px solid var(--secondary-color); padding: 20px 25px; margin-bottom: 35px; border-radius: 4px; }
.post-toc-title { font-weight: 600; margin-bottom: 10px; }
.post-toc ol { list-style: decimal; padding-left: 20px; }
.post-toc li { margin: 5px 0; font-size: 15px; }
.post-toc li.toc-h3 { list-style: circle; margin-left: 18px; font-size: 14px; }
.post-toc a:hover { color: var(--secondary-color); }
.post-content { font-size: 1.08rem; line-height: 1.85; color: #333; background: #fff; padding: 45px; border-radius: 8px; }
.post-content h2 { font-size: 1.9rem; margin: 1.6em 0 .6em; scroll-margin-top: 100px; }
.post-content h3 { font-size: 1.45rem; margin: 1.4em 0 .5em; scroll-margin-top: 100px; }
.post-content blockquote { border-left: 3px solid var(--secondary-color); padding: 5px 0 5px 20px; margin: 1.5em 0; font-style: italic; color: #555; }
.post-content img { border-radius: 6px; margin: 1em 0; }
.post-content ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 1em; }
.post-content .ql-align-center { text-align: center; }
.post-content .ql-align-right { text-align: right; }
.post-content .ql-align-justify { text-align: justify; }
.post-content li[data-list="bullet"] { list-style: disc; }
.post-share { display: flex; align-items: center; gap: 12px; margin: 30px 0; font-size: 14px; color: #777; }
.post-share a { width: 38px; height: 38px; border: 1px solid #ddd; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; color: #555; }
.post-share a:hover { border-color: var(--secondary-color); color: var(--secondary-color); }
.post-cta { background: var(--primary-color); color: #fff; padding: 40px; border-radius: 8px; text-align: center; margin-bottom: 60px; }
.post-cta-title { font-family: var(--font-secondary); font-size: 1.7rem; color: var(--secondary-color); margin-bottom: 10px; }
.post-cta p { color: #ccc; margin-bottom: 20px; }
.post-cta .btn { color: #fff; border-color: var(--secondary-color); margin: 5px; }
.post-cta .btn:hover { background: var(--secondary-color); color: var(--primary-color); }
.related-posts .section-title { margin-bottom: 35px; }
.preview-bar { position: sticky; top: 0; z-index: 1100; background: #b8860b; color: #fff; text-align: center; padding: 8px; font-size: 14px; margin-top: 70px; }
@media (max-width: 768px) {
    .post-head h1 { font-size: 2rem; }
    .post-content { padding: 25px 20px; font-size: 1rem; }
    .post-cta { padding: 28px 20px; }
}
