/* ABC Blog Detail - Complete Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #00b8d4; --secondary: #0097a7; --accent: #ffc107;
    --dark: #2c3e50; --light: #ecf0f1; --text: #333; --text-light: #777;
}
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: var(--text); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: all 0.3s; }

/* Top Bar */
.top-bar { background: var(--dark); color: white; padding: 12px 0; font-size: 14px; }
.top-bar-content { display: flex; justify-content: space-between; }
.top-left { display: flex; gap: 30px; }
.top-bar i { margin-right: 8px; color: var(--primary); }
.top-bar a:hover { color: var(--primary); }

/* Header */
.main-header { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; }
.nav-menu { display: flex; list-style: none; gap: 35px; }
.nav-menu a { font-weight: 500; color: var(--dark); position: relative; }
.nav-menu a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--primary); transition: all 0.3s; }
.nav-menu a:hover::after, .nav-menu li.active a::after { width: 100%; }
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--dark); margin: 3px 0; }

/* Page Title */
.page-title { background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 80px 0; text-align: center; color: white; }
.page-title h1 { font-size: 42px; font-weight: 700; margin-bottom: 15px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: 0.7; }

/* Blog Layout */
.blog-detail-section { padding: 80px 0; background: white; }
.blog-layout { display: grid; grid-template-columns: 1fr 350px; gap: 50px; }

/* Main Content */
.blog-main-content { background: white; }
.featured-image { border-radius: 10px; overflow: hidden; margin-bottom: 30px; }
.featured-image img { width: 100%; height: 450px; object-fit: cover; }
.post-meta { display: flex; gap: 25px; margin-bottom: 30px; color: var(--text-light); font-size: 14px; }
.post-meta i { margin-right: 5px; color: var(--primary); }
.post-meta a { color: var(--text-light); }
.post-meta a:hover { color: var(--primary); }
.post-content p { margin-bottom: 20px; line-height: 1.8; color: var(--text-light); }

/* Quote */
.blog-quote { background: var(--light); border-left: 4px solid var(--primary); padding: 30px; margin: 40px 0; font-style: italic; }
.blog-quote p { font-size: 20px; color: var(--dark); margin-bottom: 10px; }
.blog-quote cite { font-size: 16px; color: var(--primary); font-weight: 600; }

/* Content Images */
.content-images { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; }
.content-image { border-radius: 10px; overflow: hidden; }
.content-image img { width: 100%; height: 300px; object-fit: cover; }

/* Post Tags */
.post-tags { padding: 25px 0; border-top: 2px solid var(--light); border-bottom: 2px solid var(--light); margin: 40px 0; }
.post-tags strong { margin-right: 15px; }
.post-tags a { display: inline-block; background: var(--light); padding: 8px 20px; border-radius: 5px; margin: 5px; font-size: 14px; }
.post-tags a:hover { background: var(--primary); color: white; }

/* Post Navigation */
.post-navigation { display: flex; justify-content: space-between; margin: 40px 0; }
.post-navigation a { display: flex; align-items: center; gap: 10px; padding: 15px 30px; background: var(--light); border-radius: 5px; font-weight: 600; }
.post-navigation a:hover { background: var(--primary); color: white; }

/* Comments */
.comments-section { margin-top: 60px; }
.comments-title { font-size: 28px; margin-bottom: 30px; color: var(--dark); }
.comment { display: flex; gap: 20px; margin-bottom: 30px; padding: 30px; background: var(--light); border-radius: 10px; }
.comment-reply-item { margin-left: 80px; }
.comment-avatar img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.comment-content h4 { color: var(--dark); margin-bottom: 5px; }
.comment-date { font-size: 13px; color: var(--text-light); display: block; margin-bottom: 15px; }
.comment-content p { color: var(--text-light); margin-bottom: 10px; }
.comment-reply { color: var(--primary); font-weight: 600; font-size: 14px; }
.comment-reply:hover { color: var(--secondary); }

/* Comment Form */
.comment-form-wrapper { margin-top: 50px; padding: 40px; background: var(--light); border-radius: 10px; }
.comment-form-wrapper h3 { margin-bottom: 30px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 5px; margin-bottom: 20px; font-family: 'Poppins', sans-serif; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-checkbox { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.btn { padding: 15px 40px; border-radius: 50px; font-weight: 600; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--secondary); transform: translateY(-2px); }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 30px; }
.sidebar-widget { background: white; border: 2px solid var(--light); border-radius: 10px; padding: 30px; }
.widget-title { font-size: 22px; margin-bottom: 25px; color: var(--dark); padding-bottom: 15px; border-bottom: 2px solid var(--light); }
.recent-post-item { display: flex; gap: 15px; margin-bottom: 20px; }
.recent-post-thumb img { width: 80px; height: 80px; border-radius: 5px; object-fit: cover; }
.recent-post-content h4 { font-size: 15px; margin-bottom: 5px; }
.recent-post-content h4 a { color: var(--dark); }
.recent-post-content h4 a:hover { color: var(--primary); }
.recent-post-content .post-date { font-size: 13px; color: var(--text-light); }
.categories-list { list-style: none; }
.categories-list li { border-bottom: 1px solid var(--light); }
.categories-list li:last-child { border: none; }
.categories-list a { display: flex; justify-content: space-between; padding: 12px 0; color: var(--text); }
.categories-list a:hover { color: var(--primary); padding-left: 10px; }
.categories-list span { color: var(--text-light); }
.tags-cloud a { display: inline-block; background: var(--light); padding: 8px 18px; border-radius: 5px; margin: 5px; font-size: 14px; }
.tags-cloud a:hover { background: var(--primary); color: white; }
.cta-widget { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; text-align: center; }
.cta-widget h3 { color: white; border: none; }
.cta-widget h4 { margin: 15px 0; font-size: 20px; }
.cta-widget p { margin-bottom: 25px; opacity: 0.9; }

/* Footer */
.main-footer { background: var(--dark); color: white; padding: 60px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 60px; margin-bottom: 20px; }
.footer-col h3, .footer-col h4, .footer-col h5 { margin-bottom: 20px; }
.footer-col p { color: rgba(255,255,255,0.7); margin-bottom: 15px; }
.footer-info { list-style: none; }
.footer-info li { margin-bottom: 15px; display: flex; gap: 10px; color: rgba(255,255,255,0.7); }
.footer-info i { color: var(--primary); margin-top: 3px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 12px; border: none; border-radius: 5px; }
.newsletter-form button { padding: 12px 20px; background: var(--primary); color: white; border: none; border-radius: 5px; cursor: pointer; }
.instagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.instagram-item img { width: 100%; height: 100px; object-fit: cover; border-radius: 5px; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }

/* Responsive */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu { position: fixed; left: -100%; top: 90px; flex-direction: column; background: white; width: 100%; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); transition: all 0.3s; z-index: 999; }
    .nav-menu.active { left: 0; }
    .page-title h1 { font-size: 32px; }
    .blog-layout { grid-template-columns: 1fr; }
    .content-images, .form-row { grid-template-columns: 1fr; }
    .comment-reply-item { margin-left: 0; }
    .footer-content { grid-template-columns: 1fr; }
}
