/*
Theme Name: Custom Starter Theme
Theme URI: https://example.com/
Author: Developer
Description: A lightweight, ultra-fast, modern, mobile responsive and 100% SEO optimized WordPress starter theme.
Version: 1.0
Text Domain: custom-starter-theme
*/

:root {
    --primary-color: #0066cc;
    --text-color: #333333;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e5e7eb;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family); color: var(--text-color); background-color: var(--bg-color); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }

header { background: var(--bg-color); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; }
.site-header { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.site-title a { font-size: 1.5rem; font-weight: 700; color: var(--text-color); }
.main-navigation ul { display: flex; list-style: none; gap: 1.5rem; }
.main-navigation a { color: var(--text-color); font-weight: 500; }

main { flex: 1; max-width: 1200px; width: 100%; margin: 2rem auto; padding: 0 2rem; }
.hentry { background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 8px; padding: 2rem; margin-bottom: 2rem; }
.entry-title { font-size: 2rem; margin-bottom: 1rem; }

footer { background: var(--light-bg); border-top: 1px solid var(--border-color); text-align: center; padding: 1.5rem; font-size: 0.9rem; color: #666; }

@media (max-width: 768px) {
    .site-header { flex-direction: column; gap: 1rem; padding: 1rem; }
    .main-navigation ul { flex-direction: column; align-items: center; gap: 0.5rem; }
    main { padding: 0 1rem; margin: 1rem auto; }
}

/* Typography & Utility Classes */
h1, h2, h3, h4, h5, h6 { margin-bottom: 1rem; color: #111; line-height: 1.2; }
p { margin-bottom: 1rem; }
img { max-width: 100%; height: auto; border-radius: 4px; }

/* Buttons */
.submit-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}
.submit-btn:hover { opacity: 0.9; }

/* Alignments */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1.5rem; }

/* Responsive Tables */
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
th, td { padding: 0.75rem; border: 1px solid var(--border-color); }
