/* ==========================================================================
   The Health Reborn - Anti-Gravity Design System Tokens & Modern UI Styles
   ========================================================================== */

@import url('theme-variables.css');

/* Global Reset & Font Defaults */
body {
  font-family: var(--hr-font-body);
  color: #333333;
  background-color: #FAFAFA;
}

h1, h2, h3, h4, h5, h6, .hr-heading {
  font-family: var(--hr-font-heading);
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   1. Announcement Ticker Banner
   -------------------------------------------------------------------------- */
.hr-announcement-ticker {
  background: linear-gradient(90deg, #101010 0%, var(--hr-dark-base) 50%, #101010 100%);
  color: var(--hr-white);
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  border-bottom: 1px solid rgba(151, 37, 37, 0.3);
}

.hr-ticker-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hr-ticker-badge {
  background: var(--hr-accent-red);
  color: var(--hr-white);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  margin-right: 10px;
  box-shadow: 0 0 10px rgba(151, 37, 37, 0.4);
}

.hr-ticker-text {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.hr-ticker-text span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   2. Glassmorphism Navigation Bar
   -------------------------------------------------------------------------- */
.hr-glass-navbar {
  background: rgba(26, 26, 26, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: var(--hr-transition);
}

.hr-logo-container {
  padding: 20px;
  display: inline-block;
}

.hr-logo-img {
  max-height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: var(--hr-transition);
}

.hr-logo-img:hover {
  transform: scale(1.03);
}

.hr-glass-navbar .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: var(--hr-font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 18px !important;
  transition: var(--hr-transition);
  position: relative;
}

.hr-glass-navbar .nav-link:hover,
.hr-glass-navbar .nav-link.active {
  color: var(--hr-accent-red) !important;
}

.hr-glass-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: var(--hr-accent-red);
  transition: var(--hr-transition);
}

.hr-glass-navbar .nav-link:hover::after,
.hr-glass-navbar .nav-link.active::after {
  width: 70%;
}

/* --------------------------------------------------------------------------
   3. Anti-Gravity Floating Product Cards
   -------------------------------------------------------------------------- */
.hr-anti-gravity-card {
  background: var(--hr-white);
  border-radius: 16px;
  box-shadow: var(--hr-anti-gravity-shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--hr-transition);
  padding: 20px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hr-anti-gravity-card:hover {
  transform: translateY(-8px);
  border-color: var(--hr-accent-red);
  box-shadow: var(--hr-anti-gravity-shadow), var(--hr-glow-red);
}

.hr-card-img-wrapper {
  position: relative;
  background: radial-gradient(circle at center, rgba(240, 194, 67, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  overflow: hidden;
  margin-bottom: 18px;
}

.hr-card-img-wrapper img {
  max-height: 240px;
  object-fit: contain;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

.hr-anti-gravity-card:hover .hr-card-img-wrapper img {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 15px 25px rgba(151, 37, 37, 0.3));
}

.hr-card-title {
  font-family: var(--hr-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--hr-dark-base);
  margin-bottom: 8px;
  text-decoration: none;
  transition: var(--hr-transition);
}

.hr-anti-gravity-card:hover .hr-card-title {
  color: var(--hr-accent-red);
}

.hr-card-category {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #718096;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   4. High-Impact Anti-Gravity Hero Banner
   -------------------------------------------------------------------------- */
.hr-hero-banner {
  background: linear-gradient(135deg, #111111 0%, #1A1A1A 60%, #2A1212 100%);
  color: var(--hr-white);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.hr-hero-banner::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(151, 37, 37, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hr-hero-tagline {
  font-family: var(--hr-font-tagline);
  font-size: 28px;
  color: var(--hr-accent-gold);
  margin-bottom: 10px;
}

.hr-hero-title {
  font-family: var(--hr-font-heading);
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hr-hero-title span {
  color: var(--hr-accent-red);
  text-shadow: var(--hr-glow-red);
}

.hr-hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 540px;
  line-height: 1.6;
}

.hr-btn-primary {
  background: var(--hr-accent-red);
  color: var(--hr-white);
  font-family: var(--hr-font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 30px;
  border: 2px solid var(--hr-accent-red);
  box-shadow: 0 6px 20px rgba(151, 37, 37, 0.4);
  transition: var(--hr-transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.hr-btn-primary:hover {
  background: #7A1D1D;
  border-color: #7A1D1D;
  color: var(--hr-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(151, 37, 37, 0.6);
}

.hr-hero-floating-tubs {
  position: relative;
  text-align: center;
}

.hr-hero-tub-img {
  max-height: 380px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
  animation: floatTub 4s ease-in-out infinite;
}

@keyframes floatTub {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1.5deg); }
}

/* Flagship Products Grid Bar */
.hr-flagship-bar {
  background: var(--hr-dark-base);
  border-top: 2px solid var(--hr-accent-red);
  padding: 20px 0;
  color: var(--hr-white);
}

.hr-flagship-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--hr-transition);
}

.hr-flagship-item:hover {
  background: rgba(151, 37, 37, 0.15);
  border-color: var(--hr-accent-red);
}

.hr-flagship-name {
  font-family: var(--hr-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--hr-white);
  text-transform: uppercase;
}

.hr-flagship-tag {
  font-size: 11px;
  color: var(--hr-accent-gold);
}

/* --------------------------------------------------------------------------
   5. Product Detail Page (PDP) & Modern Callouts
   -------------------------------------------------------------------------- */
.hr-pdp-container {
  padding: 50px 0;
}

.hr-macro-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 25px 0;
}

.hr-macro-badge {
  background: rgba(var(--hr-primary-rgb2), 0.1);
  color: var(--hr-accent-red);
  border: 1px solid var(--hr-primary-brand);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hr-pill-toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.hr-pill-btn {
  background: var(--hr-white);
  border: 2px solid #E2E8F0;
  color: var(--hr-dark-base);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--hr-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hr-pill-btn:hover,
.hr-pill-btn.active {
  border-color: var(--hr-accent-red);
  background: rgba(151, 37, 37, 0.08);
  color: var(--hr-accent-red);
  box-shadow: 0 4px 12px rgba(151, 37, 37, 0.2);
}

.hr-authenticity-card {
  background: linear-gradient(135deg, #1A1A1A 0%, #252525 100%);
  color: var(--hr-white);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 25px 0;
  border-left: 4px solid var(--hr-accent-red);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 18px;
}

.hr-authenticity-icon {
  width: 48px;
  height: 48px;
  background: rgba(151, 37, 37, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hr-accent-red);
  font-size: 22px;
  flex-shrink: 0;
}

.hr-authenticity-title {
  font-family: var(--hr-font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--hr-white);
  margin-bottom: 4px;
}

.hr-authenticity-desc {
  font-size: 13px;
  color: #A0AEC0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. Responsive Anti-Gravity Sticky Mobile Bar
   -------------------------------------------------------------------------- */
.hr-sticky-mobile-bar {
  display: none;
}

@media (max-width: 991px) {
  .hr-sticky-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(151, 37, 37, 0.3);
    padding: 12px 20px;
    z-index: 1050;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.4);
  }

  .hr-sticky-price {
    color: var(--hr-accent-red);
    font-family: var(--hr-font-heading);
    font-size: 22px;
    font-weight: 800;
  }

  .hr-sticky-product-name {
    font-size: 13px;
    color: var(--hr-white);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
  }
}

/* --------------------------------------------------------------------------
   7. Dark Anti-Gravity Footer
   -------------------------------------------------------------------------- */
#footer {
  background-color: var(--hr-dark-base) !important;
  color: var(--hr-white) !important;
  padding: 60px 0 40px 0;
  border-top: 3px solid var(--hr-accent-red);
}

.footer-title {
  font-family: var(--hr-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--hr-white) !important;
  text-transform: uppercase;
  margin-bottom: 25px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--hr-accent-red);
}

.footer-content {
  color: #A0AEC0;
  font-size: 14px;
  line-height: 1.7;
}

#footer a {
  color: #E2E8F0;
  transition: var(--hr-transition);
}

#footer a:hover {
  color: var(--hr-accent-red) !important;
  text-decoration: none;
}

.copyright {
  background-color: #101010 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.copyright-text {
  color: #A0AEC0 !important;
  font-size: 13.5px;
}
