/* VIP Profiles Plugin - Public Styles */

/* Reset und Basis-Styles */
.vip-profiles-homepage,
.vip-profiles-categories,
.vip-profiles-news,
.vip-profiles-list,
.vip-profile-single {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container und Layout */
.vip-profiles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 40px;
    border-radius: 12px;
}

.hero-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layouts */
.vip-profiles-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.vip-profiles-grid.layout-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.vip-profiles-grid.layout-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.vip-profiles-grid.layout-list {
    grid-template-columns: 1fr;
    gap: 20px;
}

.vip-profiles-grid.layout-masonry {
    column-count: auto;
    column-width: 300px;
    column-gap: 30px;
}

/* Profil-Karten */
.vip-profile-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.vip-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.layout-masonry .vip-profile-card {
    break-inside: avoid;
    margin-bottom: 30px;
}

.layout-list .vip-profile-card {
    display: flex;
    align-items: center;
    padding: 20px;
}

.layout-list .profile-image {
    flex: 0 0 120px;
    margin-right: 20px;
}

.layout-list .profile-content {
    flex: 1;
}

/* Profil-Bilder */
.profile-image {
    position: relative;
    overflow: hidden;
}

.layout-cards .profile-image,
.layout-grid .profile-image {
    height: 250px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vip-profile-card:hover .profile-image img {
    transform: scale(1.05);
}

.placeholder-image {
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 3rem;
}

/* Profil-Content */
.profile-content {
    padding: 24px;
}

.profile-title {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.profile-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.profile-title a:hover {
    color: #3498db;
}

.profile-profession {
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.profile-location {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Soziale Medien */
.profile-social {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-facebook { background: #3b5998; }
.social-twitter { background: #1da1f2; }
.social-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-linkedin { background: #0077b5; }
.social-youtube { background: #ff0000; }
.social-tiktok { background: #000; }
.social-website { background: #34495e; }

/* Kategorien */
.profile-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-category {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Einzelnes Profil */
.vip-profile-single {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-cover {
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 30px;
    position: relative;
}

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

.profile-header {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    margin-top: -80px;
    z-index: 2;
}

.profile-avatar {
    flex: 0 0 160px;
}

.profile-avatar img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    object-fit: cover;
}

.profile-info {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #2c3e50;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 12px;
}

.profile-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.profile-meta a {
    color: #3498db;
    text-decoration: none;
}

.profile-meta a:hover {
    text-decoration: underline;
}

/* Tabs */
.profile-tabs {
    margin-top: 40px;
}

.tab-navigation {
    display: flex;
    border-bottom: 2px solid #ecf0f1;
    margin-bottom: 30px;
    gap: 0;
}

.tab-button {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.tab-button:hover {
    color: #2c3e50;
    background: #f8f9fa;
}

.tab-button.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Bio */
.profile-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

.profile-bio p {
    margin-bottom: 20px;
}

/* Soziale Medien (Einzelprofil) */
.profile-social-media h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.social-links .social-link {
    width: auto;
    height: auto;
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    text-decoration: none;
}

.social-label {
    font-size: 0.95rem;
}

/* Galerie */
.profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Videos */
.profile-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.video-item iframe {
    width: 100%;
    height: 200px;
    border: none;
}

/* Kategorien-Seite */
.categories-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

.categories-grid.columns-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.categories-grid.columns-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.categories-grid.columns-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.category-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.category-link {
    display: block;
    padding: 30px;
    text-decoration: none;
    color: inherit;
}

.category-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #2c3e50;
}

.category-count {
    color: #3498db;
    font-weight: 500;
    font-size: 0.9rem;
}

.category-description {
    color: #7f8c8d;
    margin: 12px 0 0 0;
    line-height: 1.6;
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 24px;
}

.news-content h3 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.news-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #3498db;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.news-excerpt {
    color: #555;
    line-height: 1.6;
}

.latest-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.latest-news-grid .news-item {
    padding: 20px;
}

.latest-news-grid h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.latest-news-grid h4 a {
    color: #2c3e50;
    text-decoration: none;
}

.latest-news-grid h4 a:hover {
    color: #3498db;
}

/* Filter */
.profiles-filter {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.profiles-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
}

.filter-field {
    flex: 1;
    min-width: 200px;
}

.filter-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.filter-field input,
.filter-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.filter-field input:focus,
.filter-field select:focus {
    outline: none;
    border-color: #3498db;
}

.filter-submit,
.filter-reset {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-submit {
    background: #3498db;
    color: white;
}

.filter-submit:hover {
    background: #2980b9;
}

.filter-reset {
    background: #ecf0f1;
    color: #2c3e50;
    margin-left: 8px;
}

.filter-reset:hover {
    background: #d5dbdb;
}

/* Pagination */
.profiles-pagination {
    text-align: center;
    margin-top: 40px;
}

.load-more-profiles {
    background: #3498db;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-profiles:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.load-more-profiles:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

/* Breadcrumbs */
.vip-profiles-breadcrumbs {
    margin-bottom: 30px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.current span {
    color: #7f8c8d;
}

.breadcrumb-separator {
    color: #bdc3c7;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .vip-profiles-grid.layout-cards {
        grid-template-columns: 1fr;
    }
    
    .layout-list .vip-profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .layout-list .profile-image {
        flex: none;
        margin-right: 0;
        margin-bottom: 20px;
        height: 200px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        margin-top: -60px;
    }
    
    .profile-avatar {
        flex: none;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1;
        min-width: 120px;
    }
    
    .profiles-filter-form {
        flex-direction: column;
    }
    
    .filter-field {
        min-width: auto;
    }
    
    .categories-grid.columns-2,
    .categories-grid.columns-3,
    .categories-grid.columns-4 {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .profile-videos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .vip-profiles-container {
        padding: 0 15px;
    }
    
    .profile-content {
        padding: 20px;
    }
    
    .profile-info {
        padding: 16px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links .social-link {
        padding: 10px 16px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .vip-profiles-homepage,
    .vip-profiles-categories,
    .vip-profiles-news,
    .vip-profiles-list,
    .vip-profile-single {
        color: #e4e6ea;
    }
    
    .vip-profile-card,
    .category-item,
    .news-item,
    .profiles-filter,
    .profile-info {
        background: #2c2c2c;
        border-color: #404040;
    }
    
    .profile-title a,
    .category-name,
    .news-content h3 a,
    .profile-name {
        color: #e4e6ea;
    }
    
    .profile-title a:hover,
    .news-content h3 a:hover {
        color: #58a6ff;
    }
    
    .filter-field input,
    .filter-field select {
        background: #2c2c2c;
        border-color: #404040;
        color: #e4e6ea;
    }
    
    .tab-button {
        color: #8b949e;
    }
    
    .tab-button.active {
        color: #58a6ff;
        border-bottom-color: #58a6ff;
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .profiles-filter,
    .profiles-pagination,
    .tab-navigation,
    .profile-social,
    .social-links {
        display: none;
    }
    
    .vip-profile-card,
    .news-item,
    .category-item {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    .profile-cover {
        height: 200px;
    }
    
    .profile-header {
        margin-top: 0;
    }
}

