/*
Theme Name: Milady's Court (Feminine Forum Child)
Theme URI: https://example.com
Description: A premium, feminine child theme built on Hello Elementor for a women's community forum. White, Orange, Rust, Magenta, and Black palette. Pairs with Elementor, bbPress, and BuddyPress.
Author: Your Name
Author URI: https://example.com
Template: hello-elementor
Version: 1.0.0
Text Domain: miladys-court
*/

/* ==========================================================================
   MILADY'S COURT — CORE DESIGN TOKENS
   ========================================================================== */

:root {
  --bc-ivory: #FDFBF7;
  --bc-rose-gold: #B76E79;
  --bc-mauve: #9C6B78;
  --bc-mauve-dark: #7A5460;
  --bc-sage: #A8B5A0;
  --bc-charcoal: #3A3435;
  --bc-white: #FFFFFF;
  --bc-card-shadow: 0 4px 20px rgba(155, 107, 120, 0.08);
  --bc-card-shadow-hover: 0 8px 28px rgba(183, 110, 121, 0.18);

  --bc-font-heading: 'Playfair Display', Georgia, serif;
  --bc-font-body: 'Nunito Sans', -apple-system, sans-serif;

  --bc-radius: 16px;
  --bc-radius-sm: 10px;
}

body {
  background-color: var(--bc-ivory);
  color: var(--bc-charcoal);
  font-family: var(--bc-font-body);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  font-family: var(--bc-font-heading);
  color: var(--bc-mauve-dark);
  font-weight: 600;
  letter-spacing: 0.2px;
}

a {
  color: var(--bc-rose-gold);
  transition: color 0.25s ease;
}
a:hover { color: var(--bc-mauve-dark); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.elementor-button,
button,
input[type="submit"],
.bbp-submit-wrapper input[type="submit"] {
  background: linear-gradient(135deg, var(--bc-rose-gold), var(--bc-mauve));
  color: var(--bc-white) !important;
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: var(--bc-card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.elementor-button:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--bc-card-shadow-hover);
}

/* ==========================================================================
   CARDS / POSTS / GENERAL CONTAINERS
   ========================================================================== */

.bc-card,
.bbp-topic-content,
.bbp-forum-content,
article {
  background: var(--bc-white);
  border-radius: var(--bc-radius);
  box-shadow: var(--bc-card-shadow);
  padding: 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.bc-card:hover { box-shadow: var(--bc-card-shadow-hover); }

/* Soft sage divider — used sparingly */
.bc-divider, hr {
  border: none;
  border-top: 2px solid var(--bc-sage);
  opacity: 0.5;
  width: 60px;
  margin: 24px auto;
}

/* Category badges/tags */
.bc-badge,
.bbp-topic-tag,
span.category-badge {
  display: inline-block;
  background: rgba(168, 181, 160, 0.18);
  color: var(--bc-mauve-dark);
  border: 1px solid var(--bc-sage);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==========================================================================
   bbPress FORUM STYLING
   ========================================================================== */

#bbpress-forums {
  font-family: var(--bc-font-body);
}
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-body {
  background: transparent;
}
#bbpress-forums ul.bbp-forums-list li,
#bbpress-forums div.bbp-forum-content {
  border-radius: var(--bc-radius-sm);
}
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink {
  font-family: var(--bc-font-heading);
  color: var(--bc-mauve-dark);
  font-weight: 600;
}
#bbpress-forums fieldset.bbp-form {
  background: var(--bc-white);
  border: 1px solid rgba(168, 181, 160, 0.3);
  border-radius: var(--bc-radius);
  padding: 20px;
}
#bbpress-forums fieldset.bbp-form legend {
  color: var(--bc-mauve);
  font-family: var(--bc-font-heading);
}

/* Comment / reply boxes */
.bbp-reply-content,
#bbpress-forums .bbp-reply-header {
  border-radius: var(--bc-radius-sm);
}
.bbp-reply-content {
  background: var(--bc-ivory);
  border-left: 3px solid var(--bc-rose-gold);
  padding: 16px 20px;
}

/* ==========================================================================
   BUDDYPRESS PROFILE STYLING
   ========================================================================== */

#buddypress .standard-form input[type=submit],
#buddypress a.button,
#buddypress button {
  background: linear-gradient(135deg, var(--bc-rose-gold), var(--bc-mauve));
  color: var(--bc-white);
  border-radius: 30px;
  border: none;
}
#buddypress div.item-list-tabs ul li.selected a,
#buddypress div#item-header-avatar img,
#buddypress .avatar {
  border: 3px solid var(--bc-rose-gold);
  border-radius: 50%;
}
#buddypress div.item-list-tabs#object-nav ul {
  border-bottom: 2px solid var(--bc-sage);
}

/* ==========================================================================
   HERO / BANNER
   ========================================================================== */

.bc-hero {
  background: linear-gradient(135deg, var(--bc-ivory) 0%, #F3E5E7 100%);
  border-radius: var(--bc-radius);
  padding: 80px 40px;
  text-align: center;
}
.bc-hero h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}
.bc-hero p {
  color: var(--bc-charcoal);
  font-size: 1.2rem;
  opacity: 0.85;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .bc-hero { padding: 50px 20px; }
  .bc-hero h1 { font-size: 2.1rem; }
}

/* ==========================================================================
   LAYOUT SHELL — NAV, CONTAINER, FOOTER (used by page templates)
   ========================================================================== */

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

.bc-nav {
  background: var(--bc-white);
  border-bottom: 1px solid rgba(168, 181, 160, 0.25);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.bc-nav .bc-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.bc-nav-logo {
  font-family: var(--bc-font-heading);
  font-size: 1.5rem;
  color: var(--bc-mauve-dark);
  font-weight: 700;
  text-decoration: none;
}
.bc-nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bc-nav-links a {
  color: var(--bc-charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.bc-nav-links a:hover { color: var(--bc-rose-gold); }

.bc-section {
  padding: 70px 0;
}
.bc-section.bc-alt-bg {
  background: #FBF3F2;
}
.bc-section-title {
  text-align: center;
  margin-bottom: 12px;
}
.bc-section-subtitle {
  text-align: center;
  color: var(--bc-charcoal);
  opacity: 0.75;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* Feature / category grid */
.bc-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.bc-feature-card {
  background: var(--bc-white);
  border-radius: var(--bc-radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--bc-card-shadow);
  text-decoration: none;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bc-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bc-card-shadow-hover);
}
.bc-feature-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}
.bc-feature-card h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--bc-mauve-dark);
}
.bc-feature-card p {
  font-size: 0.88rem;
  color: var(--bc-charcoal);
  opacity: 0.7;
  margin: 0;
}

/* CTA banner */
.bc-cta {
  background: linear-gradient(135deg, var(--bc-mauve), var(--bc-rose-gold));
  border-radius: var(--bc-radius);
  padding: 60px 40px;
  text-align: center;
  color: var(--bc-white);
}
.bc-cta h2, .bc-cta p { color: var(--bc-white); }
.bc-cta .elementor-button,
.bc-cta a.bc-btn {
  background: var(--bc-white);
  color: var(--bc-mauve-dark) !important;
  display: inline-block;
  margin-top: 16px;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* Generic button class for use in templates */
a.bc-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--bc-rose-gold), var(--bc-mauve));
  color: var(--bc-white) !important;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--bc-card-shadow);
  transition: transform 0.2s ease;
}
a.bc-btn:hover { transform: translateY(-2px); }

/* Content page styling (About, Guidelines, Privacy) */
.bc-content-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 70px 24px;
}
.bc-content-page h1 { margin-bottom: 8px; }
.bc-content-page .bc-updated {
  color: var(--bc-charcoal);
  opacity: 0.6;
  font-size: 0.85rem;
  margin-bottom: 40px;
}
.bc-content-page h2 {
  margin-top: 40px;
  font-size: 1.4rem;
  border-bottom: 2px solid var(--bc-sage);
  padding-bottom: 8px;
  display: inline-block;
}
.bc-content-page p, .bc-content-page li {
  color: var(--bc-charcoal);
  font-size: 1rem;
}
.bc-content-page ul { padding-left: 20px; }

.bc-guideline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bc-white);
  border-radius: var(--bc-radius-sm);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--bc-card-shadow);
}
.bc-guideline-number {
  font-family: var(--bc-font-heading);
  font-size: 1.4rem;
  color: var(--bc-rose-gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* Contact form */
.bc-contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.bc-contact-form input[type="text"],
.bc-contact-form input[type="email"],
.bc-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(168, 181, 160, 0.5);
  border-radius: var(--bc-radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-family: var(--bc-font-body);
  background: var(--bc-white);
}
.bc-contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bc-mauve-dark);
  display: block;
  margin-bottom: 6px;
}
.bc-contact-info {
  background: var(--bc-white);
  border-radius: var(--bc-radius);
  padding: 30px;
  box-shadow: var(--bc-card-shadow);
}

.bc-footer {
  background: var(--bc-mauve-dark);
  color: var(--bc-ivory);
  text-align: center;
  padding: 40px 24px;
  margin-top: 60px;
}
.bc-footer a { color: var(--bc-ivory); opacity: 0.85; }
.bc-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .bc-features-grid { grid-template-columns: repeat(2, 1fr); }
  .bc-contact-wrap { grid-template-columns: 1fr; }
  .bc-nav-links { gap: 16px; font-size: 0.85rem; }
}
