/*
Theme Name: Lead Gen Consulting 2025
Description: Custom WordPress theme for leadgenconsulting.io converted from React with Tailwind CSS
Author: Ma'ruf Ilyasa'
Version: 1.0.1
License: GPL v2 or later
Text Domain: leadgenconsulting
*/

/* Additional custom styles to complement Tailwind CSS */

/* Navbar scroll effect */
.navbar.navbar-scrolled {
    @apply bg-white/95 backdrop-blur-md shadow-lg;
}

/* Custom animations */
@keyframes blob {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

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

/* Remove outline on focus for better UX */
.btn-primary:focus,
.btn-outline:focus {
    outline: 2px solid rgb(109 40 217);
    outline-offset: 2px;
}

/* WordPress specific adjustments */
.wp-block-image {
    margin: 0;
}

/* Ensure proper spacing for WordPress content */
.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Custom logo adjustments */
.custom-logo {
    height: 3rem;
    width: auto;
}

/* ===== Page Template Styles ===== */

/* Page header section */
.page-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.page-header .background-pattern {
    background-size: 40px 40px;
    animation: movePattern 30s linear infinite;
}

@keyframes movePattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

.page-header .entry-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header .page-description {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.entry-title {
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.page-description {
    font-weight: 500;
    max-width: 2xl;
    margin-left: auto;
    margin-right: auto;
}

/* Article wrapper */
.article-wrapper {
    transition: all 0.3s ease;
}

/* Entry content prose styling */
.entry-content.prose {
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #1f2937;
    font-weight: 600;
    line-height: 1.3;
}

.entry-content h1 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.entry-content h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 0.875rem;
}

.entry-content h3 {
    font-size: 1.5rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.entry-content h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.625rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
    color: #374151;
    line-height: 1.75;
}

.entry-content a {
    color: #7d3eff;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.entry-content a:hover {
    color: #6b21ff;
}

.entry-content blockquote {
    border-left: 4px solid #7d3eff;
    padding-left: 1.5rem;
    font-style: italic;
    color: #666;
    margin: 1.5rem 0;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5rem 0 1.5rem 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.entry-content code {
    background-color: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #7d3eff;
}

.entry-content pre {
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    line-height: 1.5;
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.entry-content table th,
.entry-content table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.entry-content table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

/* Featured image styling */
.post-thumbnail {
    transition: transform 0.3s ease;
}

.post-thumbnail:hover {
    transform: translateY(-4px);
}

.post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

/* Page links styling */
.page-links {
    gap: 0.5rem;
}

.page-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    color: #7d3eff;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.page-links a:hover {
    background-color: #7d3eff;
    color: white;
    border-color: #7d3eff;
}

.page-links .page-numbers.current {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #7d3eff;
    color: white;
    border-radius: 0.375rem;
    font-weight: 600;
}

/* Entry footer styling */
.entry-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.edit-link {
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    color: white;
    transition: all 0.2s ease;
}

.edit-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(125, 62, 255, 0.3);
}

.edit-link i {
    margin-right: 0.5rem;
}

/* Comments section */
.comments-section {
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .entry-content h1 {
        font-size: 1.75rem;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.25rem;
    }
}