body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: #07090f;
  color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

header {
  background: black;
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  left: 0;
  overflow: hidden;
}

#dotMatrix {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

body {
  padding-top: 0;
}

nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 18px;
}

.logo {
  font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
  font-size: 48px;
}

nav a {
  margin-left: 25px;
  color: white;
  text-decoration: none;
}

nav a:hover {
  color: #00ff88;
}

.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("images/hero.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero h1 {
  position: relative;
  z-index: 2;
  font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
  font-size: 70px;
  color: #00ff88;
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
  opacity: 0;
  animation: fadeInGlow 2s forwards;
}

@keyframes fadeInGlow {
  0% {
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.2);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6), 0 0 30px rgba(0, 255, 136, 0.4);
  }
}

/* Headings for sections */
section h2 {
  font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
  text-align: center;
  margin-bottom: 50px;
  font-size: 48px;
}

/* Section and products */
section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 10px;
}

.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.card {
  background: #0e131c;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  flex: 0 1 calc(33.333% - 15px);
  max-width: 380px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

@media (hover: hover) {
  .card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
  }
}

@media (hover: none) {
  .card:active {
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
  }
}

.card img {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
  object-fit: cover;
  max-height: 400px;
}

.card img:hover {
  opacity: 0.9;
}

.cardContent {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cardChin {
  background: #0a0d14;
  border-top: 1px solid #00ff88;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.price {
  color: #00ff88;
  font-size: 20px;
  font-weight: 700;
}

button {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  background: #00ff88;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
}

button:hover {
  background: #00dd77;
}

button:active {
  transform: scale(0.98);
}

.demoBtn {
  padding: 8px 16px;
  font-size: 14px;
  min-width: 70px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

#map {
  height: 500px;
  border-radius: 12px;
}

.contact {
  text-align: center;
  padding-bottom: 10px;
}

.contact button {
  font-size: 18px;
  padding: 14px 30px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightbox,
#videoModal {
  z-index: 10001;
}

.modal iframe {
  max-width: 90%;
  max-height: 90%;
}

#infoModalContent {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: flex-start;
  max-width: 1100px;
  width: 90vw;
  max-height: 80vh;
  overflow: hidden;
  background: #111820;
  padding: 0;
  border-radius: 16px;
  border: 1px solid #1a2530;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  position: relative;
}

.modalClose {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.modalClose:hover {
  background: rgba(0, 255, 136, 0.3);
}

.modalTitle {
  font-size: 24px;
  color: #00ff88;
  margin: 0 0 16px 0;
  font-weight: 700;
}

.modalImageColumn {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  background: #0a0f14;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
}

.modalImageColumn img {
  width: 100%;
  max-height: 350px;
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.2s;
}

.modalImageColumn img:hover {
  transform: scale(1.02);
}

.modalChin {
  background: #0a0f14;
  border-top: 1px solid #00ff8840;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.modalChin .price {
  font-size: 20px;
  font-weight: 700;
  color: #00ff88;
}

.modalChin .demoBtn {
  padding: 8px 16px;
  font-size: 13px;
}

.modalDescColumn {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  max-height: 80vh;
  color: #ccc;
  line-height: 1.6;
  font-size: 14px;
}

.modalDescColumn h2,
.modalDescColumn h3,
.modalDescColumn strong {
  color: #00ff88;
  margin-top: 20px;
  margin-bottom: 10px;
}

.modalDescColumn h2:first-child,
.modalDescColumn h3:first-child {
  margin-top: 0;
}

.modalDescColumn p {
  margin-bottom: 12px;
}

footer {
  text-align: right;
  padding: 30px;
  background: black;
  color: #777;
}

/* Product description */
.productInfo {
  color: white;
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.productInfo strong {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
  color: #ffffff;
  line-height: 1.2;
  font-weight: 700;
}

.learnMore {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #00ff88;
  opacity: 0.7;
  font-style: italic;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  .card {
    flex: 0 1 calc(50% - 15px);
  }
  
  nav {
    padding: 12px;
  }
  
  .logo {
    font-size: 36px;
  }
  
  section h2 {
    font-size: 40px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  /* Mobile horizontal card layout */
  .card {
    flex: 0 1 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    min-height: 160px;
    flex-wrap: wrap;
  }
  
  .card img {
    width: 40%;
    min-width: 120px;
    max-width: 160px;
    max-height: 200px;
    object-fit: cover;
    aspect-ratio: 9/16;
  }
  
  .cardContent {
    flex: 1;
    min-width: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
  }
  
  .cardChin {
    width: 100%;
    flex: 0 0 100%;
    padding: 8px 12px;
  }
  
  .productInfo {
    font-size: 13px;
    margin-bottom: 0;
  }
  
  .productInfo strong {
    font-size: 19px;
  }
  
  .price {
    font-size: 18px;
  }
  
  .demoBtn {
    padding: 8px 14px;
    min-width: 60px;
    min-height: 40px;
    font-size: 13px;
  }
  
  .products {
    gap: 12px;
  }

  /* Hero adjustments */
  .hero {
    height: 50vh;
    min-height: 300px;
  }

  .hero h1 {
    font-size: 36px;
    padding: 15px 25px;
  }

  /* Section adjustments */
  section {
    padding: 30px 15px;
  }

  section h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  section p[style*="font-size:18px"] {
    font-size: 16px !important;
  }
  
  /* Navigation improvements */
  nav {
    padding: 10px;
  }
  
  .logo {
    font-size: 28px;
  }
  
  nav a {
    margin-left: 12px;
    font-size: 14px;
  }
  
  .dropdown-content {
    min-width: 160px !important;
  }
  
  .dropdown-content a {
    padding: 10px 12px !important;
    font-size: 14px !important;
    min-height: 44px !important; /* Touch target */
    display: flex !important;
    align-items: center !important;
  }
  
  /* Map adjustments */
  #map {
    height: 350px;
  }
  
  /* Modal improvements */
  .modal iframe {
    width: 100%;
    max-width: 100%;
    height: 250px;
    max-height: 50vh;
  }
  
  #infoModalContent {
    flex-direction: column;
    width: 95vw;
    max-width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
  }
  
  .modalClose {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  
  .modalTitle {
    font-size: 22px;
  }
  
  .modalImageColumn {
    flex: 0 0 auto;
    border-radius: 16px 16px 0 0;
  }
  
  .modalImageColumn img {
    max-height: 220px;
    border-radius: 16px 16px 0 0;
  }
  
  .modalChin {
    border-radius: 0;
  }
  
  .modalDescColumn {
    padding: 20px;
    font-size: 15px;
    border-radius: 0 0 16px 16px;
    overflow-y: visible;
  }
  
  /* Contact section */
  .contact button {
    font-size: 16px;
    padding: 12px 24px;
    min-height: 44px;
  }
  
  .contact p {
    font-size: 16px !important;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  /* Extra small phones */
  .hero h1 {
    font-size: 28px;
    padding: 12px 20px;
  }
  
  .logo {
    font-size: 24px;
  }
  
  section h2 {
    font-size: 24px;
  }
  
  nav a {
    margin-left: 8px;
    font-size: 12px;
  }
  
  .card {
    min-height: 140px;
  }
  
  .card img {
    width: 35%;
    min-width: 100px;
    max-width: 120px;
    max-height: 180px;
    object-fit: cover;
    aspect-ratio: 9/16;
  }
  
  .productInfo {
    font-size: 12px;
  }
  
  .productInfo strong {
    font-size: 17px;
  }
  
  .price {
    font-size: 16px;
  }
}

