/*
Theme Name: ApprovedGuide
Theme URI: https://approvedguide.com
Author: ApprovedGuide Team
Author URI: https://approvedguide.com
Description: A modern WordPress theme for ApprovedGuide.com — a digital products marketplace for Personal Growth & Relationships niches (Dating & Relationships, Family, Self-Help). Features a vibrant gradient theme (#00C6FF, #7B3FE4, #FF4D6D), Poppins/Inter typography, WooCommerce-ready, fully responsive, and optimized for digital downloads.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: approvedguide
Tags: digital-products, e-commerce, blog, three-columns, custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready, woocommerce
*/

/* =========================================
   ApprovedGuide WP Theme - Main Stylesheet
   Brand: 90deg, #00C6FF, #7B3FE4, #FF4D6D
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --color-primary: #7B3FE4;
    --color-secondary: #00C6FF;
    --color-accent: #FF4D6D;
    --gradient-brand: linear-gradient(90deg, #00C6FF 0%, #7B3FE4 50%, #FF4D6D 100%);
    --gradient-soft: linear-gradient(135deg, rgba(0,198,255,0.08) 0%, rgba(123,63,228,0.08) 50%, rgba(255,77,109,0.08) 100%);
    --color-text: #1A1A2E;
    --color-text-light: #5A5A6E;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8F9FC;
    --color-border: #E8EAF0;
    --shadow-sm: 0 2px 8px rgba(123,63,228,0.06);
    --shadow-md: 0 8px 24px rgba(123,63,228,0.10);
    --shadow-lg: 0 20px 50px rgba(123,63,228,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-title: 'Poppins', sans-serif;
    --font-text: 'Inter', sans-serif;
    --font-alt: 'Montserrat', sans-serif;
    --container-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-text);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
}

a { color: var(--color-primary); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--color-accent); }
img { max-width: 100%; display: block; height: auto; }

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}
.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(123,63,228,0.30);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(123,63,228,0.45);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-mark {
    width: 42px; height: 42px;
    background: var(--gradient-brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(123,63,228,0.30);
}
.logo-text {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 20px;
    color: var(--color-text);
}
.logo-text span {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.main-nav ul {
    display: flex;
    gap: 8px;
    list-style: none;
}
.main-nav a {
    padding: 10px 16px;
    color: var(--color-text);
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.25s ease;
}
.main-nav a:hover, .main-nav .current-menu-item > a {
    background: var(--gradient-soft);
    color: var(--color-primary);
}

/* Hero */
.hero {
    position: relative;
    padding: 80px 0 100px;
    background: var(--gradient-soft);
    overflow: hidden;
    text-align: center;
}
.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    margin-bottom: 22px;
}
.hero p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head .eyebrow {
    display: inline-block;
    font-family: var(--font-alt);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--color-text-light); font-size: 17px; }

/* Posts/Products grid */
.post-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.post-card, .product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}
.post-card:hover, .product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.post-thumb, .product-thumb {
    height: 220px;
    background: var(--gradient-brand);
    overflow: hidden;
}
.post-thumb img, .product-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.post-body, .product-body { padding: 24px; }
.post-meta {
    font-size: 13px; color: var(--color-text-light); margin-bottom: 10px;
}
.post-card h2, .post-card h3, .product-card h2, .product-card h3 {
    font-size: 19px; margin-bottom: 10px; line-height: 1.4;
}
.post-card h2 a, .post-card h3 a { color: var(--color-text); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--color-primary); }

/* Single post / page */
.entry-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 50px 24px;
}
.entry-content h1, .entry-content h2 {
    margin-top: 40px; margin-bottom: 16px;
}
.entry-content p { margin-bottom: 18px; color: var(--color-text); line-height: 1.8; }
.entry-content img { border-radius: var(--radius-md); margin: 20px 0; }
.entry-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 16px 24px;
    background: var(--gradient-soft);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
    font-style: italic;
}

/* Sidebar / Widgets */
.widget {
    background: #fff;
    padding: 26px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px solid var(--color-border);
}
.widget-title {
    font-size: 17px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
}

/* Comments */
.comment-list { list-style: none; padding: 0; }
.comment {
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--color-bg-alt);
    margin-bottom: 16px;
}

/* Footer */
.site-footer {
    background: #0F0F1E;
    color: #B5B5C8;
    padding: 70px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.site-footer .logo-text { color: #fff; }
.footer-widget h5 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-widget ul { list-style: none; }
.footer-widget ul li { margin-bottom: 10px; }
.footer-widget ul a { color: #B5B5C8; font-size: 14px; }
.footer-widget ul a:hover { color: var(--color-secondary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 26px;
    text-align: center;
    font-size: 13px;
}

/* Pagination */
.pagination {
    display: flex; gap: 8px; justify-content: center; margin-top: 50px;
}
.pagination a, .pagination span {
    padding: 10px 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 500;
}
.pagination .current {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .post-grid, .product-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .main-nav { display: none; }
    .main-nav.open { display: block; position: absolute; top: 78px; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: var(--shadow-md); }
    .main-nav.open ul { flex-direction: column; }
}
