body {
    margin: 0;
    font-family: 'EB Garamond', serif;
    background-color: #fffafa;
    color: #111;
    overflow-x: hidden;
    position: relative;
  }
  
  .animated-bg {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, #ffc0cb44, transparent 60%),
                radial-gradient(circle at 80% 80%, #ffe4e1aa, transparent 50%);
    z-index: -1; 
    animation: shimmer 20s linear infinite alternate;
    filter: blur(80px);
    opacity: 0.6;
  }
  
  @keyframes shimmer {
    0% {
      transform: translate(0%, 0%);
    }
    100% {
      transform: translate(-25%, -25%);
    }
  }
  
  .navbar {
    background-color: #f6d1d1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .logo {
    font-family: 'Caudex', serif;
    font-size: 50px;
    color: #b30000;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 10px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #b30000;
    font-weight: bold;
  }
  
  .work {
    text-align: center;
    padding: 5rem 1rem;
    background-image: url('media/lace_background.png');
    background-size: cover;
    color: #660000;
  }
  
  .work h1 {
    font-size: 70px;
    font-family: 'Caudex', serif;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
  }
  
  .gallery .item {
    position: relative;
    background: #fff0f0;
    border: 2px solid #b30000;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .gallery .item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(179, 0, 0, 0.2);
  }
  
  .gallery img,
  .gallery iframe {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.4s ease;
  }
  
  .gallery .item:hover img,
  .gallery .item:hover iframe {
    transform: scale(1.03);
  }
  
  .item-title {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    color: #b30000;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .gallery .item:hover .item-title {
    opacity: 1;
  }
  
  .about,
  .contact {
    padding: 2rem;
    background-color: #fbeaea;
    color: #660000;
    border-top: 3px dashed #b30000;
  }
  
  h2 {
    font-family: 'Caudex', serif;
    font-size: 2rem;
  }
  
  .contact p {
    font-size: 1.1rem;
  }