/*
Theme Name: Loja de Cidadão Nepal
Theme URI: https://lojadecidadaonepal.com
Author: Loja de Cidadão Nepal Dev Team
Author URI: https://lojadecidadaonepal.com
Description: Premium, fully dynamic WordPress theme for Loja de Cidadão Nepal. Features complete customizer controls for all content sections, Custom Post Types (Services, Team, Testimonials, Resources, FAQ), dual-center bilateral management, AJAX appointment scheduling, and rich UI/UX animations.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: loja-theme
Tags: custom-post-types, customizer-options, translation-ready, modern-design, right-sidebar, full-width-template
*/

/* ================================================================
   1. CSS VARIABLES & DESIGN SYSTEM TOKENS
   ================================================================ */

:root {
  --color-navy-50: #f0f4fa;
  --color-navy-100: #dce5f3;
  --color-navy-200: #bccde9;
  --color-navy-300: #91aedd;
  --color-navy-400: #5f8bce;
  --color-navy-500: #3168db;
  --color-navy-600: #2552b0;
  --color-navy-700: #1d418d;
  --color-navy-800: #17336e;
  --color-navy-900: #07132B;
  --color-navy-950: #050e20;

  --color-gold-50: #fdfbf2;
  --color-gold-100: #faf5de;
  --color-gold-200: #f3e8b4;
  --color-gold-300: #edd889;
  --color-gold-400: #e5c456;
  --color-gold-500: #d4af37;
  --color-gold-600: #b88d28;
  --color-gold-700: #946922;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-serif-accent: 'DM Serif Display', Georgia, serif;
}

/* ================================================================
   2. CORE TYPOGRAPHY & SMOOTH RENDERING
   ================================================================ */

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'cv02' 1, 'cv03' 1;
  scroll-behavior: smooth;
}

::selection {
  background-color: #1d4ed8;
  color: #ffffff !important;
}

::-moz-selection {
  background-color: #1d4ed8;
  color: #ffffff !important;
}

body {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 0.9rem + 0.25vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.011em;
  color: #1e293b;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  color: #07132B;
}

h1, .h1 {
  font-size: clamp(2.25rem, 4vw + 1.25rem, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h2, .h2 {
  font-size: clamp(1.75rem, 3vw + 0.85rem, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h3, .h3 {
  font-size: clamp(1.35rem, 1.8vw + 0.6rem, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.font-serif-accent {
  font-family: var(--font-serif-accent);
  font-style: italic;
  font-weight: 400;
}

/* ================================================================
   3. LUXURY GRADIENTS & METALLIC SHIMMERS
   ================================================================ */

.text-gold-gradient {
  background: linear-gradient(135deg, #fef08a 0%, #d4af37 45%, #eab308 80%, #b88d28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-gradient-dark {
  background: linear-gradient(135deg, #fef9c3 0%, #fbbf24 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-border-gradient {
  border-image: linear-gradient(to right, #d4af37, #fef08a, #b88d28) 1;
}

/* ================================================================
   4. GLASSMORPHISM & CARD EFFECTS
   ================================================================ */

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 10px 30px -5px rgba(7, 19, 43, 0.06);
}

.dark-glass {
  background: rgba(7, 19, 43, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 20px 45px -10px rgba(7, 19, 43, 0.5);
}

.luxury-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px -2px rgba(7, 19, 43, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 22px 45px -10px rgba(7, 19, 43, 0.12), 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Button Shimmer Sweep Effect */
.shine-sweep {
  position: relative;
  overflow: hidden;
}

.shine-sweep::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 35%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  transition: all 0.75s ease;
}

.shine-sweep:hover::after {
  left: 135%;
}

/* ================================================================
   5. CUSTOM SCROLLBAR & ANIMATIONS
   ================================================================ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #07132B;
}

::-webkit-scrollbar-thumb {
  background: #17336e;
  border-radius: 5px;
  border: 2px solid #07132B;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.05); }
}

.animate-pulse-subtle {
  animation: pulse-subtle 3s ease-in-out infinite;
}

/* ================================================================
   6. SWIPER SLIDER CUSTOM STYLING
   ================================================================ */

.swiper-button-next-custom,
.swiper-button-prev-custom {
  cursor: pointer;
  user-select: none;
}

.swiper-button-disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  pointer-events: none;
}

.swiper-pagination-testimonials .swiper-pagination-bullet,
.testimonials-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  border: 1px solid rgba(212, 175, 55, 0.3);
  opacity: 0.8;
  transition: all 0.35s ease;
  cursor: pointer;
}

.swiper-pagination-testimonials .swiper-pagination-bullet-active,
.testimonials-swiper .swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #d4af37 0%, #b88d28 100%) !important;
  opacity: 1;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.hero-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(7, 19, 43, 0.35);
  transition: all 0.35s ease;
  cursor: pointer;
}

.hero-swiper .swiper-pagination-bullet-active {
  width: 34px;
  border-radius: 9999px;
  background: #07132B;
  box-shadow: 0 0 12px rgba(7, 19, 43, 0.45);
}

.swiper-pagination-services .swiper-pagination-bullet {
  background: rgba(212, 175, 55, 0.35);
  width: 10px;
  height: 10px;
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-services .swiper-pagination-bullet-active {
  background: #d4af37;
  width: 28px;
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
}

/* ================================================================
   7. WORDPRESS CORE & PAGINATION STYLES
   ================================================================ */

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #1e293b;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.page-numbers:hover,
.page-numbers.current {
  background: linear-gradient(135deg, #d4af37 0%, #b88d28 100%);
  color: #07132B;
  border-color: #d4af37;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

/* WordPress Alignments */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}
.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

/* ================================================================
   7. WORDPRESS PRIMARY MENU & DROPDOWN SUB-MENUS
   ================================================================ */

nav ul.primary-menu,
nav ul.nav-menu,
nav ul.menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul.primary-menu > li,
nav ul.nav-menu > li,
nav ul.menu > li {
  position: relative;
  list-style: none;
}

nav ul.primary-menu > li > a,
nav ul.nav-menu > li > a,
nav ul.menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  color: #334155;
  font-weight: 600;
  font-size: 0.90625rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

nav ul.primary-menu > li > a:hover,
nav ul.nav-menu > li > a:hover,
nav ul.menu > li > a:hover,
nav ul.primary-menu > li.current-menu-item > a,
nav ul.nav-menu > li.current-menu-item > a,
nav ul.menu > li.current-menu-item > a {
  color: #07132B;
  background-color: #f8fafc;
}

/* Submenu / Dropdown Container */
nav ul.primary-menu .sub-menu,
nav ul.nav-menu .sub-menu,
nav ul.menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #07132B;
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 175, 55, 0.2);
  list-style: none;
  margin: 0.35rem 0 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  pointer-events: none;
}

/* Show Submenu on Click (.is-open) or Focus */
nav ul.primary-menu li.is-open > .sub-menu,
nav ul.nav-menu li.is-open > .sub-menu,
nav ul.menu li.is-open > .sub-menu,
nav ul.primary-menu li:focus-within > .sub-menu,
nav ul.nav-menu li:focus-within > .sub-menu,
nav ul.menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

nav ul.primary-menu .sub-menu li,
nav ul.nav-menu .sub-menu li,
nav ul.menu .sub-menu li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul.primary-menu .sub-menu li a,
nav ul.nav-menu .sub-menu li a,
nav ul.menu .sub-menu li a {
  display: flex;
  align-items: center;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

nav ul.primary-menu .sub-menu li a:hover,
nav ul.nav-menu .sub-menu li a:hover,
nav ul.menu .sub-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fde047;
  padding-left: 1.1rem;
}

/* Sub-submenu (Multi-level Flyout) */
nav ul.primary-menu .sub-menu .sub-menu,
nav ul.nav-menu .sub-menu .sub-menu,
nav ul.menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  margin-left: 0.35rem;
}

/* ================================================================
   8. FOOTER MENUS STYLING
   ================================================================ */

ul.footer-services-menu,
ul.footer-quick-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.footer-services-menu li,
ul.footer-quick-menu li {
  margin-bottom: 0.5rem;
}

ul.footer-services-menu li a,
ul.footer-quick-menu li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.8125rem;
}

ul.footer-services-menu li a::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.55rem;
  color: #e5c456;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

ul.footer-quick-menu li a::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.55rem;
  color: #60a5fa;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

ul.footer-services-menu li a:hover,
ul.footer-quick-menu li a:hover {
  color: #fef08a;
  transform: translateX(3px);
}

ul.footer-services-menu li a:hover::before,
ul.footer-quick-menu li a:hover::before {
  transform: translateX(2px);
}

ul.footer-legal-menu li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul.footer-legal-menu li a:hover {
  color: #fde047;
}

/* ================================================================
   9. NEPAL SKYLINE SVG BANNER (::before & ::after)
   ================================================================ */

.hero-banner-nepal,
.page-header-banner,
.footer-top-banner,
.nepal-skyline-bg {
  position: relative;
  background-color: #07132B;
  overflow: hidden;
  z-index: 1;
}

/* ::before: Nepal Cultural Skyline / Mountain Vector Silhouette */
.hero-banner-nepal::before,
.page-header-banner::before,
.footer-top-banner::before,
.nepal-skyline-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/banner.svg');
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: cover;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ::after: Luxury Deep Navy Gradient & Gold Radial Ambient Overlay */
.hero-banner-nepal::after,
.page-header-banner::after,
.footer-top-banner::after,
.nepal-skyline-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 55%),
              radial-gradient(circle at 15% 90%, rgba(37, 82, 176, 0.2) 0%, transparent 60%),
              linear-gradient(180deg, rgba(7, 19, 43, 0.25) 0%, rgba(7, 19, 43, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Ensure foreground content renders cleanly above background pseudo-elements */
.hero-banner-nepal > *,
.page-header-banner > *,
.footer-top-banner > *,
.nepal-skyline-bg > * {
  position: relative;
  z-index: 2;
}

/* Hover micro-zoom effect on banner backdrop */
.hero-banner-nepal:hover::before,
.page-header-banner:hover::before,
.footer-top-banner:hover::before {
  opacity: 0.22;
  transform: scale(1.015);
}

/* ================================================================
   10. HIMALAYAN MOUNTAIN FOOTER TOP ILLUSTRATION (::before & ::after)
   ================================================================ */

.footer-with-illustration,
.footer-mountain-top {
  position: relative;
  background-color: #07132B;
  overflow: hidden;
  z-index: 1;
}

/* ::before: Himalayan Mountain Vector Illustration Panorama */
.footer-with-illustration::before,
.footer-mountain-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 280px;
  background-image: url('assets/illustration.svg');
  background-repeat: repeat-x;
  background-position: top center;
  background-size: 1920px auto;
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
}

/* ::after: Deep Navy Gradient Falloff & Gold Crown Ambient Glow */
.footer-with-illustration::after,
.footer-mountain-top::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(180deg, rgba(7, 19, 43, 0.15) 0%, rgba(7, 19, 43, 0.75) 60%, #07132B 100%),
              radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* Ensure footer contents layer cleanly above the mountain vector */
.footer-with-illustration > *,
.footer-mountain-top > * {
  position: relative;
  z-index: 2;
}

.footer-with-illustration:hover::before,
.footer-mountain-top:hover::before {
  opacity: 0.50;
}




