/* how to book */

body {
    font-family: 'Courier New', Courier, monospace, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.4;
    font-weight: 700;
    font-size: 16px;
    border: 8px solid var(--color-black);
    min-height: 100vh;
  }

  a {
    color: inherit;
    text-decoration: none;
  }  

.infopage {
    background-image: url("../images/iloveitaliafoto.png");
    background-size: cover;         /* fills the screen */
    background-repeat: no-repeat;   /* no tiling */
    background-position: center;    /* centers the image */
    background-attachment: fixed;   /* stays in place while scrolling */
  }

  img {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  
  

/* .logo {
    width: 100px;
    padding: 10px;
    position: absolute;
    left: 30px;
    top: 30px;
} */

.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Page wrapper */
.infopage {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
  }
  
  /* Header */
  /* .info-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-align: center;
  } */
  
  /* Section blocks */
  /* .info-block {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1); /* soft divider */
  /* } */
  
  /* .info-block h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
  
  .info-block p {
    line-height: 1.6;
    font-size: 1rem;
    max-width: 70ch; /* keeps text readable */
  /* } */

  .three-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    flex-wrap: nowrap;
  }
  
  .column-box {
    flex: 1;
    min-width: 250px;
    background-color: rgba(255, 124, 137, 0.5); /* translucent grey */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .column-box h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
  }
  
  .column-box p {
    font-size: 1em;
    line-height: 1.4;
  }  

  .contact-left {
    color: black;
    position: absolute;
    bottom: 100px;
    font-size: 1rem;
    font-weight: bold;
    background: none;
    padding: 8px 12px;
    border: none;
    z-index: 20;
    left: 100px;
  }
  
  .contact-right {
    color: black;
    position: absolute;
    bottom: 100px;
    font-size: 1rem;
    font-weight: bold;
    background: none;
    padding: 8px 12px;
    border: none;
    z-index: 20;
    right: 100px;
  }

  .textme {
    position: absolute;
    bottom: 100px;
    font-size: 1rem;
    font-weight: bold;
    background: none;
    padding: 8px 12px;
    border: none;
    z-index: 20;
    right: 450px;
  }
  
  /*
  .textme a {
    position: relative;
    display: inline-block;
  } */
  
  .signal-username {
    opacity: 0;
    margin-left: 8px;
    transition: opacity 0.3s ease;
    font-style: italic; /* optional, fits your vibe */
  }
  
  .textme a:hover .signal-username {
    opacity: 1;
  }

  .seeyouintheshop {
    width: 270px;
  }
  
  .button {
    display: inline-block;
    background-color: rgba(128, 128, 128, 0.4);
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .button:hover {
    background-color: rgba(128, 128, 128, 0.6);
  }

  .signal {
    display: inline-block;
    background-color: rgba(128, 128, 128, 0.4);
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;

  }

  .signal-username {
    opacity: 0;
    margin-left: 8px;
    transition: opacity 0.3s ease;
    font-style: italic; /* optional, fits your vibe */
  }
  
  .signal a:hover .signal-username {
    opacity: 1;
  }
  
  .back-button {
    background-color: rgba(251, 117, 117, 0.4); /* translucent grey */
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .back-button:hover {
    background-color: rgba(220, 46, 46, 0.6);
  }
  
  /* -------------------------------------- */
/* 📱 MOBILE FIXES FOR HOW-TO-BOOK PAGE   */
/* -------------------------------------- */
@media (max-width: 768px) {

  /* Background image fix for iOS */
  .infopage {
    background-attachment: scroll;
    padding: 20px 10px;
  }

  /* Top illustration */
  img {
    max-width: 90%;
    margin: 0 auto 20px auto;
  }

  /* Back button */
  .back-button {
    padding: 8px 14px;
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  /* Stack the columns vertically */
  .three-columns {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
  }

  .column-box {
    min-width: unset;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
  }

  .column-box h1 {
    font-size: 1.2rem;
  }

  .column-box p,
  .column-box li {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  /* Buttons */
  .button,
  .signal {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    padding: 12px;
    font-size: 1rem;
  }

  /* “See you in the shop” image */
  .seeyouintheshop {
    width: 70%;
    margin: 30px auto 0 auto;
  }
}
