/*
Theme Name: Bangun Sarana Makmur
Theme URI: https://bangunsaranamakmur.com
Author: CV Bangun Sarana Makmur
Author URI: https://bangunsaranamakmur.com
Description: Theme profesional untuk CV Bangun Sarana Makmur - Distributor Pagar BRC & Kawat Surabaya. Kompatibel dengan Rank Math SEO, Gutenberg, dan WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bsm-theme
Tags: business, construction, one-column, custom-menu, featured-images, theme-options, translation-ready
*/

/* === BASE STYLES === */
body {
    font-family: 'Poppins', sans-serif;
    color: #333333;
    overflow-x: hidden;
}

.bg-primary-custom {
    background-color: #0d47a1 !important;
}

.text-primary-custom {
    color: #0d47a1 !important;
}

.bg-secondary-custom {
    background-color: #f8f9fa;
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(rgba(13, 71, 161, 0.85), rgba(21, 101, 192, 0.85)),
                url('https://images.unsplash.com/photo-1590069261209-f8e9b8642343?auto=format&fit=crop&q=80&w=1920')
                no-repeat center center/cover;
    color: white;
    padding: 100px 0;
}

/* === CARD PRODUCT === */
.card-product {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card-product:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* === ICON BOX === */
.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 71, 161, 0.1);
    color: #0d47a1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 24px;
}

/* === FEATURE BOX === */
.feature-box {
    padding: 20px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
}

/* === FOOTER === */
.site-footer {
    background-color: #111;
    color: #ccc;
}

/* === NAVIGATION EFFECTS === */
.custom-nav-link {
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.custom-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0d47a1;
    transition: width 0.3s ease;
}

.custom-nav-link:hover::after,
.custom-nav-link.active::after {
    width: 100%;
}

.custom-nav-link i {
    transition: transform 0.3s ease;
}

.custom-nav-link:hover i {
    transform: scale(1.2);
}

/* === HOVER SHAKE === */
.hover-shake:hover {
    animation: bsmShake 0.5s ease-in-out infinite alternate;
    background-color: #ffc107 !important;
}

@keyframes bsmShake {
    0% { transform: translateY(0); }
    100% { transform: translateY(-3px); }
}

/* === ACCESSIBILITY === */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #0d47a1;
    color: #fff;
    padding: 10px 20px;
    z-index: 99999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

/* Footer Text Color Fix - BSM Theme */
.site-footer { background-color: #111; color: #b0b0b0; }
.site-footer .text-muted { color: #b0b0b0 !important; }
.site-footer a.text-muted { color: #d0d0d0 !important; }
.site-footer a.text-muted:hover { color: #ffc107 !important; }
.site-footer .widget-title { color: #fff !important; }
.site-footer ul li { color: #b0b0b0; }
.site-footer ul li a { color: #b0b0b0; }
.site-footer ul li a:hover { color: #ffc107; text-decoration: none; }
.site-footer .social-links a { color: #ccc; }
.site-footer .social-links a:hover { color: #ffc107; }