/* Contact Section Styles */

.contact {
    background-color: var(--light-bg);
    padding: 5rem 0;
}

.business-cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.business-cards-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.card-container {
    width: 300px;
    height: 300px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.card-container:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.card-front {
    background-color: #f1f1f1;
}

.card-back {
    background-color: #f1f1f1;
    transform: rotateY(180deg);
}

.card-front img, .card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-click-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.contact-general-info {
    text-align: center;
    margin-top: 2rem;
}

.contact-general-info p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-general-info i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.contact-general-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-general-info a:hover {
    color: var(--secondary-color);
}

/* Responsive styles */
@media (max-width: 768px) {
    .card-container {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 576px) {
    .card-container {
        width: 220px;
        height: 220px;
    }
    
    .contact-general-info p {
        font-size: 1rem;
    }
}
