/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Header */
header {
    text-align: center;
    padding: 30px 20px;
    background-color: #000000;
    color: white;
}

header h1 {
    font-size: 2.5rem;
}

header p {
    font-family: "Montez", cursive;
    font-size: 1.8rem;
    color: rgb(255, 192, 203)}

footer{
    text-align: center;
    padding: 30px 20px;
    font-size: 1rem;
    color: white;
    background-color: black;
}

a {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.8rem;
    text-decoration: none;
    color: white;
}

a:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.736);
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3x3 Grid */
    gap: 15 px;
    padding: 20px;
    max-width: 1924px;
    margin: auto;
}

.photo-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    text-align: center;
    color: rgba(255, 255, 255, 0.658);
    background-color: rgba(0, 0, 0, 0.43);
    font-size: 1.5rem;
    font-style: italic;
    opacity: 0;
    transition: opacity 0.3s;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.photo-item:hover .caption {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
