/* Blog Article Styles */
.blog-article {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* Blog Page Styles */
.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,107,53,0.15) 0%, transparent 50%);
    animation: particleFloat 15s ease-in-out infinite;
}

.blog-hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.blog-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

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

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.blog-categories {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,240,255,0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.category-tabs {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-tab {
    padding: 1rem 2.5rem;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(102,126,234,0.2);
    border-radius: 50px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    color: #667eea;
    position: relative;
    overflow: hidden;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102,126,234,0.1);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
}

.category-tab:hover::before {
    width: 300px;
    height: 300px;
}

.category-tab:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.3);
}

.category-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(102,126,234,0.4);
    transform: translateY(-3px);
}

.blog-grid-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #faf5ff 0%, #e9d5ff 50%, #faf5ff 100%);
    position: relative;
}

.blog-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(102,126,234,0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(240,147,251,0.05) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(118,75,162,0.03) 0%, transparent 30%);
    pointer-events: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1),
                inset 0 1px 0 rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(240,147,251,0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    border-radius: 25px;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102,126,234,0.3),
                inset 0 1px 0 rgba(255,255,255,0.8);
    border-color: rgba(102,126,234,0.5);
}

.blog-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(102,126,234,0.3) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.blog-card:hover .blog-card-image::after {
    opacity: 1;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.6rem 1.3rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
    backdrop-filter: blur(5px);
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.blog-card-content h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-card-content h3 {
    transform: translateX(-3px);
}

.blog-excerpt {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.blog-read-more {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.blog-read-more::after {
    content: '→';
    display: inline-block;
    transition: transform 0.4s ease;
}

.blog-read-more:hover {
    transform: translateX(-5px);
}

.blog-read-more:hover::after {
    transform: translateX(5px);
}

.blog-card.coming-soon {
    opacity: 0.7;
    position: relative;
}

.blog-coming-soon-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: #ffc107;
    color: #1a1a2e;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.newsletter-box {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.newsletter-box h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.newsletter-box p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.newsletter-btn {
    display: inline-block;
    padding: 1.3rem 4rem;
    background: rgba(255,255,255,0.95);
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.5);
}

.newsletter-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    background: white;
}

/* Article Styles */

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
    color: white;
    border-radius: 15px;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.article-content .intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f0f8ff;
    border-right: 4px solid #ff6b35;
    border-radius: 8px;
}

.article-content h2 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ff6b35;
}

.article-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h4 {
    font-size: 1.2rem;
    color: #555;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

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

.article-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 0.8rem;
}

.article-content li strong {
    color: #ff6b35;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
    color: white;
}

.comparison-table th {
    padding: 1rem;
    text-align: right;
    font-size: 1.05rem;
}

.comparison-table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Traveler Types Table */
.traveler-types {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.traveler-types thead {
    background: #1a1a2e;
    color: white;
}

.traveler-types th {
    padding: 1rem;
    text-align: right;
    font-size: 1.05rem;
}

.traveler-types td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.traveler-types tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.traveler-types tbody tr:hover {
    background: #fff3e0;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 2rem;
    border-radius: 12px;
    border-right: 5px solid #4caf50;
    margin: 2rem 0;
}

.highlight-box p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #2e7d32;
}

.highlight-box p strong {
    color: #1b5e20;
}

.warning-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 2rem;
    border-radius: 12px;
    border-right: 5px solid #ff9800;
    margin: 2rem 0;
}

.warning-box p {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: #e65100;
}

.price-comparison {
    background: #f0f4ff;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-right: 4px solid #2196f3;
}

.price-comparison h4 {
    color: #1976d2;
    margin-bottom: 1rem;
}

.price-comparison ul {
    list-style: none;
    padding: 0;
}

.price-comparison li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.testimonial-box {
    background: #fff9e6;
    padding: 1.5rem;
    border-radius: 10px;
    border-right: 4px solid #ffc107;
    margin: 1.5rem 0;
    font-style: italic;
}

.testimonial-box p {
    margin: 0;
    color: #555;
}

.testimonial-box strong {
    color: #ff6b35;
    font-style: normal;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.cta-box p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.cta-box a {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-box a:hover {
    color: #ffe0b2;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-content h2 {
        font-size: 1.6rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
    
    .comparison-table,
    .traveler-types {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td,
    .traveler-types th,
    .traveler-types td {
        padding: 0.6rem;
    }
}