/* ============================================
   BUSINESS PROFILE - Feature-level CSS
   Reusable across all applications
   ============================================ */

/* Profile Container */
.business-profile-view {
    min-height: 100vh;
    background: #f8fafc;
}

/* Back Navigation */
.profile-back-nav {
    padding: 1rem 2rem;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #111827;
}

.btn-back i {
    width: 16px;
    height: 16px;
}

/* Hero Section */
.profile-hero {
    position: relative;
    background: white;
}

.profile-cover {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* .profile-header {
    position: relative;
    margin-top: -80px;
    padding: 0 2rem 2rem;
} */

.profile-header-content {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.profile-logo {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border: 4px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.verified-badge {
    width: 24px;
    height: 24px;
    color: #3b82f6;
}

.profile-tagline {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0 0 1rem 0;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.meta-item i {
    width: 16px;
    height: 16px;
}

.profile-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.profile-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.profile-actions .btn i {
    width: 18px;
    height: 18px;
}

.profile-actions .btn-primary {
    background: #6366f1;
    color: white;
}

.profile-actions .btn-primary:hover {
    background: #4f46e5;
}

.profile-actions .btn-secondary {
    background: #10b981;
    color: white;
}

.profile-actions .btn-secondary:hover {
    background: #059669;
}

.profile-actions .btn-outline {
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.profile-actions .btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.profile-actions .btn-outline.active {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fecaca;
}

/* Profile Content */
.profile-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-main {
    min-width: 0;
}

/* Profile Sections */
.profile-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-mission {
    padding: 1.5rem;
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
}

.mission-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 0.5rem 0;
}

.mission-text {
    font-size: 0.875rem;
    color: #1e3a8a;
    margin: 0;
    line-height: 1.6;
}

.about-description {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.7;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 1.5rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s;
}

.service-card:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.service-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.service-category {
    padding: 0.25rem 0.75rem;
    background: #dbeafe;
    color: #1e40af;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 12px;
}

.service-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.service-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pricing-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.pricing-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.service-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    color: #6366f1;
    border: 1px solid #6366f1;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.service-footer .btn:hover {
    background: #6366f1;
    color: white;
}

.service-footer .btn i {
    width: 14px;
    height: 14px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    transition: all 0.2s;
}

.team-member:hover {
    background: #f3f4f6;
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #e5e7eb;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.member-info {
    width: 100%;
}

.member-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.member-role {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.75rem 0;
}

.member-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #0a66c2;
    color: white;
    border-radius: 6px;
    transition: all 0.2s;
}

.member-linkedin:hover {
    background: #004182;
}

.member-linkedin i {
    width: 16px;
    height: 16px;
}

/* Sidebar */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Contact List */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    font-size: 0.875rem;
}

.contact-item i {
    width: 18px;
    height: 18px;
    color: #6b7280;
    flex-shrink: 0;
}

.contact-item a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 8px;
    transition: all 0.2s;
}

.social-link:hover {
    background: #6366f1;
    color: white;
}

.social-link i {
    width: 20px;
    height: 20px;
}

/* Stats List */
.stats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-item i {
    width: 24px;
    height: 24px;
    color: #6366f1;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 1024px) {
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .profile-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-logo {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .profile-content {
        padding: 1rem;
    }
    
    .profile-section {
        padding: 1.5rem;
    }
    
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}
