/* =========================================
   CSS Reset & Variables
   ========================================= */
:root {
    /* Color Palette – White & Orange Theme */
    --primary-color: #d35400;
    --primary-hover: #e67e22;
    --secondary-color: #f39c12;

    /* Backgrounds */
    --dark-bg: #ffffff;        /* was dark, now WHITE */
    --darker-bg: #fff7f2;      /* was darker, now very light orange tint */
    --light-bg: #fff3eb;       /* warm light orange tint */

    /* Text */
    --text-light: #333333;     /* main body text on white  */
    --text-dark: #1a1a1a;      /* bolder headings */
    --text-muted: #666666;

    /* Accents */
    --wood-accent: #8b4513;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Layout */
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --box-shadow: 0 8px 30px rgba(211, 84, 0, 0.10);
    --box-shadow-light: 0 4px 15px rgba(0, 0, 0, 0.07);
}

/* =========================================
   Reset
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: #ffffff;
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

ul { list-style: none; }

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   Utilities
   ========================================= */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Backgrounds */
.bg-dark {
    background-color: #ffffff;
    color: var(--text-light);
}

.bg-light {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.bg-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.text-dark { color: var(--text-dark); }
.text-light { color: var(--text-light); }

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 84, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}
.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
}
.btn-dark:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius);
}
.btn-primary-outline:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

/* =========================================
   Sections
   ========================================= */
.section { padding: 5rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

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

/* On orange background: override heading and underline to white */
.bg-primary .section-header h2,
[style*="background-color: var(--primary-color)"] .section-header h2 {
    color: #ffffff;
}
.bg-primary .section-header h2::after,
[style*="background-color: var(--primary-color)"] .section-header h2::after {
    background-color: #ffffff;
}
.bg-primary .section-header p,
[style*="background-color: var(--primary-color)"] .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

/* Slight tint alternation for contrast between sections */
.bg-light .section-header h2 {
    color: var(--primary-color);
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 0.8px;
    position: relative;
}

.nav-link:not(.btn-primary-outline):hover { color: var(--primary-color); }

.nav-link:not(.btn-primary-outline)::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -5px; left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:not(.btn-primary-outline):hover::after { width: 100%; }

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
        url('https://images.unsplash.com/photo-1541689592655-f5f52825a3b8?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content { max-width: 820px; }

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    animation: slideDown 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.88);
    animation: slideUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

/* =========================================
   Products Section
   ========================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(211, 84, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(211, 84, 0, 0.15);
    border-color: rgba(211, 84, 0, 0.3);
}

.product-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 1rem;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.price {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.price-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.1rem;
}

.price-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* =========================================
   Dual Layout (Repair & About)
   ========================================= */
.dual-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.dual-layout.reverse { flex-direction: row-reverse; }

.layout-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

.layout-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.15);
    pointer-events: none;
}

.layout-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.layout-content { flex: 1; }

.layout-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.layout-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-light);
}

.service-list { margin-bottom: 2rem; }

.service-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.service-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* =========================================
   Lessons Section (on orange bg)
   ========================================= */
.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.lesson-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(211, 84, 0, 0.15);
    color: var(--text-dark);
    box-shadow: var(--box-shadow-light);
}

.lesson-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(211, 84, 0, 0.18);
    border-color: var(--primary-color);
}

.lesson-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.lesson-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.lesson-card p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.schedule {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.schedule li {
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(211, 84, 0, 0.15);
    color: var(--text-light);
}

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

.schedule-notice {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-style: italic;
    font-weight: 600;
}

/* =========================================
   Gallery & Lightbox (lessons.html)
   ========================================= */
.gallery-container {
    column-count: 1;
    column-gap: 1.5rem;
    padding: 2rem 0;
}

@media screen and (min-width: 640px) {
    .gallery-container { column-count: 2; }
}

@media screen and (min-width: 1000px) {
    .gallery-container { column-count: 3; }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    transition: box-shadow 0.3s ease;
    border: 2px solid rgba(211, 84, 0, 0.12);
}

.gallery-item:hover { box-shadow: 0 12px 28px rgba(211, 84, 0, 0.2); }

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: var(--border-radius);
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(211, 84, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius);
    pointer-events: none;
}

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

.gallery-overlay i {
    color: #ffffff;
    font-size: 3rem;
    text-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transform: scale(0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-overlay i { transform: scale(1); }

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active { opacity: 1; pointer-events: auto; }

.lightbox-content {
    max-width: 90%; max-height: 90%;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    border-radius: var(--border-radius);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 3px solid rgba(255,255,255,0.15);
}

.lightbox.active .lightbox-content { transform: scale(1); }

.lightbox-close {
    position: absolute;
    top: 25px; right: 35px;
    color: #fff; font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: scale(1.15);
}

/* =========================================
   Contact Section
   ========================================= */
.contact-wrapper {
    display: flex;
    gap: 4rem;
}

.contact-info { flex: 1; }

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.6rem;
    color: var(--primary-color);
    background: rgba(211, 84, 0, 0.1);
    width: 55px; height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.info-item p, .info-item a { color: var(--text-light); }
.info-item a:hover { color: var(--primary-color); }

.contact-form {
    flex: 1;
    background: #ffffff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    border: 1px solid rgba(211, 84, 0, 0.1);
}

.form-group { margin-bottom: 1.5rem; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fafafa;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.1);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--primary-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255,255,255,0.9);
}

.footer-bottom p { color: rgba(255,255,255,0.9); font-size: 0.95rem; }

.social-icons { display: flex; gap: 1rem; }

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #ffffff;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* =========================================
   Blog Section
   ========================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1px solid rgba(211, 84, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(211, 84, 0, 0.15);
    border-color: rgba(211, 84, 0, 0.25);
}

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

.blog-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.blog-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.82rem;
    font-weight: 600;
    color: #aaa;
    margin-bottom: 0.8rem;
    display: flex;
    gap: 1.2rem;
}

.blog-meta i {
    margin-right: 0.3rem;
    color: var(--primary-color);
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.4;
    color: var(--text-dark);
}

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

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    flex-grow: 1;
    /* Giới hạn text 3 dòng để card đồng đều và gọn gàng */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.read-more i {
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

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

/* =========================================
   Blog Layout & Sidebar
   ========================================= */
.page-header {
    background-color: var(--light-bg);
}

.blog-page-layout,
.blog-detail-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.horizontal-card {
    flex-direction: row;
    align-items: stretch;
}

.horizontal-card .blog-image {
    width: 45%;
    aspect-ratio: auto;
}

.horizontal-card .blog-content {
    width: 55%;
    justify-content: center;
    padding: 2.5rem;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
}

/* =========================================
   Blog Grid – 6 posts (blogs.html)
   ========================================= */
.blogs-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.blog-card-full {
    flex-direction: column;
}

.blog-card-full .blog-image {
    aspect-ratio: 16/9;
    width: 100%;
}

.blog-card-full .blog-content {
    padding: 1.5rem;
}

/* Blog Detail – full-width (no sidebar) */
.blog-detail-layout {
    grid-template-columns: 1fr;
}

@media (max-width: 1023px) {
    .blogs-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .blogs-grid-6 {
        grid-template-columns: 1fr;
    }
}

.sidebar-widget {
    background: #ffffff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    margin-bottom: 2rem;
    border: 1px solid rgba(211, 84, 0, 0.08);
}

.widget-title {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    color: var(--text-dark);
}

/* Sidebar Search */
.search-form { display: flex; }

.search-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
    font-family: var(--font-body);
}

.search-form button {
    padding: 0 1.2rem;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    cursor: pointer;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Sidebar Categories */
.category-list li {
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #f0e0d6;
    padding-bottom: 0.8rem;
}

.category-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-dark);
}

.category-list a:hover { color: var(--primary-color); }

.count { color: var(--primary-color); font-weight: 700; }

/* Sidebar Tags */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags-cloud a {
    padding: 0.4rem 0.8rem;
    background: var(--light-bg);
    color: var(--text-dark);
    font-size: 0.85rem;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid rgba(211, 84, 0, 0.15);
}

.tags-cloud a:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 6px;
    background: #ffffff;
    color: var(--text-dark);
    box-shadow: var(--box-shadow-light);
    font-weight: 600;
    border: 1px solid rgba(211, 84, 0, 0.1);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* =========================================
   Single Post Detail
   ========================================= */
.single-post {
    background: #ffffff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    border: 1px solid rgba(211, 84, 0, 0.08);
}

.breadcrumb {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 2rem;
}

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

.breadcrumb i {
    margin: 0 0.5rem;
    font-size: 0.8rem;
}

.post-header { margin-bottom: 2rem; }

.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #999;
    font-size: 0.95rem;
}

.post-meta i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.post-featured-image {
    margin-bottom: 2.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.post-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4a4a4a;
}

.post-content p { margin-bottom: 1.8rem; }

.post-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    color: var(--text-dark);
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.8rem;
    padding-left: 1.5rem;
}

.post-content li { margin-bottom: 0.8rem; }

.post-content blockquote {
    background: #fff7f2;
    border-left: 5px solid var(--primary-color);
    padding: 1.8rem 2.5rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary-color);
    position: relative;
    border-radius: 0 8px 8px 0;
}

.post-content blockquote i {
    color: rgba(211, 84, 0, 0.2);
    font-size: 2rem;
    position: absolute;
    top: 1rem; left: 1rem;
}

.post-image-inline {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0e0d6;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-tags { display: flex; gap: 0.5rem; }

.post-tags a {
    color: var(--primary-color);
    font-weight: 600;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-btn {
    width: 35px; height: 35px;
    background: var(--light-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-dark);
}

.share-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 1.5rem;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
    align-items: center;
    border: 1px solid rgba(211, 84, 0, 0.1);
}

.author-info h3 { margin-bottom: 0.5rem; color: var(--text-dark); }

.author-info p { color: var(--text-muted); font-size: 0.95rem; }

/* Comments */
.comments-section { margin-top: 3rem; }

.comments-title { font-size: 1.5rem; margin-bottom: 2rem; }

.comment-list { margin-bottom: 3rem; }

.comment-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.comment-item.reply { margin-left: 4rem; }

.comment-avatar img {
    width: 60px; height: 60px;
    border-radius: 50%;
}

.comment-body {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    flex: 1;
    border: 1px solid rgba(211, 84, 0, 0.07);
}

.comment-body h4 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
}

.comment-date {
    font-size: 0.8rem;
    color: #aaa;
    font-weight: 400;
}

.badge {
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    text-transform: uppercase;
}

.comment-body p { color: var(--text-muted); margin-bottom: 1rem; }

.reply-btn {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.leave-comment h3 { margin-bottom: 1.5rem; }

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    outline: none;
    font-family: var(--font-body);
}

.form-row input:focus,
.leave-comment textarea:focus { border-color: var(--primary-color); }

.leave-comment textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    outline: none;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

/* =========================================
   Logo image
   ========================================= */
.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

@media screen and (min-width: 768px) {
    .logo-img { height: 58px; }
}

/* =========================================
   Animations
   ========================================= */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* =========================================
   Responsive
   ========================================= */
@media screen and (max-width: 992px) {
    .dual-layout,
    .dual-layout.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .hero-title { font-size: 3rem; }

    .blog-page-layout,
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        padding: 2rem 0;
        gap: 1.5rem;
        border-top: 2px solid var(--primary-color);
    }

    .nav-menu.active { left: 0; }

    .hamburger { display: block; }

    .hero-title { font-size: 2.5rem; }

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

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .horizontal-card { flex-direction: column; }

    .horizontal-card .blog-image,
    .horizontal-card .blog-content { width: 100%; }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-img { height: 40px; }
}