/* Common Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #b08968;
    --primary-dark: #8d6d53;
    --secondary-color: #262220;
    --accent-color: #d4b396;
    --light-bg: #faf7f5;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --black: #000;
    --transition: all 0.3s ease;
    --shadow: 0 5px 20px rgba(0,0,0,0.05);
    --radius: 4px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    padding: 8px 0;
    color: var(--white);
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: rgba(255,255,255,0.8);
}

.top-bar .right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar .phone {
    font-weight: 500;
}

.top-bar .phone i, .top-bar .email i, .top-bar .address i {
    margin-right: 5px;
}

.top-bar .separator {
    color: rgba(255,255,255,0.3);
    margin: 0 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    padding: 25px 0;
    background: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-align: center;
}

.logo a {
    text-decoration: none;
    display: block;
}

/* Logo styles */
.logo-img {
    max-height: 50px;
    width: auto;
    display: block;
    margin: 0 auto 5px;
    transition: var(--transition);
}

.logo a:hover .logo-img {
    transform: scale(1.03);
}

.logo .slogan {
    font-style: italic;
    color: var(--text-light);
    font-size: 14px;
    font-family: 'Playfair Display', serif;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    width: 300px;
    padding: 12px 40px 12px 15px;
    border: 1px solid #eee;
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
    background-color: var(--light-bg);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(176, 137, 104, 0.1);
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: var(--primary-color);
    border: none;
    color: var(--white);
    border-top-right-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* Main Navigation */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow-x: auto;
}

.main-nav::-webkit-scrollbar {
    height: 4px;
}

.main-nav::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    min-width: max-content;
    margin: 0 auto;
}

.main-nav li {
    position: relative;
    white-space: nowrap;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    padding: 16px 12px;
    display: block;
    position: relative;
    height: var(--nav-height, 53px);
    box-sizing: border-box;
}

.main-nav a i {
    color: var(--primary-color);
    margin-right: 5px;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

/* Dropdown styles */
.main-nav {
    position: relative;
}

.main-nav .dropdown {
    position: static;
}

.main-nav .dropdown-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: none;
}

.main-nav .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.main-nav .dropdown-content .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-nav .category {
    padding-right: 20px;
}

.main-nav .dropdown-content .category {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-nav .dropdown-content .category a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    transition: var(--transition);
    border-radius: var(--radius);
    background: var(--light-bg);
}

.main-nav .dropdown-content .category a:hover {
    background-color: rgba(176, 137, 104, 0.1);
    transform: translateY(-2px);
}

.main-nav .dropdown-content .category a::after {
    display: none;
}

.main-nav .dropdown-content .category span {
    font-size: 16px;
    color: var(--text-dark);
    transition: var(--transition);
}

.main-nav .dropdown-content .category a:hover span {
    color: var(--primary-color);
}

/* Banner Slider */
.banner-slider {
    position: relative;
    width: 100%;
    height: 700px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--black);
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    animation: fade 1.5s ease;
}

/* Đảm bảo slide content chỉ hiển thị cho slide đang active */
.slide:not(.active) .slide-content {
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Slide content styling */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: var(--white);
    z-index: 3;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    opacity: 1;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    opacity: 1;
}

.btn-slide {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    opacity: 1;
}

.btn-slide:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

@keyframes fade {
    from {opacity: 0.3}
    to {opacity: 1}
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease;
    transform: scale(1.05);
}

.slide.active img {
    transform: scale(1);
}

.dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Main Content & Section Styles */
.main-content {
    padding: 80px 0 60px;
}

.section {
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--primary-color);
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mission-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.mission-icon {
    margin-bottom: 20px;
}

.mission-icon i {
    font-size: 40px;
    color: var(--primary-color);
    transition: var(--transition);
}

.mission-card:hover .mission-icon i {
    transform: scale(1.2);
    color: var(--primary-dark);
}

.mission-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.mission-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Product Categories */
.product-categories {
    padding: 60px 0;
}

.category-section {
    margin-bottom: 60px;
}

.category-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.section-header h2 {
    font-size: 28px;
    color: var(--text-dark);
    position: relative;
    padding-left: 15px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--primary-color);
    border-radius: 3px;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all:hover {
    color: var(--primary-dark);
}

.view-all i {
    transition: var(--transition);
}

.view-all:hover i {
    transform: translateX(5px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-name a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-brand {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 14px;
}

.product-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-view, .btn-contact {
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    text-align: center;
    flex: 1;
}

.btn-view {
    background: var(--primary-color);
    color: var(--white);
}

.btn-view:hover {
    background: var(--primary-dark);
}

.btn-contact {
    background: var(--light-bg);
    color: var(--text-dark);
    border: 1px solid #eee;
}

.btn-contact:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .banner-slider {
        height: 600px;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .banner-slider {
        height: 500px;
    }
    
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-nav ul {
        justify-content: flex-start;
    }
    
    .main-nav a {
        padding: 16px 8px;
        font-size: 14px;
    }
    
    .main-nav a i {
        margin-right: 3px;
    }
}

@media (max-width: 768px) {
    .banner-slider {
        height: 400px;
    }
    
    .top-bar .left {
        display: none;
    }
    
    .top-bar .container {
        justify-content: center;
    }
    
    .main-header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .mission-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .view-all {
        align-self: flex-end;
    }
}

/* Cập nhật footer */
.footer {
    background: linear-gradient(to right, #262220, #3a322f);
    color: var(--white);
    padding: 70px 0 30px;
    margin-top: 60px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a i {
    color: var(--primary-color);
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    color: #bbb;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-info-list i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 4px;
}

.footer .social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer .social-links a {
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Animation Effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s forwards;
}

/* Scroll-to-top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* News Page Styles */
.news-page {
    padding: 40px 0 80px;
    background-color: #faf9f6;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* Preloader */
.news-preloader, .news-detail-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader span i {
    font-size: 40px;
    color: #866749;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

/* Hero Section */
.news-hero {
    position: relative;
    background-image: url('../images/piano-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 120px 0;
    margin-bottom: 0;
    text-align: center;
    overflow: hidden;
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.news-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/particles.png');
    opacity: 0.3;
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0% { background-position: 0 0; }
    100% { background-position: 500px 500px; }
}

.news-hero .container {
    position: relative;
    z-index: 1;
}

.news-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    opacity: 0.9;
    animation: fadeInDown 1s ease;
}

.news-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.news-hero-desc {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
    font-weight: 300;
    line-height: 1.6;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    max-width: 300px;
    animation: fadeIn 1.5s ease;
}

.hero-divider:before, .hero-divider:after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.divider-icon {
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Categories */
.category-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-top: -30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.category-header h4 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.category-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #e0e0e0 0%, transparent 100%);
    margin-left: 15px;
}

.news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #f9f9f9;
    color: #555;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.category-icon {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-icon i {
    font-size: 12px;
    color: #866749;
}

.category-text {
    font-size: 14px;
}

.category-item:hover {
    background-color: #f0f0f0;
    color: #866749;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(134, 103, 73, 0.1);
}

.category-item:hover .category-icon {
    background: #866749;
}

.category-item:hover .category-icon i {
    color: #fff;
}

.category-item.active {
    background-color: #866749;
    color: #fff;
    border-color: #866749;
}

.category-item.active .category-icon {
    background: rgba(255, 255, 255, 0.2);
}

.category-item.active .category-icon i {
    color: #fff;
}

/* News Breadcrumbs */
.news-breadcrumb {
    background-color: #f5f5f5;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-nav li {
    display: inline-block;
    margin-right: 5px;
    font-size: 14px;
}

.breadcrumb-nav li:after {
    content: "/";
    margin-left: 8px;
    color: #ccc;
}

.breadcrumb-nav li:last-child:after {
    display: none;
}

.breadcrumb-nav li a {
    color: #866749;
    text-decoration: none;
}

.breadcrumb-nav li.active {
    color: #777;
}

/* News Detail */
.news-detail-page {
    padding: 40px 0 80px;
    background-color: #faf9f6;
}

.news-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media (max-width: 992px) {
    .news-hero-title {
        font-size: 40px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-main {
        height: 400px;
    }
    
    .elegant-title {
        font-size: 28px;
    }
    
    .news-detail-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .news-hero {
        padding: 80px 0;
    }
    
    .news-hero-title {
        font-size: 32px;
    }
    
    .category-wrapper {
        padding: 20px;
    }
    
    .news-categories {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-title {
        font-size: 24px;
    }
    
    .elegant-title {
        font-size: 24px;
    }
    
    .news-hero {
        padding: 60px 0;
    }
    
    .news-hero-title {
        font-size: 28px;
    }
    
    .news-hero-desc {
        font-size: 16px;
    }
    
    .news-content {
        padding: 25px 20px;
    }
}

/* News Page Styles - Phần bổ sung */
/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.elegant-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
}

.elegant-line {
    position: relative;
    height: 1px;
    background: linear-gradient(to right, transparent, #866749, transparent);
    width: 150px;
    margin: 0 auto;
}

.elegant-line:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: #866749;
    border-radius: 50%;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}

/* Featured News */
.featured-news {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.featured-main {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 500px;
    background: #fff;
}

.featured-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.featured-main a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.featured-image {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.featured-main:hover .featured-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.featured-main:hover .image-overlay {
    opacity: 0.7;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: #fff;
    z-index: 1;
}

.featured-tag {
    display: inline-block;
    background-color: #866749;
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(134, 103, 73, 0.3);
}

.featured-tag i {
    margin-right: 5px;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.featured-summary {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.featured-meta, .secondary-meta, .news-meta {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-block;
    font-weight: 500;
    color: #fff;
    position: relative;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.read-more-btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.read-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.featured-main:hover .read-more-btn:after {
    width: 100%;
}

.featured-main:hover .read-more-btn i {
    transform: translateX(5px);
}

.featured-secondary {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.featured-secondary-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 235px;
    background: #fff;
}

.featured-secondary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.featured-secondary-item a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.secondary-image {
    height: 100%;
    overflow: hidden;
}

.secondary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.featured-secondary-item:hover .secondary-image img {
    transform: scale(1.05);
}

.secondary-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: #fff;
    z-index: 1;
}

.secondary-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* News Grid */
.news-section {
    padding-top: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
    position: relative;
}

.news-date {
    position: absolute;
    top: -25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #866749;
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(134, 103, 73, 0.3);
    z-index: 1;
}

.news-date .day {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.news-date .month {
    font-size: 10px;
    opacity: 0.9;
}

.news-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #866749;
}

.news-meta {
    color: #777;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-category {
    font-size: 13px;
}

.news-summary {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;
    padding: 8px 25px;
    background: #866749;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(134, 103, 73, 0.2);
}

.read-more:hover {
    background: #6d533b;
    box-shadow: 0 8px 20px rgba(134, 103, 73, 0.3);
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.no-news-icon {
    font-size: 60px;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.no-news h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.no-news p {
    color: #777;
}

/* News Detail Styles */
/* Article Header */
.article-header {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #333;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.meta-category a,
.meta-author,
.meta-date,
.meta-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-category a {
    color: #866749;
    text-decoration: none;
}

.meta-category a:hover {
    text-decoration: underline;
}

.article-meta i {
    font-size: 14px;
    opacity: 0.8;
}

/* Main Content */
.news-detail-main {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

/* Featured Image */
.article-featured-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: middle;
}

/* Summary */
.article-summary {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f7f4;
    border-left: 4px solid #866749;
    border-radius: 0 8px 8px 0;
}

/* Content */
.article-content {
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    font-size: 16px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    margin-top: 30px;
    color: #333;
}

.article-content h2 {
    font-size: 28px;
}

.article-content h3 {
    font-size: 24px;
}

.article-content h4 {
    font-size: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 40px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: #866749;
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-inline-image {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-inline-image img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.article-inline-image figcaption {
    background-color: #f9f7f4;
    padding: 15px;
    font-size: 14px;
    font-style: italic;
    color: #777;
    text-align: center;
}

/* Tags */
.article-tags {
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.article-tags i {
    color: #866749;
    font-size: 16px;
    margin-right: 5px;
}

.article-tags a {
    background-color: #f0ece5;
    color: #866749;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background-color: #866749;
    color: #fff;
}

/* Share Buttons */
.article-share {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-buttons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-buttons a:hover {
    transform: translateY(-5px);
}

.share-fb {
    background-color: #3b5998;
}

.share-tw {
    background-color: #1da1f2;
}

.share-email {
    background-color: #ea4335;
}

/* Related Articles */
.related-articles {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.related-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #866749;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f9f7f4;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-image {
    height: 180px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.related-item:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 15px;
}

.related-item-title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #333;
}

.related-item-meta {
    font-size: 13px;
    color: #777;
}

/* Sidebar */
.news-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #866749;
}

/* Categories Widget */
.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list li {
    margin-bottom: 12px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 12px;
}

.category-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.category-list a {
    color: #444;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: #866749;
}

.category-list a i {
    margin-right: 8px;
    font-size: 12px;
    color: #866749;
}

.sub-categories {
    list-style: none;
    margin: 10px 0 0 15px;
    padding: 0;
}

.sub-categories li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dotted #eee;
}

.sub-categories li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.sub-categories a {
    font-size: 13px;
    padding-left: 10px;
    position: relative;
}

.sub-categories a:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #866749;
}

/* Recent Posts Widget */
.recent-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-post-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.post-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info {
    flex: 1;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s ease;
}

.post-link:hover .post-title {
    color: #866749;
}

.post-date {
    font-size: 12px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Featured Products Widget */
.featured-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-product {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.featured-product:hover {
    transform: translateY(-5px);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    height: 150px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.featured-product:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 15px;
    background-color: #f9f7f4;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.product-price {
    color: #866749;
    font-weight: 600;
    font-size: 15px;
} 