/* ============================================================ 
   ARTICLE DETAIL STYLES - TOUR GUIDE INDONESIA
   Premium, Modern, and Highly Readable Article Template
   ============================================================ */

:root {
    --primary: #dc3545;
    --primary-dark: #b71c1c;
    --primary-light: #ff6b6b;
    --secondary: #1976d2;
    --text-main: #111827;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --article-max-width: 800px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container & Layout */
.article-container {
    max-width: var(--article-max-width);
    margin: 120px auto 80px;
    padding: 0 20px;
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 30px;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--primary);
    transform: translateX(-5px);
}

/* Hero Section */
.article-hero {
    margin-bottom: 40px;
}

.hero-content {
    text-align: center;
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    font-size: 1rem;
    color: var(--primary);
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
}

.hero-content .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-top: 40px;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
    display: block;
}

/* Article Body */
.article-body {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #374151;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 50px 0 25px;
}

.article-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 40px 0 20px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 30px 0;
}

.article-body blockquote {
    border-left: 5px solid var(--primary);
    padding: 20px 30px;
    background: #fff5f5;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    font-size: 1.25rem;
    margin: 40px 0;
    color: var(--primary-dark);
}

.article-body ul,
.article-body ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 12px;
}

/* Gallery Section */
.gallery-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #e5e7eb;
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .article-container {
        margin-top: 100px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .article-meta {
        gap: 15px;
    }

    .article-body {
        font-size: 1.1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .article-container {
        margin-top: 90px;
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .article-body blockquote {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
}