/* -----------------------------
   Claire Page CSS
----------------------------- */

/* Reset / Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: #0b0b0b url('textures/subtle-paper.jpg') repeat;
    color: #e3e3e3;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    padding: 40px;
    text-align: center;
  }
  
  /* Fonts */
  @font-face {
    font-family: 'Otto';
    src: url('otto.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  /* Header */
  .file-header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .file-header h1 {
    font-family: 'Georgia', serif;
    font-size: 3em;
    color: #b22;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(178,34,34,0.6);
    font-weight: normal;
  }
  
  .file-header p {
    color: #ccc;
    font-style: italic;
    margin-top: 5px;
  }
  
  /* File Content */
  .file-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(20,20,30,0.95);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
    text-align: left;
  }
  
  .file-content section {
    margin-bottom: 30px;
  }
  
  .file-content h2 {
    font-family: 'Georgia', serif;
    color: #b22;
    border-bottom: 2px solid #444;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-size: 1.8em;
  }
  
  .file-content p {
    font-family: 'Courier New', monospace;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-left: 4px solid #b22;
    line-height: 1.5;
    color: #e3e3e3;
  }
  
  /* Contact / Copy Email */
  .contact {
    text-align: center;
  }
  
  .contact button {
    background: #b22;
    color: #f0f0f0;
    border: none;
    padding: 12px 24px;
    font-family: 'Georgia', serif;
    font-size: 1em;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .contact button:hover {
    background: #ee4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.7);
  }
  
  .copy-msg {
    display: none;
    margin-top: 10px;
    color: #b22;
    font-style: italic;
  }
  
  /* Back to Home Button */
  .back-home {
    text-align: center;
    margin-top: 20px;
  }
  
  .back-home button {
    background: #444;
    color: #f0f0f0;
    border: none;
    padding: 10px 20px;
    font-family: 'Georgia', serif;
    font-size: 1em;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .back-home button:hover {
    background: #b22;
    box-shadow: 0 0 10px rgba(178,34,34,0.7);
  }
  
  /* Footer */
  .file-footer {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9em;
    color: #777;
  }
  
  /* Art Gallery */
  .art-gallery {
    margin-top: 30px;
  }
  
  .art-gallery h2 {
    font-family: 'Georgia', serif;
    color: #b22;
    border-bottom: 2px solid #444;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 1.8em;
    text-align: left;
  }
  
  .art-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .art-item {
    background: rgba(255,255,255,0.05);
    border-left: 4px solid #b22;
    padding: 10px;
    border-radius: 6px;
    max-width: 300px;
    text-align: center;
  }
  
  .art-item img {
    max-width: 100%;
    border-radius: 4px;
    display: block;
    margin: 0 auto 8px auto;
    cursor: zoom-in;
  }
  
  .art-item p {
    font-size: 0.9em;
    color: #ccc;
    font-family: 'Courier New', monospace;
    margin-top: 5px;
  }
   
  #lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 11, 0.95);
    display: flex;           /* only visible when JS removes hidden */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: zoom-out;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 4px solid #b22;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(178,34,34,0.7);
}

.hidden {
    display: none !important; /* ensures hidden overrides any display */
}
