/* ============================================
   O.N.D. - Clean Responsive Stylesheet
   Mobile-First Approach
   ============================================ */

/* === RESET & BASE === */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 60px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: url('your-image.png') no-repeat center center fixed;
  background-size: cover;
  background-color: rgba(94, 161, 176, 0.85);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
  pointer-events: none;
}

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

main {
  flex: 1;
  width: 100%;
  padding-bottom: 20px;
}

/* === HEADER === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(1, 86, 106, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.2rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  height: 24px;
  width: 24px;
  flex-shrink: 0;
}

/* Navigation - Hidden on mobile by default */
.top-bar nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(1, 86, 106, 0.98);
  flex-direction: column;
  padding: 16px 20px;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar.open nav {
  display: flex;
}

.top-bar nav a {
  padding: 12px 8px;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s;
}

.top-bar nav a:last-child {
  border-bottom: none;
}

.top-bar nav a:hover {
  color: #ffd700;
}

/* Menu Toggle Button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:active {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.lang-btn {
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  min-width: 40px;
  min-height: 40px;
  transition: transform 0.2s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.lang-btn:active {
  opacity: 0.7;
  transform: scale(0.95);
}

/* === FOOTER === */
footer {
  margin-top: auto;
  text-align: center;
  padding: 20px 16px;
  font-size: 0.9rem;
  background-color: rgba(1, 86, 106, 0.85);
}

/* === HERO SECTION === */
.hero-section {
  padding: 80px 16px 30px;
  text-align: center;
}

.hero-text {
  font-size: clamp(2rem, 10vw, 5rem);
  line-height: 1.2;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

/* === INTRO SECTION === */
.intro {
  text-align: center;
  max-width: 800px;
  margin: 20px auto;
  padding: 0 16px;
}

.intro h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin: 0 0 12px;
}

.intro p {
  color: #efe5e5;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  line-height: 1.6;
  margin: 0;
}

/* === CARDS === */
.contact-card,
.product-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
  aspect-ratio: 1 / 1;
  transition: transform 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.contact-card:active,
.product-card:active {
  transform: scale(0.98);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.contact-card img,
.product-card img {
  width: 70%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 12px;
}

.contact-card h3,
.product-card h3 {
  margin: 8px 0 4px;
  font-size: 1rem;
  font-weight: 600;
}

.contact-card p,
.product-card p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #01566a;
}

/* === GRIDS === */
.contact-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px 16px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px 16px;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* === PRODUCT PAGE === */
.product-page {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-media {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-media img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

.product-info {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 24px;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #01566a;
  margin: 0 0 16px;
}

.product-desc {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 24px;
  color: #555;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  min-height: 50px;
  transition: transform 0.2s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
  border: none;
  cursor: pointer;
}

.product-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

.product-btn.primary {
  background: #ff9900;
  color: #111;
}

.product-btn:not(.primary) {
  background: rgba(1, 86, 106, 0.95);
  color: #fff;
}

/* === VIDEO SECTION === */
.video-section {
  padding: 20px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-video {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* === GALLERY === */
.gallery-section {
  padding: 40px 16px;
}

.image-container {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease-out;
}

.image-container.visible {
  opacity: 1;
  transform: translateX(0);
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   TABLET & DESKTOP STYLES
   ============================================ */

@media (min-width: 768px) {
  body {
    padding-top: 70px;
  }

  .top-bar {
    padding: 15px 20px;
    gap: 20px;
  }

  .logo {
    font-size: 1.4rem;
  }

  .logo-icon {
    height: 28px;
    width: 28px;
  }

  /* Show navigation on desktop */
  .menu-toggle {
    display: none;
  }

  .top-bar nav {
    display: flex;
    position: static;
    background: transparent;
    flex-direction: row;
    padding: 0;
    gap: 22px;
    box-shadow: none;
    border-top: none;
  }

  .top-bar nav a {
    padding: 4px 6px;
    border-bottom: none;
    font-size: 1rem;
  }

  .language-switcher {
    margin-left: 20px;
  }

  .lang-btn:hover {
    transform: scale(1.1);
  }

  .hero-section {
    padding: 100px 20px 40px;
  }

  .intro {
    padding: 0 20px;
    margin: 30px auto;
  }

  .contact-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 30px 20px;
  }

  .contact-card,
  .product-card {
    padding: 25px;
  }

  .contact-card:hover,
  .product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .product-page {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    padding: 0 20px;
  }

  .product-media img {
    max-width: 420px;
  }

  .product-actions {
    flex-direction: row;
  }

  .product-btn {
    flex: 1;
  }

  .product-btn:hover {
    transform: translateY(-2px);
  }

  footer {
    padding: 20px;
  }
}

@media (min-width: 1024px) {
  .contact-grid,
  .products-grid {
    gap: 35px;
    max-width: 1400px;
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* === LANDSCAPE ORIENTATION === */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-text {
    font-size: clamp(1.5rem, 6vw, 3rem);
  }

  .contact-grid,
  .products-grid {
    gap: 12px;
  }
}

/* === VERY SMALL SCREENS === */
@media (max-width: 360px) {
  .top-bar {
    padding: 10px 12px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .contact-grid,
  .products-grid {
    gap: 12px;
    padding: 16px 12px;
  }

  .contact-card,
  .product-card {
    padding: 16px 12px;
  }

  .product-page {
    padding: 0 12px;
  }
}
