/* Professional Portfolio Custom Styles - 2025 Standards */

/* Modern Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Section Enhancements */
.wp-block-cover {
    transition: all 0.3s ease;
}

.wp-block-cover__inner-container {
    animation: fadeInUp 1s ease-out;
}

/* Professional Button Styles */
.wp-block-button__link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* LinkedIn Feed Container Enhancement */
#linkedin-feed-container {
    animation: fadeIn 1.2s ease-out;
}

/* Responsive Grid for Posts */
@media (min-width: 768px) {
    .linkedin-posts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2rem;
    }
}

/* Card Hover Effects */
.linkedin-post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.linkedin-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

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

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Professional Separator Styling */
.wp-block-separator {
    opacity: 0.3;
}

/* Enhanced Gradient Backgrounds */
.has-background-gradient {
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
    .wp-block-cover { min-height: 400px !important; }
}

/* Accessibility Focus States */
a:focus, button:focus {
    outline: 3px solid #0077b5;
    outline-offset: 2px;
}

/* Performance: GPU Acceleration */
.wp-block-button__link,
.linkedin-post-card {
    transform: translateZ(0);
    will-change: transform;
}
