/*** Single-column layout CSS for your site ***/

/* Make padding and border part of element width */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Body and text */
body {
  color: black;
  font-family: sans-serif;
  font-size: 0.875em;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Center text helper */
center {
  text-align: center;
}

/* === WRAPPER / MAIN PAGE === */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  margin: 0 auto;
}

/* MAIN CONTENT */
.wrapper-2 {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  background-color: white;
  overflow: visible;
}

/* === HEADER === */
.title-container {
  position: sticky;
  top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: black;
  color: white;
  gap: 1em;
  padding-top: 1em;
  z-index: 100;
}

/* Navigation links */
.links {
  padding: 5px 0;
  text-align: center;
}

.link {
  display: inline-block;
  font-weight: bold;
  font-size: 1.16em;
  padding: 5px;
  margin: 0 10px;
}

.link a {
  color: white;
  text-decoration: none;
}

.header-logo {
  max-height: 50px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

@media (orientation: portrait) {
  .header-logo {
    max-height: 35px;
  }
}

/* === MAIN CONTENT BOXES === */
.main {
  width: 100%;
  padding: 0;
}

.box {
  padding: 10px 0;
  background: white;
  color: black;
  margin: 15px 0;
}

.box img,
.inner-photo {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 0;
  object-fit: cover;
}

.inner-content h4, p, ul {
  margin: 0;
}

.inner-content p, .inner-content ul {
  line-height: 1.6;
}

.inner-column {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2em; /* space between content blocks */
}

.inner-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1em; /* space between heading, paragraph, and list */
}

/* === Section heading spacing === */
.section-header {
  margin-top: 2rem;   /* space above the heading */
  margin-bottom: 1rem; /* space below heading before paragraph */
}

/* Additional spacing for stacked columns */
.inner > .inner-column + .inner-column {
  margin-top: 2rem; /* ensures second column isn't pressed against first column */
}

/* === PRICING CARDS === */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.lesson-card {
  border: 1px solid #000;
  padding: 16px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.lesson-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #000;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.lesson-title { font-weight: bold; font-size: 15px; }
.lesson-price { font-weight: bold; font-size: 14px; }

.lesson-section { border-top: 1px solid #eee; padding-top: 10px; margin-top: 10px; }
.lesson-section:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.lesson-section strong { display: block; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.85; margin-bottom: 4px; }
.lesson-section p { margin: 0; line-height: 1.5; }

.lesson-notes { margin-top: 10px; padding-top: 8px; border-top: 1px dashed #ccc; font-size: 13px; opacity: 0.85; }

.first-lesson-special { font-weight: 400; font-size: 1.05em; margin-bottom: 12px; display: block; color: #111; }

/* Hero buttons */
.hero-buttons {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn,
.btn-secondary {
  text-decoration: none;
  background-color: #111;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
  white-space: nowrap;
}

.btn:hover,
.btn-secondary:hover {
  background-color: #333;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .wrapper-2 { padding: 0 15px; }
  .btn, .btn-secondary { padding: 10px 15px; font-size: 0.85em; }
  .link { margin: 0 5px; font-size: 1em; }
}

/* Footer full width, consistent on all pages */
.footer {
  background-color: black;
  padding: 1vh 0;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  left: 0;
  font-size: 0.875em;
  font-weight: normal;
  position: relative;
  z-index: 50;
}

/* Footer socials */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.875em;
  margin-bottom: 5px;
}

.footer-socials a { color: white; text-decoration: none; font-weight: bold; }
.footer-socials a:hover { text-decoration: underline; }

.footer-bar { color: white; opacity: 0.8; }
.footer-copy { font-size: 0.875em; font-weight: normal; color: white; }

/* === SIGN UP PAGE SPECIFIC === */
body.new-students .signup-iframe {
  width: 100%;
  border: 0;
  display: block;
  min-height: 1200px;   /* desktop: long enough for full form */
}

@media (max-width: 600px) {
  body.new-students .signup-iframe {
    min-height: 1600px; /* mobile: taller to fit form */
  }
}

/* Box padding consistent with other pages */
body.new-students .box {
  padding: 0 5vw;
  margin: 15px 0;
}
