* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

body {
  background-color: #fff;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 1.3rem;
  color: #e85d04;
}

.navbar nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar nav a:hover {
  color: #e85d04;
}

.hero {
 background: url('8webr.jpeg') center/cover no-repeat;
  height: 90vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  color: white;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn {
  background: #e85d04;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background: #d9480f;
}

section {
  padding: 90px 60px;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.services .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card i {
  color: #e85d04;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.4s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.contact form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin-inline: auto;
}

.contact input,
.contact textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  resize: none;
  font-size: 1rem;
}

.contact button {
  border: none;
}

.contact-buttons {
  margin: 25px 0;
}

.btn-telegram {
  display: inline-flex;
  align-items: center;
  background: #0088cc;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-telegram:hover {
  background: #007ab8;
}

footer {
  background: #f1f1f1;
  padding: 25px;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 20px;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.contact-item {
  display: inline-block;
  background: #f5f5f5;
  padding: 12px 20px;
  border-radius: 10px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.contact-item:hover {
  background: #ff7a00;
  color: white;
}
@media (max-width: 768px) {
  .navbar {
    padding: 10px 15px;
    flex-direction: column;
    align-items: center;
  }

  .navbar nav {
    margin-top: 10px;
  }

  .navbar nav a {
    margin: 0 10px;
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 120px 15px 60px;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 14px;
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-grid img {
    height: 150px;
  }
}
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .contact-item {
    width: 100%;
    text-align: center;
  }
}
.about {
  background: #f8f9fa;
}

.about-text {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #555;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.about-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
}

.about-card h3 {
  margin-bottom: 10px;
  color: #e85d04;
}
@media (max-width: 768px) {
  .about-text {
    font-size: 14px;
  }

  .about-card {
    text-align: center;
  }
}
.service-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.contact {
  text-align: center;
  padding: 40px 20px;
}

.contact .btn {
  display: inline-block;
  margin-top: 20px;
}
.floating-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #28a745;
  color: white;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.floating-call {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(40,167,69, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(40,167,69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40,167,69, 0); }
}
.floating-youtube {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: white;
  font-size: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.floating-call,
.floating-youtube {
  transition: all 0.3s ease;
}

.floating-call:active,
.floating-youtube:active {
  transform: scale(0.9);
}
/* прибирає синій квадратик */
.floating-call:focus,
.floating-youtube:focus,
.floating-call:active,
.floating-youtube:active {
  outline: none;
  box-shadow: none;
}

a {
  -webkit-tap-highlight-color: transparent;
}
.floating-call:hover,
.floating-youtube:hover {
  transform: scale(1.1);
}