/*
Theme Name: Renato Plastic
Theme URI: https://renatoplastic.com
Author: Renato Plastic Team
Author URI: https://renatoplastic.com
Description: Industrial PVC Hose Manufacturer WordPress Theme. Full-featured theme for Qingdao Renato Plastic with Tailwind CSS styling, mega-menu navigation, product catalogs, and multi-language support.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: renato-plastic
Tags: industrial, manufacturing, corporate, responsive, custom-menu, custom-logo, threaded-comments, translation-ready
*/

/* WordPress Core Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress Required Styles */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption-text {
    text-align: center;
}
.gallery-caption {
    display: block;
}
.bypostauthor {
    display: block;
}

/* Navigation Dropdown Styles */
.nav-item:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
}

/* Scrollbar Hide */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Active thumbnail */
.active-thumb {
    border: 2px solid #00529b;
}

/* Tab active */
.tab-active {
    border-bottom: 2px solid #00529b;
    color: #003b72;
    font-weight: 600;
}

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f4f9;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #c2c6d3;
    border-radius: 10px;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Glass card */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(222, 226, 230, 0.5);
}

/* Circular gradient */
.circular-gradient {
    background: radial-gradient(circle at center, #00529b22 0%, transparent 70%);
}

/* Compliance hero */
.compliance-hero {
    background-image: linear-gradient(rgba(0, 59, 114, 0.4), rgba(0, 59, 114, 0.4)), url(https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1920);
    background-size: cover;
    background-position: center;
}

/* Sticky header shadow */
header.sticky-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* WordPress menu integration */
.menu-primary-menu-container ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}
.menu-primary-menu-container ul li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.menu-primary-menu-container ul li a {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #424751;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.menu-primary-menu-container ul li a:hover {
    color: #003b72;
}
.menu-primary-menu-container ul li.current-menu-item > a,
.menu-primary-menu-container ul li.current_page_item > a {
    color: #003b72;
    border-bottom: 2px solid #003b72;
    padding-bottom: 0.25rem;
}
.menu-primary-menu-container .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #DEE2E6;
    padding: 1rem 0;
    border-radius: 0 0 0.75rem 0.75rem;
    z-index: 60;
    display: none;
    flex-direction: column;
    gap: 0;
    height: auto;
}
.menu-primary-menu-container li:hover > .sub-menu {
    display: flex;
}
.menu-primary-menu-container .sub-menu li {
    height: auto;
    width: 100%;
}
.menu-primary-menu-container .sub-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 16px;
    font-weight: 400;
    color: #424751;
    border: none;
}
.menu-primary-menu-container .sub-menu li a:hover {
    background: #f1f4f9;
    color: #003b72;
}
