/*
Theme Name: Hcm Helper
Description: Professional WordPress theme for Hcm Helper
Version: 1.0
Author: Theme Generator
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.site-title:hover {
    color: #f0f0f0;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #f0f0f0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1496171367470-9ed9a91ea931?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3NTcwOTJ8MHwxfHJhbmRvbXx8fHx8fHx8fDE3NDg5Nzc3OTF8&ixlib=rb-4.1.0&q=80&w=1080');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 0;
    min-height: 60vh;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #c0392b;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e74c3c;
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.post-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 1.5rem;
}

.post-card h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.post-card p {
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    color: #c0392b;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    color: #e74c3c;
}

/* Testimonials */
.testimonials-section {
    background: #f8f9fa;
    padding: 3rem 0;
    margin: 3rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial cite {
    font-weight: bold;
    color: #e74c3c;
}

/* Single Post Styles */
.single-post {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.single-post h1 {
    color: #e74c3c;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
}

.single-post h2 {
    color: #c0392b;
    font-size: 1.6rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 5px;
}

.single-post h3 {
    color: #374151;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.5rem 0;
}

.single-post p {
    margin-bottom: 1.2rem;
    color: #333;
}

.user-ratings {
    background: #f8f9fa;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #007cba;
    border-radius: 5px;
}

.user-ratings h3 {
    color: #007cba;
    margin-bottom: 10px;
}

.review {
    margin: 15px 0;
    padding: 10px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.review strong {
    color: #e74c3c;
}

.review p {
    margin: 5px 0 0 0;
    font-style: italic;
}

.highlight-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.single-post ul {
    padding-left: 20px;
    margin-bottom: 1.2rem;
}

.single-post li {
    margin-bottom: 8px;
}

/* Page Content */
.page-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.page-title {
    color: #e74c3c;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Footer */
.site-footer {
    background: #e74c3c;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
