/* ==========================================================================
   Fakkeh custom theme — overrides the generic "Active" template look
   with the app's real brand: gold / sage / wine on warm cream, Cairo type.
   ========================================================================== */

:root {
  --fk-bg: #FBF9F5;
  --fk-surface: #FFFFFF;
  --fk-surface-2: #F6F1E7;
  --fk-ink: #2A2620;
  --fk-muted: #8A8373;
  --fk-border: #E5DFD2;

  --fk-gold: #AD7D37;
  --fk-gold-shade: #8F6629;
  --fk-gold-soft: #F3E9D8;

  --fk-sage: #5E8257;
  --fk-sage-soft: #E8F0E6;

  --fk-wine: #8B2252;
  --fk-wine-soft: #F7E4EA;

  --fk-shadow: 0 1px 2px rgba(42, 38, 32, .05), 0 16px 40px -16px rgba(42, 38, 32, .18);
  --fk-shadow-sm: 0 1px 2px rgba(42, 38, 32, .06), 0 6px 16px -8px rgba(42, 38, 32, .14);
  --fk-radius: 20px;
  --fk-radius-sm: 12px;
}

body {
  font-family: "Cairo", "Lato", sans-serif !important;
  background: var(--fk-bg) !important;
  color: var(--fk-ink) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cairo", "Roboto", sans-serif !important;
  font-weight: 800 !important;
  color: var(--fk-ink) !important;
}

a { color: var(--fk-gold); }
a:hover { color: var(--fk-gold-shade); }

/* -------------------------------------------------------------------------
   Header / Nav
   ------------------------------------------------------------------------- */
#header {
  background: rgba(251, 249, 245, .92) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fk-border);
  box-shadow: none !important;
  padding: 14px 0;
}

#header .sitename {
  color: var(--fk-ink) !important;
  font-weight: 900 !important;
  font-size: 26px !important;
  margin: 0;
}

#header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

#header .logo img.fk-mark {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.navmenu ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navmenu ul li a {
  color: var(--fk-ink) !important;
  font-weight: 700 !important;
  font-size: 15px;
  padding: 8px 16px !important;
  border-radius: 999px;
  transition: all .2s ease;
}

.navmenu ul li a:not(.fk-nav-cta):hover,
.navmenu ul li a.active:not(.fk-nav-cta) {
  background: var(--fk-gold-soft);
  color: var(--fk-gold-shade) !important;
}

.fk-nav-cta {
  background: var(--fk-gold) !important;
  color: #fff !important;
  font-weight: 800 !important;
  padding: 10px 24px !important;
  border-radius: 999px !important;
  margin-inline-start: 8px;
  box-shadow: var(--fk-shadow-sm);
}

.fk-nav-cta:hover {
  background: var(--fk-gold-shade) !important;
  color: #fff !important;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.fk-hero {
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}

.fk-hero::before {
  content: "";
  position: absolute;
  inset-inline-end: -180px;
  top: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--fk-gold-soft) 0%, rgba(243, 233, 216, 0) 70%);
  z-index: 0;
}

.fk-hero .container { position: relative; z-index: 1; }

.fk-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--fk-gold-shade);
  background: var(--fk-gold-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.fk-hero h1 {
  font-size: clamp(32px, 4.2vw, 52px) !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
}

.fk-hero h1 .fk-accent { color: var(--fk-gold); }

.fk-hero p.lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--fk-muted);
  max-width: 48ch;
  margin-bottom: 34px;
}

.fk-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.fk-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fk-gold);
  color: #fff !important;
  font-weight: 800;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  box-shadow: var(--fk-shadow-sm);
  transition: transform .2s ease, background .2s ease;
}

.fk-btn-primary:hover {
  background: var(--fk-gold-shade);
  color: #fff !important;
  transform: translateY(-2px);
}

.fk-store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fk-store-badges img {
  height: 46px;
  display: block;
}

.fk-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 8px;
}

.fk-trust-row .fk-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fk-muted);
}

.fk-trust-row .fk-trust-item i {
  color: var(--fk-sage);
  font-size: 18px;
}

/* Phone showcase */
.fk-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.fk-phone-card {
  position: relative;
  background: var(--fk-surface);
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--fk-shadow);
  border: 1px solid var(--fk-border);
  max-width: 320px;
}

.fk-phone-card img {
  width: 100%;
  border-radius: 26px;
  display: block;
}

.fk-float-chip {
  position: absolute;
  background: var(--fk-surface);
  border: 1px solid var(--fk-border);
  border-radius: 14px;
  box-shadow: var(--fk-shadow-sm);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.fk-float-chip i { font-size: 16px; }

.fk-float-chip.fk-chip-1 {
  top: 10%;
  inset-inline-start: -4%;
  color: var(--fk-sage);
}
.fk-float-chip.fk-chip-1 i { color: var(--fk-sage); }

.fk-float-chip.fk-chip-2 {
  bottom: 8%;
  inset-inline-end: 4%;
  color: var(--fk-wine);
}
.fk-float-chip.fk-chip-2 i { color: var(--fk-wine); }

/* -------------------------------------------------------------------------
   Section scaffolding
   ------------------------------------------------------------------------- */
.fk-section { padding: 90px 0; }
.fk-section-alt { background: var(--fk-surface-2); }

.fk-section-head {
  max-width: 640px;
  margin-bottom: 50px;
}

.fk-section-head.fk-center { margin-inline: auto; text-align: center; }

.fk-section-head h2 {
  font-size: clamp(26px, 3vw, 36px) !important;
  margin: 10px 0 14px !important;
}

.fk-section-head p {
  font-size: 16.5px;
  color: var(--fk-muted);
  line-height: 1.75;
}

/* -------------------------------------------------------------------------
   Feature cards
   ------------------------------------------------------------------------- */
.fk-feature-card {
  background: var(--fk-surface);
  border: 1px solid var(--fk-border);
  border-radius: var(--fk-radius-sm);
  padding: 28px 24px;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}

.fk-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fk-shadow-sm);
}

.fk-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.fk-feature-icon.fk-gold { background: var(--fk-gold-soft); color: var(--fk-gold-shade); }
.fk-feature-icon.fk-sage { background: var(--fk-sage-soft); color: var(--fk-sage); }
.fk-feature-icon.fk-wine { background: var(--fk-wine-soft); color: var(--fk-wine); }

.fk-feature-card h3 {
  font-size: 17px !important;
  margin-bottom: 8px !important;
}

.fk-feature-card p {
  font-size: 14.5px;
  color: var(--fk-muted);
  line-height: 1.7;
  margin: 0;
}

/* -------------------------------------------------------------------------
   Screenshot showcase
   ------------------------------------------------------------------------- */
.fk-showcase-card {
  background: var(--fk-surface);
  border-radius: var(--fk-radius);
  border: 1px solid var(--fk-border);
  padding: 24px;
  box-shadow: var(--fk-shadow-sm);
  height: 100%;
}

.fk-showcase-card img {
  width: 100%;
  border-radius: var(--fk-radius-sm);
  border: 1px solid var(--fk-border);
  margin-bottom: 20px;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
}

.fk-showcase-card h3 {
  font-size: 18px !important;
  margin-bottom: 8px !important;
}

.fk-showcase-card p {
  font-size: 14.5px;
  color: var(--fk-muted);
  margin: 0;
}

/* -------------------------------------------------------------------------
   Platform band
   ------------------------------------------------------------------------- */
.fk-platform-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--fk-surface);
  border: 1px solid var(--fk-border);
  border-radius: var(--fk-radius-sm);
  padding: 22px;
  height: 100%;
}

.fk-platform-item .fk-feature-icon { margin-bottom: 0; flex-shrink: 0; }

.fk-platform-item h4 {
  font-size: 15.5px !important;
  margin: 0 0 4px !important;
}

.fk-platform-item p {
  font-size: 13.5px;
  color: var(--fk-muted);
  margin: 0;
}

/* -------------------------------------------------------------------------
   Final CTA band
   ------------------------------------------------------------------------- */
.fk-cta-band {
  background: linear-gradient(135deg, var(--fk-gold-shade), var(--fk-gold));
  border-radius: 28px;
  padding: 70px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.fk-cta-band h2 {
  color: #fff !important;
  font-size: clamp(26px, 3.4vw, 38px) !important;
  margin-bottom: 14px !important;
}

.fk-cta-band p {
  color: rgba(255, 255, 255, .9);
  font-size: 17px;
  max-width: 50ch;
  margin: 0 auto 32px;
}

.fk-cta-band .fk-store-badges { justify-content: center; }

.fk-cta-wrap { padding: 0 24px; }

/* -------------------------------------------------------------------------
   Page header (contact, etc.)
   ------------------------------------------------------------------------- */
.fk-page-header {
  padding: 150px 0 70px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.fk-page-header::before {
  content: "";
  position: absolute;
  inset-inline-end: -160px;
  top: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--fk-gold-soft) 0%, rgba(243, 233, 216, 0) 70%);
  z-index: 0;
}

.fk-page-header .container { position: relative; z-index: 1; }

.fk-page-header h1 {
  font-size: clamp(30px, 4vw, 44px) !important;
  margin: 10px 0 14px !important;
}

.fk-page-header p {
  font-size: 17px;
  color: var(--fk-muted);
  max-width: 50ch;
  margin: 0 auto;
}

/* -------------------------------------------------------------------------
   Contact section
   ------------------------------------------------------------------------- */
.fk-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--fk-surface);
  border: 1px solid var(--fk-border);
  border-radius: var(--fk-radius-sm);
  padding: 22px;
  margin-bottom: 16px;
}

.fk-contact-card .fk-feature-icon { margin-bottom: 0; flex-shrink: 0; }

.fk-contact-card h4 {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--fk-muted) !important;
  margin: 0 0 4px !important;
}

.fk-contact-card p {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--fk-ink);
  margin: 0;
}

.fk-contact-panel {
  background: var(--fk-surface);
  border: 1px solid var(--fk-border);
  border-radius: var(--fk-radius);
  box-shadow: var(--fk-shadow-sm);
  padding: 40px;
}

.fk-contact-panel .form-control {
  background: var(--fk-bg);
  border: 1px solid var(--fk-border);
  border-radius: var(--fk-radius-sm);
  padding: 13px 18px;
  font-size: 15px;
  color: var(--fk-ink);
  box-shadow: none;
}

.fk-contact-panel .form-control:focus {
  border-color: var(--fk-gold);
  background: #fff;
  box-shadow: 0 0 0 3px var(--fk-gold-soft);
}

.fk-contact-panel textarea.form-control { min-height: 140px; resize: vertical; }

.fk-contact-panel button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fk-gold);
  color: #fff !important;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 36px;
  border: none;
  border-radius: 999px;
  box-shadow: var(--fk-shadow-sm);
  transition: transform .2s ease, background .2s ease;
  cursor: pointer;
}

.fk-contact-panel button[type="submit"]:hover {
  background: var(--fk-gold-shade);
  transform: translateY(-2px);
}

.fk-contact-panel .loading,
.fk-contact-panel .error-message,
.fk-contact-panel .sent-message {
  display: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: var(--fk-radius-sm);
}

.fk-contact-panel .loading.d-block,
.fk-contact-panel .error-message.d-block,
.fk-contact-panel .sent-message.d-block {
  display: block;
}

.fk-contact-panel .loading { background: var(--fk-gold-soft); color: var(--fk-gold-shade); }
.fk-contact-panel .error-message { background: var(--fk-wine-soft); color: var(--fk-wine); }
.fk-contact-panel .sent-message { background: var(--fk-sage-soft); color: var(--fk-sage); }

/* Honeypot anti-spam field - invisible to real users, catnip for bots */
.fk-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
#footer {
  background: var(--fk-ink) !important;
  color: #D9D3C6 !important;
  padding: 70px 0 0;
}

#footer .widget-heading {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  margin-bottom: 18px !important;
}

#footer p, #footer li, #footer a {
  color: #BFB8A8 !important;
  font-size: 14.5px;
}

#footer ul.list-unstyled li { margin-bottom: 10px; }

#footer a:hover { color: var(--fk-gold) !important; }

#footer .social-icons.d-flex {
  gap: 12px;
}

#footer .social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

#footer .social-icons a span {
  color: #fff !important;
  font-size: 17px;
  position: static !important;
  transform: none !important;
}

#footer .social-icons a:hover {
  background: var(--fk-gold) !important;
}

#footer .social-icons a:hover span {
  color: #fff !important;
}

#footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 40px;
  padding: 22px 0;
  color: #9A927F !important;
  font-size: 13.5px;
}

#footer .copyright strong { color: #fff; }

/* Scroll to top button */
.scroll-top {
  background: var(--fk-gold) !important;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .fk-hero { padding: 130px 0 60px; }
  .fk-page-header { padding: 120px 0 50px; }
  .fk-section { padding: 60px 0; }
  .fk-float-chip { display: none; }
  .fk-cta-band { padding: 50px 24px; border-radius: 20px; }
  .fk-contact-panel { padding: 26px; }
}
