/* MavDavis Coaching (mavdavis.com/coaching)
 * Loaded after /assets/css/style.css. Only adds coaching-specific pieces,
 * built from the main site's variables so light and dark themes both work.
 */

/* HOME */
/* style.css fixes .home-blob-img at 150px; the gym photo needs to fill the whole blob */
.home-blob .home-blob-img {
 width: 200px;
 height: 250px;
}

.home-buttons {
 display: flex;
 flex-wrap: wrap;
 gap: 0.75rem;
}

.home-buttons .button.repo {
 margin-right: 0;
}

.home-points {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem 1.25rem;
 margin-top: var(--mb-1-5);
 font-size: var(--small-font-size);
}

.home-points li,
.coach-list li {
 display: flex;
 align-items: flex-start;
 gap: 0.4rem;
}

.home-points i,
.coach-list i {
 color: var(--first-color);
 font-size: 1.1rem;
 line-height: 1.3;
}

/* CARDS (same look as the main site's service cards) */
.coach-grid {
 grid-template-columns: 1fr;
}

.coach-card {
 background-color: var(--container-color);
 padding: 1.75rem 1.5rem;
 border-radius: 0.5rem;
 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
 transition: 0.3s;
}

.coach-card:hover {
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.coach-card-title {
 font-size: var(--h3-font-size);
 font-weight: var(--font-medium);
 margin-bottom: var(--mb-0-5);
}

.coach-card p {
 font-size: var(--small-font-size);
}

.coach-list {
 display: grid;
 row-gap: 0.75rem;
 margin-top: var(--mb-1);
 font-size: var(--small-font-size);
}

/* PLANS */
.plan-card {
 position: relative;
 display: flex;
 flex-direction: column;
}

.plan-featured {
 outline: 2px solid var(--first-color);
}

.plan-tag {
 position: absolute;
 top: -0.8rem;
 left: 1.5rem;
 background-color: var(--first-color);
 color: #fff;
 font-size: var(--smaller-font-size);
 font-weight: var(--font-medium);
 padding: 0.15rem 0.75rem;
 border-radius: 0.5rem;
}

.plan-card .coach-list {
 margin-bottom: var(--mb-2);
}

.plan-card .button {
 margin-top: auto;
 justify-content: center;
}

.plans-note {
 text-align: center;
 font-size: var(--smaller-font-size);
 color: var(--text-color-light);
 margin-top: var(--mb-2);
}

/* HOW IT WORKS: reuses the qualification timeline, always visible */
.coach-steps .qualification-data:last-child .qualification-line {
 display: none;
}

/* ABOUT */
.about-container {
 align-items: center;
}

.about-img {
 width: 300px;
}

.about-text p {
 margin-bottom: var(--mb-1);
}

.about-quote {
 color: var(--title-color);
 font-style: italic;
 border-left: 3px solid var(--first-color);
 padding-left: var(--mb-1);
}

/* SPOTS BANNER (the main site's "project" banner) */
.project .project-bg {
 background-color: var(--first-color-second);
 padding: 3rem 1.5rem;
 border-radius: 1rem;
}

.project .project-container {
 justify-items: center;
}

/* FAQ (styled like the skills accordion) */
.faq-container {
 row-gap: 0;
}

.faq-item {
 border-bottom: 1px solid var(--first-color);
}

.faq-item summary {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 1rem;
 padding: 1.1rem 0;
 color: var(--title-color);
 font-weight: var(--font-medium);
 cursor: pointer;
 list-style: none;
}

.faq-item summary::-webkit-details-marker {
 display: none;
}

.faq-item summary i {
 font-size: 1.5rem;
 color: var(--first-color);
 transition: 0.4s;
}

.faq-item[open] summary i {
 transform: rotate(-180deg);
}

.faq-item p {
 padding-bottom: 1.1rem;
 font-size: var(--small-font-size);
}

/* APPLY FORM (the main site's contact form) */
.contact-information a {
 color: inherit;
 cursor: pointer;
}

.contact-content select.contact-input {
 cursor: pointer;
}

.contact-content select.contact-input option {
 background-color: var(--container-color);
 color: var(--text-color);
}

.contact-form .button {
 border: none;
 cursor: pointer;
 font-family: var(--body-font);
 font-size: var(--normal-font-size);
 justify-content: center;
}

.form-foot,
.coach-disclaimer {
 font-size: var(--smaller-font-size);
 color: var(--text-color-light);
}

.form-foot {
 text-align: center;
}

.coach-disclaimer {
 text-align: center;
 margin-top: var(--mb-3);
}

.form-error {
 display: none;
 background-color: var(--input-color);
 border-left: 3px solid hsl(0, 70%, 55%);
 border-radius: 0.5rem;
 padding: 0.75rem 1rem;
 font-size: var(--small-font-size);
}

.form-error.show {
 display: block;
}

.form-error a {
 color: var(--first-color);
}

/* THANK YOU PAGE */
.thanks-container {
 text-align: center;
 max-width: 560px;
}

.thanks-icon {
 font-size: 3.5rem;
 color: var(--first-color);
}

.thanks-container .coach-card {
 text-align: left;
 margin: var(--mb-2) 0;
}

.thanks-container .home-buttons {
 justify-content: center;
}

@media screen and (min-width: 568px) {
 .coach-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
 }
}

@media screen and (min-width: 768px) {
 .coach-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
 }

 .project .project-container {
  background: none;
  padding: 0;
  grid-template-columns: 1fr;
 }
}

@media screen and (min-width: 1024px) {
 .contact-inputs .full {
  grid-column: 1 / -1;
 }
}
