html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  user-select: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ff6600;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
  width: 70%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 1555px) {
    .product-info p {
        font-size: 0.9rem;
    }
}
@media (max-width: 768px) {
  .header-container {
    width: 90%;
    padding: 0.5rem 1rem;
  }

  .logo {
    height: 40px;
  }

  .menu-toggle {
    position: absolute;
    right: 1rem;
    top: 1.2rem;
    z-index: 1001;
  }

  .mobile-menu {
    width: 80%;
    right: -80%;
    /* qalan transition sənin əvvəlki kodundadır */
  }
}

.logo {
  height: 40px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: opacity 0.3s;
}

.menu li a:hover {
  opacity: 0.8;
}

html {
  scroll-behavior: smooth;
}

/*mobil menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px auto;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* X görünüşü */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background-color: #ff6600;
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  margin-top: 70px;
  right: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 2rem;
}

.mobile-menu .menu {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu .menu li a {
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
}

/* Gizlət desktop üçün */
@media (max-width: 768px) {
    .menu {
      display: none;
    }
    .mobile-menu.active {
      display: block;
    }
    .language-switcher {
      display: none;
    }
  
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
  }
}


/* cover image */

.hero {
  background: url("../img/hero-bg.jpg") no-repeat center center / cover;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-buttons a {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  margin: 5px;
  font-weight: bold;
}

.btn-primary {
  background-color: #ff6600;
  color: white;
}

.btn-secondary {
  background-color: white;
  color: #ff6600;
}

/* Mobil üçün */
@media (max-width: 768px) {
  .hero {
    background: url("../img/hero-bg-m.jpg") no-repeat center center / cover;
    height: 60vh;
  }

  .hero-content {
    height: 100%;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons a {
    padding: 10px 20px;
    font-size: 1rem;
    width: 100%;
    max-width: 200px;
  }
}


/*kataloq*/
.catalog {
  padding: 40px 20px;
  max-width: 80%;
  margin: 0 auto;
}

.catalog h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product {
  display: flex;
  gap: 20px;
  background: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.product img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.product-info h3 {
  font-size: 1.3rem;
  margin: 0;
}

.product-info p {
  font-size: 1rem;
  color: #444;
  margin: 10px 0;
}

.btn-order {
  display: inline-block;
  background-color: #ff6600;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn-order:hover {
  background-color: #e65300;
}

@media (max-width: 1024px) {
    p { font-size: 0.8rem !important;}
  
}

@media (max-width: 1248px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product {
    flex-direction: column;
    text-align: center;
  }

  .product img {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }

  .product-info {
    padding-top: 10px;
  }
}



/* modal */

.modal {
  display: none;
  position: fixed;
  z-index: 1002;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  position: relative;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  max-width: 90%;
  text-align: center;
}

.modal-content img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.modal-controls {
  margin-top: 10px;
}

.modal-controls button {
  background: none;
  border: 2px solid white;
  color: white;
  padding: 8px 16px;
  font-size: 20px;
  margin: 0 10px;
  cursor: pointer;
  border-radius: 5px;
}

.modal-controls button:hover {
  background-color: white;
  color: black;
}



/* videolar */
/* Video bölməsi */
.video-carousel {
  padding: 40px 20px;
  text-align: center;
}

.video-carousel h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

/* Wrapper içində video və düymələr */
.video-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9; /* sabit nisbət */
  background: black;
  border-radius: 12px;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  background-color: #000;
}
/* Carousel düymələri */
.carousel-btn {
  background-color: #ff6a00;
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.carousel-btn:hover {
  background-color: #e25700;
}
.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
}

.play-icon {
  width: 64px;
  height: 64px;
  opacity: 0.8;
  transition: 0.3s ease;
}

.play-icon:hover {
  opacity: 1;
}

/* Mobil görünüş üçün */
@media (max-width: 768px) {
  .video-wrapper {
    flex-direction: column;
  }

  .carousel-btn {
    margin: 10px auto;
  }

  .video-container {
    max-width: 100%;
  }

  .video-container video {
    max-height: 70vh;
  }
}



/* haqqimizda */

.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-content {
  flex: 1;
  min-width: 280px;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.about-image {
  flex: 1;
  min-width: 280px;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  /*box-shadow: 0 4px 10px rgba(0,0,0,0.1);*/
}



/* faq */

.faq-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 1rem;
  background-color: #fffaf5;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-section h2 {
  color: #ff6600;
  margin-bottom: 1.5rem;
}

.faq-column {
  flex: 1 1 300px;
  min-width: 280px;
}
.faq-title {
  text-align: center;
  color: #ff6600;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.faq-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.faq-box {
  flex: 1 1 500px;
  background-color: #fffaf5;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-heading {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #333;
  font-weight: 600;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  color: #333;
}

.faq-answer {
  display: none;
  padding-bottom: 1rem;
  color: #555;
}

.faq-item.active .faq-answer {
  display: block;
}

@media (max-width: 768px) {
  .faq-section {
    flex-direction: column;
  }
  .faq-column {
    flex: 1 1 100%;
  }
}


/* footer */


.footer {
  background-color: #1d243a;
  color: #fff;
  padding: 60px 0 30px;
  font-family: Arial, sans-serif;
}

.footer-center {
  text-align: center;
  padding: 40px 20px;
  color: #fff;
}

.footer-center p {
  max-width: 600px;
  margin: 20px auto;
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
}

.footer-logo {
  height: 40px;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: inline-block;
  color: #ccc;
  background-color: transparent;
  border: 1px solid #444;
  border-radius: 5px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: white;
  border-color: #3f80ea;
}


.footer-box {
  flex: 1 1 200px;
  max-width: 250px;
}

.footer-box h4,
.footer-box h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.5;
}

.social-icons a {
  margin-right: 10px;
  font-size: 18px;
  color: #ccc;
  text-decoration: none;
}

.social-icons a:hover {
  color: #fff;
}

.appointment-btn {
  background-color: #3f80ea;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.appointment-btn:hover {
  background-color: #3369c1;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid #333;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  text-align: center;
  flex-direction: column;
  gap: 10px;
}



.footer-contact {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;
  text-align: center;
}

.contact-box {
  flex: 1 1 250px;
  max-width: 300px;
  color: #fff;
  margin: 0 auto;
}

.contact-box .icon {
  font-size: 30px;
  margin-bottom: 15px;
  background-color: #2e3650;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 10px;
  margin: 0 auto 15px auto;
}

.contact-box h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.contact-box p {
  font-size: 14px;
  margin-bottom: 8px;
  color: #ccc;
}

.contact-box a {
  color: #3f80ea;
  font-size: 14px;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}



.contact-box h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.contact-box p {
  font-size: 14px;
  margin-bottom: 8px;
  color: #ccc;
}

.contact-box a {
  color: #3f80ea;
  font-size: 14px;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}