/*
Theme Name: GENTEC Enterprise
Theme URI: https://gentecsoft.com.pk/
Author: GENTEC Engineering
Author URI: https://gentecsoft.com.pk/
Description: Award-winning, ISO 27001 certified enterprise WordPress & Elementor theme built for GENTEC Software Solutions Pakistan. Features Inter Tight variable typography, frosted architectural glassmorphism, radial spotlight hover effects, interactive FBR Digital Invoicing simulator widget, infinite testimonial marquee widget, and 1-Click Full Site & Page Importer for all Service, Product, and Corporate pages.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gentec-enterprise
Tags: custom-background, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, elementor
*/

:root {
  --gt-canvas: #F4F2EE;
  --gt-stone: #EAE6DF;
  --gt-ink: #0A211F;
  --gt-ink-muted: #4A5A58;
  --gt-accent: #E86F2C;
  --gt-accent-hover: #D45B1A;
  --gt-border: #E2DDD5;
  --gt-glass-bg: rgba(255, 255, 255, 0.65);
  --gt-glass-border: rgba(255, 255, 255, 0.85);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--gt-canvas);
  color: var(--gt-ink);
  font-family: "Inter Tight", Inter, Arial, sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter Tight", Inter, Arial, sans-serif;
  font-optical-sizing: auto;
  color: var(--gt-ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.gt-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Utility Bar */
.gt-topbar {
  background-color: var(--gt-ink);
  color: #F4F2EE;
  font-size: 13px;
  line-height: 20px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.gt-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.gt-topbar-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.gt-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #D2DCD9;
  font-weight: 500;
}

.gt-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gt-accent);
  box-shadow: 0 0 0 0 rgba(232, 111, 44, 0.7);
  animation: gtPulse 2s infinite;
}

@keyframes gtPulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 111, 44, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(232, 111, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 111, 44, 0); }
}

/* Sticky Glass Header */
.gt-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(244, 242, 238, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--gt-border);
}

.gt-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.gt-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gt-ink);
}

.gt-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #E86F2C 0%, #C84E10 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(232, 111, 44, 0.3);
}

.gt-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.gt-nav ul li {
  position: relative;
}

.gt-nav ul li a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gt-ink);
  padding: 8px 0;
  display: inline-block;
}

.gt-nav ul li a:hover {
  color: var(--gt-accent);
}

/* Mega / Submenu Dropdown */
.gt-nav ul li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 260px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gt-border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 20px 45px rgba(10, 33, 31, 0.12);
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  z-index: 1000;
}

.gt-nav ul li:hover > ul.sub-menu {
  display: flex;
}

.gt-nav ul li ul.sub-menu li a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  display: block;
}

.gt-nav ul li ul.sub-menu li a:hover {
  background: var(--gt-canvas);
  color: var(--gt-accent);
}

/* Buttons */
.gt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: "Inter Tight", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.gt-btn-primary {
  background: var(--gt-accent);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(232, 111, 44, 0.25);
}

.gt-btn-primary:hover {
  background: var(--gt-accent-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(232, 111, 44, 0.35);
}

.gt-btn-dark {
  background: var(--gt-ink);
  color: #FFFFFF;
}

.gt-btn-dark:hover {
  background: #143633;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.gt-btn-glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gt-border);
  color: var(--gt-ink);
}

.gt-btn-glass:hover {
  background: #FFFFFF;
  border-color: var(--gt-accent);
  color: var(--gt-accent);
}

/* Glass Cards & Mouse-Tracking Spotlight Hover-Shine */
.gt-glass-card {
  position: relative;
  background: var(--gt-glass-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--gt-glass-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(10, 33, 31, 0.04);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.gt-glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x) var(--mouse-y),
    rgba(232, 111, 44, 0.14),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.gt-glass-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 2;
}

.gt-glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 111, 44, 0.38);
  box-shadow: 0 22px 44px rgba(10, 33, 31, 0.08);
}

.gt-glass-card:hover::before {
  opacity: 1;
}

.gt-glass-card:hover::after {
  left: 150%;
}

.gt-glass-card > * {
  position: relative;
  z-index: 3;
}

/* Marquee Infinite Loop */
.gt-marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  padding: 16px 0;
}

.gt-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: gtMarqueeScroll 38s linear infinite;
}

.gt-marquee-wrapper:hover .gt-marquee-track {
  animation-play-state: paused;
}

@keyframes gtMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.gt-testimonial-card {
  width: 390px;
  flex-shrink: 0;
}

/* Footer */
.gt-footer {
  background: var(--gt-ink);
  color: #E2EAE8;
  padding: 72px 0 36px;
  margin-top: 80px;
}

.gt-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.gt-footer h3 {
  color: #FFFFFF;
  font-size: 17px;
  margin-bottom: 18px;
}

.gt-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gt-footer ul li a {
  color: #B4C4C0;
  font-size: 14px;
}

.gt-footer ul li a:hover {
  color: var(--gt-accent);
}

.gt-footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #96AAA6;
}

/* Floating WhatsApp Support */
.gt-whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 998;
  background: #128C7E;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(18, 140, 126, 0.35);
}

.gt-whatsapp-float:hover {
  background: #0E7266;
  color: #fff;
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .gt-nav { display: none; }
  .gt-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .gt-footer-grid { grid-template-columns: 1fr; }
}
