@import url('https://fonts.googleapis.com/css2?family=Handjet:wght@300;400&display=swap');

/* Make sure overlay covers the whole screen */
html, body{
  min-height: 100vh;
}

/* Defaults to dark mode */
body {
    background: rgba(0,0,0,0.7);
    color: white;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
    border: 0px solid black;

}

a:link {
    color: #efa469;
    text-decoration: none;
}

a:visited {
  color: #efa469;
  text-decoration: none;
}

a:hover {
    color: #4831D7;
    text-decoration: none;
}

a:active {
    color: #5034FF;
    text-decoration: none;
}

html {
    background-image: url("../images/amber_spring_lake_standing_landscape_night.png");
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Handjet', cursive;
    background-color: #151515;
}

h1,h2,h3 {
    margin: 0;
    padding: 20px 0;
    font-size: 90px;
    text-align: center;
    font-weight: 300;
}

h2 {
    font-size: 30px;
    padding: 0;
}

h3 {
    font-size: 30px;
    text-align: left;
}

p,
li {
    font-size: 20px;
    line-height: 2;
    letter-spacing: 1px;
    list-style: none;
    text-align: center;
    padding-left: 0;
    margin-left: 0;
}

ul {
    padding: 0;
}

p {
    text-align: center;
}

.musicservice {
    font-size: 26px;
}

.footnote {
    font-size: 14px;
    font-weight: 400;
}

#spotify_player {
    margin-left: auto;
    margin-right: auto;
    border-radius:12px;
    height: 750px;
    display: block;
    max-width: 100%;
    opacity: 70%;
    border: 0;

}

/* Settings for light mode */
@media screen and (prefers-color-scheme: light) {
    body {
        background: rgba(255,255,255,0.7);
        color: black;
    }

    html {
        background-image: url("../images/amber_spring_lake_standing_landscape.png");
    }

    a:link {
        color: #9b4e11;
    }

    a:visited {
        color: #9b4e11;
    }

    a:hover {
        color: #efa469;
    }

    a:active {
        color: #5034FF;
    }
}

/* Medium screens: 2 columns */
@media (max-width: 980px) {
  .main-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }

  /* Put the tall player on its own full-width row to avoid the jaggy gap */
  .main-grid .player {
    grid-column: 1 / -1;
  }
}

/* ---- Responsive multi-column layout for the main content blocks ---- */

.main-grid {
  /* Keep content from stretching edge-to-edge on huge monitors */
  width: min(1200px, 94vw);
  margin: 20px auto;

  display: grid;
  gap: 24px;

  /* 3 columns when there’s room; columns shrink nicely */
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  align-items: start;
}

/* Panels for non-counter sections so they visually group like the counter card */
.panel {
  background: rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.14);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Make the services list read better in a column */
.services ul {
  padding: 0;
  margin: 0;
}

.services li {
  text-align: left;  /* override the global centered li rule [3] */
  line-height: 1.6;
}

.services p{
  text-align: left;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

/* Spotify iframe should fill its panel without forcing full-page width */
.player #spotify_player {
  width: 100%;
  max-width: 100%;
  height: 750px;          /* keep your existing height [3] */
  display: block;
  border: 0;              /* HTML5 replacement for frameborder */
  border-radius: 12px;    /* keep your existing rounding [3] */
  opacity: 70%;           /* keep your existing styling [3] */
}

/* Medium screens: 2 columns */
@media (max-width: 980px) {
  .main-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

/* Small screens: 1 column stacked */
@media (max-width: 640px) {
  .main-grid {
    grid-template-columns: 1fr;
  }

  .services li,
  .services p {
    text-align: center; /* optional: match your current mobile vibe */
  }
}
