/*
Theme Name: My Custom Theme
Theme URI: https://example.com
Author: Custom
Author URI: https://example.com
Description: A lightweight classic WordPress theme with a custom homepage template built in.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}
a { color: #0073aa; text-decoration: none; }
a:hover { color: #005177; }
img { max-width: 100%; height: auto; }

/* ===== HEADER ===== */
.site-header {
    background: #222;
    color: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-header .site-title a { color: #fff; font-size: 1.5rem; font-weight: 700; }
.site-header nav a { color: #ccc; margin-left: 20px; font-size: 0.95rem; }
.site-header nav a:hover { color: #fff; }

/* ===== FOOTER ===== */
.site-footer {
    background: #222;
    color: #aaa;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

/* ===== CONTENT ===== */
.site-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ===== HOMEPAGE HERO ===== */
.hero-section {
    background: linear-gradient(135deg, #0073aa, #005177);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}
.hero-section h1 { font-size: 3rem; margin-bottom: 15px; }
.hero-section p { font-size: 1.25rem; max-width: 600px; margin: 0 auto 30px; opacity: 0.9; }
.hero-btn {
    display: inline-block;
    background: #fff;
    color: #0073aa;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s;
}
.hero-btn:hover { transform: scale(1.05); color: #005177; }

/* ===== HOMEPAGE SECTIONS ===== */
.home-section {
    padding: 80px 20px;
    text-align: center;
}
.home-section:nth-child(even) { background: #f7f7f7; }
.home-section h2 { font-size: 2rem; margin-bottom: 15px; color: #222; }
.home-section p { max-width: 700px; margin: 0 auto 30px; font-size: 1.05rem; color: #555; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.feature-card h3 { margin-bottom: 10px; color: #0073aa; }

/* ===== BLOG / DEFAULT ===== */
.post-entry {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}
.post-entry h2 a { color: #222; }
.post-entry h2 a:hover { color: #0073aa; }
.read-more { font-weight: 600; }
