/* Business page specific image fixes */
.business-image {
    opacity: 1 !important;
    display: block !important;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto 2rem auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.business-image:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

/* Related Businesses Section */
.related-businesses {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: #F8F9FA;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.related-businesses__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1A1A1A;
}

.related-businesses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-business-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.related-business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.related-business-card__image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    opacity: 1 !important;
}

.related-business-card__content {
    padding: 1.25rem;
}

.related-business-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1A1A1A;
}

.related-business-card__description {
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Enhanced Share Buttons */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    text-decoration: none;
    color: #404040;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    border-color: #FF6B6B;
    color: #FF6B6B;
}

.share-button--facebook:hover {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

.share-button--twitter:hover {
    background: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

.share-button--linkedin:hover {
    background: #0A66C2;
    color: white;
    border-color: #0A66C2;
}

.share-button--whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

/* Business Page Layout */
.business-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.business-sidebar {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 2rem;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #FF6B6B;
    flex-shrink: 0;
}

.contact-text {
    font-weight: 500;
    color: #1A1A1A;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #1A1A1A;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #E0E0E0;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #FF6B6B;
    border-color: #FF6B6B;
}

.business-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #E0E0E0;
}

.business-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1A1A1A;
    line-height: 1.2;
}

.business-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.business-category {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.business-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: white;
    text-decoration: none;
}

.business-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.business-tag {
    padding: 0.375rem 0.875rem;
    background: #F8F9FA;
    color: #666666;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid #E0E0E0;
    transition: all 0.3s ease;
}

.business-tag:hover {
    background: #F1F3F4;
    transform: translateY(-1px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-card {
    background: #F8F9FA;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #FF6B6B;
}

.service-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1A1A1A;
}

.service-description {
    color: #666666;
    line-height: 1.6;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #FF6B6B;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #E63946;
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .business-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .business-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .business-sidebar {
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .related-businesses {
        padding: 2rem 1rem;
    }
    
    .related-businesses__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
}
