/*
 Theme Name:   GeneratePress Child - iLovePDF Style
 Theme URI:    https://generatepress.com
 Description:  A minimal, full-width child theme for GeneratePress inspired by iLovePDF UI.
 Author:       Antigravity
 Author URI:   https://google.com
 Template:     generatepress
 Version:      1.0.0
 License:      GPLv2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, red, one-column, fluid-layout, responsive-layout
 Text Domain:  generatepress-child
*/

:root {
    --primary-color: #e5322d;
    --primary-hover: #c92a26;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --font-main: 'Inter', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

/* =Header
-------------------------------------------------------------- */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid #eeeeee;
    box-shadow: var(--shadow-sm);
}

.main-navigation {
    background-color: var(--white);
}

.main-navigation .main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
}

.main-navigation .main-nav ul li:hover > a, 
.main-navigation .main-nav ul li.current-menu-item > a {
    color: var(--primary-color);
    background-color: transparent;
}

/* =Layout & Container
-------------------------------------------------------------- */
.site-content {
    padding: 0; /* Full width feel */
}

.grid-container {
    max-width: 1200px;
}

.entry-header {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--bg-light); /* Hero section distinctive background */
}

h1.entry-title {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.entry-content {
    margin-top: 2rem;
}

/* =Tools Grid System (Requested)
   Use this HTML structure: <div class="tool-grid"><div class="tool-card">...</div></div>
-------------------------------------------------------------- */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.tool-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center; /* iLovePDF centers their tool icons/text */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eee;
    text-decoration: none;
    display: flex; /* Ensure full height clickability if <a> wraps it */
    flex-direction: column;
    align-items: center;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.tool-card i, 
.tool-card svg {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.tool-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* =Buttons
-------------------------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wp-block-button__link {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 6px; /* Slightly softer than standard squared square */
    padding: 12px 30px;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s;
    border: none;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.wp-block-button__link:hover {
    background-color: var(--primary-hover);
    color: var(--white);
}

/* =Footer
-------------------------------------------------------------- */
.site-footer {
    background-color: #f7f9fc;
    border-top: 1px solid #eee;
    padding: 3rem 0;
    color: var(--text-light);
}

.site-footer a {
    color: var(--text-color);
}
.site-footer a:hover {
    color: var(--primary-color);
}
