/* Custom Enhancements for Noble Theme - Improving Contrast and Visual Appeal */

/* Header Menu - Change white text to dark green for better contrast */
.header-menu {
    background: linear-gradient(to bottom, #ACD19D 0%, #8fb87a 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid #6a9a5a;
}

.header-menu .navbar.navbar-inverse .nav.navbar-nav > li > a {
    color: #2d5016 !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.header-menu .navbar.navbar-inverse .nav.navbar-nav > li > a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #1a3009 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.header-menu .navbar.navbar-inverse .nav.navbar-nav > li.active > a {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #1a3009 !important;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-menu .navbar.navbar-inverse .nav.navbar-nav > li.dropdown.open > a {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #1a3009 !important;
}

/* Fixed menu when scrolling */
.main-menu.goToTop {
    background: linear-gradient(to bottom, #ACD19D 0%, #8fb87a 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    border-bottom: 2px solid #6a9a5a;
}

/* Footer Upper Section - Change white text to dark green */
.footer-upper {
    background: linear-gradient(to bottom, #ACD19D 0%, #8fb87a 100%);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #6a9a5a;
}

.footer-upper .title {
    color: #2d5016 !important;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    border-bottom-color: #6a9a5a !important;
    border-bottom-width: 3px;
}

.footer-upper .column ul li a {
    color: #2d5016 !important;
    font-weight: 500;
}

.footer-upper .column ul li a:hover,
.footer-upper .column ul li a:focus {
    color: #1a3009 !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
}

.block.block-newsletter span {
    color: #2d5016 !important;
    font-weight: 500;
}

.social h4 {
    color: #2d5016 !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Footer Lower Section - Keep white text but enhance background */
.footer-lower {
    background: linear-gradient(to bottom, #93BFC2 0%, #7aa8ab 100%);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    border-top: 2px solid #5d8a8d;
}

/* Buttons with green backgrounds - enhance them */
.btn.btn-default {
    background: linear-gradient(to bottom, #93BFC2 0%, #7aa8ab 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #5d8a8d;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn.btn-default:hover,
.btn.btn-default:focus {
    background: linear-gradient(to bottom, #7aa8ab 0%, #6a989b 100%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* Newsletter button */
.newsletter-email .newsletter-subscribe-button {
    background: linear-gradient(to bottom, #E8CDA2 0%, #d4b888 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #c4a878;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.newsletter-email .newsletter-subscribe-button:hover {
    background: linear-gradient(to bottom, #93BFC2 0%, #7aa8ab 100%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* View all buttons */
.box-shadow-wrapper .listbox .view-all a,
.box-shadow-wrapper .listbox .vote-poll-button {
    background: linear-gradient(to bottom, #E8CDA2 0%, #d4b888 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #c4a878;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.box-shadow-wrapper .listbox .view-all a:hover,
.box-shadow-wrapper .listbox .vote-poll-button:hover {
    background: linear-gradient(to bottom, #93BFC2 0%, #7aa8ab 100%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* Overall body improvements - reduce washed out look */
body {
    background: #f0f0f0;
}

/* Enhance product boxes and cards */
.box-shadow-wrapper {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid #e0e0e0;
}

/* Enhance page titles */
.page-title.panel-heading {
    background: linear-gradient(to bottom, #f8f8f8 0%, #e8e8e8 100%);
    border-bottom: 3px solid #ACD19D;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-title.panel-heading h1 {
    color: #2d5016;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Enhance search box button */
.search-box .btn.search-box-button {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #d4b888;
}

.search-box .btn.search-box-button:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* Add subtle border to header menu items */
.header-menu .navbar.navbar-inverse .nav.navbar-nav > li > a {
    border-right: 1px solid rgba(106, 154, 90, 0.5) !important;
}

/* Enhance category/manufacturer items */
.manufacturer-grid .item-box .manufacturer-item,
.category-grid .item-box .category-item,
.sub-category-grid .item-box .sub-category-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.manufacturer-grid .item-box .manufacturer-item:hover,
.category-grid .item-box .category-item:hover,
.sub-category-grid .item-box .sub-category-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    border-color: #ACD19D !important;
}
