/*
Theme Name: Hebun Bear Umbrella
Theme URI: https://www.hyumbrella.com/
Author: Hebun Bear
Author URI: https://www.hyumbrella.com/
Description: A polished B2B umbrella manufacturer landing-page theme inspired by modern outdoor-industry websites. Built for WordPress with local assets, editable contact details, menus and a quote form.
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hebun-bear-umbrella
Tags: custom-logo, custom-menu, featured-images, one-column, translation-ready, wide-blocks
*/

:root {
  --hb-ink: #171717;
  --hb-ink-soft: #252525;
  --hb-paper: #f7f7f4;
  --hb-line: #deded8;
  --hb-muted: #747871;
  --hb-lime: #c9e86a;
  --hb-lime-dark: #93b835;
  --hb-sand: #e8e1d2;
  --hb-white: #ffffff;
  --hb-shadow: 0 24px 70px rgba(18, 24, 15, 0.11);
  --hb-radius: 24px;
  --hb-container: 1240px;
  --hb-font: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--hb-paper);
  color: var(--hb-ink);
  font-family: var(--hb-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--hb-lime-dark); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(var(--hb-container), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 112px 0; }
.section--dark { color: var(--hb-white); background: var(--hb-ink); }
.section-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--hb-lime-dark); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.section-title { margin: 0; font-size: clamp(34px, 4vw, 64px); line-height: 1.04; letter-spacing: -.045em; }
.section-lead { max-width: 650px; margin: 20px 0 0; color: var(--hb-muted); font-size: 18px; }
.section--dark .section-lead { color: #bfc5bc; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(23, 23, 23, .98); color: var(--hb-white); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(1320px, calc(100% - 48px)); min-height: 82px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 45px; height: 45px; }
.brand-copy { display: grid; gap: 0; line-height: 1; }
.brand-copy strong { font-size: 19px; letter-spacing: .04em; }
.brand-copy small { margin-top: 6px; color: #aeb3ac; font-size: 8px; font-weight: 700; letter-spacing: .19em; }
.primary-menu { display: flex; align-items: center; justify-content: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.primary-menu > li { position: relative; }
.primary-menu a { display: block; padding: 28px 0; color: #f5f5f2; font-size: 14px; font-weight: 700; white-space: nowrap; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: var(--hb-lime); }
.primary-menu .menu-item-has-children > a::after { content: "⌄"; margin-left: 7px; color: #969b93; font-size: 12px; }
.primary-menu .sub-menu { position: absolute; top: 70px; left: -18px; display: none; min-width: 190px; padding: 10px; background: var(--hb-white); box-shadow: var(--hb-shadow); list-style: none; }
.primary-menu .menu-item-has-children:hover > .sub-menu, .primary-menu .menu-item-has-children:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { padding: 9px 10px; color: var(--hb-ink); }
.primary-menu .products-sub-menu { min-width: 245px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.language-switch { display: inline-flex; align-items: center; gap: 7px; padding-left: 17px; border-left: 1px solid #50534f; color: #f5f5f2; font-size: 13px; font-weight: 700; }
.header-quote, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 100px; background: var(--hb-lime); color: var(--hb-ink); font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.header-quote { padding: 12px 19px; font-size: 12px; white-space: nowrap; }
.header-quote:hover, .button:hover { transform: translateY(-2px); background: var(--hb-white); color: var(--hb-ink); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid #565a54; border-radius: 50%; background: transparent; color: var(--hb-white); }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; content: ""; }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: 745px; padding: 88px 0 0; background: var(--hb-ink); color: var(--hb-white); }
.hero::before { position: absolute; inset: 0; background: radial-gradient(circle at 75% 36%, rgba(201,232,106,.19), transparent 32%), linear-gradient(110deg, #151515 0%, #20261d 100%); content: ""; }
.hero::after { position: absolute; right: 0; bottom: 0; width: 55%; height: 70%; opacity: .18; background-image: radial-gradient(#c9e86a 1px, transparent 1px); background-size: 15px 15px; content: ""; mask-image: linear-gradient(130deg, transparent 10%, #000 75%); }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); gap: 50px; align-items: center; min-height: 520px; }
.hero-copy { max-width: 680px; }
.hero-kicker { margin: 0 0 25px; color: var(--hb-lime); font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.hero-title { max-width: 700px; margin: 0; font-size: clamp(52px, 7.3vw, 108px); line-height: .93; letter-spacing: -.075em; }
.hero-title em { color: var(--hb-lime); font-style: normal; }
.hero-description { max-width: 560px; margin: 30px 0 0; color: #c5cbc1; font-size: 19px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 35px; }
.button { padding: 16px 25px; font-size: 14px; }
.button--outline { border: 1px solid #687064; background: transparent; color: var(--hb-white); }
.button--outline:hover { border-color: var(--hb-white); background: var(--hb-white); color: var(--hb-ink); }
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 475px; }
.hero-art::before { position: absolute; width: min(520px, 90%); height: min(520px, 90%); border: 1px solid rgba(201,232,106,.45); border-radius: 50%; content: ""; }
.hero-art::after { position: absolute; width: 68%; aspect-ratio: 1; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; content: ""; }
.hero-art img { position: relative; z-index: 1; width: min(560px, 100%); filter: drop-shadow(0 35px 25px rgba(0,0,0,.27)); }
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 0 40px; border-top: 1px solid rgba(255,255,255,.18); }
.stat-number { display: block; color: var(--hb-lime); font-size: clamp(29px, 3vw, 42px); font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.stat-label { display: block; margin-top: 8px; color: #bec5ba; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

/* Products */
.products-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.products-title-group { position: relative; display: inline-block; }
.product-hover-hint { display: block; margin-top: 13px; color: var(--hb-lime-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.homepage-products-menu { position: absolute; z-index: 8; top: calc(100% + 14px); left: 0; display: none; grid-template-columns: repeat(2, minmax(145px, 1fr)); gap: 4px; width: 430px; margin: 0; padding: 12px; border: 1px solid var(--hb-line); border-radius: 15px; background: var(--hb-white); box-shadow: var(--hb-shadow); list-style: none; }
.products-title-group:hover .homepage-products-menu, .products-title-group:focus-within .homepage-products-menu { display: grid; }
.homepage-products-menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 9px; color: var(--hb-ink); font-size: 13px; font-weight: 800; }
.homepage-products-menu a:hover, .homepage-products-menu a:focus { background: var(--hb-lime); color: var(--hb-ink); }
.homepage-products-menu a span { color: var(--hb-lime-dark); font-size: 16px; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { position: relative; overflow: hidden; min-height: 430px; padding: 0; border-radius: var(--hb-radius); background: var(--hb-white); box-shadow: 0 5px 0 rgba(0,0,0,.02); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--hb-shadow); }
.product-image { display: flex; align-items: center; justify-content: center; height: 260px; padding: 28px; background: #edf0e7; }
.product-card:nth-child(2) .product-image { background: #e6ecef; }
.product-card:nth-child(3) .product-image { background: #eee9de; }
.product-card:nth-child(4) .product-image { background: #e9e5ec; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.product-card:hover .product-image img { transform: scale(1.06) rotate(-2deg); }
.product-body { padding: 22px 24px 25px; }
.product-index { color: var(--hb-lime-dark); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.product-title { margin: 6px 0 7px; font-size: 25px; line-height: 1.1; letter-spacing: -.04em; }
.product-text { min-height: 48px; margin: 0; color: var(--hb-muted); font-size: 14px; }
.product-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--hb-ink); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.product-link::after { content: "↗"; color: var(--hb-lime-dark); font-size: 18px; }

/* About */
.about { overflow: hidden; background: var(--hb-white); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-visual { position: relative; min-height: 510px; }
.about-visual::before { position: absolute; top: 35px; right: 0; width: 80%; height: 80%; border-radius: 50% 50% 0 50%; background: var(--hb-sand); content: ""; }
.about-visual::after { position: absolute; left: 12%; bottom: 25px; width: 180px; height: 180px; border: 1px solid var(--hb-lime-dark); border-radius: 50%; content: ""; }
.about-visual img { position: absolute; z-index: 1; top: 0; left: 5%; width: 85%; height: 100%; object-fit: contain; }
.about-badge { position: absolute; z-index: 2; right: 7%; bottom: 45px; display: grid; place-items: center; width: 140px; height: 140px; padding: 18px; border-radius: 50%; background: var(--hb-lime); color: var(--hb-ink); text-align: center; font-size: 12px; font-weight: 800; line-height: 1.25; text-transform: uppercase; transform: rotate(10deg); }
.about-copy p { color: var(--hb-muted); font-size: 17px; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 35px; padding-top: 25px; border-top: 1px solid var(--hb-line); }
.about-feature strong { display: block; font-size: 17px; }
.about-feature span { display: block; margin-top: 5px; color: var(--hb-muted); font-size: 13px; }

/* Services */
.services-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.services-head .section-title { max-width: 640px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #43483f; }
.service-card { min-height: 230px; padding: 34px; background: var(--hb-ink); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--hb-lime); color: var(--hb-ink); font-size: 24px; font-weight: 900; }
.service-card h3 { margin: 26px 0 10px; color: var(--hb-white); font-size: 22px; letter-spacing: -.03em; }
.service-card p { margin: 0; color: #aeb5aa; font-size: 14px; }

/* News */
.news-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { padding-bottom: 25px; border-bottom: 1px solid var(--hb-line); }
.news-date { color: var(--hb-lime-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.news-card h3 { margin: 12px 0 10px; font-size: 25px; line-height: 1.15; letter-spacing: -.04em; }
.news-card p { margin: 0; color: var(--hb-muted); font-size: 14px; }

/* Quote */
.quote-section { position: relative; overflow: hidden; background: var(--hb-lime); }
.quote-section::after { position: absolute; right: -140px; bottom: -210px; width: 600px; height: 600px; border: 1px solid rgba(23,23,23,.18); border-radius: 50%; content: ""; }
.quote-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .95fr; gap: 80px; align-items: start; }
.quote-section .section-lead { color: #48543a; }
.quote-note { display: flex; align-items: center; gap: 13px; margin-top: 35px; color: #344126; font-size: 13px; }
.quote-note::before { content: "✦"; font-size: 25px; }
.quote-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 28px; border-radius: var(--hb-radius); background: var(--hb-white); box-shadow: var(--hb-shadow); }
.quote-form label { display: grid; gap: 7px; color: #4b514a; font-size: 12px; font-weight: 800; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input, .quote-form textarea { width: 100%; border: 1px solid #d9ded6; border-radius: 9px; padding: 13px 14px; outline: 0; background: #fbfcfa; color: var(--hb-ink); }
.quote-form textarea { min-height: 120px; resize: vertical; }
.quote-form input:focus, .quote-form textarea:focus { border-color: var(--hb-lime-dark); box-shadow: 0 0 0 3px rgba(147,184,53,.18); }
.quote-form .button { justify-self: start; margin-top: 4px; background: var(--hb-ink); color: var(--hb-white); }
.quote-form .button:hover { background: var(--hb-lime-dark); }
.form-notice { grid-column: 1 / -1; padding: 12px 14px; border-radius: 8px; background: #eef7df; color: #4a6422; font-size: 13px; }

/* Footer */
.site-footer { padding: 70px 0 25px; background: var(--hb-ink); color: var(--hb-white); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr 1fr; gap: 45px; padding-bottom: 55px; }
.footer-brand p { max-width: 280px; margin: 20px 0 0; color: #9da69a; font-size: 14px; }
.footer-title { margin: 0 0 18px; color: var(--hb-lime); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: #d5dad2; font-size: 14px; }
.footer-links a:hover { color: var(--hb-lime); }
.footer-contact { display: grid; gap: 9px; color: #d5dad2; font-size: 14px; }
.footer-contact span { color: #9da69a; font-size: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #3d423b; color: #879087; font-size: 12px; }
.floating-contact { position: fixed; z-index: 45; right: 0; top: 50%; display: grid; overflow: hidden; border-radius: 14px 0 0 14px; box-shadow: 0 10px 25px rgba(0,0,0,.18); transform: translateY(-50%); }
.floating-contact a { display: grid; place-items: center; width: 48px; height: 48px; background: var(--hb-ink); color: var(--hb-white); font-size: 20px; }
.floating-contact a + a { border-top: 1px solid #4b5149; }
.floating-contact a:hover { background: var(--hb-lime); color: var(--hb-ink); }

/* Content pages */
.page-hero { padding: 100px 0 85px; background: var(--hb-ink); color: var(--hb-white); }
.page-hero h1 { max-width: 800px; margin: 0; font-size: clamp(42px, 6vw, 80px); line-height: .98; letter-spacing: -.06em; }
.content-area { padding: 85px 0; }
.content-layout { max-width: 850px; margin: 0 auto; }
.content-layout h2, .content-layout h3 { letter-spacing: -.04em; }
.content-layout img { border-radius: 18px; }
.post-meta { margin: 0 0 22px; color: var(--hb-lime-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.entry-content { color: #525a52; font-size: 17px; }
.entry-content a { color: var(--hb-lime-dark); text-decoration: underline; }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 38px; height: 38px; border: 1px solid var(--hb-line); border-radius: 50%; font-size: 13px; }
.pagination .current { background: var(--hb-ink); color: var(--hb-white); }

@media (max-width: 1100px) {
  .primary-menu { gap: 17px; }
  .primary-menu a { font-size: 13px; }
  .header-quote { display: none; }
  .hero-grid { grid-template-columns: 1fr .78fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 45px; }
}
@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header-inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .site-navigation { position: absolute; top: 70px; right: 0; left: 0; display: none; padding: 8px 24px 20px; background: var(--hb-ink); box-shadow: 0 15px 25px rgba(0,0,0,.2); }
  .site-navigation.is-open { display: block; }
  .primary-menu { display: grid; gap: 0; }
  .primary-menu a { padding: 12px 0; }
  .primary-menu .sub-menu { position: static; display: block; padding: 0 0 5px 15px; background: transparent; box-shadow: none; }
  .primary-menu .sub-menu a { color: #c5cbc1; }
  .language-switch { display: none; }
  .hero { min-height: auto; padding-top: 55px; }
  .hero-grid, .about-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 20px; }
  .hero-art { min-height: 340px; order: -1; }
  .hero-art img { width: min(430px, 86%); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .section { padding: 78px 0; }
  .products-head, .services-head, .news-head { display: block; }
  .products-head .button, .services-head .button, .news-head .button { margin-top: 25px; }
  .about-visual { min-height: 390px; }
  .homepage-products-menu { position: static; display: grid; grid-template-columns: 1fr; width: min(100%, 360px); margin-top: 14px; }
  .product-hover-hint { display: none; }
  .services-grid, .news-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .container, .site-header-inner { width: min(100% - 32px, var(--hb-container)); }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 7px; }
  .hero-title { font-size: clamp(47px, 15vw, 72px); }
  .hero-description { font-size: 16px; }
  .hero-stats { padding-bottom: 28px; }
  .products-grid, .about-features, .quote-form { grid-template-columns: 1fr; }
  .quote-form .full { grid-column: auto; }
  .about-visual { min-height: 310px; }
  .about-badge { right: 1%; width: 110px; height: 110px; font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
  .floating-contact { bottom: 18px; top: auto; border-radius: 15px; transform: none; }
  .floating-contact a { width: 44px; height: 44px; }
}
