/*
Theme Name: Yushen Bootstrap
Theme URI: https://yushen.com
Author: AI Assistant
Description: A premium, highly polished Bootstrap 5 theme for Jiangsu Yushen Intelligent Equipment Co., Ltd.
Version: 1.0.0
Text Domain: yushen-bootstrap
*/

@font-face {
    font-family: 'Roboto';
    src: url('./assets/fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('./assets/fonts/Roboto-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('./assets/fonts/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Custom Styles */

:root {
    --primary-color: #0A3161; /* Strong Industrial Blue */
    --secondary-color: #F8F9FA;
    --accent-color: #F39200; /* Brand Yellow/Orange */
    --text-color: #212529;
    --light-bg: #F4F6F9;
}

body {
    font-family: 'Roboto', 'Source Han Sans', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    background-color: var(--secondary-color);
}

/* Global Spacing Enhancement for breathing room */
section, .py-5 {
    padding-top: 5em !important;
    padding-bottom: 5em !important;
}

section.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

section.hero-section {
    padding-top: 150px !important;
    padding-bottom: 150px !important;
}

/* Ensure the header banners in subpages also have good spacing */
section[style*="url"] > .container {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 86, 145, 0.8), rgba(0, 86, 145, 0.8)), url('./assets/images/hero-bg.jpg') center/cover;
    color: white;
    text-align: center;
}

.hero-section h1 {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-section p.lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.btn-primary-custom {
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-custom:hover {
    background-color: #d17c00;
    border-color: #d17c00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(243, 146, 0, 0.3);
}

.btn-outline-light-custom {
    color: white;
    border: 2px solid white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-light-custom:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Section Headings */
.section-title {
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Navbar */
.navbar-custom {
    background-color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-custom .nav-link {
    color: var(--text-color);
    font-weight: 600;
    padding: 18px 20px !important;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.navbar-custom .nav-link:hover {
    color: var(--primary-color);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

/* Footer */
.footer-custom {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-custom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-custom a:hover {
    color: var(--accent-color);
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 49, 97, 0.2);
}
.custom-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    border-top: 4px solid var(--primary-color) !important;
    background-color: white;
}
.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(10, 49, 97, 0.1) !important;
    border-top-color: var(--accent-color) !important;
}

/* Products Section */
.product-card {
    border: 1px solid rgba(0, 0, 0, 0.06) !important; /* Added subtle border to separate white image from white background */
    box-shadow: 0 4px 12px rgba(0,0,0,0.04), 0 0 15px rgba(243, 146, 0, 0.05); /* Added slight orange glow */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08), 0 0 25px rgba(243, 146, 0, 0.15); /* Enhanced orange glow on hover */
    transform: translateY(-4px);
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.product-card .card-title {
    font-weight: 600;
    color: var(--primary-color);
}
