/* blog/static/css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(30px);
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
    transform: scale(0.9);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.nav-item {
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-item:hover::before {
    width: 100%;
}

/* About Author Section Styles */
.about-author-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #132231 0%, #101d29 100%);
    font-family: 'Georgia', 'Times New Roman', serif;
}

.about-author-section .about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    background: rgba(23, 13, 37, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-author-section .section-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
}

.about-author-section .section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/lawrence.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.about-author-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.about-author-section .section-header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.about-author-section .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding: 4rem;
    align-items: start;
}

.about-author-section .image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.about-author-section .image-container:hover {
    transform: translateY(-5px);
}

.about-author-section .author-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.about-author-section .author-image:hover {
    filter: grayscale(0%);
}

.about-author-section .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: rgb(29, 24, 63);
    padding: 1.5rem;
    text-align: center;
}

.about-author-section .image-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.about-author-section .image-overlay .title {
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
}

.about-author-section .bio-content {
    padding: 1rem 0;
}

.about-author-section .bio-content h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-author-section .bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    margin-bottom: 2rem;
}

.about-author-section .bio-text p {
    margin-bottom: 1.5rem;
}

.about-author-section .quote-section {
    background: linear-gradient(135deg, #101e2b 0%, #121d27 100%);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    margin: 2rem 0;
    position: relative;
}

.about-author-section .quote-section::before {
    content: '"';
    font-size: 4rem;
    color: #667eea;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.about-author-section .quote-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1rem;
}

.about-author-section .quote-author {
    text-align: right;
    font-weight: bold;
    color: #667eea;
}

.about-author-section .highlight-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.about-author-section .stat-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.about-author-section .stat-item:hover {
    transform: translateY(-3px);
}

.about-author-section .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.about-author-section .stat-value {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-author-section .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .about-author-section .section-header h2 {
        font-size: 2rem;
    }

    .about-author-section .author-image {
        height: 300px;
    }

    .about-author-section .bio-content h3 {
        font-size: 1.6rem;
    }

    .about-author-section .bio-text {
        font-size: 1rem;
        text-align: left;
    }

    .about-author-section .quote-text {
        font-size: 1rem;
    }

    .about-author-section .highlight-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-author-section {
        padding: 2rem 0;
    }

    .about-author-section .about-container {
        padding: 0 1rem;
        margin: 0 1rem;
    }

    .about-author-section .section-header {
        padding: 2rem 1rem 1rem;
    }

    .about-author-section .section-header h2 {
        font-size: 1.8rem;
    }

    .about-author-section .content-wrapper {
        padding: 1.5rem;
    }

    .about-author-section .author-image {
        height: 250px;
    }
}

/* Additional styles for blog content */
.prose {
    color: #e5e7eb;
    max-width: 65ch;
    font-size: 1rem;
    line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: #f3f4f6;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.prose h1 {
    font-size: 2.25em;
}

.prose h2 {
    font-size: 1.75em;
}

.prose h3 {
    font-size: 1.25em;
}

.prose a {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose-invert {
    --tw-prose-body: #d1d5db;
    --tw-prose-headings: #f3f4f6;
    --tw-prose-lead: #9ca3af;
    --tw-prose-links: #93c5fd;
    --tw-prose-bold: #f9fafb;
    --tw-prose-counters: #9ca3af;
    --tw-prose-bullets: #6b7280;
    --tw-prose-hr: #374151;
    --tw-prose-quotes: #f3f4f6;
    --tw-prose-quote-borders: #374151;
    --tw-prose-captions: #9ca3af;
    --tw-prose-code: #f9fafb;
    --tw-prose-pre-code: #e5e7eb;
    --tw-prose-pre-bg: #1f2937;
    --tw-prose-th-borders: #4b5563;
    --tw-prose-td-borders: #374151;
}

/* Ripple effect styles */
button {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


/* Legal Tips Specific Styles */
.legal-tip-card {
    transition: all 0.3s ease;
}

.legal-tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.tip-category-badge {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.prose-invert a {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose-invert ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.prose-invert ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin-top: 1em;
    margin-bottom: 1em;
}