/* =========================================================================
   Foxdale Lodge — Custom Polish Layer
   Sits on top of the existing "Lonyo" theme CSS. Only adds/refines styles
   for forms, cards, and the new content sections (Gallery, Amenities,
   Promotions, Restaurant Menu, Conference & Events, Blog) — nothing here
   touches the theme's core layout, header, or hero styles.
   ========================================================================= */

:root {
  --fx-navy: #142D6F;
  --fx-navy-dark: #0d1f4d;
  --fx-gold: #C7972C;
  --fx-cream: #FAF8F4;
  --fx-ink: #1C2331;
  --fx-muted: #6b7280;
  --fx-radius: 16px;
  --fx-radius-sm: 10px;
  --fx-shadow: 0 10px 30px rgba(20, 45, 111, 0.08);
  --fx-shadow-hover: 0 18px 40px rgba(20, 45, 111, 0.14);
}

/* ── Section scaffolding ─────────────────────────────────────────────── */
.fx-section { padding: 90px 0; }
.fx-section.fx-tight { padding: 60px 0; }
.fx-section-cream { background: var(--fx-cream); }

.fx-eyebrow {
  display: inline-block;
  color: var(--fx-gold);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12.5px;
  margin-bottom: 10px;
}
.fx-heading {
  font-weight: 700;
  color: var(--fx-navy);
  letter-spacing: -0.02em;
}
.fx-subtext {
  color: var(--fx-muted);
  max-width: 640px;
}
.fx-section-head { margin-bottom: 48px; }
.fx-section-head.text-center .fx-subtext { margin-left: auto; margin-right: auto; }

/* ── Buttons — refine the theme's default button without replacing it ── */
.lonyo-default-btn {
  border-radius: 50px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}
.lonyo-default-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20,45,111,0.22); }
.fx-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--fx-navy); color: var(--fx-navy) !important;
  background: transparent; border-radius: 50px; padding: 12px 28px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  transition: all .2s ease;
}
.fx-btn-outline:hover { background: var(--fx-navy); color: #fff !important; transform: translateY(-2px); }
.fx-btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--fx-gold); color: #fff !important; border: none;
  border-radius: 50px; padding: 12px 28px; font-weight: 600; font-size: 14px;
  text-decoration: none; transition: all .2s ease;
}
.fx-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(199,151,44,0.35); color:#fff !important; }

/* ── Elegant form styling (used across all inquiry forms) ────────────── */
.fx-form-card {
  background: #fff;
  border: none;
  border-radius: var(--fx-radius);
  box-shadow: var(--fx-shadow);
  overflow: hidden;
}
.fx-form-card .card-body { padding: 3rem; }
@media (max-width: 767px) { .fx-form-card .card-body { padding: 1.75rem; } }

.fx-form-card .form-label,
.fx-styled-form .form-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--fx-ink);
  letter-spacing: .2px;
  margin-bottom: 6px;
}
.fx-form-card .form-control,
.fx-form-card .form-select,
.fx-styled-form .form-control,
.fx-styled-form .form-select {
  border: 1.5px solid #E7E9F0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14.5px;
  background: #FCFCFD;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.fx-form-card .form-control:focus,
.fx-form-card .form-select:focus,
.fx-styled-form .form-control:focus,
.fx-styled-form .form-select:focus {
  border-color: var(--fx-navy);
  box-shadow: 0 0 0 4px rgba(20,45,111,0.10);
  background: #fff;
  outline: none;
}
.fx-form-card textarea.form-control { resize: vertical; }
.fx-form-card .btn-primary,
.fx-form-card button[type="submit"].lonyo-default-btn {
  border: none;
}

/* ── Generic content cards (gallery, menu, promos, blog, packages) ───── */
.fx-card {
  background: #fff;
  border-radius: var(--fx-radius);
  box-shadow: var(--fx-shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.fx-card:hover { transform: translateY(-6px); box-shadow: var(--fx-shadow-hover); }
.fx-card-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.fx-card-body { padding: 22px 24px; }

/* ── Amenities ─────────────────────────────────────────────────────── */
.fx-amenity {
  background: #fff;
  border-radius: var(--fx-radius);
  padding: 32px 26px;
  height: 100%;
  box-shadow: var(--fx-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fx-amenity:hover { transform: translateY(-6px); box-shadow: var(--fx-shadow-hover); }
.fx-amenity-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, var(--fx-navy), #24408f);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.fx-amenity h4 { font-size: 17px; font-weight: 700; color: var(--fx-ink); margin-bottom: 8px; }
.fx-amenity p { color: var(--fx-muted); font-size: 14px; margin: 0; }

/* ── Promotions / Special Offers ──────────────────────────────────────── */
.fx-promo-card {
  position: relative;
  border-radius: var(--fx-radius);
  overflow: hidden;
  box-shadow: var(--fx-shadow);
  height: 100%;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.fx-promo-card:hover { transform: translateY(-6px); box-shadow: var(--fx-shadow-hover); }
.fx-promo-img-wrap { position: relative; height: 190px; }
.fx-promo-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.fx-promo-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--fx-gold); color: #fff; font-weight: 700; font-size: 12.5px;
  padding: 6px 14px; border-radius: 50px; letter-spacing: .3px;
}
.fx-promo-body { padding: 22px 24px; }
.fx-promo-body h4 { font-weight: 700; color: var(--fx-navy); font-size: 18px; margin-bottom: 8px; }
.fx-promo-body p { color: var(--fx-muted); font-size: 14px; }

/* ── Photo gallery ─────────────────────────────────────────────────────── */
.fx-gallery-filters { margin-bottom: 32px; }
.fx-gallery-filters .btn {
  border-radius: 50px; border: 1.5px solid #E7E9F0; color: var(--fx-ink);
  background: #fff; font-size: 13px; font-weight: 600; padding: 8px 20px;
  margin: 4px; transition: all .2s ease;
}
.fx-gallery-filters .btn.active,
.fx-gallery-filters .btn:hover { background: var(--fx-navy); color: #fff; border-color: var(--fx-navy); }

.fx-gallery-item {
  position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 24px;
  box-shadow: var(--fx-shadow); cursor: pointer;
}
.fx-gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .4s ease; display: block; }
.fx-gallery-item:hover img { transform: scale(1.08); }
.fx-gallery-caption {
  position: absolute; inset: auto 0 0 0; padding: 30px 18px 14px;
  background: linear-gradient(to top, rgba(13,31,77,0.85), transparent);
  color: #fff; opacity: 0; transition: opacity .3s ease;
}
.fx-gallery-item:hover .fx-gallery-caption { opacity: 1; }
.fx-gallery-caption .cat { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--fx-gold); font-weight: 700; }
.fx-gallery-caption .cap { font-size: 14px; font-weight: 600; }

/* ── Restaurant menu ───────────────────────────────────────────────────── */
.fx-menu-tabs { border-bottom: 2px solid #EEF0F5; margin-bottom: 34px; flex-wrap: wrap; gap: 4px; }
.fx-menu-tabs .nav-link {
  border: none; color: var(--fx-muted); font-weight: 600; font-size: 14.5px;
  padding: 12px 20px; border-radius: 0;
}
.fx-menu-tabs .nav-link.active {
  color: var(--fx-navy); border-bottom: 3px solid var(--fx-gold); background: transparent;
}
.fx-menu-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed #E7E9F0; }
.fx-menu-item:last-child { border-bottom: none; }
.fx-menu-item img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.fx-menu-item-body { flex: 1; }
.fx-menu-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fx-menu-item-top h5 { font-weight: 700; color: var(--fx-ink); margin: 0; font-size: 16px; }
.fx-menu-price { color: var(--fx-navy); font-weight: 700; white-space: nowrap; }
.fx-menu-item p { color: var(--fx-muted); font-size: 13.5px; margin: 4px 0 0; }
.fx-menu-special { background: var(--fx-gold); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 50px; margin-left: 8px; vertical-align: middle; }

/* ── Conference & Events ─────────────────────────────────────────────── */
.fx-pkg-card { background: #fff; border-radius: var(--fx-radius); box-shadow: var(--fx-shadow); overflow: hidden; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.fx-pkg-card:hover { transform: translateY(-6px); box-shadow: var(--fx-shadow-hover); }
.fx-pkg-img { height: 190px; width: 100%; object-fit: cover; }
.fx-pkg-body { padding: 26px; }
.fx-pkg-price { color: var(--fx-gold); font-weight: 700; font-size: 15px; }
.fx-pkg-body h4 { color: var(--fx-navy); font-weight: 700; margin: 6px 0; }
.fx-pkg-capacity { color: var(--fx-muted); font-size: 13.5px; margin-bottom: 10px; }
.fx-pkg-equipment { list-style: none; padding: 0; margin: 14px 0 0; }
.fx-pkg-equipment li { font-size: 13.5px; color: var(--fx-ink); padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.fx-pkg-equipment li i { color: var(--fx-gold); }

.fx-event-type-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.fx-event-type-tabs .nav-link {
  border: 1.5px solid #E7E9F0; border-radius: 50px; padding: 10px 22px;
  font-weight: 600; font-size: 13.5px; color: var(--fx-ink); display: flex; align-items: center; gap: 8px;
}
.fx-event-type-tabs .nav-link.active { background: var(--fx-navy); border-color: var(--fx-navy); color: #fff; }

/* ── Blog ───────────────────────────────────────────────────────────── */
.fx-blog-card { background: #fff; border-radius: var(--fx-radius); box-shadow: var(--fx-shadow); overflow: hidden; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.fx-blog-card:hover { transform: translateY(-6px); box-shadow: var(--fx-shadow-hover); }
.fx-blog-img { height: 210px; width: 100%; object-fit: cover; }
.fx-blog-body { padding: 24px; }
.fx-blog-cat { color: var(--fx-gold); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; }
.fx-blog-body h4 { color: var(--fx-navy); font-weight: 700; font-size: 18px; margin: 10px 0 8px; line-height: 1.35; }
.fx-blog-body p { color: var(--fx-muted); font-size: 14px; }
.fx-blog-meta { color: var(--fx-muted); font-size: 12.5px; margin-top: 14px; display: flex; align-items: center; gap: 14px; }
.fx-blog-article { font-size: 16px; line-height: 1.85; color: #2b3243; }
.fx-blog-article p { margin-bottom: 1.3em; }

/* ── Page hero band (used by inner pages) ──────────────────────────── */
.fx-page-hero {
  position: relative; padding: 120px 0 80px; background-size: cover; background-position: center;
}
.fx-page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,31,77,0.82), rgba(20,45,111,0.65));
}
.fx-page-hero .container { position: relative; z-index: 1; }
.fx-page-hero h1 { color: #fff; font-weight: 700; letter-spacing: -0.02em; }
.fx-page-hero p { color: rgba(255,255,255,0.85); font-size: 16px; }
.fx-breadcrumb { color: rgba(255,255,255,0.7); font-size: 13px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 10px; }
.fx-breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }

@media (max-width: 767px) {
  .fx-section { padding: 60px 0; }
}
