/*
Theme Name: Info Financial
Theme URI: https://example.com/info-theme
Author: Piyush Kothari
Author URI: https://example.com
Description: A professional financial theme with 'Ayush Life Elements' hooks.
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: info
*/

:root {
    --primary: #2e5bf0;
    --primary-dark: #1a42b8;
    --success: #10b981;
    --text-main: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-light);
}

h1, h2, h3, h4, h5 { margin-top: 0; line-height: 1.2; font-weight: 700; color: #111827; }
a { color: var(--primary); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.site-branding { font-size: 1.5rem; font-weight: 800; }
.site-branding a { color: var(--text-main); }

/* Menu */
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; align-items: center; }
.main-navigation a { color: var(--text-main); font-weight: 500; font-size: 0.95rem; }
.main-navigation a:hover { color: var(--primary); }
.main-navigation li:last-child a { background: var(--primary); color: white; padding: 8px 20px; border-radius: 50px; }
.main-navigation li:last-child a:hover { background: var(--primary-dark); transform: translateY(-1px); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-main); }

/* Hero */
.hero-section { background: var(--white); padding: 80px 0 60px; text-align: center; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-tag { background: #eff6ff; color: var(--primary); padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; display: inline-block; margin-bottom: 20px; }
.hero-title { font-size: 3rem; margin-bottom: 20px; letter-spacing: -1px; }
.hero-text { font-size: 1.15rem; color: var(--text-light); margin-bottom: 40px; }
.search-box { max-width: 500px; margin: 0 auto; position: relative; }
.search-box input { width: 100%; padding: 15px 20px; border: 2px solid var(--border); border-radius: 50px; font-size: 1rem; outline: none; transition: border-color 0.2s; }
.search-box input:focus { border-color: var(--primary); }

/* Products */
.products-section { padding: 60px 0; }
.section-title { font-size: 2rem; margin-bottom: 10px; }
.section-subtitle { color: var(--text-light); margin-bottom: 40px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.product-card { background: var(--white); padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); transition: all 0.3s ease; display: flex; flex-direction: column; height: 100%; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.card-icon { width: 50px; height: 50px; background: #eff6ff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; color: var(--primary); }
.product-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.product-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.card-link { font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; }

/* Posts */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
.post { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow 0.3s; }
.post:hover { box-shadow: var(--shadow-hover); }
.post-thumbnail { height: 180px; background: #e5e7eb; display: flex; align-items: center; justify-content: center; color: #9ca3af; overflow: hidden; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.entry-body { padding: 20px; }
.entry-title { font-size: 1.1rem; margin-bottom: 8px; }
.entry-meta { font-size: 0.8rem; color: var(--text-light); margin-bottom: 10px; }
.btn-small { font-size: 0.8rem; font-weight: 600; color: var(--primary); }

/* Footer */
.site-footer { background: #111827; color: #9ca3af; padding: 60px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; border-bottom: 1px solid #374151; padding-bottom: 40px; }
.footer-widget h3 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer-widget ul { list-style: none; padding: 0; }
.footer-widget li { margin-bottom: 10px; }
.footer-widget a { color: #9ca3af; }
.footer-widget a:hover { color: var(--white); }
.site-info { text-align: center; font-size: 0.85rem; }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-navigation { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-hover); padding: 20px; }
    .main-navigation.toggled { display: block; }
    .main-navigation ul { flex-direction: column; align-items: flex-start; }
    .main-navigation li:last-child a { display: inline-block; margin-top: 10px; }
    .hero-title { font-size: 2.2rem; }
}