/*
 Theme Name:   Vizora Child
 Theme URI:    https://vizoradigital.com
 Description:  Child theme for Hello Elementor, customized for Vizora Digital.
 Author:       Vizora Digital
 Author URI:   https://vizoradigital.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  vizora-child
*/

/* ============================================================
   GLOBAL CSS VARIABLES — matches the original vizoradigital.com
   You can change these in one place to update the entire site.
   ============================================================ */
:root {
  /* Primary colours */
  --navy:        #0a2540;
  --navy-soft:   #123354;
  --navy-line:   #1e3f63;
  --blue:        #1e7fd8;
  --blue-deep:   #1667b5;
  --blue-dark:   #11538f;
  --blue-light:  #4fb8f0;

  /* Neutral colours */
  --silver:      #c8d4e2;
  --silver-soft: #dde5ee;
  --white:       #fff;
  --mist:        #f4f7fb;

  /* Text colours */
  --text:        #1a2b3c;
  --text-soft:   #4a5b6e;
  --on-navy:     #fff;
  --on-navy-soft:#d9e4f0;

  /* WhatsApp brand */
  --wa:          #25d366;
  --wa-hover:    #1fbd5a;
  --wa-ink:      #07203a;

  /* Typography */
  --font-heading: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sinhala: 'Noto Sans Sinhala', 'Inter', sans-serif;

  /* Layout */
  --gutter:      16px;
  --maxw:        1180px;
  --header-h:    72px;
  --radius:      14px;
  --radius-lg:   20px;

  /* Shadows */
  --shadow-sm:   0 1px 2px rgba(10,37,64,0.06), 0 2px 8px rgba(10,37,64,0.05);
  --shadow:      0 2px 6px rgba(10,37,64,0.07), 0 10px 30px rgba(10,37,64,0.08);
  --shadow-lg:   0 4px 12px rgba(10,37,64,0.09), 0 20px 50px rgba(10,37,64,0.10);
}

/* ============================================================
   BASE TYPOGRAPHY
   ============================================================ */
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
}

/* Sinhala text support */
.sinhala-text,
[lang="si"],
html[lang="si"] body {
  font-family: var(--font-sinhala);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.vizora-wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.vizora-wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  background: var(--wa-hover);
}
.vizora-wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ============================================================
   WHATSAPP CTA BUTTONS (green style)
   ============================================================ */
.vizora-wa-btn,
a.vizora-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--wa);
  color: var(--wa-ink) !important;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.vizora-wa-btn:hover {
  background: var(--wa-hover);
  transform: translateY(-1px);
}

/* ============================================================
   DARK (NAVY) SECTIONS
   ============================================================ */
.on-navy,
.elementor-section.on-navy,
.e-con.on-navy {
  background: var(--navy) !important;
  color: var(--on-navy) !important;
}
.on-navy h1,
.on-navy h2,
.on-navy h3,
.on-navy .elementor-heading-title {
  color: var(--on-navy) !important;
}
.on-navy p,
.on-navy .elementor-text-editor {
  color: var(--on-navy-soft) !important;
}

/* ============================================================
   MIST (LIGHT GREY) SECTIONS
   ============================================================ */
.section-mist,
.elementor-section.section-mist,
.e-con.section-mist {
  background: var(--mist) !important;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.vizora-service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  border: 1px solid var(--silver-soft);
}
.vizora-service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.vizora-service-card .card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.vizora-service-card .card-body {
  padding: 28px 24px;
}
.vizora-service-card .card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.vizora-service-card .card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.vizora-service-card .card-desc {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}
.vizora-service-card .card-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}
.vizora-service-card .card-features li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--text);
  font-size: 15px;
}
.vizora-service-card .card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 18px;
  height: 18px;
  background: var(--blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================================
   PORTFOLIO / WORK CARDS
   ============================================================ */
.vizora-work-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.vizora-work-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.4s;
}
.vizora-work-card:hover img {
  transform: scale(1.04);
}
.vizora-work-card .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 37, 64, 0.3);
  opacity: 0;
  transition: opacity 0.3s;
}
.vizora-work-card:hover .play-overlay {
  opacity: 1;
}

/* ============================================================
   PRICING TABLES
   ============================================================ */
.vizora-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.vizora-price-table thead {
  background: var(--navy);
  color: var(--on-navy);
}
.vizora-price-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}
.vizora-price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--silver-soft);
}
.vizora-price-table tbody tr:hover {
  background: var(--mist);
}

/* Pricing package cards */
.vizora-package-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--silver-soft);
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.vizora-package-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.vizora-package-card.popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
  position: relative;
}
.vizora-package-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vizora-package-card .package-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.vizora-package-card .package-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}
.vizora-package-card .package-price-lkr {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.vizora-package-card .package-desc {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ============================================================
   FAQ ACCORDION (uses Elementor Toggle widget)
   ============================================================ */
.vizora-faq .elementor-toggle-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  padding: 18px 0;
}
.vizora-faq .elementor-tab-content {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 18px;
}

/* ============================================================
   BEFORE/AFTER COMPARISON SLIDER
   (Requires custom HTML widget — this is a special interaction)
   ============================================================ */
.vizora-compare {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  max-width: 800px;
  margin: 0 auto;
  touch-action: none;
}
.vizora-compare img {
  display: block;
  width: 100%;
  height: auto;
}
.vizora-compare .compare-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.vizora-compare .compare-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vizora-compare .compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #fff;
  cursor: ew-resize;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
}
.vizora-compare .compare-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.vizora-compare input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
  margin: 0;
}

/* ============================================================
   PROCESS / HOW IT WORKS STEPS
   ============================================================ */
.vizora-step {
  text-align: center;
  padding: 24px;
}
.vizora-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 16px;
}
.vizora-step .step-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.vizora-step .step-desc {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   HEADER CUSTOMIZATIONS
   ============================================================ */
.vizora-header {
  background: var(--navy);
  height: var(--header-h);
}
.vizora-header .elementor-nav-menu a {
  color: var(--on-navy) !important;
  font-weight: 500;
  font-size: 15px;
}
.vizora-header .elementor-nav-menu a:hover {
  color: var(--blue-light) !important;
}

/* ============================================================
   FOOTER CUSTOMIZATIONS
   ============================================================ */
.vizora-footer {
  background: var(--navy);
  color: var(--on-navy-soft);
  padding: 60px 0 30px;
}
.vizora-footer h3,
.vizora-footer h4,
.vizora-footer .elementor-heading-title {
  color: var(--on-navy) !important;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.vizora-footer a {
  color: var(--on-navy-soft) !important;
  text-decoration: none;
  transition: color 0.2s;
}
.vizora-footer a:hover {
  color: var(--blue-light) !important;
}
.vizora-footer .copyright {
  border-top: 1px solid var(--navy-line);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--on-navy-soft);
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --header-h: 60px;
  }
  .vizora-wa-float {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  .vizora-wa-float svg {
    width: 24px;
    height: 24px;
  }
  h1, .elementor-widget-heading h1 {
    font-size: 28px !important;
  }
  h2, .elementor-widget-heading h2 {
    font-size: 24px !important;
  }
  .vizora-package-card {
    padding: 24px 16px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  h1, .elementor-widget-heading h1 {
    font-size: 36px !important;
  }
}
