/*
Theme Name: AdPolicyGuide Child Theme
Theme URI: https://adpolicyguide.com
Description: Child theme for AdPolicyGuide - Google Ads Policy Consultation website
Author: AdPolicyGuide Team
Author URI: https://adpolicyguide.com
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adpolicyguide-child
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');

/* ============================================
   ADPOLICYGUIDE - CUSTOM STYLES
   ============================================ */

:root {
    --primary-color: #4285f4;
    --primary-dark: #3367d6;
    --primary-light: #669df6;
    --secondary-color: #34a853;
    --text-dark: #202124;
    --text-medium: #5f6368;
    --text-light: #80868b;
    --border-color: #dadce0;
    --bg-light: #f8f9fa;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 72px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

/* Global Styles */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; margin-top: var(--spacing-md); }
h3 { font-size: 1.75rem; }

p { color: var(--text-medium); }

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-medium);
}

a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn-primary,
.wp-block-button__link,
.ast-button,
.button {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 14px 32px !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--shadow-sm);
    border: none !important;
}

.btn-primary:hover,
.wp-block-button__link:hover,
.ast-button:hover,
.button:hover {
    background: var(--primary-dark) !important;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    padding: 14px 32px !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
}

.btn-secondary:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Header */
.site-header {
    background: white;
    box-shadow: var(--shadow-sm);
}

.site-title a,
.site-logo-img {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.main-header-menu a {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.main-header-menu a:hover,
.main-header-menu .current-menu-item a {
    background: var(--bg-light);
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.hero-section h1 {
    color: white !important;
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
}

.hero-section .lead {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
}

.hero-section .disclaimer {
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--spacing-lg);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.feature {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.feature:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

/* Process Steps */
.process-steps,
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.step,
.process-step {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

/* Service Sections */
.service-section {
    background: white;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.service-section h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin: var(--spacing-xl) 0;
}

.cta-section h2 {
    color: white !important;
    margin-top: 0;
}

.cta-section p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.25rem;
}

.cta-section .btn-primary {
    background: white !important;
    color: var(--primary-color) !important;
}

.cta-section .btn-primary:hover {
    background: var(--bg-light) !important;
}

/* Disclaimer Box */
.disclaimer,
.disclaimer-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.disclaimer strong,
.disclaimer-box strong {
    color: #856404;
}

.disclaimer p,
.disclaimer-box p {
    margin: 0;
    color: #856404;
}

/* Resource Cards */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.resource-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.resource-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.resource-card h3 {
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    margin: var(--spacing-lg) 0;
}

.faq-item {
    background: white;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0;
}

/* Contact Forms */
.contact-form-container {
    max-width: 800px;
    margin: var(--spacing-lg) auto;
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
    margin-bottom: var(--spacing-sm);
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.wpcf7-form textarea {
    min-height: 150px;
}

.wpcf7-form input[type="submit"] {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 15px 40px !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
}

/* Contact Options */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.contact-method {
    background: var(--bg-light);
    padding: var(--spacing-md);
    text-align: center;
    border-radius: var(--radius-md);
    border-top: 4px solid var(--primary-color);
}

.contact-method h3 {
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-widget h3,
.footer-widget h4 {
    color: white !important;
}

.footer-widget p,
.footer-widget a {
    color: #cccccc;
}

.footer-widget a:hover {
    color: white;
}

/* Sidebar Widgets */
.widget {
    background: white;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.widget h2,
.widget h3 {
    color: var(--text-dark);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
}

.sidebar-cta h3 {
    color: white !important;
    border: none;
}

.sidebar-cta .btn-primary {
    background: white !important;
    color: var(--primary-color) !important;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-section {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .features-grid,
    .process-steps,
    .resource-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-lg { margin-bottom: var(--spacing-lg); }
