/*
Theme Name: Harvest Moon Rice Multi
Theme URI: https://example.com/
Author: Hector Matos & ChatGPT
Author URI: https://example.com/
Description: Multi-page brand theme for Harvest Moon Rice (Home, Products, Wholesale, Contact).
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: harvest-moon-rice-multi
*/

:root {
  --navy: #08204a;
  --navy-dark: #030b20;
  --cream: #f7f0df;
  --text-main: #132040;
  --text-nav: #f9fafb;
  --accent: #f7c948;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  background: var(--cream);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER / NAV */

header.site-header {
  background: var(--navy);
  color: var(--text-nav);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  overflow: hidden;
  background: #0b214b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(0,0,0,0.4);
}

.nav-logo-circle img {
  max-width: 100%;
  height: auto;
  display: block;
}

.nav-brand-text {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after,
.nav-links a.nav-active::after {
  width: 100%;
}

/* MAIN LAYOUT */

main.site-main {
  flex: 1;
}

/* HERO (HOME) */

.hero {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 20px 70px;
  text-align: center;
}

.hero-logo {
  width: 200px;
  height: 200px;
  margin: 0 auto 26px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0,0,0,0.18);
  background: #0b214b;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.brand-name {
  font-size: 2.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 6px;
  line-height: 1.1;
}

.brand-name span {
  display: block;
}

.brand-tagline {
  margin-top: 8px;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: var(--navy-dark);
  margin: 22px auto 20px;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* INNER PAGES */

.page-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 70px;
}

.page-title {
  text-align: center;
  font-size: 2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 14px;
}

.page-subtitle {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 30px;
}

.page-content {
  font-size: 1rem;
  line-height: 1.8;
}

.page-content h2 {
  font-size: 1.3rem;
  margin: 24px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.page-content p {
  margin-bottom: 12px;
}

.page-content ul {
  margin: 0 0 16px 1.5rem;
}

.page-content li {
  margin-bottom: 6px;
}

/* CONTACT FORM STYLES */

.contact-form label {
  display: block;
  margin-bottom: 12px;
}

.contact-form span.label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  margin-top: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  background: var(--navy);
  color: var(--text-nav);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
}

/* FOOTER */

footer.site-footer {
  background: var(--navy);
  color: var(--text-nav);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* RESPONSIVE */

@media (max-width: 700px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    font-size: 0.8rem;
    gap: 16px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-logo {
    width: 170px;
    height: 170px;
  }

  .brand-name {
    font-size: 2.1rem;
  }

  .brand-tagline {
    font-size: 1rem;
  }

  .page-inner {
    padding-top: 40px;
  }
}
