
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background: black;
      font-family: 'Rubik Mono One', sans-serif;
      color: white;
    }

    /* NAVIGATION */
    
  nav {
  position: fixed;       /* changed from sticky to fixed */
  top: 0;
  left: 0;
  width: 100vw;          /* full viewport width */
  z-index: 9999;         /* above everything */
  background: #000;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #ff0080;
}


    nav .logo {
      font-size: 1.3rem;
      letter-spacing: 2px;
      color: yellow;
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 2rem;
    }

    nav ul li {
      cursor: pointer;
      transition: color 0.3s;
      color: white;
    }

    nav ul li:hover {
      color: cyan;
    }
    
    
    .nav-links a {
    color: white;
    text-decoration: none;
    }
    
      .nav-links a:hover {
    color: cyan;
    text-decoration: none;
    }

    /* TITLE AREA */
    .title-container {
      color: white;
      text-align: center;
      padding: 3rem 1rem 2rem;
      font-size: 2.5rem;
      letter-spacing: 1px;
      text-shadow: 2px 2px 0 #ff0099;
    }

    /* GRID */
    .grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(3, 1fr);
      gap: 20px;
      padding: 20px;
      height: calc(100vh - 180px); /* Adjust height below nav + title */
    }

    .tile {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      text-align: center;
      border: 3px solid black;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s ease;
    }

    .tile:hover {
      transform: scale(1.05) rotate(2deg);
      z-index: 2;
    }

    .tile-content {
      z-index: 1;
      color: black;
      font-size: clamp(1rem, 2vw + 1rem, 3rem);
    }

    /* Color palette inspired by the painting */
    .tile:nth-child(1)  { background: orange; color: orange; }
    .tile:nth-child(2)  { background: tomato; color: tomato; }
    .tile:nth-child(3)  { background: mediumseagreen; color: mediumseagreen; }
    .tile:nth-child(4)  { background: dodgerblue; color: dodgerblue; }
    .tile:nth-child(5) { background: slateblue; color: slateblue; }
    .tile:nth-child(6)  { background: violet; color: violet; }
    .tile:nth-child(7)  { background: #ffff00; color: navy; }
    .tile:nth-child(8)  { background: #ff0033; color: cyan; }
    .tile:nth-child(9)  { background: #66ff66; color: crimson; }
    .tile:nth-child(10) { background: #00aaff; color: orange; }
    .tile:nth-child(11) { background: #ff99cc; color: darkblue; }
    .tile:nth-child(12) { background: #cc00ff; color: yellow; }

    /* Responsive */
    @media (max-width: 768px) {
      .grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
      }

      .title-container {
        font-size: 2rem;
      }

      nav ul {
        gap: 1rem;
        font-size: 0.9rem;
      }
    }
 
/* Footer */
   
footer {
  background: black;
  color: white;
  padding: 20px 40px;
  border-top: 4px solid #ff0080;
  font-family: 'Rubik Mono One', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 1rem;
  color: yellow;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.footer-links li {
  color: white;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-links li:hover {
  color: cyan;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    margin-top: 10px;
  }
}


/* Graphics Gallery */

 .gallery-section {
      padding: 30px;
      max-width: 1200px;
      margin: auto;
      background: slateblue;
    }

    .gallery-title-blue {
      font-size: 24px;
      text-align: center;
      margin-bottom: 20px;
      color: slateblue;
    }

 .gallery-title-orange {
      font-size: 24px;
      text-align: center;
      margin-bottom: 20px;
      color: orange;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

  .gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

    

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 20px solid black;
  box-sizing: border-box;
}

    .gallery-item:hover img {
      transform: scale(1.05);
    }

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 4px;
}


.gallery-item:hover .caption {
  opacity: 1;
}

    footer {
      background: black;
      color: white;
      text-align: center;
      padding: 20px;
      margin-top: 40px;
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: auto;
    }

    .footer-logo {
      font-size: 14px;
    }

    .footer-links {
      list-style: none;
      display: flex;
      gap: 15px;
    }

    .footer-links li {
      cursor: pointer;
    }

    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      z-index: 999;
      padding-top: 60px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.9);
    }

    .modal-content {
      margin: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      max-width: 90%;
      max-height: 80vh;
    }

    .modal-content img {
      width: auto;
      height: 100%;
      max-height: 80vh;
    }

    .close, .prev, .next {
      color: white;
      font-size: 32px;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      padding: 10px;
      user-select: none;
    }

    .close {
      top: 20px;
      right: 30px;
      font-size: 40px;
    }

    .prev {
      left: 10px;
    }

    .next {
      right: 10px;
    }