/* =============================================
   CK Systems, LLC — Website Styles
   Colors: Cyan #00D4FF → Blue #0044CC, Navy #0A1628
   ============================================= */

:root {
  --cyan: #00D4FF;
  --blue: #0044CC;
  --navy: #0A1628;
  --navy-light: #0F1D30;
  --dark: #060A10;
  --white: #FFFFFF;
  --light: #F4F7FA;
  --gray: #666666;
  --gray-light: #E2E8F0;
  --gradient: linear-gradient(135deg, var(--cyan), var(--blue));
}

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 70px;
}

.nav-logo img {
  height: 55px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #CCC;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 1px;
  transition: color 0.3s;
}

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

.nav-cta {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 400;
}

.nav-cta:hover {
  opacity: 0.9;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 68, 204, 0.06) 0%, transparent 50%);
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.hero-tag {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: #AAA;
  max-width: 550px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* --- SECTIONS --- */
.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.section-title {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  font-weight: 300;
  margin-bottom: 3rem;
}

/* Dark section */
.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark .section-tag { color: var(--cyan); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: #999; }

/* Light gray section */
.section-light { background: var(--light); }

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 30px rgba(0, 68, 204, 0.08);
  transform: translateY(-3px);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 300;
}

/* Dark card variant */
.section-dark .service-card {
  background: var(--navy-light);
  border-color: rgba(0, 212, 255, 0.08);
}

.section-dark .service-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.05);
}

.section-dark .service-card h3 { color: var(--white); }
.section-dark .service-card p { color: #999; }

/* --- STATS --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}

.stat-number {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: #999;
  margin-top: 0.25rem;
  font-weight: 300;
  letter-spacing: 1px;
}

/* --- ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.about-text p {
  color: var(--gray);
  font-weight: 300;
}

.about-highlights {
  list-style: none;
  margin-top: 1.5rem;
}

.about-highlights li {
  padding: 0.5rem 0;
  color: var(--gray);
  font-weight: 300;
  padding-left: 1.5rem;
  position: relative;
}

.about-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  transform: translateY(-50%);
}

.about-image {
  background: var(--gradient);
  border-radius: 12px;
  padding: 3px;
}

.about-image-inner {
  background: var(--light);
  border-radius: 10px;
  padding: 3rem;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--navy);
  font-weight: 700;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- CONTACT FORM --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.25rem;
}

.contact-info h3:first-child { margin-top: 0; }

.contact-info p {
  color: var(--gray);
  font-weight: 300;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row input { flex: 1; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #333;
  transition: border-color 0.3s;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--cyan);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
}

/* --- FOOTER --- */
.footer {
  background: var(--dark);
  color: #888;
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo img {
  height: 45px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: #888;
  font-size: 0.85rem;
  transition: color 0.3s;
}

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

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .hero h1 { font-size: 2.2rem; }
  .hero-inner { padding: 7rem 1.5rem 3rem; }

  .stats { grid-template-columns: repeat(2, 1fr); }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .form-row { flex-direction: column; }

  .section-title { font-size: 1.8rem; }
}
