/* style.css - Premium Enterprise Theme for LK Internet (Coral Orange & Gold Edition) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Color Palette - Premium Sunset / Industrial Cyber Theme */
  --bg-color: #080c14;
  --bg-card: rgba(15, 22, 38, 0.75);
  --text-color: #f3f4f6;
  --text-muted: #9ca3af;
  
  --primary: #f97316; /* Coral Orange */
  --primary-glow: rgba(249, 115, 22, 0.35);
  --secondary: #eab308; /* Gold/Amber */
  --secondary-glow: rgba(234, 179, 8, 0.35);
  --accent: #f43f5e; /* Rose Accent */
  
  --glass-bg: rgba(13, 20, 35, 0.5);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border-hover: rgba(249, 115, 22, 0.3);
  --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
body.light-mode {
  --bg-color: #fafaf9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --text-color: #1c1917;
  --text-muted: #57534e;
  
  --primary: #ea580c; /* Deeper Coral */
  --primary-glow: rgba(234, 88, 12, 0.18);
  --secondary: #ca8a04; /* Deeper Gold */
  --secondary-glow: rgba(202, 138, 4, 0.18);
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-border-hover: rgba(234, 88, 12, 0.3);
  --shadow: 0 8px 32px 0 rgba(120, 53, 4, 0.06);
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Dynamic background glowing circles */
.glow-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,0,0,0) 70%);
  top: -200px;
  left: -200px;
  z-index: -1;
  filter: blur(80px);
  pointer-events: none;
}

.glow-bg-secondary {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--secondary-glow) 0%, rgba(0,0,0,0) 70%);
  bottom: 10%;
  right: -100px;
  z-index: -1;
  filter: blur(80px);
  pointer-events: none;
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.85rem 5%;
  background: rgba(8, 12, 20, 0.9);
  box-shadow: var(--shadow);
}

body.light-mode .navbar.scrolled {
  background: rgba(250, 250, 249, 0.9);
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  font-family: var(--font-heading);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  font-size: 0.95rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

/* Theme toggle & Controls */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  transform: rotate(15deg);
}

.cta-nav {
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.cta-nav::after {
  display: none;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-color);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 5% 4rem;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .hero-content h1 {
  background: linear-gradient(135deg, #1c1917 30%, #57534e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px var(--primary-glow);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--primary-glow);
  color: white;
}

.btn-secondary {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(249, 115, 22, 0.05);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  border-color: var(--glass-border-hover);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.95) contrast(1.05);
}

/* Services Page & Grid Styles */
.services-section {
  padding: 8rem 5% 6rem;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15);
}

.service-card.p2p:hover {
  border-color: var(--secondary);
  box-shadow: 0 12px 40px rgba(234, 179, 8, 0.15);
}

.service-card.camera:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(244, 63, 94, 0.15);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.p2p .icon-wrapper {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.camera .icon-wrapper {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.icon-wrapper svg {
  width: 30px;
  height: 30px;
  stroke: var(--primary);
  fill: none;
}

.p2p .icon-wrapper svg {
  stroke: var(--secondary);
}

.camera .icon-wrapper svg {
  stroke: var(--accent);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.features-list li svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  flex-shrink: 0;
}

.p2p .features-list li svg {
  stroke: var(--secondary);
}

.camera .features-list li svg {
  stroke: var(--accent);
}

/* Tech / Infrastructure Section */
.tech-section {
  padding: 8rem 5% 6rem;
  background: rgba(13, 20, 35, 0.2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.tech-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.tech-content {
  flex: 1.2;
  min-width: 320px;
}

.tech-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  margin-bottom: 1.5rem;
}

.tech-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.tech-item {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.tech-item h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.tech-item.camera-tech h4 {
  color: var(--accent);
}

.tech-image-wrapper {
  flex: 1;
  min-width: 320px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.tech-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact Page Styles */
.contact-section {
  padding: 10rem 5% 8rem;
  position: relative;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 4rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
}

.contact-container h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-container p {
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.phone-contact-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: rgba(8, 12, 20, 0.4);
  border: 1px solid var(--glass-border);
  padding: 2.2rem 4.5rem;
  border-radius: 100px;
  box-shadow: var(--shadow);
  transition: var(--transition-smooth);
}

.phone-contact-box:hover {
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
}

.info-item-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.info-item-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  fill: none;
}

.phone-contact-box text-align {
  text-align: left;
}

/* Footer */
.footer {
  background: #04060b;
  border-top: 1px solid var(--glass-border);
  padding: 4rem 5% 2rem;
}

body.light-mode .footer {
  background: #f5f5f4;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
}

.footer-links h4 {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    padding-top: 7rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 2rem 5%;
    gap: 1.5rem;
    box-shadow: var(--shadow);
    align-items: flex-start;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .hamburger {
    display: block;
  }
  
  .tech-container {
    flex-direction: column;
  }
  
  .phone-contact-box {
    padding: 1.5rem 2.5rem;
    border-radius: 30px;
    flex-direction: column;
    gap: 1rem;
  }
  
  .phone-contact-box div {
    text-align: center !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
