/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fafafa;
  direction: ltr;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.logo img {
  height: 149px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  color: #444;
  transition: color 0.2s;
}

.nav a:hover {
  color: #0b3d6e;
}

/* Search bar */
.search-bar {
  max-width: 1100px;
  margin: 1.25rem auto 0;
  padding: 0 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.search-bar input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-bar input:focus {
  border-color: #0b3d6e;
}

.search-bar button {
  padding: 0.7rem 1.25rem;
  background: #0b3d6e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}

.search-bar button:hover {
  background: #083056;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  min-height: 65vh;
}

.hero-content {
  max-width: 420px;
}

.tag {
  font-size: 0.85rem;
  color: #0b3d6e;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #111;
}

.hero-text {
  color: #555;
  font-size: 1.05rem;
}

/* Carousel */
.hero-img {
  position: relative;
}

.carousel {
  position: relative;
  width: 100%;
  height: 480px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  overflow: hidden;
}

.carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  opacity: 0;
  transform: rotateY(90deg) scale(0.9);
  transition: opacity 0.6s ease, transform 0.7s ease;
}

.carousel-img.active {
  opacity: 1;
  transform: rotateY(0deg) scale(1);
  z-index: 1;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dots button.active {
  background: #0b3d6e;
  transform: scale(1.2);
}

/* Sections */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #111;
  text-align: center;
}

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.product {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.product.hidden {
  display: none;
}

.product img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #f5f5f5;
  padding: 1rem;
}

.product h3 {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1rem 1rem 0.25rem;
  color: #111;
}

.product p {
  font-size: 0.9rem;
  color: #666;
  padding: 0 1rem 1.25rem;
}

.no-results {
  text-align: center;
  color: #888;
  padding: 2rem;
}

/* Videos */
.video-section {
  background: #f0f4f8;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.video-section .section-title {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.video-section .videos {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.videos {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.video-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  aspect-ratio: 9/16;
  max-height: 420px;
  width: 100%;
  max-width: 280px;
  flex: 0 0 auto;
}

.video-card:first-child {
  margin-left: 0;
  margin-right: auto;
}

.video-card:last-child {
  margin-left: auto;
  margin-right: 0;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(11, 61, 110, 0.9);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  pointer-events: none;
  transition: transform 0.2s, background 0.2s;
}

.video-card:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: #0b3d6e;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox video {
  max-width: min(90vw, 480px);
  max-height: 85vh;
  border-radius: 8px;
  background: #000;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

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

.about-text p {
  color: #555;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-img {
  position: relative;
}

.about-carousel {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  background: #f0f0f0;
}

.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.about-slide.active {
  opacity: 1;
  z-index: 1;
}

.about-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.about-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.about-dots button.active {
  background: #0b3d6e;
  transform: scale(1.2);
}

.required {
  color: #e53935;
  font-weight: 700;
}

/* Contact */
.contact {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  margin: 0 auto 3rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.contact-intro {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0b3d6e;
  box-shadow: 0 0 0 3px rgba(11, 61, 110, 0.12);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: #0b3d6e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: #083056;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #eee;
  background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .logo img {
    height: 122px;
  }

  .nav {
    gap: 1rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .search-bar {
    padding: 0 1.25rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1.5rem 1.25rem 2rem;
    text-align: center;
  }

  .hero-content {
    max-width: none;
    order: 1;
  }

  .hero-img {
    order: 0;
  }

  .carousel {
    height: 360px;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .videos {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .video-card {
    max-height: 400px;
    margin: 0 auto;
    width: 100%;
    max-width: 280px;
  }

  .video-card:first-child,
  .video-card:last-child {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 2.5rem 1.25rem;
  }
}

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

/* Contact form status */
.form-status{margin-top:14px;padding:12px 16px;border-radius:8px;font-size:.95rem}
.form-status.success{background:#e6f6ec;color:#17623a;border:1px solid #a8dcbc}
.form-status.error{background:#fdecec;color:#8a1f1f;border:1px solid #f0b4b4}
.form-submit:disabled{opacity:.6;cursor:not-allowed}
