/* --- 1. BASE STYLES & TYPOGRAPHY --- */
body {
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
  font-family: sans-serif;
}

p, a, .container, .column, .column-left, .column-center, .column-right, .column-img {
  font-size: 1rem; 
  line-height: 1.7;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1.h1-centered, .h1-centered {
  display: block;
  text-align: center;
  margin: 60px auto 60px auto;  /* 60px top AND bottom */
  width: 100%;
  font-size: 2.5rem;
}

h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
a { color: #0060df; }

.contact-center {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

/* --- 2. DESKTOP LAYOUT --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 0 1rem;  /* ADD top padding to contain the h1's margin */
}

.column-left, .column-right {
  flex: 1;
  align-self: flex-start;
}

.column-center {
  flex: 0 0 50%;
  max-width: 50%;
  align-self: flex-start;
  margin-top: 0;
  padding-top: 0;
}

.row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 4rem;
  padding-top: 0;   /* ADD THIS */
}

/* FIX: We target the ODD rows starting from the second row. 
   Since your Header is Row 1, 
   Row 2 (Artist 1) = even (stays normal)
   Row 3 (Artist 2) = odd (gets flipped)
   Row 4 (Artist 3) = even (stays normal)
*/
.row.alternate:nth-of-type(odd) {
  flex-direction: row-reverse;
}

.column {
  flex: 1; 
}

.column-img {
  flex: 0 0 40%; 
  max-width: 40%;
}

.image {
  width: 100%; 
  height: auto;
  display: block;
}
/* --- 3. MOBILE OVERRIDES (iPhone & Tablets) --- */
@media (max-width: 960px) {
  body {
    font-size: 20px; 
  }

  .row {
    display: flex; /* Keep this to enable "order" */
    flex-wrap: wrap; 
    gap: 15px;
  }

  .column, .column-img, .column-left, .column-center, .column-right {
    flex: 0 0 100%; 
    max-width: 100%;
    padding: 0;
  }

  /* TARGET BOTH TYPES OF IMAGES:
     1. .column-img (The artist rows)
     2. .column-center (The Welcome header row)
  */
  .column-img, .column-center {
    order: -1; 
    margin-bottom: 10px;
  }

  h1.h1-centered, .h1-centered {
    font-size: 2.2rem;
    margin-top: 30px;
    margin-bottom: 30px; 
  }
}
