/*
Theme Name: DailyUseTools Theme
Theme URI: https://dailyusetools.site
Author: Generated by ChatGPT for Zain
Author URI: https://brandweb.net
Description: A lightweight WordPress theme converted from a static homepage. Customizable via the WordPress Customizer.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dailyusetools-theme
Tags: one-column, custom-logo, custom-menu, accessibility-ready
*/

/* ===== THEME CSS (from your original static page) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Segoe UI", -apple-system, Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}
a {
    text-decoration: none;
    color: #333;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
header {
    background: #000;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}
nav ul {
    display: flex;
    list-style: none;
}
nav ul li {
    margin-left: 25px;
}
nav ul li a {
    color: #fff;
    font-weight: 500;
    transition: opacity 0.3s;
}
nav ul li a:hover {
    opacity: 0.8;
}
.hero {
    background: #f9f9f9;
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #000;
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #555;
}
.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
#searchForm {
    display: flex;
}
#searchInput {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    font-family: "Segoe UI", sans-serif;
}
#searchButton {
    padding: 0 25px;
    background: #000;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}
#searchButton:hover {
    background: #333;
}
#searchResults {
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
    display: none;
    z-index: 10;
}
.search-result-item {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.search-result-item:hover {
    background: #f5f5f5;
}
.section {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #000;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.tool-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #000;
}
.tool-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}
.tool-card p {
    color: #666;
    margin-bottom: 15px;
}
.tool-link {
    display: inline-block;
    padding: 8px 15px;
    background: #000;
    color: white;
    border-radius: 4px;
    font-weight: 500;
}
.ad-container {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    margin: 40px 0;
    border: 1px dashed #ccc;
}
footer {
    background: #000;
    color: #fff;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #fff;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul li a {
    color: #ccc;
    transition: color 0.3s;
}
.footer-column ul li a:hover {
    color: #fff;
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 15px;
    }
    nav ul li {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 2rem;
    }
}