/* style.css – Premium Dark Theme for Kyrobit Electronics */
/* Typography */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: #ffffff;
  margin: 0.5em 0;
}

a {
  color: #00ffff;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #66ffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 40px;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  font-weight: 600;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #00ffff;
  display: block;
  transition: transform 0.3s;
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.circuit-bg {
  width: 100%;
  height: 100%;
  opacity: 0.4;
  animation: rotate 60s linear infinite;
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.btn-primary {
  background: #00ffff;
  color: #0a0a0a;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,255,255,0.3);
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover {
  background: #66ffff;
  transform: translateY(-2px);
}

/* Services */
.services-section { padding: 4rem 0; background: #111; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card { background: rgba(255,255,255,0.04); border-radius: 12px; padding: 2rem 1rem; text-align: center; backdrop-filter: blur(8px); transition: transform 0.3s, box-shadow 0.3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,255,255,0.15); }
.service-icon { margin-bottom: 1rem; }
.service-icon svg { width: 48px; height: 48px; }

/* About */
.about-section { padding: 4rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.about-image img { width: 100%; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,255,255,0.2); }

/* Map */
.map-section { padding: 4rem 0; background: #0d0d0d; }
.map-wrapper { position: relative; padding-top: 56.25%; }
.map-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }

/* Contact */
.contact-section { padding: 4rem 0; }
form { display: grid; gap: 1.2rem; max-width: 600px; margin: 0 auto; }
.form-group { position: relative; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem 0.8rem; background: rgba(255,255,255,0.05); border: none; border-radius: 8px; color: #e0e0e0; font-size: 1rem; outline: none; }
.form-group label { position: absolute; top: 50%; left: 0.9rem; transform: translateY(-50%); pointer-events: none; transition: all 0.2s; color: #888; }
.form-group input:focus + label, .form-group input:not(:placeholder-shown) + label, .form-group textarea:focus + label, .form-group textarea:not(:placeholder-shown) + label { top: 0; left: 0.7rem; font-size: 0.75rem; color: #00ffff; }
.form-status { margin-top: 0.5rem; font-weight: 600; }

/* Footer */
.site-footer { background: #0a0a0a; color: #aaa; padding: 3rem 0 1rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer-bottom { text-align: center; margin-top: 2rem; font-size: 0.85rem; color: #666; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; background: rgba(10,10,10,0.95); position: absolute; top: 100%; right: 0; width: 200px; padding: 1rem; }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
}
