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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #121212;
  color: #e0e0e0;
}

h1, h2, h3, h4 {
  margin-bottom: 1rem;
}

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

h2 {
  color: #0077b6;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

h2::after {
  content: '';
  display: block;
  width: 50%;
  height: 3px;
  background-color: #0077b6;
  margin: 10px auto 0;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  color: #fff;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.btn {
  background: #00b4d8;
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #0077b6;
}


/* Models Section */
.models {
  padding: 80px 20px;
  background: #1a1a1a;
  text-align: center;
}

.models h2 {
  margin-bottom: 50px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.model-card {
  background: #2c2c2c;
  color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
}

.model-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Why Choose Us */
.why-choose {
  padding: 80px 20px;
  background: #1a1a1a;
  text-align: center;
}

.why-container {
  background: url('WhyChooseUs.jpg') center center / cover no-repeat;
  padding: 80px 20px;
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 80px 0;
  border-radius: 15px;
  overflow: hidden;
}

.why-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.1); /* 💥 Затемнення фону */
  z-index: 1;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature {
  background: #2c2c2c;
  color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
}

.feature h4 {
  color: #00b4d8;
}

.feature:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


/* About Section */
.about {
  padding: 80px 20px;
  background: #1a1a1a;
  text-align: center;
}

.about h2 {
  margin-bottom: 40px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image img {
  width: 400px;
  max-width: 100%;
  border-radius: 10px;
}

.about-text {
  flex: 1;
  color: #e0e0e0;
  text-align: left;
  max-width: 600px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Our Process */
.process {
  padding: 80px 20px;
  background: #1a1a1a;
  text-align: center;
}

.process h2 {
  margin-bottom: 40px;
}

.process-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.process-card {
  background: #2c2c2c;
  padding: 30px 20px;
  border-radius: 10px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
}

.process-card:nth-child(even) {
  transform: translateY(30px);
}

.process-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

.process-card h3 {
  color: #00b4d8;
  margin-bottom: 15px;
}

.process-card p {
  color: #e0e0e0;
  font-size: 1rem;
}


/* Contact Section */
.contact {
  padding: 80px 20px;
  background-color: #1a1a1a;
  text-align: center;
}

.contact h2 {
  margin-bottom: 40px;
}

.contacts {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  background: url('image0.jpeg') center center / cover no-repeat;
  padding: 80px 0;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  justify-content: flex-end; /* 💥 Зміщення форми вправо */
}

.contacts::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.6); /* 💥 Затемнення фону */
  z-index: 1;
}

.contact-form {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.9);
  padding: 40px 30px;
  border-radius: 15px;
  margin-right: 60px; /* 💥 Відступ форми від краю */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button.btn {
  background: #00b4d8;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button.btn:hover {
  background: #0077b6;
}

/* Footer */

footer {
  background: #0077b6;
  color: #fff; 
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

footer a img {
  filter: brightness(0.2) invert(1);
}

footer p {
  margin-bottom: 20px;
  font-size: 14px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
}


/* Header styles */
.header {
  background: #1a1a1a;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0077b6;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav ul li a {
  color: #e0e0e0;
  font-weight: 600;
  transition: color 0.3s;
}

.nav ul li a:hover {
  color: #00b4d8;
}

/* Burger menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background-color: #0077b6;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#scrollTopBtn:hover {
  background-color: #00b4d8;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #00b4d8; /* Синій колір сайту */
  color: white;
  font-size: 2rem;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  z-index: 1000;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-top:hover {
  transform: scale(1.1);
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  h2 {
    font-size: 1.8rem;
    margin-bottom: 50px;
  }

  .nav {
    position: absolute;
    top: 80px;
    right: 0;
    background: #1a1a1a; 
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .nav ul {
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
  }

  .nav ul li a {
    color: #e0e0e0; 
    font-size: 20px; 
  }

  .nav.active {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .process-cards {
    flex-direction: column;
    align-items: center;
  }
  .process-card {
    width: 90%;
    transform: none !important;
  }


.process-card h3 {
  color: #00b4d8;
  margin-bottom: 15px;
}

.process-card p {
  color: #e0e0e0;
  font-size: 1rem;
}

.about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  .contacts {
    justify-content: center; 
    padding: 40px 20px;
  }
  .contact-form {
    margin-right: 0;
  }

}





