/* Frontier Stays - Ranch Single (warm editorial) */

.frontier-ranch { background: #f8f6f2; color: #20160f; }
.fr-container { width: min(1120px, 92%); margin: 0 auto; }

.fr-hero {
  position: relative;
  min-height: 520px;
  background: #2b1a10;
  background-size: cover;
  background-position: center;
}

.fr-hero img{filter: blur(5px);}
.fr-hero__overlay {
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%);
}
.fr-hero__inner { position: relative; z-index: 2; padding: 28px 0 56px; }
.fr-back { display:inline-block; color: rgba(255,255,255,.85); text-decoration: none; margin-bottom: 18px; }
.fr-back:hover { color: #fff; }

.fr-hero__meta { width: min(720px, 92%); margin-top: 90px; }
.fr-chips { display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 12px; }
.fr-chip {
  display:inline-block; padding: 7px 10px; border-radius: 999px;
  background: rgba(241, 140, 55, .15); color: #f3a15a; border: 1px solid rgba(241, 140, 55, .28);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.fr-chip--verified { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.22); }

.fr-title { color: #fff; font-size: clamp(34px, 4vw, 56px); margin: 6px 0; line-height: 1.05; }
.fr-location { color: rgba(255,255,255,.85); margin: 0 0 8px; }
.fr-tagline { color: rgba(255,255,255,.92); margin: 0 0 18px; max-width: 56ch; }

.fr-hero__cta { display:flex; gap:12px; flex-wrap:wrap; }
.fr-btn {
  display:inline-block; padding: 12px 16px; border-radius: 10px;
  background: #df7021; color: #1b120c; text-decoration:none; font-weight: 700;
}
.fr-btn:hover { filter: brightness(0.96); }
.fr-btn--ghost {
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.22);
}

.fr-section { padding: 56px 0; }
.fr-grid-2 { display:grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.fr-grid-2--reverse { grid-template-columns: .9fr 1.1fr; }

.fr-kicker {
  color: #df7021; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 10px;
}
.fr-kicker--light { color: rgba(255,255,255,.85); }

.fr-h2 { font-size: clamp(24px, 2.3vw, 36px); margin: 0 0 12px; }
.fr-h2--light { color: #fff; }

.fr-richtext { color: rgba(32,22,15,.86); line-height: 1.7; }
.fr-muted { color: rgba(32,22,15,.6); }

.fr-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}
.fr-media img { width: 100%; height: auto; display:block; }
.fr-media--tall img { aspect-ratio: 4 / 3; object-fit: cover; }

.fr-facts { padding-top: 0;background-color:#f1ece4; }
.fr-facts__grid {
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.fr-fact {
  background: #fff; border-radius: 14px; padding: 16px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.fr-fact__label { font-size: 12px; color: rgba(32,22,15,.6); margin-bottom: 8px; }
.fr-fact__value { font-weight: 800; }
.fr-fact__note { margin-top: 8px; font-size: 12px; color: rgba(32,22,15,.62); }

.fr-pillgrid { display:flex; flex-wrap:wrap; gap:10px; margin-top: 14px; }
.fr-pill {
  background: #fff; border: 1px solid rgba(32,22,15,.10);
  padding: 10px 12px; border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.04);
}

.fr-checklist { list-style: none; padding: 0; margin: 12px 0 0; }
.fr-checklist li { padding-left: 22px; position: relative; margin: 10px 0; }
.fr-checklist li:before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #2f8f5b; font-weight: 900;
}

.fr-cta {
  position: relative;
  padding: 74px 0;
  background: #2b1a10;
}
.fr-cta__overlay {
  position:absolute; inset:0;
  background: radial-gradient(circle at 20% 20%, rgba(241,140,55,.18), transparent 48%),
              linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.55));
}
.fr-cta__inner { position: relative; z-index: 2; text-align: center; }
.fr-cta__sub { color: rgba(255,255,255,.82); margin: 8px auto 22px; max-width: 60ch; }

.fr-form {
  width: min(720px, 92%); margin: 0 auto;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 18px;
}

/* CF7 basic styling */
.fr-form .wpcf7 input[type="text"],
.fr-form .wpcf7 input[type="email"],
.fr-form .wpcf7 input[type="number"],
.fr-form .wpcf7 textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #fff;
  padding: 12px 12px;
}
.fr-form .wpcf7 textarea { min-height: 120px; resize: vertical; }
.fr-form .wpcf7 input::placeholder,
.fr-form .wpcf7 textarea::placeholder { color: rgba(255,255,255,.70); }

.fr-form .wpcf7 input[type="submit"]{
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #f18c37;
  color: #1b120c;
  font-weight: 900;
  padding: 14px 16px;
  cursor: pointer;
  margin-top: 10px;
}

.fr-cta__foot { margin-top: 16px; color: rgba(255,255,255,.72); display:flex; gap:10px; justify-content:center; flex-wrap:wrap; font-size: 13px; }

/* Responsive */
@media (max-width: 980px) {
  .fr-grid-2, .fr-grid-2--reverse { grid-template-columns: 1fr; }
  .fr-hero__meta { margin-top: 70px; }
  .fr-facts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fr-facts__grid { grid-template-columns: 1fr; }
}

/* Amenities checklist: stable order with CSS grid */
.fr-checklist--cols{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}

@media (max-width: 560px){
  .fr-checklist--cols{
    grid-template-columns: 1fr;
  }
}

.fr-checklist--cols li{
  margin: 0; /* override earlier spacing so grid looks neat */
}


.fr-checklist .fr-extra { display: none; }
.fr-checklist.is-expanded .fr-extra { display: list-item; }

.fr-more{
  margin-top: 12px;
  border: 1px solid rgba(32,22,15,.14);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
}

.fr-parallax{
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Desktop: normal */
@media (min-width: 769px){
  .fr-parallax{
    height: auto; /* or your desktop rules */
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .fr-parallax {
    position: relative;
    height: 35vh;
    min-height: 220px;
    overflow: hidden;

    /* prevents any brief “see-through” */
    background-color: #000;

    /* the image */
    background-size: 130% auto;     /* <-- SCALE UP (try 120–160%) */
    background-position: center;
    background-repeat: no-repeat;

    /* parallax attempt (will fallback on iOS) */
    background-attachment: fixed;
  }
}



/* --- MOBILE SPECIFIC ADJUSTMENTS --- */
@media only screen and (max-width: 980px) {
    /* 1. Hero & Header Fixes */
    body{font-size:20px;}
    .fr-hero { min-height: 500px; padding-top: 40px; }
    .fr-hero__meta { width: 100%; margin:0 auto; margin-top: 40px; text-align: center; }
    .fr-hero__cta { flex-direction: column; gap: 10px; margin:0 auto; }
    .fr-btn { text-align: center; width: 50%; box-sizing: border-box; margin: 0 auto; margin-top:25px; }
    .fr-title{font-size:40px;padding:15px;}
    .fr-tagline {margin:0 auto;padding:15px;}
    .fr-location { font-style:italic; }
    .fr-fact__label { font-size: 17px;}
    .fr-fact__value { font-size:25px; }
    .fr-fact__note { font-size:25px; }
    .fr-chips { display:initial; }
    .fr-chip { font-size:17px; }
    .fr-pill { font-size:25px; }
    .fr-checklist { font-size:25px; }
    .fr-kicker{font-size:17px;}
    .fr-more{font-size:17px;}
    
    /* 2. Grid & Layout Fixes */
    .fr-grid-2, .fr-grid-2--reverse { 
        grid-template-columns: 1fr !important; 
        gap: 30px; 
    }
    
    /* Ensure image appears AFTER text on mobile for sections that alternate */
    .fr-img-second-mobile { order: 2; }

    /* 3. Typography Adjustments */
    .fr-title { font-size: 32px !important; }
    .fr-section { padding: 40px 0; }
    
    /* 4. Facts Grid */
    .fr-facts__grid { grid-template-columns: repeat(1, 1fr); gap: 10px; }
    .fr-fact { padding: 12px; }
    
    /* 5. Amenities Checklist */
    .fr-checklist--cols { grid-template-columns: 1fr; }
    
    /* 6. Form Mobile Fix */
    .fr-form { width: 100%; box-sizing: border-box; padding: 15px; }
    .fr-form .wpcf7 input, .fr-form .wpcf7 textarea { font-size: 16px !important; } /* Prevents iOS auto-zoom */
}

@media only screen and (max-width: 560px) {
    .fr-facts__grid { grid-template-columns: 1fr; }
    .fr-hero { min-height: auto; padding-bottom: 60px; }
}

