/*
Theme Name: Flavor Starter
Theme URI: https://example.com/flavor-starter
Author: Starter Themes
Author URI: https://example.com
Description: A completely blank WordPress theme. Centered logo, menu bar, content area for shortcodes. No background colors or fancy styling. Customizer compatible.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flavor-starter
Tags: one-column, custom-logo, custom-menu, editor-style, translation-ready
*/

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

/* === HEADER === */
.site-header {
    text-align: center;
    padding: 30px 20px 0;
}

.site-logo { display: inline-block; margin-bottom: 15px; }
.site-logo img { max-height: 80px; width: auto; margin: 0 auto; }

.site-title { font-size: 1.8rem; font-weight: 700; }
.site-title a { text-decoration: none; color: inherit; }

.site-description { font-size: 0.9rem; margin-bottom: 15px; }

/* === NAVIGATION === */
.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-navigation a {
    display: block;
    padding: 10px 18px;
    text-decoration: none;
    color: inherit;
}

.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    flex-direction: column;
    z-index: 1000;
}

.main-navigation li { position: relative; }
.main-navigation li:hover > ul { display: flex; }

.menu-toggle {
    display: none;
    border: 1px solid #ccc;
    background: none;
    padding: 8px 18px;
    cursor: pointer;
    margin: 8px auto;
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-navigation ul { display: none; flex-direction: column; align-items: center; }
    .main-navigation.toggled ul { display: flex; }
    .main-navigation ul ul { position: static; }
}

/* === CONTENT === */
.site-content {
    width: 100%;
    margin: 0;
    padding: 0 0 30px 0;
}

.site-main {
    margin: 0;
    padding: 0;
}

.entry-title { font-size: 1.5rem; margin-bottom: 10px; }
.entry-title a { text-decoration: none; color: inherit; }
.page .entry-title { display: none; }
.entry-meta { font-size: 0.85rem; margin-bottom: 15px; }
.entry-content { margin-bottom: 30px; }
.entry-content p { margin-bottom: 1em; }
.entry-content ul, .entry-content ol { margin: 0 0 1em 1.5em; }
.entry-footer { font-size: 0.85rem; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #ddd; }

/* === FOOTER === */
.site-footer { text-align: center; padding: 20px; font-size: 0.85rem; }

/* === FORMS (plugin compat) === */
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], textarea, select {
    border: 1px solid #ccc;
    padding: 8px 12px;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    font-family: inherit;
}

button, input[type="submit"], input[type="button"] {
    padding: 8px 20px;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
}

/* === COMMENTS === */
.comments-area { margin-top: 30px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 12px 0; border-bottom: 1px solid #ddd; }
.comment-meta { font-size: 0.85rem; margin-bottom: 6px; }

/* === ALIGNMENT === */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 1em auto; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* === WP === */
.wp-caption { max-width: 100%; margin-bottom: 1em; }
.wp-caption-text { font-size: 0.85rem; padding-top: 5px; }
.gallery { display: flex; flex-wrap: wrap; gap: 10px; }

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
}

/* === PAGINATION === */
.nav-links { display: flex; justify-content: space-between; gap: 20px; margin: 20px 0; }
.page-numbers { padding: 6px 12px; }
.page-numbers.current { font-weight: 700; }

/* === WIDGETS === */
.widget { margin-bottom: 25px; }
.widget-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.widget ul { list-style: none; padding: 0; }
