/* Tailwind CSS Configuration */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333333;
    background-color: #f8f9fa;
}

/* Hero Section */
.hero-section {
    background-image: url('/single/image/5b79f8c04e064b66aaa6cea42835fec4~tplv-a9rns2rl98-image.jpg');
    background-size: cover;
    background-position: center;
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Article Specific Styles */
.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: #0B3C5D;
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #0B3C5D;
}

.article-content p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

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

.article-content ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-content ol li {
    list-style-type: decimal;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-content a {
    color: #1D7CAE;
    text-decoration: underline;
}

.article-content a:hover {
    color: #0B3C5D;
}

.article-content blockquote {
    border-left: 4px solid #1D7CAE;
    padding-left: 1rem;
    font-style: italic;
    margin: 1.5rem 0;
    color: #555;
}

.article-content img {
    margin: 1.5rem 0;
    border-radius: 0.25rem;
}

/* Table Styles */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.article-content th {
    background-color: #f2f3f5;
    color: #333;
    font-weight: 500;
    text-align: left;
    padding: 12px 16px;
    border: 1px solid #e2e4e7;
}

.article-content td {
    padding: 12px 16px;
    border: 1px solid #e2e4e7;
    vertical-align: top;
}

.article-content tr:nth-child(even) {
    background-color: #f9fafb;
}

.article-content tr:hover {
    background-color: #f3f4f6;
}

/* Callout Box Styles */
.callout-block {
    background-color: #fff5eb;
    border-left: 4px solid #ffba6b;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.callout-block p {
    margin-bottom: 0;
}

/* Article Navigation */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eaeaea;
}

.article-navigation a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #0B3C5D;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-navigation a:hover {
    color: #1D7CAE;
}

.article-navigation .prev-article {
    justify-content: flex-start;
}

.article-navigation .next-article {
    justify-content: flex-end;
}

.article-navigation i {
    font-size: 1rem;
    margin: 0 0.5rem;
}

/* Related Articles */
.related-article {
    transition: all 0.3s ease;
}

.related-article:hover {
    transform: translateY(-3px);
}

/* Category Links */
.category-link {
    transition: all 0.2s ease;
}

.category-link:hover {
    color: #1D7CAE;
    padding-left: 5px;
}

/* Back to Top Button */
#back-to-top {
    transition: all 0.3s ease;
}

/* Responsive Table */
@media (max-width: 768px) {
    .article-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Custom Tailwind Utilities */
@layer utilities {
    .content-auto {
        content-visibility: auto;
    }
    
    .text-shadow {
        text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    }
    
    .transition-all-300 {
        transition: all 0.3s ease;
    }
}