/* ============================================
   WPC Solutions - Corporate Design System
   ============================================ */

/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  /* Colors */
  --bg-dark: #050505;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.08);

  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-accent: #00f3ff;

  --primary-glow: #00f3ff;
  --secondary-glow: #0066ff;

  --border-light: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 243, 255, 0.3);

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #050505 0%, #0a0f1c 100%);
  --grad-text: linear-gradient(90deg, #ffffff, #00f3ff);
  --grad-card: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 100%
  );

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Animations */
@keyframes glow {
  0% {
    box-shadow: 0 0 5px var(--primary-glow);
  }
  50% {
    box-shadow:
      0 0 20px var(--primary-glow),
      0 0 10px var(--secondary-glow);
  }
  100% {
    box-shadow: 0 0 5px var(--primary-glow);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

.reveal {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-glow);
  transition: 0.3s;
}

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

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

.btn-contact {
  padding: 10px 25px;
  background: transparent;
  border: 1px solid var(--primary-glow);
  color: var(--primary-glow);
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-contact:hover {
  background: var(--primary-glow);
  color: #000;
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--grad-hero);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--bg-dark), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  color: var(--text-accent);
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 25px;
  background: linear-gradient(to right, #ffffff, #b0b0b0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 300;
}

.btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-glow);
  color: #050505;
  font-weight: 700;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: 0.3s;
  z-index: -1;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary:hover {
  box-shadow: 0 0 30px var(--primary-glow);
}

/* Services */
.services {
  padding: var(--section-padding) 0;
  background: #050505;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-title span {
  color: var(--text-accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 40px;
  border-radius: 15px;
  transition: 0.4s;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-10px);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* About */
.about {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, #050505 0%, #080c14 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat-item h4 {
  font-size: 3rem;
  color: var(--text-accent);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  margin: 0;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(0, 243, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

/* Contact Form */
.contact {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter */
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 0; /* Managed by grid gap */
}

/* Make Subject, Message, and Button span full width */
.form-group:nth-child(3),
.form-group:nth-child(4),
.btn-submit {
  grid-column: span 2;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #cccccc; /* Lighter text */
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05); /* Lighter input background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s;
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-glow);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(
    90deg,
    var(--secondary-glow),
    var(--primary-glow)
  );
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

/* Footer */
footer {
  background: #020202;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

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

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

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

.footer-links a:hover {
  color: var(--text-accent);
}

.copyright {
  text-align: center;
  color: var(--text-secondary);
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  } /* Mobile menu simplified for now */
}
