


.about .title-h2 {
    text-align: center;
    
}

.about .content {
    margin: 0;
    padding: 40px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px; 
}

.about .text {
    
    flex: 1; 
    width: 30%; 
}

.about .photo {
    flex: 1; 
    width: 70%; 
}

.about p {
    text-align: justify;
    text-align-last: left; 
    
    hyphens: auto;
}

.about .photo img {
    width: 100%; 
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover; 
}


.gallery__works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
    margin-top: 0;
    margin-bottom: 60px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--light);
    border-radius: 8px;
    
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05); 
    border: 1px solid var(--button);
}

.card-image {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image img {
    max-width: 100%;
    height: auto;
}

.card-name {
    margin-top: auto;
    padding: 10px 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--modal);
    
}

.modal img {
    display: block;
    width: 30vw;  
    height: auto; 
    margin: 2% auto;
}

.shop {
    margin-bottom: 60px;
}


.shop .title-h2 {
    text-align: center; 
    margin-bottom: 40px;
    
}


.shop .row {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

.column {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
}


@media (max-width: 1024px) {
    .about .content {
        flex-direction: column;
        padding: 30px 20px;
        gap: 40px;
    }

    .about .text, 
    .about .photo {
        width: 100%;
    }

    .modal img {
        width: 60vw;
    }
}


@media (max-width: 768px) {
    .about .content {
        padding: 20px 15px;
        gap: 30px;
    }

    .about .text p {
        font-size: 16px;
    }

    .modal img {
        width: 80vw;
    }

    .shop .row {
        flex-direction: column;
        align-items: center;
    }

    .gallery__works {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 0 10px;
    }

    .card {
        padding: 8px;
    }
}


@media (max-width: 480px) {
    .about .title-h2,
    .shop .title-h2 {
        font-size: 22px;
    }

    .about .text p {
        font-size: 14px;
    }

    .modal img {
        width: 90vw;
    }
}


