
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    background-color: #f9f7f3;
    color: #2c2c2c;
    /* padding-top: 72px; */
  }
  
  .hero-links a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    margin: 0 6px;
}

.hero-links a:hover {
    text-decoration: underline;
}
  
  header.hero {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('./assets/product1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
  }
  
  .hero-text h1 {
    font-size: 3rem;
    margin-bottom: 10px;
  }
  
  .hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  nav {
    background: rgba(44, 44, 44, 0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 20px;
    margin-right: 40px;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  .btn {
    background-color: #2c2c2c;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    cursor: pointer;
  }
  
  .btn.secondary {
    background-color: #dad6c8;
    color: #2c2c2c;
  }
  
  .section {
    padding: 60px 40px;
    max-width: 900px;
    margin: auto;
  }
  
  .section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .prints .grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
  }
  
  .print-card {
    flex: 1 1 250px;
    background-color: #fff;
    padding: 15px;
    text-align: center;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .print-card:hover {
    transform: scale(1.02);
  }
  
  .print-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  
  .subscribe form {
    margin-top: 20px;
    display: flex;
    gap: 10px;
  }
  
  .subscribe input {
    flex: 1;
    padding: 10px;
    border: 1px solid #aaa;
  }
  
  footer.footer {
    background-color: #2c2c2c;
    color: white;
    padding: 40px;
    text-align: center;
  }
  
  footer a {
    color: #dad6c8;
    text-decoration: underline;
  }
  
  /* Modal styles */
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
  }
  
  .modal-content {
    background: white;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    border-radius: 8px;
    max-width: 800px;
    position: relative;
    flex-wrap: wrap;
    flex-direction: row;
    width:80%;
    max-height: 80vh;
  }
  
  .modal-left {
    flex: 1 1 200px;
  }

  .modal-right{
    flex: 1 1 0;
    min-width: 200px
  }
  
  .modal-text-body {
    flex: 1 1 400px;
    overflow-y: auto;
    overflow-wrap: break-word;
    max-height: 40vh;
  }
  
  .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .section-title {
    text-align: center;
  }
  
  .section-content {
    margin-bottom: 20px;
  }

  .modal-image-container{
    display: flex;
    flex-direction: row-reverse;
    gap: 12px;
  }

  .modal-variation-thumbnails{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    width:100%;
    max-width: 220px;
  }

  .thumb{
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    background: #eee;
  }

  .modal-section-content-button{
    margin-top: 15px;
  }

  .main-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    background: #eee;
  }
 
  .modal-section-content{
    height: 100%;
  }

  @media (max-width: 600px) {
    .modal-content{
      display: flex;
      flex-direction: row;
      gap:12px;
      height: 100%;
    }
    .modal-image-container{
      flex-direction: column;
      align-items: center;
      gap: 12px;
      display: flex;
    }
    .modal-left{
      align-items: center;
      width:100%;
      flex: 1;
    } 
    .modal-right{
      align-items: center;
      max-height: 30vh;
      flex: 1;
    }
    .main-image{
      max-height: 30vh;
      width: auto;
      height: auto;
      display: block;
      margin: 0 auto 1rem auto;
      border-radius: 8px;
    }    
    .modal-text-body{
      overflow-y: auto;
      overflow-wrap: break-word;
      height: 80%;
      max-height: 40vh
    }
    .modal-section-content{
      height: 100%;
      margin-bottom: 15px;
    }

    .modal-variation-thumbnails {
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: none; 
      max-width: 50px;          
      gap: 8px;                 
    }
    .thumb{
      width: 100%;
      min-width:40px;
      max-width:80px;
    }
    .modal-section-content-button{
      margin-top: 15px;
    }
  }