/* ================================
   Morganton Point General Store
   Styles — Warm Rustic Mountain/Lake
   ================================ */

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

:root {
  --brown:        #6b3f1f;
  --brown-dark:   #3e2209;
  --brown-light:  #a0622a;
  --amber:        #d4873a;
  --amber-light:  #f0b96b;
  --cream:        #fdf6ee;
  --cream-dark:   #f3e8d8;
  --text:         #2a1a0a;
  --text-muted:   #6b5240;
  --border:       #e0ccb8;
  --white:        #ffffff;
  --shadow:       0 2px 14px rgba(60,30,0,0.10);
  --radius:       10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
}

a { color: var(--brown-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ========== HEADER ========== */
header {
  background: var(--brown-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 12px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 2rem; }
.logo-name { font-size: 1.1rem; font-weight: 700; color: var(--white); letter-spacing: 0.3px; font-family: Georgia, serif; }
.logo-sub { font-size: 0.75rem; color: var(--amber-light); }

header nav { display: flex; gap: 4px; }
header nav a {
  color: rgba(255,255,255,0.85);
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: background 0.15s;
}
header nav a:hover, header nav a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--brown-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.9);
  padding: 14px 24px;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.08); text-decoration: none; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.btn-primary { background: var(--amber); color: var(--white); border-color: var(--amber); }
.btn-primary:hover { background: var(--brown-light); border-color: var(--brown-light); text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
  margin-left: 10px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.btn-outline { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--white); text-decoration: none; }
.btn-full { width: 100%; display: block; }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(160deg, var(--brown-dark) 0%, var(--brown) 60%, var(--brown-light) 100%);
  color: var(--white);
  padding: 90px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Ccircle cx='200' cy='200' r='180' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='40'/%3E%3C/svg%3E") center/cover;
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--amber-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: -apple-system, sans-serif;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-family: Georgia, serif;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  margin: 0 auto 2rem;
  font-family: -apple-system, sans-serif;
  font-style: italic;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== PAGE HERO ========== */
.page-hero {
  background: var(--brown-dark);
  color: var(--white);
  padding: 52px 0 56px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 0.5rem; font-family: Georgia, serif; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.05rem; font-family: -apple-system, sans-serif; }

/* ========== FEATURES / WHY US ========== */
.features {
  padding: 74px 0;
  background: var(--white);
}
.features h2, .store-section h2, .hours-section h2 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--brown-dark);
  font-family: Georgia, serif;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-top: -1.8rem;
  margin-bottom: 2.5rem;
  font-style: italic;
  font-size: 0.97rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
}
.feature-icon { font-size: 2.4rem; margin-bottom: 0.8rem; }
.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--brown-dark); font-family: Georgia, serif; }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); font-family: -apple-system, sans-serif; }

/* ========== STORE SECTION ========== */
.store-section { padding: 74px 0; background: var(--cream-dark); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}
.category-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Georgia, serif;
}
.category-card ul {
  list-style: none;
  padding: 0;
}
.category-card ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  font-family: -apple-system, sans-serif;
}
.category-card ul li:last-child { border-bottom: none; }
.badge-pending {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  font-weight: 600;
  font-family: -apple-system, sans-serif;
}

/* ========== HOURS SECTION ========== */
.hours-section { padding: 74px 0; background: var(--white); }
.hours-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: -apple-system, sans-serif;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 600; color: var(--brown-dark); }
.hours-row .time { color: var(--text-muted); font-style: italic; }
.hours-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  font-family: -apple-system, sans-serif;
}

/* ========== MAP / LOCATION ========== */
.location-section { padding: 60px 0 74px; background: var(--cream-dark); }
.location-section h2 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--brown-dark);
  font-family: Georgia, serif;
}
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.cta h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: 0.7rem; font-family: Georgia, serif; }
.cta p { color: rgba(255,255,255,0.88); margin-bottom: 1.5rem; font-family: -apple-system, sans-serif; }

/* ========== CONTACT PAGE ========== */
.contact-section { padding: 64px 0; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.contact-form-wrap h2, .contact-info h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 1.2rem;
  font-family: Georgia, serif;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
  font-family: -apple-system, sans-serif;
}
.required { color: #b33; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s;
  font-family: -apple-system, sans-serif;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  font-family: -apple-system, sans-serif;
}
.info-item:last-child { border-bottom: none; }
.info-icon { font-size: 1.3rem; min-width: 28px; text-align: center; }
.info-item a { color: var(--brown-light); }

/* ========== THANKS PAGE ========== */
.thanks-section {
  padding: 80px 0;
  text-align: center;
}
.thanks-icon { font-size: 4rem; margin-bottom: 1rem; }
.thanks-section h1 { font-size: 2rem; font-weight: 700; color: var(--brown-dark); margin-bottom: 0.8rem; font-family: Georgia, serif; }
.thanks-section p { font-size: 1.1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto 2rem; font-family: -apple-system, sans-serif; }

/* ========== FOOTER ========== */
footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.75);
  padding: 36px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  font-size: 0.9rem;
  line-height: 1.8;
  font-family: -apple-system, sans-serif;
}
.footer-inner a { color: var(--amber-light); }
.footer-nav { display: flex; flex-direction: column; gap: 4px; }
.footer-nav a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--white); text-decoration: none; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 14px 20px;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-family: -apple-system, sans-serif;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  header nav { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 60px 0 70px; }
  .btn-secondary { margin-left: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}
