/*
Theme Name: GNT
Theme URI: https://arquisoftware.com.pe/
Author: CARLOS AIRTON CURO SILUPU
Description: Tema Premium Corporativo Moderno
Version: 3.0
*/

:root {
  --primary: #19d1c3;
  --primary-dark: #0e857c;
  --secondary: #0f172a;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0b0f19;
  --text-dark: #1e293b;
  --text-muted-light: #64748b;
  --text-light: #f8fafc;
  --text-muted-dark: #94a3b8;
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-dark);
  scroll-behavior: smooth;
  position: relative;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6, .navbar-brand, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-muted {
  color: var(--text-muted-light) !important;
}

.bg-dark .text-muted, 
.section-dark .text-muted {
  color: var(--text-muted-dark) !important;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 3.5rem;
  color: var(--secondary);
  position: relative;
  display: table;
  margin-left: auto;
  margin-right: auto;
  font-weight: 800;
}

.section-dark .section-title {
  color: var(--text-light);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
}

/* =========================================
   NAVBAR
   ========================================= */
.glass-nav {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  padding: 15px 0;
}

.glass-nav.navbar-dark {
  background: rgba(11, 15, 25, 0.8) !important;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.glass-nav.scrolled {
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.glass-nav.navbar-dark.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  font-size: 2rem;
  color: var(--primary) !important;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 1.05rem;
  margin: 0 10px;
  position: relative;
  transition: 0.3s;
}

.navbar-dark .nav-link {
  color: var(--text-light) !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
}

.dropdown-menu {
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  animation: dropFade 0.3s ease forwards;
}

.navbar-dark .dropdown-menu {
  background: var(--secondary);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

@keyframes dropFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  color: var(--text-muted-light) !important;
  border-radius: 8px;
  padding: 10px 15px;
  transition: 0.3s;
  font-weight: 500;
}

.navbar-dark .dropdown-item {
  color: var(--text-muted-dark) !important;
}

.dropdown-item:hover {
  background: rgba(25, 209, 195, 0.1);
  color: var(--primary) !important;
  transform: translateX(5px);
}

/* =========================================
   BUTTONS & ANIMATIONS
   ========================================= */
.btn-cyber {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 35px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.4s ease;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-cyber:hover {
  background: var(--primary);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(25, 209, 195, 0.4);
}

.btn-cyber-solid {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(25, 209, 195, 0.2);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-cyber-solid:hover {
  background: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(25, 209, 195, 0.5);
  color: #fff !important;
}

/* Shine effect on hover */
.btn-cyber::before, .btn-cyber-solid::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: all 0.7s ease;
  z-index: 1;
}

.btn-cyber:hover::before, .btn-cyber-solid:hover::before {
  left: 200%;
}

/* Continuous Pulse for CTAs */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(25, 209, 195, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(25, 209, 195, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 209, 195, 0); }
}

.btn-pulse {
  animation: pulse-glow 2s infinite;
}

/* Floating Elements */
@keyframes float-smooth {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.float-anim {
  animation: float-smooth 4s ease-in-out infinite;
}

/* =========================================
   SECTIONS & BACKGROUNDS
   ========================================= */
.section {
  padding: 100px 0;
  position: relative;
}

.section-light {
  background-color: var(--bg-light);
}

.section-white {
  background-color: var(--bg-white);
}

.section-dark {
  background-color: var(--secondary);
  color: var(--text-light);
}

.section-darker {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* Clean Tech Grid for light mode */
.tech-grid-light {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* =========================================
   CARDS
   ========================================= */
.card-premium {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: all 0.4s ease;
  height: 100%;
}

.section-dark .card-premium {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-premium:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(25, 209, 195, 0.3);
}

.section-dark .card-premium:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* =========================================
   HERO / PAGE HEADERS
   ========================================= */
.page-header {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  background: var(--bg-light);
}

.page-header.dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.page-header.dark .page-title {
  color: var(--text-light);
}

/* Dynamic Shapes instead of neon orbs */
.shape-blob {
  position: absolute;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.4;
  border-radius: 50%;
  animation: morph 15s infinite alternate;
}

.page-header.dark .shape-blob {
  opacity: 0.15;
}

.shape-1 { background: var(--primary); width: 400px; height: 400px; top: -100px; left: -100px; }
.shape-2 { background: #0ea5e9; width: 300px; height: 300px; bottom: -50px; right: -50px; }

@keyframes morph {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: scale(1); }
  100% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: scale(1.1); }
}

/* =========================================
   CONTACT FORM
   ========================================= */
.form-control, .form-select {
  background: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-dark);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1rem;
  transition: 0.3s;
}

.section-dark .form-control {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: var(--text-light);
}

.form-control:focus, .form-select:focus {
  background: var(--bg-white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(25, 209, 195, 0.1);
}

.section-dark .form-control:focus {
  background: rgba(255,255,255,0.1);
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-white);
  border-radius: 15px;
  margin-bottom: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: 0.3s;
}

.section-dark .contact-info-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.05);
}

.contact-info-card:hover {
  transform: translateX(10px);
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.contact-info-card i {
  font-size: 1.8rem;
  color: var(--primary);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: linear-gradient(135deg, #0b0f19 0%, #0f172a 100%);
  color: var(--text-light);
  padding: 100px 0 30px;
  position: relative;
  border-top: 1px solid rgba(25, 209, 195, 0.1);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 20px var(--primary);
  animation: footer-scanline 4s linear infinite;
}

@keyframes footer-scanline {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.footer-brand {
  color: var(--primary);
  font-size: 3.5rem;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(25, 209, 195, 0.4);
  margin-bottom: 1rem;
}

.footer-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 30px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links {
  padding-left: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-muted-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(10px);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: #fff;
  transition: all 0.4s ease;
  margin-right: 10px;
  font-size: 1.2rem;
}

.social-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 10px 20px rgba(25, 209, 195, 0.4);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

/* =========================================
   WHATSAPP
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}

/* =========================================
   HYPER-VISUAL & PARALLAX BACKGROUNDS
   ========================================= */
.bg-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.bg-hero-main {
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
}

.bg-stats-parallax {
  background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?q=80&w=2070&auto=format&fit=crop');
}

.bg-cta-parallax {
  background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop');
}

.bg-header-nosotros {
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2069&auto=format&fit=crop');
}

.bg-header-contacto {
  background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=2070&auto=format&fit=crop');
}

/* Enhanced Form Card */
.contact-form-card {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(25, 209, 195, 0.1);
  border-top: 4px solid var(--primary) !important;
  transform: translateY(-5px);
}

/* =========================================
   SINGLE SERVICE CONTENT STYLING
   ========================================= */
.servicio-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.servicio-body h2, .servicio-body h3 {
  font-family: var(--font-display);
  color: var(--secondary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.servicio-body ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.servicio-body ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
}

.servicio-body ul li::before {
  content: '\F26A'; /* Bootstrap Icon check-circle-fill */
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary);
  font-size: 1.2rem;
}

.servicio-body p {
  margin-bottom: 1.5rem;
}

.overlay-dark {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 15, 25, 0.85);
  z-index: 1;
}

.overlay-gradient-cyan {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.9) 0%, rgba(25, 209, 195, 0.6) 100%);
  z-index: 1;
}

/* Image Cards for Services */
.image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.image-card img.bg-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.7s ease;
}

.image-card .card-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(11,15,25,0.95) 0%, rgba(11,15,25,0.4) 50%, transparent 100%);
  z-index: 1;
  transition: background 0.5s ease;
}

.image-card .card-content {
  position: relative;
  z-index: 2;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.image-card:hover img.bg-img {
  transform: scale(1.1);
}

.image-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(11,15,25,0.98) 0%, rgba(25,209,195,0.8) 100%);
}

.image-card:hover .card-content {
  transform: translateY(0);
}

.image-card .icon-wrapper {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.text-glow-intense {
  text-shadow: 0 0 30px rgba(255,255,255,0.8), 0 0 60px var(--primary);
}