/* ==========================================================================
   RY Bio Lifesciences — Main Stylesheet
   Pure Vanilla CSS (Black & Gold Theme)
   ========================================================================== */

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

:root {
  /* Rich Black Backgrounds */
  --bg-page: #090a0d;
  --bg-card: #12141a;
  --bg-card-body: #161821;
  --bg-subtle: rgba(212, 175, 55, 0.05);

  /* Gold & Metallic Palette */
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-accent: #e6ca65;
  --gold-dark: #aa820a;

  /* Typography Colors */
  --text-heading: #ffffff;
  --text-gold: #d4af37;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-label: #d4af37;

  /* Gold Borders & Accents */
  --border-light: rgba(212, 175, 55, 0.18);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-hover: rgba(212, 175, 55, 0.75);

  /* Shadows */
  --shadow-gold: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.08);
  --shadow-gold-hover: 0 14px 35px -8px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.2);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
  min-height: 100%;
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Page Layout Container */
.page-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3.5rem 1.5rem 2.5rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  background-color: var(--bg-page);
}

/* ==========================================================================
   Header (No Logo - Clean Text Only in Shimmering Gold)
   ========================================================================== */
.site-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 2.25rem;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa820a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  padding: 1rem 0 3rem 0;
}

/* Clean Centered Main Heading */
.main-heading {
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.main-heading span {
  color: var(--gold-primary);
  background: linear-gradient(135deg, #f5d77f 0%, #d4af37 60%, #e6ca65 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Plain, Factual Subheading (Non-AI, No Buzzwords) */
.sub-heading {
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  font-weight: 400;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 3rem auto;
  line-height: 1.7;
}

/* Direct Contact Notice Banner in Gold Border */
.contact-banner {
  width: 100%;
  max-width: 580px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 1.2rem 1.6rem;
  margin-bottom: 3.5rem;
  font-size: 0.95rem;
  color: var(--text-body);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.contact-banner strong {
  color: var(--gold-light);
}

.contact-banner a {
  color: var(--gold-primary);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.contact-banner a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   Medical Stock Photography Section
   ========================================================================== */
.medical-section {
  width: 100%;
  margin-bottom: 2rem;
}

.section-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  width: 100%;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: var(--shadow-gold);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.info-card:hover {
  border-color: var(--border-gold-hover);
  box-shadow: var(--shadow-gold-hover);
  transform: translateY(-4px);
}

.card-image-box {
  width: 100%;
  height: 190px;
  background-color: #0d0f14;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.04);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.info-card:hover .card-img {
  transform: scale(1.04);
  filter: brightness(1) contrast(1.05);
}

.card-body {
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
  background: var(--bg-card-body);
  border-top: 1px solid var(--border-light);
}

.card-department {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-email-link {
  color: var(--gold-primary);
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-email-link:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 860px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .card-image-box {
    height: 200px;
  }
}

@media (max-width: 580px) {
  .page-container {
    padding: 2.25rem 1rem 1.75rem 1rem;
  }

  .contact-banner {
    padding: 1rem 1.15rem;
  }
}
