/**
 * WFM Social Links - Stylesheet
 * Design basierend auf weis-facility-management.de
 */

/* ============================================
   RESET & GRUNDLAGEN
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* WFM Farben - basierend auf dem Gradient */
    --primary-blue: #163c63;
    --secondary-blue: #3a76b3;
    --light-blue: #4a8ac4;
    --accent-blue: #2c5f8d;
    
    /* Zusätzliche Farben */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-color: #333333;
    --text-light: #666666;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(22, 60, 99, 0.1);
    --shadow-md: 0 4px 16px rgba(22, 60, 99, 0.15);
    --shadow-lg: 0 8px 24px rgba(22, 60, 99, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    min-height: 100vh;
    padding: 20px;
    color: var(--text-color);
    line-height: 1.6;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.6s ease;
}

.logo {
    margin-bottom: 20px;
}

.logo img {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.header h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 400;
    margin-top: 10px;
}

/* ============================================
   SOCIAL ICONS
   ============================================ */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-md);
}

.social-icon.facebook:hover { background: #1877f2; }
.social-icon.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-icon.linkedin:hover { background: #0077b5; }
.social-icon.whatsapp:hover { background: #25d366; }

/* ============================================
   LINKS CONTAINER
   ============================================ */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--white);
    font-size: 1.1rem;
}

.loading i {
    margin-right: 10px;
}

/* Link Card */
.link-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 25px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease both;
}

/* Staggered animation for multiple links */
.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }
.link-card:nth-child(n+6) { animation-delay: 0.6s; }

.link-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    transform: scaleY(0);
    transition: var(--transition);
}

.link-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.link-card:hover::before {
    transform: scaleY(1);
}

.link-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
}

.link-content {
    flex: 1;
}

.link-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.link-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.link-meta {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--light-blue);
    color: var(--white);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.link-badge.new {
    background: #28a745;
    animation: pulse 2s ease-in-out infinite;
}

.link-arrow {
    color: var(--secondary-blue);
    font-size: 1.3rem;
    transition: var(--transition);
}

.link-card:hover .link-arrow {
    transform: translateX(5px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--white);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 1rem;
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */

a:link, a:visited, a:hover, a:active{
	text-decoration:none;
	color: #fff;
}

.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.6s ease 0.4s both;
}

.footer p {
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.5);
}

.contact-info {
    margin-top: 15px;
    font-size: 0.85rem;
    line-height: 1.8;
}

.contact-info i {
    margin-right: 5px;
    opacity: 0.8;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 20px 10px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .link-card {
        padding: 15px 20px;
    }
    
    .link-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.1rem;
    }
    
    .link-title {
        font-size: 1rem;
    }
    
    .link-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .link-card {
        padding: 12px 15px;
    }
}

