/* ==========================================================================
   Custom Site & Mobile Responsive Stylesheet
   Chongqing Hamber Culture Media (重庆汉拔文化传媒)
   ========================================================================== */

/* --- 1. Unified Top Navigation Bar (Header) --- */
.nav-diy {
  width: 100%;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
  margin: 0 !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-diy .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.nav-diy img {
  width: 74px;
  height: 14px;
  cursor: pointer;
  object-fit: contain;
}

.nav-diy .navHref {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-diy .navHref a {
  color: #ffffff !important;
  font-size: 14px;
  text-decoration: none !important;
  margin-right: 40px;
  font-weight: 600;
  padding: 4px 0;
  border-bottom: none !important;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.nav-diy .navHref a:last-child {
  margin-right: 0;
}

.nav-diy .navHref a:hover,
.nav-diy .navHref a.active {
  color: #fdb813 !important;
  border-bottom: none !important;
}

/* Scrolled State */
.nav-diy.nav-diy-scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.nav-diy.nav-diy-scrolled .navHref a {
  color: #000000 !important;
}

.nav-diy.nav-diy-scrolled .navHref a:hover,
.nav-diy.nav-diy-scrolled .navHref a.active {
  color: #fdb813 !important;
  border-bottom: none !important;
}

/* Nav Toggle Button (Hamburger) */
.nav-diy .nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  cursor: pointer;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.nav-diy .nav-toggle span {
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-diy.nav-expanded .nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-diy.nav-expanded .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-diy.nav-expanded .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* --- 2. Mobile Responsive Navigation (Luxury Side Drawer - Pure White Theme, No Backdrop Mask) --- */
.nav-drawer-backdrop {
  display: none !important;
}

@media (max-width: 991px) {
  .nav-diy .nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 100002 !important;
    position: relative;
    background: transparent;
    border: none;
    padding: 8px;
  }

  .nav-diy .nav-toggle span {
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
  }

  .nav-diy.nav-expanded .nav-toggle {
    position: fixed !important;
    top: 12px !important;
    right: 14px !important;
    z-index: 100002 !important;
  }

  .nav-diy.nav-expanded .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #111111 !important;
  }

  .nav-diy.nav-expanded .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-diy.nav-expanded .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: #111111 !important;
  }

  /* Right Side Sliding Drawer - 100% Crisp Pure White Theme */
  .nav-diy .navHref {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 260px !important;
    max-width: 80vw !important;
    height: 100vh !important;
    background-color: #ffffff !important;
    padding: 68px 0 30px 0 !important;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.25);
    z-index: 100001 !important;
    border-left: 1px solid #eaeaea;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    overflow-y: auto !important;
    margin: 0 !important;
  }

  .nav-diy.nav-expanded .navHref {
    transform: translateX(0) !important;
  }

  .nav-diy .navHref a {
    color: #1a1a1a !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 15px 22px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #f2f2f2 !important;
    border-left: 4px solid transparent !important;
    border-radius: 0 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
  }

  .nav-diy .navHref a small {
    display: block !important;
    font-size: 11px !important;
    color: #999999 !important;
    letter-spacing: 1.5px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    transition: color 0.2s ease !important;
  }

  .nav-diy .navHref a:hover {
    color: #d99000 !important;
    background: #fafafa !important;
  }

  .nav-diy .navHref a:hover small {
    color: #d99000 !important;
  }

  .nav-diy .navHref a.active {
    color: #d99000 !important;
    font-weight: 700 !important;
    background: #fdfaf2 !important;
    border-left: 4px solid #fdb813 !important;
  }

  .nav-diy .navHref a.active small {
    color: #d99000 !important;
    font-weight: 600 !important;
  }
}

@media (min-width: 992px) {
  .nav-diy .navHref a small {
    display: none !important;
  }
  .nav-drawer-backdrop {
    display: none !important;
  }
}

/* --- 3. Mobile Hero & Carousel Fixes --- */
@media (max-width: 768px) {
  #carouselExampleIndicators {
    min-height: 280px;
  }

  #carouselExampleIndicators .carousel-item {
    height: auto;
    min-height: 260px;
  }

  #carouselExampleIndicators video {
    object-fit: cover;
    min-height: 260px;
  }

  .slogan {
    width: 90%;
    padding: 0 10px;
    text-align: center;
  }

  .slogan h1 {
    font-size: 20px !important;
    letter-spacing: 2px !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
  }

  .slogan p {
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    opacity: 0.85;
  }

  .breadcrumbs-custom {
    padding: 120px 0 60px 0 !important;
  }

  .breadcrumbs-custom-title {
    font-size: 28px !important;
  }

  .breadcrumbs-custom-subtitle {
    font-size: 12px !important;
  }
}

/* --- 4. Page Content Cards & Grids --- */
.page-container {
  padding-top: 90px;
}

.section-dark {
  background-color: #111111;
  color: #e0e0e0;
}

.section-dark-alt {
  background-color: #181818;
  color: #e0e0e0;
}

/* Golden Accent Line */
.title-decorated::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 2px;
  background: #fdb813;
  margin-right: 12px;
}

/* Standard Section Heading */
.site-heading {
  text-align: center;
  margin-bottom: 48px;
}

.site-heading .sub-title {
  color: #fdb813;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.site-heading h2 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.site-heading p {
  color: #999999;
  font-size: 14px;
  max-width: 680px;
  margin: 12px auto 0;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .site-heading h2 {
    font-size: 24px;
  }
  .site-heading p {
    font-size: 13px;
  }
}

/* Card hover uplift */
.custom-card {
  background: #1e1e1e;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-card:hover {
  transform: translateY(-6px);
  border-color: rgba(253, 184, 19, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* Video Play Button Glow */
.btn-play-glow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(253, 184, 19, 0.9);
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(253, 184, 19, 0.5);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-play-glow:hover {
  transform: scale(1.1);
  background: #ffffff;
  color: #111111;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

/* Footer Phone Style */
.footer-phone-highlight {
  color: #fdb813 !important;
  font-weight: 700;
  font-size: 16px;
}

/* --- 5. Footer Standard Overrides & Alignment --- */
.footer-standard {
  background-color: #181818 !important;
  color: #999999 !important;
  padding: 60px 0 30px 0 !important;
}

.footer-standard .row-50 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-standard .object-inline {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 16px !important;
  white-space: normal !important;
}

.footer-standard .object-inline img {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  object-fit: contain !important;
  margin-right: 14px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.footer-standard .object-inline a,
.footer-standard .object-inline span {
  color: #cccccc !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.footer-standard .object-inline a:hover {
  color: #fdb813 !important;
}

.footer-standard img[src*="qrcode"],
.footer-standard .qrcode-img {
  width: 120px !important;
  height: 120px !important;
  max-width: 120px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: block !important;
  margin-top: 10px !important;
}

.footer-standard h4 {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  letter-spacing: 0.5px !important;
}

.footer-standard p {
  color: #999999 !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
}

.footer-standard-aside {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 24px !important;
  margin-top: 40px !important;
  text-align: center !important;
}

.footer-standard-aside .rights {
  font-size: 12px !important;
  color: #777777 !important;
  line-height: 1.8 !important;
}

/* ==========================================================================
   Unified Portfolio & Cases Card Presentation System (Standardized on cases.html)
   ========================================================================== */

/* 1. Filter Navigation (Modern Clean Tabs with Gold Indicator) */
.case-filter-nav,
.isotope-filters-list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px 28px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto 45px auto !important;
  border: none !important;
}

.case-filter-nav::after,
.isotope-filters-list::after {
  display: none !important;
}

.case-filter-nav li,
.isotope-filters-list li {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

.case-filter-nav a,
.isotope-filters-list a {
  color: #444444 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  padding: 6px 14px !important;
  position: relative !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  display: inline-block !important;
  background: transparent !important;
  border: none !important;
}

.case-filter-nav a:hover,
.case-filter-nav a.active,
.isotope-filters-list a:hover,
.isotope-filters-list a.active {
  color: #fdb813 !important;
  font-weight: 700 !important;
}

.case-filter-nav a::after,
.isotope-filters-list a::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 0 !important;
  height: 2px !important;
  background: #fdb813 !important;
  transition: width 0.3s ease !important;
  border: none !important;
  right: auto !important;
}

.case-filter-nav a:hover::after,
.case-filter-nav a.active::after,
.isotope-filters-list a:hover::after,
.isotope-filters-list a.active::after {
  width: 80% !important;
}

/* Hide legacy mobile dropdown button in modern tab mode */
.isotope-filters-modern .isotope-filters-toggle {
  display: none !important;
}

/* 2. Unified Card Layout & Hover Animation */
.model.model225 {
  height: 260px !important;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  position: relative !important;
  margin-bottom: 30px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  display: flex !important;
  align-items: flex-end !important;
  cursor: pointer !important;
}

.model.model225:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2) !important;
}

/* 3. Dark Gradient Overlay */
.model.model225:after {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  content: '' !important;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%) !important;
  opacity: 0.6 !important;
  z-index: 1 !important;
  transition: opacity 0.3s ease !important;
}

.model.model225:hover:after {
  opacity: 0.85 !important;
}

/* 4. Centered Play / View Icon Button */
.model.model225 .icon {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: 60px !important;
  height: 60px !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
  z-index: 3 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  margin: 0 !important;
  margin-top: 0 !important;
}

.model.model225:hover .icon {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1.06) !important;
}

.model.model225 .icon svg {
  display: block;
}

/* 5. Card Text & Typography */
.model.model225 .desc {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
}

.model.model225 .text span {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 12px !important;
  display: block !important;
  margin-bottom: 2px !important;
  font-weight: normal !important;
  line-height: 1.4 !important;
}

.model.model225 .text h2 {
  font-size: 16px !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.model.model225 .text h2 a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.model.model225 .text h2 a:hover {
  color: #fdb813 !important;
}

