/* 
 * UHC Website Styles
 * Prefix: uhc-
 * Theme: Premium, Dark/Red, Glassmorphism
 */

:root {
  /* Branding Colors */
  --uhc-color-primary: #a60a43;
  --uhc-color-primary-dark: #820735;
  --uhc-color-primary-light: #d41e5e;
  --uhc-color-dark: #1a1a1a;
  --uhc-color-light: #ffffff;
  --uhc-color-text: #2c2c2c;
  --uhc-color-text-light: #f5f5f5;

  /* UI Colors */
  --uhc-color-bg-overlay: rgba(0, 0, 0, 0.6);
  --uhc-color-card-bg: rgba(255, 255, 255, 0.95);
  --uhc-color-glass: rgba(255, 255, 255, 0.1);

  /* Typography */
  --uhc-font-heading: "Outfit", sans-serif;
  --uhc-font-body: "Inter", sans-serif;

  /* Spacing */
  --uhc-spacing-xs: 0.5rem;
  --uhc-spacing-sm: 1rem;
  --uhc-spacing-md: 2rem;
  --uhc-spacing-lg: 4rem;
  --uhc-spacing-xl: 6rem;

  /* Properties */
  --uhc-radius-sm: 8px;
  --uhc-radius-md: 16px;
  --uhc-radius-lg: 24px;
  --uhc-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --uhc-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --uhc-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.2),
    0 10px 10px -5px rgba(0, 0, 0, 0.1);
  --uhc-transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--uhc-font-body);
  color: var(--uhc-color-text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--uhc-color-dark);
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--uhc-font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--uhc-spacing-sm);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--uhc-transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.uhc-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--uhc-spacing-sm);
  padding-right: var(--uhc-spacing-sm);
}

.uhc-grid {
  display: grid;
  gap: var(--uhc-spacing-md);
}

.uhc-flex {
  display: flex;
  gap: var(--uhc-spacing-md);
}

.uhc-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.uhc-hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .uhc-hidden-mobile {
    display: block;
  }

  .uhc-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .uhc-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Button Utilities */
.uhc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--uhc-font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--uhc-transition);
  font-size: 0.95rem;
}

.uhc-btn-primary {
  background-color: var(--uhc-color-primary);
  color: white;
}

.uhc-btn-primary:hover {
  background-color: var(--uhc-color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(166, 10, 67, 0.3);
}

.uhc-btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

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

/* Background */
.uhc-bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

.uhc-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.uhc-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.7)
  );
}

/* Header */
.uhc-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: var(--uhc-spacing-sm) 0;
  transition: var(--uhc-transition);
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.uhc-header .uhc-btn {
  display: none;
}

.uhc-logo {
  height: 60px;
  width: auto;
  /* Filter to ensure it pops if needed, usually transparent PNGs are fine */
}

.uhc-nav-link {
  color: var(--uhc-color-text-light);
  font-weight: 500;
  font-size: 1rem;
  margin-left: 2rem;
  position: relative;
}

.uhc-nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--uhc-color-primary);
  transition: var(--uhc-transition);
}

.uhc-nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.uhc-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  /* Offset for fixed header */
}

.uhc-hero-content {
  color: white;
  max-width: 800px;
  animation: uhcFadeInUp 1s ease-out;
}

.uhc-hero-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--uhc-spacing-md);
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1.1;
}

.uhc-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: var(--uhc-spacing-lg);
  opacity: 0.9;
}

.uhc-standard-text {
  min-height: 700px;
  max-width: 900px;
}

@media (min-width: 768px) {
  .uhc-hero-title {
    font-size: 5rem;
  }

  .uhc-header .uhc-btn {
    display: block;
  }
}

/* Content Modules */
.uhc-section {
  padding: var(--uhc-spacing-xl) 0;
  position: relative;
  z-index: 1;
}

.uhc-card {
  background-color: var(--uhc-color-card-bg);
  border-radius: var(--uhc-radius-md);
  padding: var(--uhc-spacing-md);
  box-shadow: var(--uhc-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.uhc-card-title {
  color: var(--uhc-color-primary);
  font-size: 2rem;
  margin-bottom: var(--uhc-spacing-md);
  display: inline-block;
  border-bottom: 3px solid var(--uhc-color-primary);
  padding-bottom: 5px;
}

/* Stats Module */
.uhc-stat-box {
  text-align: center;
  padding: var(--uhc-spacing-md);
  background: rgba(166, 10, 67, 0.05);
  /* very light primary tint */
  border-radius: var(--uhc-radius-sm);
}

.uhc-stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--uhc-color-primary);
  font-family: var(--uhc-font-heading);
}

.uhc-stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  font-weight: 600;
}

/* News / Cards Module */
.uhc-news-item {
  display: flex;
  flex-direction: column;
  gap: var(--uhc-spacing-sm);
  padding-bottom: var(--uhc-spacing-md);
  border-bottom: 1px solid #eee;
}

.uhc-news-item:last-child {
  border-bottom: none;
}

.uhc-news-date {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

.uhc-news-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--uhc-color-dark);
  transition: var(--uhc-transition);
}

.uhc-news-title:hover {
  color: var(--uhc-color-primary);
}

/* Footer */
.uhc-footer {
  background-color: var(--uhc-color-dark);
  color: white;
  padding: var(--uhc-spacing-lg) 0;
  text-align: center;
  border-top: 5px solid var(--uhc-color-primary);
  position: relative;
  z-index: 10;
}

.uhc-footer-nav {
  margin-bottom: 1.5rem;
}

.uhc-footer-link {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 1rem;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--uhc-transition);
}

.uhc-footer-link:hover {
  color: white;
}

/* Animations */
@keyframes uhcFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .uhc-container {
    padding-left: var(--uhc-spacing-md);
    padding-right: var(--uhc-spacing-md);
  }
  .uhc-card {
    padding: var(--uhc-spacing-lg);
  }
}
