/* --- 1. FONTS & BRANDING VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --gc-blue: #002f55;       /* PMS 540 */
  --gc-accent: #64A0C8;     /* PMS 542 */
  --gc-grey: #A5ACAF;       /* PMS 429 */
  --gc-athletic: #00AEEF;
  --gc-font: 'Crimson Text', serif;
}

body, h1, h2, h3, h4, h5, p, span, div, a {
  font-family: var(--gc-font) !important;
}

/* --- 2. NEW SITE HEADER (Replicating gacybercenter.org) --- */
/* Hide the default Canvas Header Background but keep the functionality accessible */
.ic-app-header {
  background: #ffffff !important; 
  border-bottom: 1px solid #e1e1e1;
  height: auto !important;
  padding: 10px 20px !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

/* Hide the default Canvas Logo (we will insert our own) */
.ic-app-header__logomark {
  display: none !important;
}

/* Style the Canvas "User Menu" (Login/Cart) to fit our new header */
.ic-app-header__secondary-navigation {
  position: static !important;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ic-app-header__secondary-navigation a {
  color: var(--gc-blue) !important;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-decoration: none;
}

/* The Container for our custom links */
.gc-custom-nav-links {
  display: flex;
  gap: 25px;
  margin-right: auto; /* Pushes Login/Cart to the right */
  margin-left: 30px;
}

.gc-custom-nav-links a {
  color: var(--gc-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gc-custom-nav-links a:hover {
  color: var(--gc-accent);
}

.gc-header-logo img {
  height: 50px; /* Adjust based on your actual logo file */
  vertical-align: middle;
}

/* --- 3. HERO SECTION STYLING --- */
.gc-hero {
  background-color: var(--gc-blue);
  color: white;
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 30px;
}

.gc-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff !important;
}

.gc-hero p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.5;
  color: var(--gc-grey);
}

.gc-hero-btn {
  background-color: var(--gc-accent);
  color: white !important;
  padding: 12px 30px;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
}

.gc-hero-btn:hover {
  background-color: var(--gc-athletic);
}

/* --- 4. CATALOG CARD & GENERAL UI CLEANUP --- */
.j-catalog-card-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.ic-CatalogCourseCard {
  max-width: 320px !important;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ic-CatalogCourseCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.ic-CatalogCourseCard__Catalog-Name, 
.ic-CatalogCourseCard__Catalog-Name + span { 
  display: none !important; 
}

.ic-CatalogCourseCard__Price {
  color: var(--gc-blue);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Sleek Search Bars */
.ic-CatalogFilter__SearchInput, .ic-CatalogFilter__Select {
  border: 1px solid #ccc !important;
  border-radius: 2px !important;
  padding: 10px !important;
}

/* --- 5. FOOTER STYLING --- */
.gc-footer {
  background-color: var(--gc-blue);
  color: white;
  padding: 40px 20px;
  margin-top: 50px;
  font-size: 0.9rem;
  text-align: center;
}
.gc-footer a { color: var(--gc-accent); text-decoration: none; }