:root {
  --primary-color: #444;
  --secondary-color: #333;
  --accent-color: #ff6600;
  --text-color: #fff;
  --bg-light: #f4f4f4;
  --box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  --form-color: #1e90ff;
}

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

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #333;
}


.site-header {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  gap: 10px;
}

.header-image {
  max-width: 60px;
  border-radius: 50%;
  box-shadow: var(--box-shadow);
  flex-shrink: 0;
}


.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  color: var(--text-color);
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1em;
}

.nav-links.show {
  opacity: 1;
  transform: translateX(0);
  animation: slideIn 0.3s forwards;
}

@media (min-width: 769px) {
  .nav-links {
    opacity: 1 !important;
    transform: translateX(0) !important;
    display: flex !important;
  }
}


.logo {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo h1 {
  font-size: 1.5em;
}

.logo p {
  font-size: 0.9em;
}

@media (min-width: 600px) {
  .logo {
    display: flex;
  }
}


.hero-video-container {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video,
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 20px;
}

.hero-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.hero-content h3 {
  font-size: 19px, 24px, 29px;
  margin-bottom: 30px;
}

.fade-in-slide {
  animation: fadeInSlideHero 1.2s ease-out forwards;
  opacity: 0;
}


.products {
  padding: 50px 20px;
  text-align: center;
}

.products h1 {
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  gap: 20px;
  justify-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background-color: #fff;
  border: 10px solid #fff;
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 220px;
  text-align: center;
  transition: transform 0.3s;
  opacity: 0;
  animation: fadeInCards 1s forwards;
}

.product-card img {
  width: 100%;
  margin-bottom: 10px;
}

.product-card:hover {
  transform: scale(1.05);
}


.about {
  text-align: center;
  padding: 50px 20px;
  background-color: #fefefe;
}


.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 50px 20px;
}

.contact-image img {
  max-width: 100%;
  width: 300px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form select {
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 400px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 5px var(--accent-color);
  outline: none;
}


.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.radio-group label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-group input[type="radio"] {
  width: 10px;
  height: 10px;
}

.checkbox-label {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.checkbox-label:hover {
  background-color: #eee;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--form-color);
  width: 20px;
  height: 20px;
}


.contact-form button,
#closeModal {
  padding: 12px 24px;
  font-size: 16px;
  background-color: var(--form-color);
  color: var(--text-color);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover,
#closeModal:hover {
  background-color: #1c86ee;
  animation: pulse-soft 0.6s ease-in-out infinite alternate;
}

.grayscale-button {
  padding: 12px 24px;
  font-size: 1.2em;
  background: linear-gradient(135deg, #b0b0b0, #d4d4d4);
  color: #333;
  border: none;
  border-radius: 10px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.grayscale-button:hover {
  animation: pulse-strong 0.6s ease-in-out infinite alternate;
}


.modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.thank-gif {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}


footer {
  background-color: var(--secondary-color);
  color: var(--text-color);
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  font-size: 1.2em;
  background-color: blue;
  color: var(--text-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: opacity 0.3s;
}


@media (max-width: 768px) {
  .menu-toggle {
    display: block;
   
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    display: none;
  }

  .nav-links.show {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }
}


@media (max-width: 480px) {
  .radio-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}


@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInSlideHero {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInCards {
  to {
    opacity: 1;
  }
}

@keyframes pulse-soft {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

@keyframes pulse-strong {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
