/* Base */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  background: #0c0c0c;
  color: #fff;
  font-family: 'Open Sans', arial, sans-serif;
}



/* Headings */
h1, h2 { margin-bottom: 0.5rem; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.3rem; margin-top: 2rem; }
p, li { font-size: 1rem; line-height: 1.5; }

/* Sections */
section { padding: 2rem 1rem; }

/* Nav */
nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem; }
ul { list-style: none; padding: 0; margin: 0; }
li { display: inline-block; margin: 0 10px; }
a { color: #fff; text-decoration: none; position: relative; }
a:after {
  content: "";
  display: block;
  height: 2px;
  background: #ffbb00;
  width: 0;
  transition: 0.3s;
}
a:hover:after { width: 100%; }

.dropbtn { background: transparent; border: none; display: none; }
.dropbtn img { width: 40px; height: 40px; }
@media (max-width: 600px) {
  .dropbtn { display: block; }
  .horizontal-container { display: none; }
  .vertical-container { display: block; }
}

/* Intro */
.container {
  position: relative;
}
.container img {
  width: 100%;
  height: auto;
  opacity: 0.25;
}
  

/* Universal image grid */
section img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 5px;
  transition: transform 0.25s;
}
section img:hover { transform: scale(1.1); }

.reviews-row,
.screens-row,
.love-questionnaire-screens-row,
.jewelry-questionnaire-screen-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.description-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.description-container img { max-width: 220px; }

/* Mobile */
@media (max-width: 600px) {
  section img { max-width: 150px; }
  h1 { font-size: 1.3rem; }
  p, li { font-size: 0.9rem; }
}
/* Default (desktop) stays mostly the same */

/* Mobile Fix */
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 1rem;
  }


  .header-container {
    border: none;
    padding: 1rem;
    margin-top: -2rem; /* pull text up slightly */
    background: rgba(12, 12, 12, 0.7); /* optional: better readability */
    border-radius: 8px;
  }

  .container h1,
  .container p,
  .container ul {
    position: relative;   /* instead of absolute */
    bottom: auto;
    left: auto;
    margin: 0.5rem 0;
    font-size: clamp(1rem, 4vw, 1.5rem); /* scale text */
  }

  .container ul {
    margin-top: 1rem;
    width: 100%;
  }
}
