/*
Theme Name: Chrome PC Theme
Description: A WordPress theme inspired by chrom.com design
Version: 1.0
Author: Jun
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafaf9;
}

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

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #4285f4;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0 100px;
    text-align: center;
}

.chrome-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: url('/google-home.jpg') no-repeat center;
    background-size: contain;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background: #4285f4;
    color: #fff;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.download-btn:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.download-btn::before {
    content: "📥";
    margin-right: 8px;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section.alt {
    background: #fff;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #202124;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #4285f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #202124;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* Security Section */
.security-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.security-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.security-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.security-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    background: #4285f4;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #202124;
}

.blog-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: #4285f4;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: #5f6368;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #dadce0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #666;
    padding-top: 20px;
    text-align: center;
    color: #dadce0;
}

/* Single Post Styles */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-title {
    font-size: 42px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.post-content {
    line-height: 1.8;
    color: #333;
}

.post-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: #202124;
}

.post-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #202124;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Category Page */
.category-header {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.category-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-description {
    font-size: 18px;
    opacity: 0.9;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav ul {
        gap: 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .security-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .security-features {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

/* WordPress Specific */
.wp-block-image {
    margin: 20px 0;
}

.wp-block-quote {
    border-left: 4px solid #4285f4;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #666;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination .current {
    background: #4285f4;
    color: #fff;
    border-color: #4285f4;
}
