body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #181818;
    color: #fff;
}

header {
    text-align: center;
    padding: 2rem 1rem;
    background: #333;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #ff3e00;
}

header p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: #ccc;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.photo-card {
    position: relative;
    width: 90%; /* Use percentage for responsiveness */
    max-width: 300px; /* Maximum width */
    height: auto; /* Allow height to adjust based on content */
    aspect-ratio: 3 / 2; /* Maintain aspect ratio */
    background-size: cover;
    background-position: center;
    border-radius: 12px; /* Rounded corners for the frame */
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 5px solid #ff3e00; /* Light white border */
}

.photo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border-color: #ff3e00; /* Change border color on hover */
}

.photo-card:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 3px rgba(255, 62, 0, 0.5); /* Custom focus outline */
}

.photo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    z-index: 1;
    opacity: 1.0; /* Adjust opacity for better visibility */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .photo-card {
        width: 95%; /* Adjust width for smaller screens */
    }
}

@media (max-width: 480px) {
    .photo-card {
        width: 100%; /* Full width on very small screens */
        border: 3px solid #ff3e00; /* Adjust border size */
    }
}

.photo-card .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-card .play-icon::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #ff3e00;
}


.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #ff3e00;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #222;
    color: #ccc;
    font-size: 0.9rem;
}
