/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  GeneratePress Child Theme for Solace
 Author:       Your Name
 Author URI:   https://example.com
 Template:     generatepress
 Version:      1.0.0
*/

/*
Theme Name: Solace
Description: A beautiful WordPress theme for Solace - A Place for Healing. A peaceful retreat in the Tennessee hills where widows can process grief, find healing, and move forward in their journey.
Version: 1.0
Author: Solace Retreat
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2d5a27;
  text-decoration: none;
}

.site-logo::before {
  content: "🌲";
  margin-right: 0.5rem;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.main-navigation a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
  background: #2d5a27;
  color: white;
}

.cta-button {
  background: #2d5a27;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #1e3d1a;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.hero-content .highlight {
  color: #f4d03f;
  font-weight: 600;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: #2d5a27;
  color: white;
}

.btn-primary:hover {
  background: #1e3d1a;
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #333;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2d5a27;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: #666;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e9ecef;
}

.about-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #2d5a27;
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2d5a27;
}

/* Quote Section */
.quote-section {
  background: #e8f5e8;
  padding: 3rem;
  border-radius: 12px;
  margin: 3rem 0;
  text-align: center;
}

.quote-text {
  font-size: 1.25rem;
  font-style: italic;
  color: #2d5a27;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.quote-author {
  font-weight: 600;
  color: #2d5a27;
}

/* Hosts Section */
.hosts-section {
  background: #f8f9fa;
}

.hosts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hosts-image {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hosts-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
}

.hosts-text h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #2d5a27;
}

.hosts-text p {
  margin-bottom: 1rem;
  color: #666;
}

.hosts-experience {
  margin-top: 2rem;
}

.hosts-experience h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2d5a27;
}

.hosts-experience ul {
  list-style: none;
  padding: 0;
}

.hosts-experience li {
  padding: 0.5rem 0;
  color: #666;
}

.hosts-experience li::before {
  content: "✓";
  color: #2d5a27;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Accommodations Section */
.accommodations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.accommodation-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.accommodation-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 350px;
}

.accommodation-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accommodation-content {
  padding: 2rem;
}

.accommodation-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2d5a27;
  display: flex;
  align-items: center;
}

.accommodation-content h3::before {
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

.accommodation-content p {
  color: #666;
  line-height: 1.6;
}

/* What's Included Section */
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.included-item {
  text-align: center;
  padding: 2rem;
}

.included-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #2d5a27;
}

.included-item h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #2d5a27;
}

.included-item p {
  color: #666;
}

/* Activities Section */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.activity-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.activity-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.activity-content {
  padding: 2rem;
}

.activity-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2d5a27;
}

.activity-content p {
  color: #666;
}

/* Pricing Section */
.pricing-section {
  background: #f8f9fa;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.pricing-card.popular {
  border: 3px solid #2d5a27;
  transform: scale(1.05);
}

.pricing-card.popular::before {
  content: "Most Popular";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #2d5a27;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2d5a27;
}

.pricing-price {
  font-size: 2rem;
  font-weight: bold;
  color: #2d5a27;
  margin-bottom: 0.5rem;
}

.pricing-period {
  color: #666;
  margin-bottom: 1rem;
}

.pricing-description {
  color: #666;
  margin-bottom: 2rem;
  font-style: italic;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: #666;
  display: flex;
  align-items: center;
}

.pricing-features li::before {
  content: "✓";
  color: #2d5a27;
  font-weight: bold;
  margin-right: 0.5rem;
}

.pricing-total {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2d5a27;
  margin-bottom: 1rem;
}

.pricing-note {
  font-size: 0.875rem;
  color: #666;
}

/* Contact Section */
.contact-section {
  background: #2d5a27;
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #f4d03f;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
}

.contact-form h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-form p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  background: white;
  color: #333;
}

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

.form-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-submit {
  background: #f4d03f;
  color: #333;
  border: none;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #f1c40f;
  transform: translateY(-2px);
}

.btn-phone {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-phone:hover {
  background: white;
  color: #2d5a27;
}

/* Footer */
.site-footer {
  background: #1e3d1a;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hosts-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .hosts-image {
    min-height: 300px;
    margin-bottom: 2rem;
  }
  
  .hosts-image img {
    max-height: 400px;
  }
  
  .accommodations-grid {
    grid-template-columns: 1fr;
  }
  
  .accommodation-images {
    height: 280px;
  }
  
  .activity-card img {
    height: 250px;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .form-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
/* Make pricing section span full width with a soft background */
.pricing-bg{ background:linear-gradient(135deg,#f8f9fa,#e9ecef); }

/* Constrain inner content nicely even on wide screens */
.pricing-inner{ max-width:1200px; margin-inline:auto; }

/* Ensure each column/card is equal height and looks like a card */
.pricing-col{ display:flex; }
.pricing-card{
  display:flex; flex-direction:column;
  background:#fff; border:1px solid #e9ecef; border-radius:15px;
  padding:1.25rem; box-shadow:0 8px 24px rgba(0,0,0,.08);
  height:100%;
}
.pricing-card h3{ color:#2d5a27; margin:.25rem 0 .5rem; }
.pricing-price{ font-weight:700; color:#2d5a27; font-size:1.75rem; margin:.25rem 0; }
.pricing-period,.pricing-description,.pricing-features li,.pricing-note{ color:#666; }
.pricing-features{ list-style:none; padding-left:0; margin:0 0 .75rem; }
.pricing-features li{ margin:.25rem 0; }
.pricing-features li::before{ content:"✓"; color:#2d5a27; font-weight:700; margin-right:.5rem; }
.pricing-total{ margin-top:auto; text-align:center; font-weight:700; color:#2d5a27; font-size:1.15rem; }

/* Popular badge */
.pricing-card.popular{ border:3px solid #f4d03f; position:relative; }
.pricing-card.popular::after{
  content:"Most Popular"; position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:linear-gradient(135deg,#f4d03f,#f1c40f); color:#2d5a27;
  padding:.35rem .75rem; border-radius:16px; font-weight:700; font-size:.85rem;
  box-shadow:0 6px 12px rgba(244,208,63,.35);
}

/* Column gaps on small screens */
@media (max-width: 782px){
  .pricing-inner{ padding-inline:16px; }
}

/* Optional: better word wrapping for headings in skinny columns */
.pricing-card h3{ hyphens:auto; overflow-wrap:anywhere; }
/* ===== UNIFIED PILL BUTTONS — Gutenberg + GP + custom + CF7 ===== */

/* Neutralize wrappers so they don't draw boxes */
.wp-block-buttons,
.wp-block-button{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Make EVERY button a filled pill (oval), no borders */
.wp-block-button__link,
.wp-element-button,
.btn, .btn-submit, .btn-phone,
a.button, button, .button,
.wpcf7 input[type="submit"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;

  border-radius: 9999px !important;      /* oval */
  padding: .85rem 1.4rem !important;
  line-height: 1.2;

  background: #2d5a27 !important;        /* Solace green */
  color: #fff !important;

  border: 0 !important;                   /* absolutely no border */
  box-shadow: none !important;            /* no rectangular edge/shadow */
  outline: 0 !important;
  overflow: hidden;
  transition: transform .2s ease, background-color .2s ease;
}

/* Kill Gutenberg "Outline" variant and any inline border styles */
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button__link[style*="border"],
.wp-block-button__link[style*="outline"],
.wp-block-button__link.has-border,
.wp-block-button__link.has-border-color,
.btn-phone, .btn-call{
  border: 0 !important;
  background: #2d5a27 !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Remove any pseudo-element borders some themes add */
.wp-block-button__link::before,
.wp-block-button__link::after{ content: none !important; }

/* Hover: subtle lift + darker green */
.wp-block-button__link:hover,
.wp-element-button:hover,
.btn:hover, .btn-submit:hover, .btn-phone:hover,
a.button:hover, button:hover, .button:hover,
.wpcf7 input[type="submit"]:hover{
  transform: translateY(-2px);
  background: #224a20 !important;
}

/* Accessible focus ring (clean, rounded; not a white square) */
.wp-block-button__link:focus-visible,
.wp-element-button:focus-visible,
.btn:focus-visible, .btn-submit:focus-visible, .btn-phone:focus-visible,
a.button:focus-visible, button:focus-visible, .button:focus-visible,
.wpcf7 input[type="submit"]:focus-visible{
  outline: 0 !important;
  box-shadow: inset 0 0 0 3px rgba(244,208,63,.55) !important; /* soft yellow inner ring */
}

/* Tighter gap for side-by-side buttons */
.wp-block-buttons{ gap: .75rem; }
/* === Formidable Forms: field spacing & submit button === */
.frm_forms form .frm_form_field { margin-bottom: 12px; }
.frm_forms form .frm_form_field:last-child { margin-bottom: 0; }
.frm_forms form .frm_submit { margin-top: 14px; margin-bottom: 0; }

/* Make FF submit look like all other buttons (uses your unified pill rules) */
.frm_forms input[type="submit"],
.frm_forms button[type="submit"],
.frm_button_submit,
.frm_submit input{
  border-radius: 9999px !important;
  background: #2d5a27 !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: .85rem 1.4rem !important;
  line-height: 1.2;
  outline: 0 !important;
}

/* Hover */
.frm_forms input[type="submit"]:hover,
.frm_forms button[type="submit"]:hover,
.frm_button_submit:hover,
.frm_submit input:hover{
  background: #224a20 !important;
  transform: translateY(-2px);
}

/* Remove trailing space inside the contact section and just before footer */
.contact-section *:last-child { margin-bottom: 0 !important; }
.contact-section + .site-footer { margin-top: 0 !important; }

/* If GeneratePress container adds extra padding at the very bottom on pages */
body.page .inside-article { padding-bottom: 0; }  /* scope to page globally */
/* 1) Remove the CSS-generated yellow badge */
.pricing-card.popular::after {
  content: none !important;
  display: none !important;
}

/* 2) Make space for whatever green badge the block/theme renders */
.pricing-card { overflow: visible; }
.pricing-card.popular { padding-top: 2.25rem; }

/* 3) Normalize the in-markup badge/ribbon no matter its class name */
.pricing-card [class*="badge"],
.pricing-card [class*="ribbon"],
.pricing-card [class*="label"],
.pricing-card .uagb-pricing__badge,
.pricing-card .kb-pricing-badge,
.pricing-card .gb-badge,
.pricing-card .popular-badge {
  position: absolute !important;
  top: -18px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 3 !important;
  border-radius: 16px !important;
  padding: .35rem .75rem !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

/* 4) Kill any extra pseudo-content (often what creates a 2nd “Popular”) */
.pricing-card [class*="badge"]::before,
.pricing-card [class*="badge"]::after,
.pricing-card [class*="ribbon"]::before,
.pricing-card [class*="ribbon"]::after,
.pricing-card [class*="label"]::before,
.pricing-card [class*="label"]::after {
  content: none !important;
}
/* two-up image rows: make both images same size & nicely spaced */
.image-duo{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;              /* space between the two images */
  align-items: stretch;
}

.image-duo .wp-block-image{ margin: 0; } /* kill default figure margin */

/* keep all images the same visual size, auto-crop to fill */
.image-duo img{
  width: 100%;
  aspect-ratio: 4 / 3;     /* consistent shape for all four */
  object-fit: cover;       /* crop edges so there’s no distortion */
  display: block;
  border-radius: 12px;     /* optional: soft corners */
  box-shadow: 0 2px 10px rgba(0,0,0,.08); /* optional */
}

/* stack on phones */
@media (max-width: 782px){
  .image-duo{ grid-template-columns: 1fr; }
}
/* Healing Activities: uniform thumbnails */
.healing-activities .wp-block-image{
  aspect-ratio: 4 / 3;      /* change to 1/1 if you want squares */
  overflow: hidden;
  width: 100% !important;   /* override any inline widths */
  max-width: none;
  margin: 0 0 12px;         /* tidy spacing under the image */
}