/* css/playground-gallery.css */
/* Styles specific to playground gallery pages */

/* ===== Gallery Grid Two-Column Layout ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
    gap: 1.5rem; /* Gap between grid items */
}

.gallery-grid img {
    width: 100%; /* Make image fill its grid cell */
    height: auto; /* Maintain aspect ratio */
    aspect-ratio: 16 / 10; /* Optional: Enforce aspect ratio */
    object-fit: cover; /* Ensure image covers the area, might crop */
    border-radius: var(--border-radius); /* Use variable from main style.css */
    border: 1px solid var(--border-color); /* Use variable */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

/* Optional hover effect for images */
.gallery-grid img:hover {
     transform: scale(1.03);
     box-shadow: var(--box-shadow-hover); /* Use variable */
     cursor: pointer;
}

/* ===== Dark Angels Banner Styling (for miniatures page) ===== */
.dark-angels-banner {
    background-color: #0a3d20; /* Dark Angels Green */
    border: 1px solid #c5b8a7; /* Bone white border */
    border-radius: var(--border-radius);
    padding: 1.5rem 1rem;
    margin-bottom: 3rem; /* Space before the gallery */
    text-align: center;
    box-shadow: 0 0 15px rgba(10, 61, 32, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden; /* Hide overflowing glow */
}

.dark-angels-banner img {
    /* Reset styles from general .gallery-grid img if needed, or make specific */
    display: block;
    max-width: 100px; /* Size for the logo */
    height: auto;
    margin: 0 auto 0.8rem auto; /* Center logo */
    border: none; /* Remove border if inherited */
    border-radius: 0; /* Remove radius if inherited */
    aspect-ratio: unset; /* Remove aspect ratio if inherited */
    object-fit: contain; /* Ensure logo isn't cropped */
}

/* Glow effect for logo */
.da-logo-glow {
     filter: drop-shadow(0 0 6px #90ee90) drop-shadow(0 0 12px #90ee90); /* Light green glow */
     animation: pulseGlow 3s ease-in-out infinite;
}

/* Pulsing Glow Animation */
@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(144, 238, 144, 0.6)) drop-shadow(0 0 10px rgba(144, 238, 144, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(144, 238, 144, 1)) drop-shadow(0 0 20px rgba(144, 238, 144, 0.8)); /* Brighter glow */
    }
    100% {
         filter: drop-shadow(0 0 5px rgba(144, 238, 144, 0.6)) drop-shadow(0 0 10px rgba(144, 238, 144, 0.5));
    }
}

/* Motto text style */
.da-motto {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.3rem;
    font-weight: bold;
    color: #dcd1c2; /* Bone white color */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}


/* ===== Responsive Adjustments for Gallery and Banner ===== */
@media (max-width: 767.98px) {
     .gallery-grid {
         grid-template-columns: 1fr; /* Switch to single column */
         gap: 1.2rem;
     }
      /* Optional: Adjust image aspect ratio/fit on mobile */
      /* .gallery-grid img {
          aspect-ratio: unset;
          object-fit: contain;
      } */

     .dark-angels-banner img {
         max-width: 80px;
     }
     .da-motto {
         font-size: 1.1rem;
     }
 }

@media (max-width: 576px) {
    /* Add any further adjustments for very small screens if needed */
     .dark-angels-banner img {
         max-width: 70px;
     }
     .da-motto {
         font-size: 1rem;
     }
}