/* Общие стили */
body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Стили только для страницы services.html */
body.services-page {
    background: url("img/fontservices.png") no-repeat center center fixed;
    background-size: cover;
}

/* Стили заголовка */
header {
    background: rgba(45, 137, 239, 0.9);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 2rem;
    color: white;
}

/* Стили навигации */
nav {
    display: flex;
    gap: 2rem;
}

nav a {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    text-decoration: underline;
}

/* Секция с услугами */
section {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: justify;
}

.services-list li {
    margin-bottom: 1rem;
}

/* Подвал */
footer {
    text-align: center;
    padding: 1rem;
    background: #222;
    color: white;
}
/* Главная страница */
body.home-page {
    background: url("img/font.jpg") no-repeat center center fixed;
    background-size: cover;
}
/* Страница Цены */
body.pricing-page {
    background: url("img/fontpricing.png") no-repeat center center fixed;
    background-size: cover;
}
/* Фон только для страницы contact.html */
body.contact-page {
  background: url("img/fontcontact.png") no-repeat center center fixed;
  background-size: cover;
}
.hero-section {
  text-align: center;
  background-color: rgba(255,255,255,0.85);
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 12px;
  max-width: 900px;
}

.hero-section .brand {
  color: #1a1a3d;
  font-weight: bold;
}

.service-block, .extras, .cta {
  background-color: rgba(255,255,255,0.9);
  margin: 1.5rem auto;
  padding: 1.5rem;
  max-width: 850px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.service-block h3, .extras h3 {
  color: #1a1a3d;
}

ul {
  list-style: disc inside;
  padding-left: 1rem;
}

.cta {
  text-align: center;
  font-size: 1.2rem;
}
/* ===== 📱 МОБІЛЬНА АДАПТАЦІЯ ===== */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 0 1rem;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: center;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
  }

  nav a {
    font-size: 1.1rem;
  }

  section {
    padding: 1rem;
    margin: 1rem auto;
  }

  .hero-section,
  .service-block,
  .extras,
  .cta {
    padding: 1rem;
    margin: 1rem auto;
    width: 100%;
    box-sizing: border-box;
  }

  ul {
    padding-left: 1.2rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2, h3 {
    font-size: 1.4rem;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    font-size: 1rem;
  }

  .contact-form {
    padding: 1rem;
  }

  footer {
    font-size: 0.9rem;
  }
}
/* Адаптация для мобильных устройств */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 0 1rem;
  }

  header {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  nav a {
    font-size: 1.1rem;
  }

  section {
    padding: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2, h3 {
    font-size: 1.3rem;
  }

  .cta p,
  .cta strong {
    text-align: center;
  }

  footer {
    font-size: 0.9rem;
    padding: 1rem 0;
  }
}
body.pricing-page footer,
body.pricing-page order,
body.contact-page footer,
body.services-page footer {
  display: none;
}
footer {
  background-color: rgba(255, 255, 0, 0.7); /* светло-жёлтый с прозрачностью */
  color: black;
  padding: 1rem;
  text-align: center;
}

/* Страница Заказа */
body.order-page {
    background: url("img/fontorder.png") no-repeat center center fixed;
    background-size: cover;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  max-width: 700px;
  margin: 2rem auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.order-form label {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.order-form button {
  padding: 0.75rem;
  font-size: 1.1rem;
  background-color: #1a1a3d;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 1rem;
}

.order-form button:hover {
  background-color: #333399;
}
