/* CSS Custom Properties - Main Theme Color */
:root {
  /* --theme-color: #0C515C;*/ /* Main theme color for nav, buttons, and headings */
  /* --theme-color: #20AC9C;*/ /* Main theme color for nav, buttons, and headings */
  --theme-color: #966D4B
; /* Main theme color for nav, buttons, and headings */
}

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-bottom: 20px;
}
.jumbotron{
background-image: url('header-img-3939w.jpg');
background-repeat:no-repeat;
background-position: center center;
background-size: cover;
color: white;
  padding: 2rem 1rem;
  margin-bottom: 2rem; /* Put this back, if you get rid of success-banner */
  background-color: #e9ecef;
  border-radius: 0.375rem;
  padding-bottom: 140px !important; /* leaves space for the overlap */
  position: relative;
  z-index: 10;
}
.success-banner {
  position: relative;
  z-index: 20;
  margin-top: -20px !important; /* Gets ignored */
  margin-bottom: 10px; 
  margin-top: 10px; 
  text-align: center;
}

.success-banner .container {
  display: flex;
  justify-content: center;
}

.success-banner p {
  background: #28a745;
  color: white;
  padding: 15px 30px;
  margin: 0;
  font-weight: 600;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.success-banner a {
  color: white !important;
  text-decoration: none; /* optional, to remove underline */
}

.success-banner a:hover {
  color: white !important; /* keep it white on hover */
}

/* Indent paragraphs under headings. */
.indented-text p { padding-left:10px}

.indented-text a { 
	color: var(--theme-color);
}


.info-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 25px 20px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-5px);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.btn-rounded {
  border-radius: 30px;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: bold;
}

.info-card p:last-child {
  margin-top: auto;
}

/* Use theme color for info buttons */
.btn-info {
  background-color: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

.btn-info:hover,
.btn-info:focus {
  background-color: color-mix(in srgb, var(--theme-color) 80%, black);
  border-color: color-mix(in srgb, var(--theme-color) 70%, black);
  color: #fff;
}

.card-image {
  margin-top: 15px;
}

.card-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto;
}
/* for dance class page */
.indented-text p {
  padding-left: 2em;
  line-height: 1.6;
}

.indented-text ul {
  padding-left: 3em;
  margin-bottom: 1.5em;
}
h2 {
  color: var(--theme-color);
} 

.indented-text h1,
.indented-text h2,
.indented-text h3 {
  color: var(--theme-color);
}

.important-note {
  color: #b30000;
  font-weight: 600;
  background-color: #fff4f4;
/*  border-left: 4px solid #b30000;*/
  padding: 0.4em 0.2em;
  margin: 1em 0;
  /* display: inline-block; */
}

/* Footer responsive layout */
@media (max-width: 767.98px) {
  footer .col-md-6 {
    text-align: center !important;
  }
  
  footer .col-md-6:first-child {
    margin-bottom: 0.5rem;
  }
}

/* Fix Bootstrap 5 compatibility issues */
/* Restore dl-horizontal styling that was removed in Bootstrap 5 */
.dl-horizontal {
  margin-bottom: 1rem;
}

.dl-horizontal dt {
  float: left;
  width: 160px;
  clear: left;
  text-align: right;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.dl-horizontal dd {
  margin-left: 180px;
  margin-bottom: 0.5rem;
}

/* Responsive behavior for small screens */
@media (max-width: 767.98px) {
  .dl-horizontal dt {
    float: none;
    width: auto;
    text-align: left;
    margin-bottom: 0.25rem;
  }
  
  .dl-horizontal dd {
    margin-left: 0;
    margin-bottom: 1rem;
  }
}

/* Restore muted blue links without underlines, with underline on hover */
a {
  xcolor: #337ab7 !important;
  xcolor: --var(--theme-color) !important;
  text-decoration: none !important;
}

a:hover {
  color: #23527c !important;
  text-decoration: underline !important;
}

/* Keep button text white - override global link styling for buttons */
.btn a, .btn {
  color: #fff !important;
}

.btn:hover {
  color: #fff !important;
  text-decoration: none !important;
}

/* Ensure btn-info specifically uses theme color and white text */
.btn-info, .btn-info:link, .btn-info:visited {
  background-color: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
  color: #fff !important;
}


