/*
Theme Name: WpFastNow
Theme URI: https://wpfastnow.com
Description: Ultra-minimal WordPress theme inspired by Google's design, optimized for global performance
Version: 1.0.0
Author: WpFastNow Team
Author URI: https://wpfastnow.com
Text Domain: wpfastnow
Tags: minimal, performance, google-style, fast, clean
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #FFFFFF;
    color: #202124;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.site-header {
    padding: 24px 32px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

/* When logo is present (subpages), spread items across */
body:not(.home) .site-header {
    justify-content: space-between;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: block;
    line-height: 0;
}

.header-logo svg {
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-header a {
    color: #1A0DAB;
    text-decoration: none;
    font-size: 14px;
}

.site-header a:hover {
    text-decoration: underline;
}

.header-apps-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.header-apps-icon:hover {
    background-color: rgba(60, 64, 67, 0.08);
}

.header-apps-icon svg {
    width: 20px;
    height: 20px;
    fill: #5f6368;
}

.header-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1A73E8;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

/* Main Content */
.site-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Content Pages (Blog, Archive, etc.) */
body:not(.home) .site-main {
    display: block;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

article {
    margin-bottom: 40px;
}

article h2 {
    color: #1A0DAB;
    margin-bottom: 8px;
}

article h2 a {
    color: #1A0DAB;
    text-decoration: none;
}

article h2 a:hover {
    text-decoration: underline;
}

article .post-date {
    color: #70757A;
    font-size: 14px;
    margin-bottom: 8px;
}

article .post-excerpt {
    color: #4D5156;
    line-height: 1.6;
}

/* Search Container */
.search-container {
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: -120px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-container svg {
    display: block;
}

.search-box {
    width: 100%;
    max-width: 560px;
}

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    border: 1px solid #DADCE0;
    border-radius: 24px;
    padding: 0 16px;
    background: #FFFFFF;
    transition: box-shadow 0.2s;
    gap: 12px;
}

.search-form:hover {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}

.search-form:focus-within {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    border-color: transparent;
}

.search-icon {
    flex-shrink: 0;
}

.search-field {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #202124;
    background: transparent;
}

.search-field::placeholder {
    color: #9AA0A6;
}

.mic-icon,
.camera-icon {
    flex-shrink: 0;
    cursor: pointer;
}

.search-buttons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.search-btn,
.lucky-btn {
    padding: 10px 24px;
    font-size: 14px;
    color: #202124;
    background: #F8F9FA;
    border: 1px solid #F8F9FA;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.search-btn:hover,
.lucky-btn:hover {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: 1px solid #DADCE0;
    background: #F8F9FA;
}

/* Footer Styles */
.site-footer {
    background: #F2F2F2;
    margin-top: auto;
    width: 100%;
}

.footer-country {
    padding: 15px 32px;
    border-bottom: 1px solid #DADCE0;
    color: #70757A;
    font-size: 15px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    padding: 15px 32px;
    flex-wrap: wrap;
}

.footer-left,
.footer-right,
.footer-menu-list {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: #70757A;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 16px 20px 0;
        gap: 12px;
    }

    .header-logo svg {
        width: 70px;
        height: auto;
    }

    .header-right {
        gap: 12px;
    }

    .site-header a {
        font-size: 13px;
    }

    .search-container {
        margin-top: -60px;
        gap: 18px;
    }

    .logo-container svg {
        width: 180px;
        height: auto;
    }

    .search-box {
        max-width: 100%;
    }

    .search-form {
        height: 44px;
        padding: 0 14px;
        border-radius: 22px;
    }

    .search-field {
        font-size: 14px;
    }

    .search-buttons {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-btn,
    .lucky-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .footer-country {
        padding: 15px 20px;
        font-size: 14px;
    }

    .footer-links {
        flex-direction: column;
        padding: 15px 20px;
        gap: 16px;
    }

    .footer-left,
    .footer-right,
    .footer-menu-list {
        gap: 16px;
        font-size: 12px;
    }

    .footer-links a {
        font-size: 12px;
    }
}
