/*
Theme Name: RSZON Enterprise
Theme URI: https://www.szrszon.com
Author: RSZON Team
Author URI: https://www.szrszon.com
Description: 瑞森伟业企业主题 - 轻量级、响应式、现代化的WordPress企业主题，专为制造业和科技公司设计。
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: rszon
Domain Path: /languages
Tags: corporate, business, responsive, lightweight, manufacturing, technology

This theme is built for RSZON Enterprise website.
*/

/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. CSS Variables
   2. Reset & Base Styles
   3. Layout & Grid
   4. Header & Navigation
   5. Hero/Banner Section
   6. Content Sections
   7. Product Cards
   8. News Section
   9. Footer
   10. Sidebar
   11. Forms & Buttons
   12. Utility Classes
   13. Responsive Styles
   ======================================== */

/* ========================================
   1. CSS Variables
   ======================================== */
:root {
    --primary-color: #fcab03;
    --primary-dark: #cc8400;
    --secondary-color: #091426;
    --text-color: #414141;
    --heading-color: #333333;
    --light-gray: #c9c9c9;
    --text-light: #989898;
    --bg-color: #ffffff;
    --bg-light: #f9f9f9;
    --border-color: #e5e5e5;
    --transition: all 0.3s ease;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    
    /* Spacing */
    --spacing-xs: 10px;
    --spacing-sm: 15px;
    --spacing-md: 30px;
    --spacing-lg: 40px;
    --spacing-xl: 70px;
}

/* ========================================
   2. Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.625;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 { font-size: 42px; line-height: 1.2; letter-spacing: 0.4px; }
h2 { font-size: 44.8px; line-height: 1.2; letter-spacing: 0.8px; }
h3 { font-size: 19.2px; line-height: 1.3; }
h4 { font-size: 19.2px; font-weight: 400; line-height: 1.3; letter-spacing: 2px; }
h5 { font-size: 16px; font-weight: 500; }
h6 { font-size: 16px; }

p {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.3px;
    margin-bottom: 15px;
}

small, .small {
    font-size: 14px;
    line-height: 20px;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ========================================
   3. Layout & Grid
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col-"] {
    padding: 0 15px;
    min-width: 0;
}

.col { flex: 1; }
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Section Base Styles */
.section {
    padding: 70px 0 45px;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 800px;
    padding: 0;
}

.section-title h2 {
    font-size: 44.8px;
    color: var(--heading-color);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.8px;
}

.section-title h2 span {
    color: var(--primary-color);
}

.section-title p {
    color: var(--light-gray);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.625;
}

/* ========================================
   4. Header & Navigation
   ======================================== */
.top-bar {
    background-color: var(--bg-light);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    color: var(--text-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-phone {
    color: var(--primary-color);
    font-weight: 600;
}

.site-header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 77px;
    padding: 0 15px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    max-height: 45px;
    width: auto;
    display: block;
}

.site-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    white-space: nowrap;
}

.site-logo-text span {
    color: var(--primary-color);
}

.main-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* Main Menu - Primary Navigation */
.main-menu {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.main-menu > li > a {
    display: block;
    padding: 28px 16px;
    font-size: 16px;
    font-weight: 400;
    color: var(--heading-color);
    position: relative;
    white-space: nowrap;
    line-height: 1;
}

.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a {
    color: var(--primary-color);
}

.main-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.main-menu > li > a:hover::after,
.main-menu > li.current-menu-item > a::after {
    width: 100%;
}

/* wp_page_menu compatibility */
.main-menu ul {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu ul > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.main-menu ul > li > a {
    display: block;
    padding: 28px 16px;
    font-size: 16px;
    font-weight: 400;
    color: var(--heading-color);
    position: relative;
    white-space: nowrap;
    line-height: 1;
}

.main-menu ul > li > a:hover,
.main-menu ul > li.current_page_item > a {
    color: var(--primary-color);
}

.main-menu ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.main-menu ul > li > a:hover::after,
.main-menu ul > li.current_page_item > a::after {
    width: 100%;
}

/* Dropdown Menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-color);
    min-width: 200px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 2px solid var(--primary-color);
}

.main-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.sub-menu li a:hover {
    background-color: var(--bg-light);
    padding-left: 25px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--heading-color);
    transition: var(--transition);
}

/* Mobile Menu - Hidden by default on desktop */
.mobile-menu {
    display: none !important;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #fff;
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 80px 20px 20px;
    margin: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-list li a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    color: var(--heading-color);
}

.mobile-menu-list .sub-menu {
    display: none;
    padding-left: 15px;
    border-top: 1px solid var(--border-color);
}

.mobile-menu-list .sub-menu.active {
    display: block;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ========================================
   5. Hero/Banner Section
   ======================================== */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 150px 0;
}

.hero-content h4 {
    font-size: 1.2rem;
    color: var(--light-gray);
    font-weight: 400;
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.hero-slider-nav button {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--heading-color);
    transition: var(--transition);
}

.hero-slider-nav button:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background-color: var(--primary-color);
}

/* ========================================
   6. Content Sections
   ======================================== */
.section-products {
    background-color: var(--bg-light);
    padding: 70px 0 40px;
}

.section-news {
    background-color: var(--bg-light);
    padding: 70px 0 45px;
}

.section-advantages {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 70px 0 45px;
}

.section-advantages .section-title h2,
.section-advantages .section-title p {
    color: #fff;
}

.section-partners {
    background-color: var(--secondary-color);
    padding: 50px 0;
}

.partner-logo {
    padding: 20px 40px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-logo:hover {
    opacity: 1 !important;
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: var(--bg-color);
}

.partner-logo span {
    color: var(--heading-color);
}

/* ========================================
   7. Product Cards
   ======================================== */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 450px);
    gap: 30px;
    row-gap: 30px;
    column-gap: 30px;
    justify-content: center;
    width: 100%;
}

.product-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-content {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.4;
}

.product-link {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.product-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 171, 3, 0.4);
    color: #fff;
}

/* ========================================
   8. News Section
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 290px);
    gap: 30px;
    row-gap: 30px;
    column-gap: 30px;
    justify-content: center;
}

.news-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.news-featured {
    margin-bottom: 20px;
}

.news-featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    aspect-ratio: 16/10;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-featured:hover .news-featured-image img {
    transform: scale(1.05);
}

.news-featured h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.news-featured .date {
    font-size: 12px;
    color: var(--light-gray);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.news-item-title {
    flex: 1;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item-date {
    font-size: 12px;
    color: var(--light-gray);
    flex-shrink: 0;
}

/* ========================================
   9. Footer
   ======================================== */
.site-footer {
    background-color: var(--secondary-color);
    color: #989898;
    padding: 70px 0 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget h3,
.footer-widget h4 {
    color: #fff;
    font-size: 19.2px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-widget p {
    font-size: 14px;
    line-height: 26px;
    color: #989898;
    margin-bottom: 12px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 40px;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu a {
    color: #989898;
    font-size: 14px;
    line-height: 26px;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 26px;
    color: #989898;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
    width: 16px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #989898;
}

.footer-bottom a {
    color: #989898;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.floating-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* ========================================
   10. Sidebar
   ======================================== */
.sidebar {
    padding-left: 30px;
}

.widget {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.widget ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.widget ul li a::before {
    content: '›';
    color: var(--primary-color);
}

/* ========================================
   11. Forms & Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #0a1a30;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-color);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-control::placeholder {
    color: #999;
}

/* ========================================
   12. Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 10px; }
.pt-2 { padding-top: 20px; }
.pt-3 { padding-top: 30px; }
.pt-4 { padding-top: 40px; }
.pt-5 { padding-top: 50px; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 10px; }
.pb-2 { padding-bottom: 20px; }
.pb-3 { padding-bottom: 30px; }
.pb-4 { padding-bottom: 40px; }
.pb-5 { padding-bottom: 50px; }

.d-flex { display: flex; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }

.justify-content-start { justify-content: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.justify-content-between { justify-content: space-between; }

.align-items-start { align-items: flex-start; }
.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }

.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* ========================================
   13. Responsive Styles
   ======================================== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 400px);
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 260px);
    }
    
    .footer-widgets {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    h2 {
        font-size: 38px;
    }
    
    .section {
        padding: 50px 0 35px;
    }
    
    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        box-shadow: var(--shadow);
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu > li > a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        display: none;
    }
    
    .sub-menu.active {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-section {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 100%;
    }
    
    body {
        font-size: 14px;
    }
    
    h2 {
        font-size: 28px;
        line-height: 1.4;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        max-width: 290px;
        margin: 0 auto;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .site-header .container {
        height: 60px;
    }
    
    .hero-content {
        padding: 100px 15px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content h4 {
        font-size: 16px;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .floating-buttons,
    .hero-slider-nav,
    .hero-dots {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        text-decoration: underline;
    }
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 13px;
    color: var(--light-gray);
    text-align: center;
    margin-top: 10px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-item {
    flex: 1;
    min-width: 200px;
}

/* Breadcrumbs Enhanced */
.breadcrumbs {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-color) 100%);
    padding: 18px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumbs a {
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
    background: rgba(252, 171, 3, 0.1);
}

.breadcrumb-home {
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--light-gray);
    font-size: 12px;
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 500;
    padding: 4px 8px;
}

/* Related Links Box */
.related-links-box {
    margin-top: 50px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.related-links-box h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.related-links-box ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.related-links-box li {
    position: relative;
    padding-left: 20px;
}

.related-links-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.related-links-box li:hover::before {
    transform: translateX(5px);
}

.related-links-box a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.related-links-box a:hover {
    color: var(--primary-color);
}

/* Reading Time Badge */
.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 13px;
    color: var(--light-gray);
}

.reading-time i {
    color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Page Title */
.page-title-section {
    background-color: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

.page-title-section h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-title-section p {
    color: var(--light-gray);
}

/* ========================================
   14. Modern Effects & Animations
   ======================================== */

/* CSS Variables for Dark Mode */
:root {
    --primary-color: #fcab03;
    --primary-dark: #cc8400;
    --secondary-color: #091426;
    --text-color: #414141;
    --heading-color: #333333;
    --light-gray: #c9c9c9;
    --bg-color: #ffffff;
    --bg-light: #f7f7f7;
    --border-color: #e5e5e5;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #fcab03;
    --primary-dark: #e09500;
    --secondary-color: #0d1f3c;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --light-gray: #888888;
    --bg-color: #0a0e17;
    --bg-light: #141b26;
    --border-color: #2a3441;
    --glass-bg: rgba(20, 27, 38, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Smooth Page Load Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(252, 171, 3, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(252, 171, 3, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Page Load Animation */
.page-loaded .site-main > * {
    animation: fadeInUp 0.6s ease-out forwards;
}

.page-loaded .site-main > *:nth-child(1) { animation-delay: 0.1s; }
.page-loaded .site-main > *:nth-child(2) { animation-delay: 0.2s; }
.page-loaded .site-main > *:nth-child(3) { animation-delay: 0.3s; }
.page-loaded .site-main > *:nth-child(4) { animation-delay: 0.4s; }
.page-loaded .site-main > *:nth-child(5) { animation-delay: 0.5s; }

/* Glassmorphism Header */
.site-header {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.sticky {
    box-shadow: var(--shadow-lg);
}

/* Advanced Navigation Effects */
.main-menu > li > a {
    position: relative;
    overflow: hidden;
}

.main-menu > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.main-menu > li > a:hover::before {
    width: 80%;
}

/* Dropdown Menu with Animation */
.sub-menu {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transform-origin: top center;
    transform: translateY(10px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-menu > li:hover .sub-menu {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.sub-menu li a {
    position: relative;
    padding: 14px 24px;
    transition: all 0.3s ease;
}

.sub-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sub-menu li a:hover::after {
    transform: scaleY(1);
}

/* Hero Section Enhanced */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product Cards with 3D Effect */
.product-card {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* News Section with Hover Effects */
.news-featured {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.news-featured-image {
    position: relative;
    overflow: hidden;
}

.news-featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(252,171,3,0.3), rgba(9,20,38,0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.news-featured:hover .news-featured-image::before {
    opacity: 1;
}

.news-item {
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.news-item:hover {
    padding-left: 25px;
}

.news-item:hover::before {
    transform: translateY(-50%) scale(1.5);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Button Effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(252, 171, 3, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(252, 171, 3, 0.4);
    transform: translateY(-2px);
}

/* Floating Buttons with Pulse Effect */
.floating-btn {
    position: relative;
    overflow: visible;
}

.floating-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    z-index: -1;
}

.floating-btn:hover {
    animation: float 2s ease-in-out infinite;
}

/* Section Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animation for Grid Items */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-item.active {
    animation: fadeInUp 0.6s ease forwards;
}

.stagger-item:nth-child(1).active { animation-delay: 0.1s; }
.stagger-item:nth-child(2).active { animation-delay: 0.2s; }
.stagger-item:nth-child(3).active { animation-delay: 0.3s; }
.stagger-item:nth-child(4).active { animation-delay: 0.4s; }
.stagger-item:nth-child(5).active { animation-delay: 0.5s; }
.stagger-item:nth-child(6).active { animation-delay: 0.6s; }

/* Skeleton Loading Animation */
.skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, #e0e0e0 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

[data-theme="dark"] .skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, #2a3441 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
}

/* Parallax Effect */
.parallax {
    will-change: transform;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: #fff;
}

::-moz-selection {
    background: var(--primary-color);
    color: #fff;
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-hover);
}

/* Page Transition Overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.active {
    transform: translateY(0);
}

/* Loading Spinner */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Image Hover Zoom with Overlay */
.hover-zoom {
    position: relative;
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-zoom:hover img {
    transform: scale(1.1);
}

.hover-zoom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(252, 171, 3, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hover-zoom:hover::after {
    opacity: 1;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Glow Effect */
.card-glow {
    position: relative;
}

.card-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-glow:hover::before {
    opacity: 1;
}

/* Modern Form Inputs */
.form-control {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(252, 171, 3, 0.1);
}

/* Responsive Enhancements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 991px) {
    .site-header {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .dark-mode-toggle {
        bottom: 100px;
        left: 20px;
    }
}

/* Print Styles */
@media print {
    .dark-mode-toggle,
    .floating-buttons,
    .site-header,
    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }
}

/* ========================================
   15. Modern Single Post Styles
   ======================================== */

/* Post Item Modern Design */
.post-item {
    background: var(--bg-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
}

.post-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.post-item .post-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.post-item .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-item:hover .post-thumbnail img {
    transform: scale(1.08);
}

.post-item .post-content {
    padding: 25px;
}

.post-item .entry-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-item .entry-title a {
    color: var(--heading-color);
    background: linear-gradient(to right, var(--primary-color), var(--primary-color)) no-repeat;
    background-size: 0 2px;
    background-position: 0 95%;
    transition: background-size 0.4s ease;
}

.post-item .entry-title a:hover {
    background-size: 100% 2px;
    color: var(--heading-color);
}

.post-item .entry-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--light-gray);
    margin-bottom: 15px;
}

.post-item .entry-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.post-item .entry-summary {
    color: var(--text-color);
    line-height: 1.8;
}

/* Single Post Styles */
.single-post {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.single-post .entry-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.single-post .entry-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.single-post .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 14px;
    color: var(--light-gray);
}

.single-post .entry-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-post .entry-meta i {
    color: var(--primary-color);
}

.single-post .post-thumbnail {
    margin: -40px -40px 30px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.single-post .post-thumbnail img {
    width: 100%;
    height: auto;
}

.single-post .entry-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-color);
}

.single-post .entry-content p {
    margin-bottom: 20px;
}

.single-post .entry-content h2,
.single-post .entry-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.single-post .entry-content img {
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.single-post .entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    margin: 30px 0;
    background: var(--bg-light);
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.single-post .entry-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.single-post .tags-links {
    margin-bottom: 20px;
}

.single-post .tags-links a {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 13px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.single-post .tags-links a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Post Share */
.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.post-share a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.post-navigation a {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 45%;
    color: var(--heading-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    color: var(--primary-color);
}

.post-navigation .nav-previous a::before {
    content: '←';
    font-size: 20px;
}

.post-navigation .nav-next a::after {
    content: '→';
    font-size: 20px;
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.related-post {
    background: var(--bg-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.related-post:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.related-post-thumb {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post:hover .related-post-thumb img {
    transform: scale(1.1);
}

.related-post h4 {
    padding: 20px;
    font-size: 1rem;
    margin: 0;
}

.related-post h4 a {
    color: var(--heading-color);
}

.related-post h4 a:hover {
    color: var(--primary-color);
}

/* Comments Area */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
}

.comment-list > li {
    margin-bottom: 30px;
}

.comment-body {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 16px;
}

.comment-author .avatar {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.comment-meta {
    margin-bottom: 10px;
}

.comment-meta .fn {
    font-weight: 600;
    color: var(--heading-color);
}

.comment-meta .says {
    display: none;
}

.comment-metadata {
    font-size: 13px;
    color: var(--light-gray);
}

.comment-content {
    line-height: 1.8;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 16px;
}

.comment-reply-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--heading-color);
}

.comment-form .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-color);
    transition: all 0.3s ease;
}

.comment-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(252, 171, 3, 0.1);
    outline: none;
}

.comment-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.comment-form .submit {
    padding: 14px 35px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form .submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 171, 3, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .single-post {
        padding: 25px;
        border-radius: 16px;
    }
    
    .single-post .entry-title {
        font-size: 1.6rem;
    }
    
    .single-post .post-thumbnail {
        margin: -25px -25px 25px;
        border-radius: 16px 16px 0 0;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .post-navigation a {
        max-width: 100%;
    }
    
    .comment-body {
        flex-direction: column;
        text-align: center;
    }
    
    .comment-author .avatar {
        margin: 0 auto;
    }
}

/* ========================================
   16. Advanced Features Styles
   ======================================== */

/* Reading Progress Bar */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(252, 171, 3, 0.1);
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    width: 0;
    transition: width 0.1s ease;
}

/* Scroll to Top with Progress */
.scroll-top-wrapper {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.scroll-top-wrapper.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.scroll-progress-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 3;
}

.scroll-progress-bar {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.1s ease;
}

.scroll-top-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-color);
    border: none;
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--heading-color);
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 16px;
    padding: 15px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
}

body.lightbox-open {
    overflow: hidden;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 30px;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    width: 0;
    transition: width 0.3s ease;
}

.loader-text {
    color: var(--light-gray);
    font-size: 14px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.share-label {
    font-weight: 500;
    color: var(--heading-color);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.share-wechat {
    background: #07c160;
    color: #fff;
}

.share-wechat:hover {
    background: #06ad56;
}

/* WeChat QR Modal */
.wechat-qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wechat-qr-modal.active {
    opacity: 1;
    visibility: visible;
}

.wechat-qr-content {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    max-width: 90%;
}

.wechat-qr-content h4 {
    margin-bottom: 20px;
    color: var(--heading-color);
}

.wechat-qr-content .qr-code img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--heading-color);
}

.contact-form label .required {
    color: #e74c3c;
    margin-left: 4px;
}

.contact-form .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-color);
    transition: all 0.3s ease;
    font-size: 15px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(252, 171, 3, 0.1);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form .honeypot {
    display: none !important;
}

.contact-form .form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.contact-form .form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form .form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form button[type="submit"] {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(252, 171, 3, 0.4);
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Contact Info Sidebar */
.contact-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    height: fit-content;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--heading-color);
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-of-type {
    border-bottom: none;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.info-item p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.contact-info .social-links {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.contact-info .social-links h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.social-icons a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 767px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .scroll-top-wrapper {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .scroll-top-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .wechat-qr-content {
        padding: 30px 20px;
    }
    
    .contact-info {
        padding: 25px;
        margin-top: 30px;
    }
    
    .info-item {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}
