/*** 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 {
  background: white;
  color: black;
  font-family: sans-serif;
  font-size: 0.875em;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* prevent horizontal scroll */
}

center {
  text-align: center;
}

/* Wrapper for everything */
.wrapper {
  max-width: 1150px;       /* maximum content width */
  background: black;
  margin: 0 auto;
  padding-left: 10px;      /* left gutter */
  padding-right: 10px;     /* right gutter */
}

/* Wrapper for main content */
.wrapper-2 {
  position: relative;
  padding-bottom: 15px;   /* bottom spacing to match top spacing of boxes */
}

/* Title area */
.title {
  padding: 10px;
  text-align: center;
}

.title h1,
.title h2,
.title h3 {
  padding: 0;
  margin: 0;
  color: white;
}

/* Top 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;        /* navigation links are white */
  text-decoration: none;
}

/* MAIN CONTENT */
.main {
  width: 100%;
  margin: 0 auto;
}

/* Boxes in main content */
.box {
  padding: 5px 10px 0 10px;
  background: white;
  color: black;
  border-top: 5px solid white;
  border-bottom: 5px solid white;
  margin: 10px 0 15px 0;
}

.box img.hero-photo {
  width: 100%;       /* fill width of box dynamically */
  height: auto;      /* maintain aspect ratio */
  display: block;
  margin-bottom: 20px;
  border-radius: 0;  /* remove rounding */
}

.inner {}

/* Responsive: medium screens */
@media (max-width: 1180px) {
  .wrapper {
    max-width: 90vw;
  }
}

/* Responsive: smaller screens */
@media (max-width: 910px) {
  .wrapper {
    max-width: 96vw;
  }
  .main {
    width: 100%;
  }
}

/* Mobile compatibility: vertical layout with fixed gutters */
@media (max-width: 600px) {
  .wrapper {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .main {
    width: 100%;
  }

  /* Mobile: reduce space between top links */
  .link {
    margin: 0 5px;
    font-size: 1em;
  }
}

/* Header logo */
.header-logo {
  max-height: 50px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Mobile logo */
@media (orientation: portrait) {
  .header-logo {
    max-height: 35px;
  }
}

/* === 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 STYLING === */
.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;
}

/* Notes / extra info at bottom of card */
.lesson-notes {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #ccc;
  font-size: 13px;
  opacity: 0.85;
}

/* === DESKTOP: 2 COLUMNS === */
@media (min-width: 900px) {
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FIRST LESSON SPECIAL */
.first-lesson-special {
  font-weight: 400;
  font-size: 1.05em;
  margin-bottom: 12px;
  display: block;
  color: #111;
}

/* === HERO BUTTONS === */
.hero-buttons {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap;
}

.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;
}

.booking-note {
  font-weight: bold;
  margin-top: 10px;
}

/* MOBILE: shrink buttons */
@media (max-width: 600px) {
  .btn,
  .btn-secondary {
    padding: 10px 15px;
    font-size: 0.85em;
  }
}

/* === FOOTER === */
.footer {
  background-color: black;
  height: 40px;
}
