/* About Modal */
.about-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-modal.show {
    display: block;
    opacity: 1;
}

.about-modal-content {
    position: relative;
    background-color: #000;
    margin: 5% auto;
    padding: 0;
    width: 80%;
    max-width: 900px;
    border: 1px solid #fff;
    box-shadow: 0 4px 30px rgba(255, 255, 255, 0.1);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.about-modal.show .about-modal-content {
    transform: scale(1);
}

.about-modal-close {
    color: #fff;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

.about-modal-close:hover,
.about-modal-close:focus {
    color: #ff264a;
}

.about-modal-body {
    padding: 60px 50px;
}

@media only screen and (max-width: 768px) {
    .about-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .about-modal-body {
        padding: 40px 25px;
    }
    
    .about-modal-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}

.about-modal-title {
    font-family: 'Oswald', sans-serif;
    font-size: 45px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #fff;
    text-align: center;
    margin: 0 0 30px 0;
}

@media only screen and (max-width: 640px) {
    .about-modal-title {
        font-size: 30px;
        margin: 0 0 20px 0;
    }
}

.about-modal-text {
    margin: 0 0 40px 0;
}

.about-modal-text p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    color: #fff;
    margin: 0 0 20px 0;
    text-align: center;
}

.about-modal-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

@media only screen and (max-width: 768px) {
    .about-modal-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.about-modal-photo {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: #111;
}

.about-modal-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: grayscale(100%);
}

.about-modal-photo:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}
