/*
Theme Name: NoFlick
Theme URI: https://noflick.pk
Author: NoFlick Pvt Ltd
Description: Custom WordPress theme for NoFlick — Lahore's #1 Local SEO & Digital Marketing Agency.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: noflick
*/

/* ===== CSS VARIABLES ===== */
:root {
  --teal: #144241;
  --teal-dark: #0e2f2e;
  --teal-deep: #081c1c;
  --teal-deeper: #051414;
  --teal-light: #1a5856;
  --teal-muted: #1b3f3e;
  --orange: #fc7800;
  --orange-dim: #e06c00;
  --orange-glow: rgba(252,120,0,0.12);
  --orange-glow-md: rgba(252,120,0,0.2);
  --orange-glow-strong: rgba(252,120,0,0.35);
  --orange-light: #ffad5c;
  --white: #ffffff;
  --text-hero: #ffffff;
  --text-primary: #f0ebe5;
  --text-sec: #a8a198;
  --text-muted: #6e6960;
  --border: rgba(255,255,255,0.06);
  --border-orange: rgba(252,120,0,0.18);
  --card: rgba(20,66,65,0.5);
  --card-solid: #0f3332;
  --gold: #fbbf24;
  --gradient-hero: linear-gradient(160deg, var(--teal-deeper) 0%, var(--teal-dark) 40%, var(--teal) 100%);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  background: var(--teal-deeper);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Override any WP default typography */
h1,h2,h3,h4,h5,h6 { font-family: 'Roboto', sans-serif; font-weight: 800; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.sec-pad { padding: 100px 0; }
.text-center { text-align: center; }

/* ===== TYPOGRAPHY ===== */
.sec-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; color: var(--orange);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
}
.sec-tag::before { content: ''; width: 24px; height: 2px; background: var(--orange); border-radius: 1px; }
.sec-heading {
  font-family: 'Roboto', sans-serif;
  font-size: 48px; font-weight: 800;
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 14px;
}
.sec-desc {
  font-size: 16px; color: var(--text-sec);
  line-height: 1.65; max-width: 520px; margin-bottom: 55px;
}
.sec-desc.ctr { margin-left: auto; margin-right: auto; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--teal-dark);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-header::before {
  content: ''; position: absolute;
  top: -100px; right: -150px; width: 500px; height: 500px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 65%);
  pointer-events: none;
}
.page-header h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 52px; font-weight: 800;
  letter-spacing: -0.5px; margin-bottom: 14px; position: relative;
}
.page-header p {
  font-size: 17px; color: var(--text-sec);
  max-width: 560px; margin: 0 auto; line-height: 1.6; position: relative;
}
.page-header .hl { color: var(--orange); }

/* ===== BUTTONS ===== */
.btn-hero {
  background: var(--orange); color: var(--teal-deep);
  padding: 16px 36px; border-radius: 12px;
  font-weight: 700; font-size: 15px; font-family: inherit;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-hero:hover { box-shadow: 0 8px 40px var(--orange-glow-strong); transform: translateY(-2px); }
.btn-ghost {
  color: var(--text-sec); font-size: 14px; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border: 1px solid var(--border); border-radius: 12px;
  transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ===== TOPBAR ===== */
.site-topbar {
  background: var(--teal-dark);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 13px; font-weight: 600;
  color: var(--text-sec);
  overflow: hidden;
  white-space: nowrap;
}
.site-topbar-track {
  display: inline-block;
  padding-left: 100%;
  animation: topbar-scroll 22s linear infinite;
}
@keyframes topbar-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.site-topbar strong { color: var(--orange); }

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
  position: fixed; bottom: 92px; right: 24px;
  width: 44px; height: 44px;
  background: var(--teal-dark); border: 1px solid var(--border);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 998;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.3s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.scroll-top-btn.visible {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateY(0);
}
.scroll-top-btn:not(.visible) { transform: translateY(12px); }
.scroll-top-btn:hover {
  background: var(--orange-glow); border-color: var(--border-orange);
  transform: translateY(-2px);
}
.scroll-top-btn svg { width: 18px; height: 18px; color: var(--text-sec); }

/* ===== NAVIGATION ===== */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 8px; height: 70px;
}
.nav-logo {
  text-decoration: none; flex-shrink: 0; margin-right: 16px;
  display: flex; align-items: center;
}
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links a {
  color: var(--text-sec); font-size: 14px; font-weight: 500;
  text-decoration: none; padding: 8px 14px; border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.current { color: var(--orange); }
.nav-cta {
  background: var(--orange); color: var(--teal-deep) !important;
  padding: 10px 22px; border-radius: 10px;
  font-weight: 700; font-size: 13px;
  text-decoration: none; transition: all 0.3s; flex-shrink: 0; margin-left: auto;
}
.nav-cta:hover { box-shadow: 0 0 24px var(--orange-glow-strong); transform: translateY(-1px); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--text-primary); font-size: 22px; padding: 6px; margin-left: auto;
}
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--teal-dark); border-top: 1px solid var(--border); padding: 16px 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-sec); font-size: 15px; font-weight: 500;
  padding: 12px 10px; text-decoration: none;
  border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.nav-mobile a:last-child { border: none; }
.nav-mobile a:hover { color: var(--orange); }
.nav-mobile .mob-cta {
  margin-top: 12px; background: var(--orange); color: var(--teal-deep);
  padding: 12px 20px; border-radius: 10px;
  font-weight: 700; text-align: center;
}

/* ===== FOOTER ===== */
.site-footer { background: var(--teal-deep); border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 70px 40px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 60px; }
.footer-logo { margin-bottom: 14px; }
.footer-logo img { height: 44px; width: auto; display: block; }
.footer-desc { font-size: 14px; color: var(--text-sec); line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.footer-rating .stars { color: var(--gold); font-size: 14px; }
.footer-rating strong { color: var(--white); }
.footer-col h4 {
  font-family: 'Roboto', sans-serif; font-size: 12px; font-weight: 700;
  color: var(--white); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-sec); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-ci { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-sec); margin-bottom: 12px; line-height: 1.5; }
.footer-ci-ico { font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.footer-ci a { color: var(--text-sec); text-decoration: none; transition: color 0.2s; }
.footer-ci a:hover { color: var(--orange); }
.footer-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff;
  padding: 10px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  text-decoration: none; margin-top: 10px; transition: all 0.3s;
}
.footer-wa:hover { box-shadow: 0 4px 20px rgba(37,211,102,0.4); transform: translateY(-1px); }
.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: 1200px; margin: 0 auto; padding: 24px 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-muted); font-size: 12px; text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--orange); }

/* ===== FOOTER SOCIAL ===== */
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--card-solid); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary) !important; font-size: 14px; text-decoration: none;
  transition: all 0.2s; flex-shrink: 0;
}
.footer-social a:hover { background: var(--orange-glow-md); border-color: var(--border-orange); color: var(--orange) !important; }

/* ===== SLIDER CONTROL ROW (home page) ===== */
.hp-slider-ctrl { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 14px; padding: 0 40px; max-width: 1200px; margin-left: auto; margin-right: auto; }
@media (max-width: 768px) { .hp-slider-ctrl { padding: 0 20px; } }
.hp-slider-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--card-solid); border: 1px solid var(--border-orange);
  color: var(--orange); font-size: 22px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; padding: 0; line-height: 1;
}
.hp-slider-btn:hover { background: var(--orange); color: var(--teal-deep); border-color: var(--orange); }

/* ===== SLIDER ARROWS ===== */
.slider-wrap { position: relative; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(15,51,50,0.92); border: 1px solid var(--border-orange);
  color: var(--orange); font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; transition: all 0.2s; line-height: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5); padding: 0;
}
.slider-btn:hover { background: var(--orange); color: var(--teal-deep); border-color: var(--orange); transform: translateY(-50%) scale(1.08); }
.slider-btn.prev { left: -20px; }
.slider-btn.next { right: -20px; }

/* ===== LIGHTBOX ===== */
#nf-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
}
#nf-lb-backdrop { position: absolute; inset: 0; background: rgba(5,20,20,0.96); cursor: pointer; }
#nf-lb-img {
  position: relative; z-index: 1;
  max-width: 92vw; max-height: 88vh;
  border-radius: 12px; box-shadow: 0 24px 80px rgba(0,0,0,0.8);
  object-fit: contain; display: block;
}
#nf-lb-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(15,51,50,0.95); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
#nf-lb-close:hover { background: var(--orange); color: var(--teal-deep); border-color: var(--orange); }
#nf-lb-prev, #nf-lb-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(15,51,50,0.92); border: 1px solid var(--border-orange);
  color: var(--orange); font-size: 30px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5); padding: 0;
}
#nf-lb-prev:hover, #nf-lb-next:hover { background: var(--orange); color: var(--teal-deep); border-color: var(--orange); }
#nf-lb-prev { left: 16px; }
#nf-lb-next { right: 16px; }
.slider-item img { cursor: pointer; }
@media (max-width: 768px) {
  .slider-btn.prev { left: 4px; }
  .slider-btn.next { right: 4px; }
  #nf-lb-prev { left: 8px; }
  #nf-lb-next { right: 8px; }
  #nf-lb-img { max-width: 96vw; max-height: 80vh; }
}

/* ===== WA FLOAT ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  z-index: 999; transition: all 0.3s; text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float i { font-size: 28px; color: #fff; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.8s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .sec-pad { padding: 70px 0; }
  .sec-heading { font-size: 32px; }
  .page-header h1 { font-size: 34px; }
  .page-header { padding: 70px 0 40px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-container { padding: 0 20px; }
  .footer-inner { padding: 50px 20px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { padding: 20px; flex-direction: column; align-items: flex-start; }
  .nav-logo img, .footer-logo img { height: 34px; }
}
