/* ===== PETAL & PEARL EVENTS — STYLESHEET ===== */
/* Palette: Blush Garden × Warm Botanical */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@200;300;400;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --blush:       #E8C0D8;
  --blush-dark:  #CC0060;
  --terracotta:  #CC0060;
  --terra-dark:  #A0004A;
  --cream:       #F6F2FA;
  --ivory:       #FAF6FF;
  --sage:        #B8AECE;
  --olive:       #7A5590;
  --gold:        #C9A227;
  --gold-light:  #E8CC60;
  --text:        #1C1428;
  --text-light:  #4A3060;
  --white:       #FFFFFF;
  --shadow:      rgba(28,20,40,0.14);
  --charcoal:    #2E2438;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: #FAFAF8;
  color: #1C1428;
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--text);
  line-height: 1.3;
}

a { color: var(--terracotta); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--terra-dark); }

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

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

/* ===== NAV ===== */
#main-nav {
  background: #2E2438;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px var(--shadow);
}

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

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--terracotta);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #E8DFF4;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: #FF4D8F;
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #F4EEF8;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    gap: 0.6rem;
  }
  .nav-links.open { display: flex; }
  .nav-inner { flex-wrap: wrap; }
}

/* ===== FOOTER ===== */
#main-footer {
  background: #1C1428;
  color: var(--cream);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--blush);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.footer-brand p { font-size: 0.9rem; color: #ccc; }

.footer-links h4 { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: #ccc; font-size: 0.9rem; }
.footer-links a:hover { color: var(--blush); }

.footer-social { display: flex; gap: 1rem; margin-top: 0.8rem; font-size: 1.4rem; }
.footer-social a { color: #ccc; transition: color 0.2s; }
.footer-social a:hover { color: var(--blush); }

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: #999;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #F6F2FA 0%, #EDE5F5 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: #1C1428; font-size: clamp(2.2rem, 6vw, 4rem); }
.hero h1 em { color: #CC0060; font-style: italic; }
.hero p { color: #4A3060; max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; }
.hero-tag { background: rgba(201,162,39,0.15); color: #7A5500; border: 1px solid rgba(201,162,39,0.5); }

.hero::before {
  content: '';
}

.hero-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero h1 { color: #F4EEF8 !important; 
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--text);
  margin-bottom: 1rem;
}
.hero h1 em { color: var(--terracotta); font-style: italic; }

.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-light);
}

.hero-counties {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.county-badge {
  background: #fff;
  border: 2px solid #B8AECE;
  color: #4A3060;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(224,122,95,0.35);
}
.btn-primary:hover {
  background: var(--terra-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224,122,95,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}
.btn-secondary:hover {
  background: var(--terracotta);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #b8962e; color: var(--white); }

/* ===== SECTIONS ===== */
.section { padding: 4rem 1.5rem; }
.section-alt { background: var(--ivory); }
.section-sage { background: #EBF2EA; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.section-header p { color: var(--text-light); max-width: 550px; margin: 0 auto; }
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--blush), var(--terracotta));
  margin: 0.8rem auto;
  border-radius: 2px;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 4px solid var(--blush);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow);
}

.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--terracotta); }
.card p { font-size: 0.92rem; color: var(--text-light); }

/* ===== PRODUCT CARDS (Shop) ===== */
.product-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px var(--shadow);
  transition: transform 0.25s;
}
.product-card:hover { transform: translateY(-4px); }

.product-img {
  background: linear-gradient(135deg, var(--blush) 0%, var(--cream) 100%);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.product-body { padding: 1.2rem; }
.product-body h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.product-body p { font-size: 0.83rem; color: var(--text-light); margin-bottom: 0.8rem; }
.product-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.product-links a {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  background: var(--cream);
  color: var(--terracotta);
  border: 1px solid var(--blush);
  transition: all 0.2s;
}
.product-links a:hover { background: var(--terracotta); color: var(--white); }

/* ===== VENDOR CARDS ===== */
.vendor-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 3px 15px var(--shadow);
  border-left: 5px solid var(--sage);
}
.vendor-card h4 { margin-bottom: 0.2rem; font-size: 1rem; }
.vendor-card .vendor-meta { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.4rem; }
.vendor-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: 10px;
  font-weight: 700;
  margin-right: 0.3rem;
}
.badge-martin { background: #F9DFE3; color: #b04e60; }
.badge-palm { background: #DFF0EB; color: #2e7a61; }
.badge-lucie { background: #FFF0DC; color: #a06020; }

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  align-items: center;
}
.filter-btn {
  padding: 0.4rem 1.1rem;
  border-radius: 20px;
  border: 2px solid var(--blush);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

/* ===== BUDGET PLANNER ===== */
.budget-tool {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 6px 30px var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.budget-tool label { font-weight: 700; display: block; margin-bottom: 0.4rem; }
.budget-tool select, .budget-tool input[type=range] {
  width: 100%;
  margin-bottom: 1.5rem;
}
.budget-tool select {
  padding: 0.6rem 1rem;
  border: 2px solid var(--blush);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--cream);
  color: var(--text);
  font-family: 'Lato', sans-serif;
}

.guest-display { text-align: center; font-size: 1.1rem; margin-bottom: 1.5rem; }
.guest-display span { font-size: 1.8rem; font-weight: 700; color: var(--terracotta); }

.budget-result { margin-top: 2rem; border-top: 2px solid var(--blush); padding-top: 1.5rem; }
.budget-total { font-size: 2rem; font-family: 'Cormorant Garamond', serif; color: var(--terracotta); text-align: center; margin-bottom: 1.5rem; }

.budget-bar-item { margin-bottom: 1rem; }
.budget-bar-label { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 0.3rem; font-weight: 700; }
.bar-track { background: #EEE; border-radius: 10px; height: 14px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 10px; transition: width 0.6s ease; }

/* ===== AI CHAT WIDGET ===== */
#ai-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
}

#ai-toggle {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(224,122,95,0.5);
  transition: transform 0.2s;
}
#ai-toggle:hover { transform: scale(1.1); }

#ai-panel {
  display: none;
  flex-direction: column;
  width: 320px;
  height: 420px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(61,44,44,0.2);
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 2px solid var(--blush);
}
#ai-panel.open { display: flex; }

.ai-header {
  background: linear-gradient(135deg, var(--terracotta), var(--blush-dark));
  color: var(--white);
  padding: 1rem 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ai-msg {
  max-width: 85%;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.ai-msg.bot {
  background: var(--cream);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.ai-msg.user {
  background: var(--terracotta);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.ai-input-row {
  display: flex;
  border-top: 1px solid var(--blush);
  padding: 0.6rem;
  gap: 0.4rem;
}
.ai-input-row input {
  flex: 1;
  border: 1px solid var(--blush);
  border-radius: 20px;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  outline: none;
  font-family: 'Lato', sans-serif;
}
.ai-input-row button {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1rem;
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--blush);
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ===== TABLE LAYOUT VISUAL ===== */
.table-diagram {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.table-row-vis { display: flex; justify-content: center; gap: 0.4rem; }
.seat {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blush);
  border: 3px solid var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
}
.table-center {
  background: var(--gold-light);
  border-color: var(--gold);
  border-radius: 12px;
  width: 120px; height: 36px;
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  margin: 0 auto;
}

/* ===== AI RICH RESPONSES ===== */
.ai-response { font-size: 0.83rem; line-height: 1.5; }
.ai-resp-title { font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; color: var(--terracotta); margin-bottom: 0.6rem; font-weight: 700; }
.ai-resp-section { margin-bottom: 0.8rem; }
.ai-resp-heading { font-weight: 700; font-size: 0.8rem; color: var(--text); margin-bottom: 0.2rem; }
.ai-resp-body { color: var(--text-light); }
.ai-resp-body a { color: var(--terracotta); font-weight: 700; text-decoration: none; }
.ai-resp-body a:hover { text-decoration: underline; }
.ai-msg.bot.rich { background: var(--cream); max-width: 95%; }

/* ===== AI HERO SECTION ===== */
.ai-hero-section {
  background: linear-gradient(135deg, #F6F2FA 0%, #EDE5F5 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}
.ai-hero-section h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 0.5rem; color: #1C1428; }
.ai-hero-section p { color: #4A3060; max-width: 550px; margin: 0 auto 2rem; }

.ai-inline-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(61,44,44,0.15);
  overflow: hidden;
  border: 2px solid var(--blush);
}

.ai-inline-header {
  background: linear-gradient(135deg, #2E2438, #CC0060);
  color: var(--white);
  padding: 1rem 1.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

#ai-inline-messages {
  height: 280px;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: #fdfaf7;
}

.ai-inline-input-row {
  display: flex;
  border-top: 1px solid var(--blush);
  padding: 0.8rem;
  gap: 0.5rem;
  background: var(--white);
}

.ai-inline-input-row input {
  flex: 1;
  border: 2px solid var(--blush);
  border-radius: 25px;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  outline: none;
  font-family: 'Lato', sans-serif;
  transition: border-color 0.2s;
}
.ai-inline-input-row input:focus { border-color: var(--terracotta); }

.ai-inline-input-row button {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s;
}
.ai-inline-input-row button:hover { background: var(--terra-dark); transform: scale(1.05); }

.ai-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.2rem;
}
.quick-prompt-btn {
  background: var(--white);
  border: 2px solid var(--blush);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  font-family: 'Lato', sans-serif;
  transition: all 0.2s;
}
.quick-prompt-btn:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--white); }

/* ===== MISC ===== */
.tag-list { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.6rem; }
.tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  background: var(--cream);
  border: 1px solid var(--sage);
  border-radius: 12px;
  color: var(--olive);
  font-weight: 700;
}

.checklist { list-style: none; }
.checklist li { padding: 0.5rem 0; border-bottom: 1px solid #f0e8e0; display: flex; align-items: center; gap: 0.6rem; }
.checklist li::before { content: '☐'; font-size: 1.1rem; color: var(--terracotta); }

.tip-box {
  background: linear-gradient(135deg, #FFF0EB, #FDF6EC);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.4rem;
  margin: 1.2rem 0;
  font-size: 0.92rem;
}
.tip-box strong { color: var(--terracotta); }

.page-hero {
  background: linear-gradient(135deg, #F6F2FA 0%, #EDE5F5 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); color: #1C1428; }
.page-hero p { color: #4A3060; max-width: 550px; margin: 0.8rem auto 0; }

@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .budget-tool { padding: 1.5rem; }
}
