/* Additional Article Styles */

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta.hidden {
    transform: translateY(100px);
}

.floating-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Styles */
.faq-question {
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-arrow {
    transition: transform 0.3s ease;
}

.faq-arrow.rotate-180 {
    transform: rotate(180deg);
}

.faq-answer {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.faq-answer:not(.hidden) {
    max-height: 1000px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Gallery Lightbox Styles */
.gallery-image,
.gallery-grid img,
.image-gallery img {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-image:hover,
.gallery-grid img:hover,
.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Article Content Styles */
.article-content {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
}

.article-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
}

.article-content .quote-author {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: #374151;
    text-align: right;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem auto;
    display: block;
}

.article-content .image-caption {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

/* CTA Section Styles */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    margin: 3rem 0;
    text-align: center;
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* CTA End Blocks */
.cta-end-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.cta-end-block {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.cta-end-block:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cta-end-block .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.cta-end-block h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #111827;
}

.cta-end-block p {
    color: #6b7280;
}

/* Updates Section */
.updates-timeline {
    position: relative;
    padding-left: 2rem;
}

.updates-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: #e5e7eb;
}

.update-item {
    position: relative;
    margin-bottom: 2rem;
}

.update-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 2px solid white;
}

.update-date {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.update-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.update-description {
    color: #6b7280;
}

/* Goal Section */
.goal-section {
    background: #f3f4f6;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.goal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.goal-section ul {
    list-style: none;
    padding: 0;
}

.goal-section li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.goal-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.875rem;
    }
    
    .cta-end-blocks {
        grid-template-columns: 1fr;
    }
    
    .article-content h1 {
        font-size: 2rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
    }
}

/* Print styles */
@media print {
    .floating-cta,
    .navigation,
    .footer,
    .back-to-top,
    .cookie-banner {
        display: none !important;
    }
    
    .article-content {
        max-width: 100%;
        font-size: 12pt;
    }
    
    .article-content a {
        text-decoration: none;
        color: black;
    }
    
    .article-content a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

