/* ========== 1. ROOT VARIABLES ========== */
:root {
    --primary-color: #8B6F47;      /* DARKER - Was #A28460 */
    --primary-dark: #6D5636;       /* EVEN DARKER - Was #8B6F47 */
    --primary-light: #A28460;      /* KEEP ORIGINAL as light version */
    --secondary-color: #2c3e50;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}


/* ========== 2. RESET & BASE STYLES ========== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========== 3. PROMOTIONAL BAR ========== */
.promo-bar {
    background-color: var(--bg-light);
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

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

.top-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.top-links a:hover {
    color: var(--primary-color);
}

/* ========== 4. MAIN HEADER ========== */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo img {
    height: 50px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-link {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}

.icon-link:hover {
    color: var(--primary-color);
}

.mobile-only {
    display: none;
}

/* ===== 5. SEARCH BAR ===== */
.search-container {
    flex: 1;
    position: relative;
    max-width: 700px;
}

.desktop-search {
    display: flex;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}

.search-results.active {
    display: block;
}

/* Mobile Search Container */
.mobile-search-container {
    display: none;
    padding: 10px 0;
    position: relative;
    width: 100%;
}

.mobile-search-container.active {
    display: block;
}

.mobile-search-container .search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 15px;
    box-sizing: border-box;
}

.mobile-search-container .search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-60%);
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
}

.mobile-search-container .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-search-container .search-results.active {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .desktop-search {
        display: none;
    }
    
    .mobile-search-container {
        padding: 10px 0 15px 0;
    }
    
    .mobile-search-container .search-input {
        font-size: 14px;
        padding: 10px 45px 10px 15px;
    }
    
    .mobile-search-container .search-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* ========== 6. MAIN NAVIGATION ========== */
.main-nav {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 90px;
    z-index: 99;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-item > a:hover {
    color: var(--primary-color);
}

.nav-item > a i {
    font-size: 12px;
}

/* ========== 7. MEGA MENU DROPDOWN (3-LEVEL) ========== */

/* Base Dropdown Container */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.nav-item.has-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
}

/* Content Layout */
.mega-content {
    display: flex;
    padding: 12px; /* Reduced from 15px */
    transition: all 0.3s ease;
}

/* Left Column - Compact */
.mega-column-left {
    width: 190px; /* Reduced from 320px */
    min-width: 190px;
}

/* Right Column - Hidden by Default */
.mega-column-right {
    width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    border-left: none; /* No border by default */
    transition: all 0.3s ease;
}

/* Show Border and Column When Active */
.mega-dropdown.has-items.show-right .mega-column-left {
    border-right: 1px solid var(--border-color);
    padding-right: 15px; /* Reduced */
}

.mega-dropdown.has-items.show-right .mega-column-right {
    width: 190px; /* Reduced from 420px */
    padding-left: 18px;
    opacity: 1;
    border-left: none;
}

/* Menu Items - Compact */
.mega-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px; /* Reduced from 8px 12px */
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    margin-bottom: 1px; /* Reduced from 2px */
    cursor: pointer;
    font-size: 13px; /* Reduced from 14px */
    line-height: 1.3;
    white-space: normal;
    word-wrap: break-word;
}

.mega-item i {
    font-size: 10px; /* Reduced from 11px */
    margin-left: 6px; /* Reduced from 8px */
    color: var(--text-light);
    flex-shrink: 0;
}

.mega-item:hover,
.mega-item.active {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.mega-item:not(.has-submenu) i {
    display: none;
}

/* Text wrapping for long items */
.mega-item {
    white-space: normal; /* Allow wrapping */
    word-wrap: break-word;
}

/* Third Level Submenu - Compact */
.mega-submenu {
    display: none !important;
}

.mega-submenu.active {
    display: block !important;
}

.mega-submenu-item {
    display: block;
    padding: 7px 10px; /* Reduced from 8px 12px */
    color: var(--text-dark);
    text-decoration: none;
    font-size: 12px; /* Reduced from 13px */
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-bottom: 1px;
    line-height: 1.3;
    white-space: normal;
    word-wrap: break-word;
}

.mega-submenu-item:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

/* ========== 8. MOBILE NAVIGATION ========== */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
}

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

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mobile-nav-link:hover {
    background-color: var(--bg-light);
}

.mobile-nav-link i {
    font-size: 14px;
    color: var(--text-light);
}

/* FIXED: Mobile Submenu - Remove max-height limit */
.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: var(--bg-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease; /* Smooth animation */
}

.mobile-submenu.active {
    max-height: 2000px; /* INCREASED from 500px to accommodate all items */
}

.mobile-submenu li {
    border-bottom: 1px solid var(--border-color);
}

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

.mobile-submenu a {
    display: block;
    padding: 14px 20px 14px 40px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.3s;
}

.mobile-submenu a:hover {
    background-color: var(--white);
}

.mobile-submenu-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 14px 40px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mobile-submenu-link:hover {
    background-color: var(--white);
}

/* FIXED: Mobile Sub-submenu - Remove max-height limit */
.mobile-subsubmenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease; /* Smooth animation */
}

.mobile-subsubmenu.active {
    max-height: 3000px; /* INCREASED from 1000px to accommodate all items */
}

.mobile-subsubmenu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-subsubmenu a {
    display: block;
    padding: 12px 20px 12px 60px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.mobile-subsubmenu a:hover {
    background-color: var(--bg-light);
}


/* ========== 9. HERO BANNER SLIDER - FIXED ========== */

.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background-color: #fff;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    position: relative;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.slider-btn:hover {
    background-color: rgba(139, 111, 71, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

/* Tablet */
@media (max-width: 1200px) {
    .hero-slider {
        min-height: 350px;
    }
}

@media (max-width: 1024px) {
    .hero-slider {
        min-height: 300px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Mobile - 97px exact height */
@media (max-width: 768px) {
    .hero-slider {
        height: 97px;
        min-height: 97px;
    }

    .hero-banner-image {
        object-fit: cover;
        height: 100%;
    }

    .slider-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .slider-btn.prev {
        left: 8px;
    }

    .slider-btn.next {
        right: 8px;
    }

    .slider-dots {
        bottom: 5px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 97px;
        min-height: 97px;
    }
}


/* ========== 10. BUTTONS ========== */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(162, 132, 96, 0.3);
}

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

.btn-quote {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    font-size: 14px;
    width: 100%;
}

.btn-quote:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* ========== 11. FEATURED PRODUCTS - MOBILE SLIDER ========== */

.featured-products-banner {
    background-color: #e8e8e8;
    padding: 20px 0;
}

.featured-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.featured-banner-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    overflow: hidden;
}

.featured-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.featured-banner-info {
    flex: 1;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.featured-product-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
}

.featured-banner-info .btn-quote {
    width: auto;
    align-self: flex-start;
    padding: 8px 20px;
    font-size: 14px;
}

.featured-banner-image {
    position: relative;
    width: 120px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.featured-banner-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.featured-quantity-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* Mobile Slider Navigation */
.featured-slider-nav {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.featured-slider-btn {
    background-color: rgba(139, 111, 71, 0.8);
    color: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
}

.featured-slider-btn:hover {
    background-color: var(--primary-color);
}

.featured-slider-dots {
    display: flex;
    gap: 8px;
}

.featured-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(139, 111, 71, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.featured-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Desktop responsive */
@media (max-width: 1200px) {
    .featured-banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Mobile - Slider mode */
@media (max-width: 768px) {
    .featured-products-banner {
        padding: 15px 0;
    }

    .featured-banner-grid {
        display: block;
        position: relative;
        overflow: hidden;
    }

    .featured-banner-card {
        display: none;
        width: 100%;
    }

    .featured-banner-card.active {
        display: block;
    }

    .featured-banner-content {
        flex-direction: row;
        text-align: left;
        padding: 20px 15px;
        min-height: auto;
        gap: 15px;
    }

    .featured-banner-info {
        flex: 1;
        padding-right: 0;
        margin-bottom: 0;
        align-items: flex-start;
        width: auto;
    }

    .featured-product-name {
        font-size: 13px;
        text-align: left;
    }

    .featured-banner-info .btn-quote {
        align-self: flex-start;
        width: auto;
        max-width: none;
        padding: 6px 16px;
        font-size: 12px;
    }

    .featured-banner-image {
        width: 100px;
        height: 100px;
        order: 2;
    }

    .featured-quantity-badge {
        padding: 3px 8px;
        font-size: 11px;
    }

    .featured-slider-nav {
        display: flex;
    }

    .featured-slider-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .featured-dot {
        width: 7px;
        height: 7px;
    }
}

@media (max-width: 480px) {
    .featured-banner-content {
        padding: 15px 12px;
    }

    .featured-banner-image {
        width: 85px;
        height: 85px;
    }

    .featured-product-name {
        font-size: 12px;
    }

    .featured-banner-info .btn-quote {
        padding: 5px 14px;
        font-size: 11px;
    }
}

/* ========== 12. SECTIONS & PRODUCTS ========== */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-more {
    color: var(--text-light);
    text-decoration: underline;
    font-size: 14px;
}

/* Products Grid - 6 Per Row */
.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    padding: 20px;
    text-align: center;
    background-color: var(--white);
}

.product-image img {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
}

.quantity-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #dc3545;
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 15px;
    background-color: var(--bg-light);
    text-align: center;
}

.product-title {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--text-dark);
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

/* ========== 13. MAIN CATEGORIES ========== */
.categories-grid {
    display: grid;
    gap: 20px;
}

.desktop-categories {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
}

.mobile-categories {
    grid-template-columns: repeat(2, 1fr);
    display: none;
}

.category-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

/* Full-Width Primary Color Overlay - Hidden by Default */
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(162, 132, 96, 0.9) 0%,
        rgba(162, 132, 96, 0.85) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;  /* Hidden by default */
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Show overlay on hover */
.category-item:hover .category-overlay {
    opacity: 1;
    visibility: visible;
}

.category-name {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    padding: 20px;
    transform: translateY(20px);  /* Start slightly lower */
    transition: transform 0.3s ease;
}

/* Animate text on hover */
.category-item:hover .category-name {
    transform: translateY(0);  /* Move to center */
}

/* Mobile Category Cards */
.category-card {
    /*background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);*/
    background: linear-gradient(130deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.category-card-name {
    font-size: 18px;
    font-weight: 600;
}

.category-card-full {
    grid-column: span 2;
}

/* Responsive */
@media (max-width: 992px) {
    .desktop-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-name {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .desktop-categories {
        display: none;
    }
    
    .mobile-categories {
        display: grid;
    }
}

@media (max-width: 480px) {
    .category-name {
        font-size: 20px;
    }
}

/* ========== 14. TESTIMONIALS ========== */
.testimonials {
    background-color: var(--bg-light);
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
}

/* ========== 15. NEWSLETTER ========== */
.newsletter-section {
    background: linear-gradient(135deg, #A28460 0%, #8B6F47 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.newsletter-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.newsletter-subtitle {
    font-size: 32px;
    margin-bottom: 30px;
}

.newsletter-subtitle em {
    font-style: italic;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

/* ========== 16. FOOTER ========== */
.main-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr 1fr 1.1fr;
    gap: 40px;
    padding-bottom: 40px;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

/* Footer Social */
.footer-social {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-social .social-links {
    display: flex;
    gap: 12px;
}

.footer-social .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Titles */
.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

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

/* Contact Info in Footer */
.footer-column .contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-column .contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-column .contact-info p i {
    color: var(--primary-color);
    font-size: 16px;
    width: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-column .contact-info p a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column .contact-info p a:hover {
    color: var(--primary-color);
}

/* Map Column Styling */
.footer-map-column {
    grid-column: span 1;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 0;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-color);
    text-decoration: underline
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    
    .footer-column:first-child {
        grid-column: span 3;
    }
    
    .footer-map-column {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-column:first-child {
        grid-column: span 1;
    }
    
    .footer-map-column {
        grid-column: span 1;
    }
    
    .map-wrapper iframe {
        height: 200px;
    }
    
    .footer-bottom p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding-top: 40px;
    }
    
    .footer-social .social-links a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .map-wrapper iframe {
        height: 180px;
    }
}

/* ===== 17. QUOTE POPUP ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px; /* Add padding for mobile */
}

.popup-overlay.active {
    display: flex;
}

.popup-container {
    background-color: var(--white);
    border-radius: 15px;
    width: 90%;
    max-width: 550px; /* Increased from 500px */
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px; /* Reduced from 25px to 20px */
    border-bottom: 1px solid var(--border-color);
}

.popup-header h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 0; /* Remove any margin */
}

.popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: var(--text-dark);
}

.quote-form {
    padding: 25px; /* Keep consistent padding */
}

.form-group {
    margin-bottom: 18px; /* Slightly reduced from 20px */
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box; /* Important! */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Mobile responsive */
@media (max-width: 768px) {
    .popup-container {
        width: 95%;
        max-width: none;
        margin: 10px;
    }
    
    .popup-header {
        padding: 15px 20px;
    }
    
    .popup-header h2 {
        font-size: 20px;
    }
    
    .quote-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .popup-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .popup-header {
        padding: 12px 15px;
    }
    
    .popup-header h2 {
        font-size: 18px;
    }
    
    .quote-form {
        padding: 15px;
    }
}

/* ========== 18. SUCCESS MESSAGE ========== */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    display: none;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 3000;
    animation: slideIn 0.3s;
}

.success-message.active {
    display: flex;
}

.success-message i {
    font-size: 24px;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========== 19. CHAT WIDGET ========== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.chat-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* ========== 20. RESPONSIVE DESIGN ========== */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .featured-banner-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-search {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 1;
    }
    
    .logo {
        order: 2;
        flex: 1;
        text-align: center;
    }
    
    .logo img {
        height: 40px;
    }
    
    .header-actions {
        order: 3;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .main-nav {
        display: none;
    }
    
    .promo-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .promo-bar {
        font-size: 13px;
        padding: 8px 0;
    }
    
    .hero-slider {
        height: auto;
        min-height: 400px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-image {
        text-align: center;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .featured-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        min-height: auto;
    }
    
    .featured-banner-info {
        padding-right: 0;
        margin-bottom: 20px;
        align-items: center;
    }
    
    .featured-banner-info .btn-quote {
        align-self: center;
    }
    
    .featured-banner-image {
        width: 150px;
        height: 150px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .desktop-categories {
        display: none;
    }
    
    .mobile-categories {
        display: grid;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .logo img {
        height: 35px;
    }
}

/* ========== CATEGORY PAGE - PRODUCT TILES ========== */

/* Breadcrumb - Minimal */
.breadcrumb-section {
    background-color: var(--bg-light);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb span:not(:last-child) {
    color: var(--text-light);
}

.breadcrumb span:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

/* Category Header - Minimal */
.category-header {
    padding: 18px 0 12px;
}

.category-header h1 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

/* Category Products Grid - Tight spacing */
.category-products {
    padding: 15px 0 30px;
}

.product-tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* Product Tile - Tight design */
.product-tile {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: none;
}

.product-tile:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Tile Header - PRIMARY COLOR with MORE padding */
.product-tile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 16px 12px;
    text-align: center;
}

.product-tile-header h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    color: var(--white);
}

/* Tile Image - MINIMAL padding */
.product-tile-image {
    flex: 1;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    min-height: 160px;
}

.product-tile-image img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
}

/* Tile Footer - MINIMAL padding */
.product-tile-footer {
    padding: 10px;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

/* Button Styles */
.product-tile-footer .btn-tile-quote,
.product-tile-footer .btn-tile-view {
    width: 100%;
    font-size: 13px;
    padding: 10px 0px;
    background-color: var(--white);
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}

.product-tile-footer .btn-tile-quote:hover,
.product-tile-footer .btn-tile-view:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* No Items Message */
.product-tile-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.product-tile-empty i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}

.product-tile-empty p {
    font-size: 15px;
}

/* Responsive */
@media (max-width: 1200px) {
    .product-tile-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .product-tile-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-header {
        padding: 12px 0 8px;
    }
    
    .category-header h1 {
        font-size: 18px;
    }
    
    .category-products {
        padding: 10px 0 20px;
    }
    
    .product-tile-header {
        padding: 12px 10px;
    }
    
    .product-tile-header h3 {
        font-size: 13px;
    }
    
    .product-tile-image {
        min-height: 120px;
        padding: 12px 8px;
    }
    
    .product-tile-image img {
        max-height: 100px;
    }
    
    .product-tile-footer {
        padding: 8px;
    }
    
    .product-tile-footer .btn-tile-quote,
    .product-tile-footer .btn-tile-view {
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .product-tile-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== ABOUT US PAGE ========== */

/* About Hero */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.about-hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-hero-content p {
    font-size: 20px;
    opacity: 0.95;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

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

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Mission & Vision */
.mission-vision-section {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mission-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box i {
    font-size: 36px;
    color: var(--white);
}

.mission-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.mission-box p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Why Choose Us */
.why-choose-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 28px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(162, 132, 96, 0.2);
}

.service-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.service-card p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
}

.stat-card i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-card h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 16px;
    opacity: 0.95;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

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

/* Responsive */
@media (max-width: 992px) {
    .about-grid,
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 32px;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* ========== LEGAL & INFORMATIONAL PAGES ========== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.95;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

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

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-item i {
    font-size: 24px;
    color: var(--primary-color);
    width: 40px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--heading-color);
    margin: 0;
}

.contact-info-item p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

.contact-info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.social-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: 20px;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.map-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* FAQ Page */
.faq-section {
    padding: 80px 0;
}

.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.faq-category h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-category h2 i {
    font-size: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

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

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

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

.faq-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    color: var(--white);
}

.faq-cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.faq-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.faq-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Legal Documents (Terms & Privacy) */
.legal-content {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.legal-document h2 {
    font-size: 26px;
    margin: 40px 0 20px;
    color: var(--primary-color);
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.legal-document h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-document h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: var(--heading-color);
}

.legal-document p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-color);
}

.legal-document ul {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

.legal-document li {
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 32px;
    }
    
    .legal-document {
        padding: 40px 30px;
    }
    
    .faq-cta-buttons {
        flex-direction: column;
    }
}

/* ========== MOBILE FIXES ========== */

@media (max-width: 768px) {
    /* Hide promo bar on mobile */
    .promo-bar {
        display: none;
    }

    /* Reduce banner height on mobile */
    .hero-slider {
        height: 240px; /* Reduced from 280px */
    }

    /* Featured Products - Fix image alignment */
    .featured-banner-content {
        flex-direction: row; /* Changed from column */
        text-align: left; /* Changed from center */
        padding: 20px 15px;
        min-height: auto;
        gap: 15px;
    }

    .featured-banner-info {
        flex: 1;
        padding-right: 0;
        margin-bottom: 0; /* Removed bottom margin */
        align-items: flex-start; /* Changed from center */
        width: auto; /* Changed from 100% */
    }

    .featured-product-name {
        font-size: 13px; /* Reduced from 14px */
        text-align: left;
    }

    .featured-banner-info .btn-quote {
        align-self: flex-start; /* Changed from center */
        width: auto; /* Changed from 100% */
        max-width: none;
        padding: 6px 16px;
        font-size: 12px; /* Reduced from 14px */
    }

    .featured-banner-image {
        width: 100px; /* Reduced from 120px */
        height: 100px; /* Reduced from 120px */
        order: 2; /* Move image to the right */
    }

    .featured-banner-image img {
        max-width: 100%;
        max-height: 100%;
    }

    .featured-quantity-badge {
        padding: 3px 8px;
        font-size: 11px;
    }

    /* Reduce slider button size */
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .slider-btn.prev {
        left: 8px;
    }

    .slider-btn.next {
        right: 8px;
    }

    .slider-dots {
        bottom: 8px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    /* Featured slider navigation adjustments */
    .featured-slider-nav {
        margin-top: 12px;
        display: none;
    }

    .featured-slider-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .featured-dot {
        width: 7px;
        height: 7px;
    }

    /* Reduce section padding */
    section {
        padding: 25px 0; /* Reduced from 30px */
    }

    .section-title {
        font-size: 20px; /* Reduced from 22px */
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    /* Even smaller banner on very small screens */
    .hero-slider {
        height: 200px; /* Reduced from 220px */
    }

    .slider-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .slider-btn.prev {
        left: 5px;
    }

    .slider-btn.next {
        right: 5px;
    }

    .container {
        padding: 0 12px;
    }

    section {
        padding: 20px 0;
    }

    .featured-banner-content {
        padding: 5px;
    }

    .featured-banner-image {
        width: 85px; /* Smaller on very small screens */
        height: 85px;
    }

    .featured-product-name {
        font-size: 9px;
    }

    .featured-banner-info .btn-quote {
        padding: 5px 14px;
        font-size: 11px;
    }
}

/* ========== CATEGORY SECTION MOBILE FIXES ========== */

@media (max-width: 768px) {
    .main-categories {
        padding: 20px 0; /* Reduced from 25px */
    }

    .mobile-categories {
        gap: 15px;
    }

    .category-card {
        padding: 30px 15px; /* Reduced from 40px 20px */
    }

    .category-card-name {
        font-size: 16px; /* Reduced from 18px */
    }
}

/* ========== HERO BANNER - FULL IMAGE ON DESKTOP ========== */

.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background-color: #fff;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: auto; /* Allow natural height */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    position: relative; /* Changed to relative for active slide */
}

.hero-banner-image {
    width: 100%;
    height: auto; /* Changed from 100% to auto */
    max-height: none; /* Remove any max-height restriction */
    object-fit: contain; /* Changed from cover to contain */
    object-position: center;
    display: block;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.slider-btn:hover {
    background-color: rgba(139, 111, 71, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

/* Tablet */
@media (max-width: 1200px) {
    .hero-slider {
        min-height: 350px;
    }
}

@media (max-width: 1024px) {
    .hero-slider {
        min-height: 300px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Mobile - Match OfficeRock exact height */
@media (max-width: 768px) {
    .hero-slider {
        height: 120px; /* Fixed height on mobile */
        min-height: 120px;
    }

    .hero-banner-image {
        object-fit: fill; /* Cover on mobile to crop nicely */
        height: 100%;
    }

    .slider-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .slider-btn.prev {
        left: 8px;
    }

    .slider-btn.next {
        right: 8px;
    }

    .slider-dots {
        bottom: 5px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 120px;
        min-height: 120px;
    }
}
/* ========== FIX: Mobile Right-Side Cutoff ========== */

@media (max-width: 768px) {
    /* Fix body and html overflow */
    html, body {
        width: 100% !important;
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Fix all containers */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix header */
    .main-header {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .header-content {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Fix hero banner */
    .hero-banner, .hero-slider, .hero-slide {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Fix featured products */
    .featured-products-banner,
    .featured-banner-grid,
    .featured-banner-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Fix main categories */
    .main-categories,
    .categories-grid,
    .mobile-categories {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.chat-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #25D366; /* WhatsApp green */
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.chat-button:hover {
    background: #128C7E; /* Darker WhatsApp green */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.chat-button i {
    font-size: 20px;
}

.chat-widget a {
    text-decoration: none;
}

/* ===== SUCCESS & ERROR MESSAGES ===== */
.success-message,
.error-message {
    position: fixed;
    top: 20px;
    right: -400px; /* Start hidden off-screen */
    background-color: #28a745;
    color: #fff;
    padding: 18px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10000;
    transition: right 0.4s ease; /* Slide from right */
    max-width: 350px;
    opacity: 0;
}

.success-message.active,
.error-message.active {
    right: 20px; /* Slide into view */
    opacity: 1;
}

.error-message {
    background-color: #dc3545;
}

.success-message i,
.error-message i {
    font-size: 22px;
    flex-shrink: 0;
}

.success-message p,
.error-message .error-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .success-message,
    .error-message {
        right: -100%;
        left: auto;
        max-width: calc(100% - 40px);
    }
    
    .success-message.active,
    .error-message.active {
        right: 20px;
        left: 20px;
    }
}

/* ========================================
   BLOG PAGES STYLES
======================================== */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0 100px;
    text-align: center;
    color: white;
}

.blog-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-hero-content p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Grid Section */
.blog-section {
    padding: 60px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    display: block;
}

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

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

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-content a {
    text-decoration: none;
}

.blog-card-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

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

.blog-card-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: gap 0.3s;
}

.blog-card-link:hover {
    gap: 12px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: white;
    border: 2px solid #e0e0e0;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination-number:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-number.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination-dots {
    color: #999;
    padding: 0 5px;
}

/* Blog CTA Section */
.blog-cta-section {
    background: linear-gradient(135deg, #f8f5f0 0%, #e8dcc8 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.blog-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 111, 71, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.blog-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 111, 71, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.blog-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.blog-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.blog-cta-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Empty State */
.blog-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.blog-empty-state h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.blog-empty-state p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* ============================================
   BLOG DETAIL PAGE STYLES
   ============================================ */

/* Blog Detail Hero */
.blog-detail-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0 80px;
    color: white;
}

.blog-detail-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.blog-breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.blog-breadcrumb a {
    color: white;
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-breadcrumb span {
    opacity: 0.7;
    margin: 0 8px;
}

.blog-detail-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    gap: 30px;
    font-size: 15px;
    opacity: 0.95;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Blog Detail Content */
.blog-detail-section {
    padding: 60px 0;
    background: white;
}

.blog-detail-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.blog-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.blog-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.blog-content h2 {
    color: #8B6F47;
    font-size: 32px;
    margin: 40px 0 20px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.blog-content h3 {
    color: #8B6F47;
    font-size: 26px;
    margin: 35px 0 18px;
    font-weight: 600;
}

.blog-content h4 {
    color: #8B6F47;
    font-size: 22px;
    margin: 30px 0 15px;
    font-weight: 600;
}

.blog-content h5 {
    color: #333;
    font-size: 19px;
    margin: 25px 0 12px;
    font-weight: 600;
}

.blog-content h6 {
    color: #333;
    font-size: 17px;
    margin: 20px 0 10px;
    font-weight: 600;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    display: block;
}

.blog-content ul,
.blog-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 12px;
}

.blog-content a {
    color: #8B6F47;
    text-decoration: underline;
}

.blog-content a:hover {
    color: #6D5636;
}

.blog-content blockquote {
    border-left: 4px solid #8B6F47;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.blog-content strong {
    font-weight: 600;
    color: #222;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.blog-content table th,
.blog-content table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

/* Blog Footer */
.blog-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #8B6F47;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    background: #6D5636;
    transform: translateX(-5px);
}

/* ============================================
   RESPONSIVE - BLOG PAGES
   ============================================ */

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blog-hero-content h1 {
        font-size: 32px;
    }
    
    .blog-hero-content p {
        font-size: 16px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .blog-cta-content h2 {
        font-size: 28px;
    }
    
    .blog-cta-content p {
        font-size: 16px;
    }
    
    .pagination-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .pagination-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .blog-detail-hero-content h1 {
        font-size: 28px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .blog-content {
        font-size: 16px;
    }
    
    .blog-content h2 {
        font-size: 26px;
    }
    
    .blog-content h3 {
        font-size: 22px;
    }
    
    .blog-content h4 {
        font-size: 19px;
    }
}

/* ========================================
   BREADCRUMB NAVIGATION
   ======================================== */

.breadcrumb {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #8B6F47;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.breadcrumb a:hover {
    color: #6B5037;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
    font-size: 12px;
}

.breadcrumb-current {
    color: #333;
    font-weight: 600;
}

/* ========================================
   CATEGORY HEADER
   ======================================== */

.category-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 40px;
    border-bottom: 1px solid #dee2e6;
}

.category-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    margin: 0;
    line-height: 1.2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .breadcrumb-separator {
        margin: 0 5px;
    }
    
    .category-header {
        padding: 30px 0 20px;
        margin-bottom: 30px;
    }
    
    .category-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 12px;
    }
    
    .category-header h1 {
        font-size: 20px;
    }
}
