@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Literata:wght@400;500;600&family=Montserrat:wght@400;500;600&display=swap');

body {
      margin: 0;
      padding: 0;
      background-color: #f8f9fa;
      font-family: 'Montserrat', sans-serif;
      color: #333;
    }

    /* Back to Home */
    .back-to-home {
      position: fixed;
      top: 20px;
      right: 30px;
      padding: 12px 28px;
      background: #FFC107;
      color: #0a2d2a;
      font-weight: 700;
      text-decoration: none;
      border-radius: 30px;
      font-size: 1rem;
      z-index: 1000;
      box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
      transition: all 0.3s ease;
    }
    .back-to-home:hover {
      background: #0a2d2a;
      color: #FFC107;
      transform: translateY(-3px);
    }

    /* Page Title */
    h1 {
      text-align: center;
      padding: 100px 20px 60px;
      
      font-size: 3.6rem;
      color: #0a2d2a;
      text-transform: uppercase;
      letter-spacing: 2px;
      margin: 0;
    }

    /* Gallery Grid */
    .mainstay-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 24px;
      max-width: 1400px;
      margin: 0 auto 100px;
      padding: 0 30px;
    }

    .gallery-item {
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      transition: all 0.4s ease;
    }

    .gallery-item:hover {
      transform: translateY(-12px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.08);
    }

    .gallery-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 30px 20px 20px;
      background: linear-gradient(to top, rgba(10, 45, 42, 0.9), transparent);
      color: #fff;
      text-align: center;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .gallery-item:hover .gallery-caption {
      opacity: 1;
    }

    .gallery-caption h3 {
      margin: 0;
      font-size: 1.5rem;
      font-weight: 700;
      color: #FFC107;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* Responsive */
    @media (max-width: 768px) {
      h1 { font-size: 2.8rem; padding: 80px 20px 50px; }
      .mainstay-gallery { grid-template-columns: 1fr; padding: 0 15px; }
    }