/*
Theme Name: Homebuyers
description: Sponsorship and Landing Page theme for the National Faith Homebuyers Fair.
Author: Miles Miller
Author URI: https://marketersformovers.com
Template: understrap
Version: 1.0.0
*/


.dropcap {
    /*font-family: 'Oswald';*/
    position: relative;
    left: -3px;
    float: left;
    font-size: 40px;
    line-height: 50px;
}

.PQ-left {
    float: left;
    margin: 8px 13px 8px 0;
}

.PQ-right {
    float: right;
    margin: 8px 0 8px 13px;
}

.PQ-right, .PQ-left {
    background-color: rgba(177, 56, 39, 0.69);
    font-size: 22px;
    line-height: normal;
    padding: 13px;
    width: 250px;
    border: 1px solid #7a261a;
    border-radius: 3px;
    text-shadow: 2px 2px #7a261a;
    font-family: 'Times';
    color: #fff;
    font-weight: 600;
    text-align: left;
    display:block;
}
@media screen and (max-width:521px){
	.PQ-right, .PQ-left {
		float:none;
		margin:8px auto;
	}
}

/* ==========================================================================
   GLOBAL VARIABLES (Homebuyers Fair - PDF Aesthetic)
   ========================================================================== */
:root {
  --primary: #822525; /* Maroon/Burgundy */
  --primary-hover: #5e1a1a;
  --secondary: #f5d27e; /* Gold */
  --secondary-hover: #dfbc6d;
  --accent: #f5d27e;
  --text-main: #2b2b2b;
  --text-light: #555555;
  --bg-main: #ffffff;
  --bg-alt: #fafafa;
}

/* Typography */
body, p, li {
  font-family: 'Lato', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
}
a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

/* Layout Helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.text-center { text-align: center; }
.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
  border-bottom: 4px solid var(--secondary);
  display: inline-block;
  padding-bottom: 10px;
}

/* Buttons (Flat PDF Style) */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 900;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  border-radius: 0; /* Sharp corners like PDF shapes */
}
.btn-primary {
  background-color: var(--primary);
  color: white;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  color: white;
  text-decoration: none;
}
.btn-secondary {
  background-color: var(--secondary);
  color: var(--primary);
}
.btn-secondary:hover {
  background-color: var(--secondary-hover);
  color: var(--primary);
  text-decoration: none;
}

/* Hero Section (Flat Burgundy with Gold Accents) */
.homepage-hero {
  position: relative;
  background-color: var(--primary);
  color: white;
  padding: 8rem 0 6rem;
  text-align: center;
  border-bottom: 10px solid var(--secondary);
}

/* Gold Side Accents */
.homepage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 100%;
  background-color: var(--secondary);
}
.homepage-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 100%;
  background-color: var(--secondary);
}

.homepage-hero h1 {
  font-size: 5rem;
  margin-bottom: 0.5rem;
  color: white;
  line-height: 1;
}
.homepage-hero h1 .accent-year {
  color: var(--secondary);
  font-size: 5.5rem;
  display: block;
  margin-bottom: -10px;
}
.homepage-hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
}
.event-details-bar {
  display: inline-flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  background-color: white;
  color: var(--primary);
  padding: 1.5rem 3rem;
  border: 3px solid var(--secondary);
  font-weight: 900;
}
.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  text-transform: uppercase;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background-color: var(--bg-main);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.about-content p {
  font-size: 1.125rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}
.about-image {
  border: 10px solid var(--secondary);
  position: relative;
}
.about-image::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary);
  z-index: -1;
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* What to Expect Section */
.features-section {
  padding: 6rem 0;
  background-color: var(--bg-alt);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: white;
  padding: 2.5rem;
  border: 2px solid var(--secondary);
  transition: all 0.3s ease;
}
.feature-card:hover {
  background-color: var(--secondary);
  color: var(--primary);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.feature-card:hover h3,
.feature-card:hover .feature-icon {
  color: var(--primary);
}
.feature-card p {
  color: var(--text-main);
}

/* Call to Action Section */
.cta-section {
  padding: 6rem 0;
  background-color: var(--primary);
  color: white;
  text-align: center;
  border-top: 10px solid var(--secondary);
  border-bottom: 10px solid var(--secondary);
}
.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}
.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}
.cta-section .btn {
  background-color: var(--secondary);
  color: var(--primary);
}
.cta-section .btn:hover {
  background-color: white;
  color: var(--primary);
}

/* Sponsors Section */
.logos-section {
  padding: 6rem 0;
  background-color: white;
  text-align: center;
}

@media (max-width: 768px) {
  .homepage-hero h1 { font-size: 3rem; }
  .homepage-hero h1 .accent-year { font-size: 3.5rem; }
  .homepage-hero p { font-size: 1.125rem; }
  .about-grid { grid-template-columns: 1fr; }
  .event-details-bar { padding: 1.5rem; }
}

/* ==========================================================================
   SPLIT SECTIONS (40/60 Layout)
   ========================================================================== */
.split-section {
  display: flex;
  flex-direction: column;
}
.split-section.layout-left {
  flex-direction: row;
}
.split-section.layout-right {
  flex-direction: row-reverse;
}

.split-main {
  flex: 0 0 40%;
  padding: 4rem 3rem;
  background-color: var(--primary);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
/* The gold vertical border with rounded caps */
.split-section.layout-left .split-main::after,
.split-section.layout-right .split-main::after {
  content: '';
  position: absolute;
  top: 5%;
  bottom: 5%;
  width: 6px;
  background-color: var(--secondary);
  border-radius: 10px;
}
.split-section.layout-left .split-main::after {
  right: -3px;
  z-index: 10;
}
.split-section.layout-right .split-main::after {
  left: -3px;
  z-index: 10;
}

.split-main h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.split-main h3 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.split-main p, .split-main ul {
  font-size: 1.125rem;
  color: white;
  margin-bottom: 1.5rem;
}
.split-main ul {
  padding-left: 1.5rem;
}

.split-media {
  flex: 0 0 60%;
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}

.split-overlay {
  width: 100%;
  padding: 2.5rem 3rem;
}
.split-overlay.bg-gold {
  background: rgba(245, 210, 126, 0.95);
  color: var(--primary);
}
.split-overlay.bg-dark {
  background: rgba(42, 12, 12, 0.95);
  color: white;
}
.split-overlay h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: inherit;
}
.split-overlay p {
  font-size: 1.125rem;
  font-style: italic;
  font-weight: bold;
  line-height: 1.8;
  color: inherit;
}

@media (max-width: 992px) {
  .split-section.layout-left,
  .split-section.layout-right {
    flex-direction: column;
  }
  .split-main::after {
    display: none;
  }
  .split-media {
    min-height: 500px;
  }
}

/* ==========================================================================
   SPONSORSHIP PAGE STYLES
   ========================================================================== */
.bg-maroon { background-color: var(--primary); }
.text-white { color: white; }
.section-padding { padding: 6rem 0; }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-item .stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}
.stat-item p {
    font-size: 1.125rem;
    color: white;
}
.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Metric Callouts */
.metric-callout-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.metric-box {
    background: white;
    border: 3px solid var(--secondary);
    padding: 2rem;
    text-align: center;
}
.metric-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.metric-label {
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-main);
}

@media (max-width: 992px) {
    .metric-callout-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .metric-callout-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}
.pricing-card {
    background: white;
    border: 2px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}
.featured-card {
    border: 4px solid var(--primary);
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(130, 37, 37, 0.15);
}
.featured-card:hover {
    transform: scale(1.02) translateY(-5px);
}
.pricing-header {
    background-color: var(--primary);
    color: white;
    padding: 2rem;
    text-align: center;
    border-bottom: 5px solid var(--secondary);
}
.pricing-header h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.pricing-header .price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
}
.pricing-body {
    padding: 2rem;
    flex-grow: 1;
}
.pricing-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pricing-body li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.pricing-body li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* ==========================================================================
   VENDOR PAGE STYLES
   ========================================================================== */
.two-column-list ul {
    column-count: 2;
    column-gap: 4rem;
}
@media (max-width: 768px) {
    .two-column-list ul {
        column-count: 1;
    }
}

/* ==========================================================================
   FORMIDABLE FORMS OVERRIDES (PDF Branding)
   ========================================================================== */
.with_frm_style .frm_form_fields input[type=text],
.with_frm_style .frm_form_fields input[type=email],
.with_frm_style .frm_form_fields input[type=url],
.with_frm_style .frm_form_fields input[type=tel],
.with_frm_style .frm_form_fields textarea,
.with_frm_style .frm_form_fields select {
    border-radius: 0 !important;
    border: 2px solid var(--text-main) !important;
    background-color: #fff !important;
    padding: 12px 15px !important;
    font-family: 'Lato', sans-serif !important;
    font-size: 1rem !important;
    color: var(--primary) !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
}

.with_frm_style .frm_form_fields input[type=text]:focus,
.with_frm_style .frm_form_fields input[type=email]:focus,
.with_frm_style .frm_form_fields input[type=url]:focus,
.with_frm_style .frm_form_fields input[type=tel]:focus,
.with_frm_style .frm_form_fields textarea:focus,
.with_frm_style .frm_form_fields select:focus {
    border-color: var(--secondary) !important;
    outline: none !important;
    box-shadow: none !important;
}

.with_frm_style .frm_submit input[type=submit],
.with_frm_style .frm_submit button {
    background: var(--primary) !important;
    border: none !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-family: 'Lato', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.125rem !important;
    text-transform: uppercase !important;
    padding: 15px 30px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.with_frm_style .frm_submit input[type=submit]:hover,
.with_frm_style .frm_submit button:hover {
    background: var(--secondary) !important;
    color: var(--primary) !important;
}

/* Radio/Checkbox Labels */
.with_frm_style .frm_radio label, 
.with_frm_style .frm_checkbox label {
    font-family: 'Lato', sans-serif !important;
    font-weight: bold !important;
    color: var(--primary) !important;
}
